/* ========================================
   Header Styles
   ======================================== */
/* ========================================
   Google Fonts Import
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Roboto:wght@400;500&display=swap');

/* ========================================
   Global Styles & Typography
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    background: #ffffff;
}

/* Headings - Inter Font */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

/* Paragraphs - Roboto Font */
p {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    margin-bottom: 1em;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Header Styles
   ======================================== */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

/* Logo Styles */
.site-logo a {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: opacity 0.3s ease;
}

.site-logo a:hover {
    opacity: 0.8;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    font-family: 'Roboto', Arial, sans-serif;
    color: #374151;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #0f172a;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0f172a;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Search Toggle Button */
.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid #e5e7eb;
    color: #374151;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
}

.search-toggle:hover {
    background: #f9fafb;
    border-color: #0f172a;
    color: #0f172a;
}

.search-toggle svg {
    width: 18px;
    height: 18px;
}

/* Search Form - Hidden by default */
.search-form-wrapper {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.search-form-wrapper.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 15px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.search-field {
    flex: 1;
    font-family: 'Roboto', Arial, sans-serif;
    padding: 12px 18px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.search-field:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.search-field::placeholder {
    color: #9ca3af;
}

.search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    border: none;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
}

.search-submit:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.search-submit svg {
    width: 16px;
    height: 16px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    z-index: 1001;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle:hover {
    background: #f9fafb;
    border-color: #0f172a;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #0f172a;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    padding-top: 80px;
    z-index: 1000;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .nav-menu {
    flex-direction: column;
    gap: 0;
    padding: 20px;
}

.mobile-nav .nav-menu li {
    border-bottom: 1px solid #e5e7eb;
}

.mobile-nav .nav-menu a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    color: #374151;
}

.mobile-nav .nav-menu a::after {
    display: none;
}

.mobile-nav .nav-menu a:hover {
    color: #0f172a;
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Desktop - Show desktop nav, hide mobile toggle */
@media (min-width: 768px) {
    .desktop-nav {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .mobile-nav {
        display: none;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-menu {
        gap: 25px;
    }

    .nav-menu a {
        font-size: 14px;
    }
    
    .site-logo a {
        font-size: 24px;
    }
}

/* Mobile typography adjustments */
@media (max-width: 767px) {
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
    h5 { font-size: 18px; }
    h6 { font-size: 16px; }
    
    .site-logo a {
        font-size: 22px;
    }
}

/* Sticky header effect on scroll */
.site-header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom-color: transparent;
}

.site-header.scrolled .header-wrapper {
    padding: 15px 0;
}
/*Header end here */



/* ========================================
   Footer Styles (Temporary - Basic)
   ======================================== */

.site-footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

/*Footer End Here */



/* ========================================
   Hero Slider Section
   ======================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #0f172a;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    will-change: transform;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 23, 42, 0.65) 50%,
        rgba(15, 23, 42, 0.85) 100%
    );
}

.slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #ffffff;
}

.slide-category {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 12px;
    border-radius: 15px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.slide-title {
    font-family: 'Inter', sans-serif;
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 16px;
    max-width: 850px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.slide-title a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.slide-title a:hover {
    opacity: 0.9;
}

.slide-excerpt {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    max-width: 650px;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease 0.8s both;
}

.read-more:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
}

.read-more svg {
    width: 14px;
    height: 14px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background: #ffffff;
    width: 32px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }

    .slide-content {
        padding: 0 25px;
    }

    .slide-title {
        font-size: 34px;
    }

    .slide-excerpt {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .read-more {
        font-size: 12px;
        padding: 8px 16px;
    }

    .slider-dots {
        bottom: 25px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 450px;
    }

    .slide-title {
        font-size: 28px;
    }

    .slide-excerpt {
        font-size: 13px;
    }

    .slide-category {
        font-size: 10px;
        padding: 4px 10px;
    }
}


/*Scrolling end here*/




/*Category Section Start Here*/
.categories-section {
    padding: 60px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 35px;
}

.section-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7280;
}

.section-subtitle span {
    color: #000;
    font-weight: 600;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-top: 5px;
    color: #0f172a;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    height: 130px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

.card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.category-card:hover .card-image {
    transform: scale(1.05);
}

.card-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
}

.card-title {
    font-family: 'Inter', sans-serif;
}

.card-count {
    background: #d4a373;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
