@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #2B241F;
    --accent: #6B712E;
    --highlight: #8B6B5D;
    --bg-light: #FDFBF7;
    --white: #FFFFFF;
    --text-dark: #2B241F;
    --text-muted: #6B6B6B;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.luxury-font {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    /* margin: 0 auto; */
    padding: 0 40px;
}

/* Header & Navigation */
.announcement-bar {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

header {
    height: var(--header-height);
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(43, 36, 31, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    /* Allow header to expand beyond 1400px if needed */
    padding: 0 40px;
}

.logo img {
    height: 50px;
    object-fit: contain;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 20px;
    /* Consistent side margin */
}

nav ul {
    display: flex;
    gap: 15px;
    /* Reduced gap to fit all 11 items */
    list-style: none;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 11.5px;
    /* Slightly smaller for luxury feel and fit */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Tighter letter spacing */
    transition: var(--transition);
    white-space: nowrap;
    /* Prevent "Awards & Achievements" from wrapping */
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    padding: 10px 0;
    z-index: 1000;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    font-size: 12px;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    padding: 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--primary);
}

.mobile-links {
    list-style: none;
    margin-bottom: 50px;
}

.mobile-links li {
    margin-bottom: 20px;
}

.mobile-links li a {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
}

.mobile-links li a.active {
    color: var(--accent);
}


.drawer-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-icons {
    display: flex;
    gap: 25px;
    font-size: 20px;
}

/* Hero Slider Section */
.hero-slider-container {
    position: relative;
    height: 85vh;
    min-height: 650px;
    overflow: hidden;
    background: var(--bg-light);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(43, 36, 31, 0.5) 0%, rgba(43, 36, 31, 0) 60%);
}

.slide-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 800px;
    padding: 0;
    /* Align strictly to the container's left edge */
    text-align: left;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.5s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-tag {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 20px;
}

.slide h2 {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 30px;
}

.slide p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 550px;
}

/* Slider Controls */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    gap: 15px;
    z-index: 20;
}

.dot {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    width: 60px;
}

.slider-arrows {
    position: absolute;
    bottom: 30px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.arrow {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.arrow:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn {
    display: inline-block;
    padding: 18px 45px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 2px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--highlight);
    transform: translateY(-5px);
}

/* Category Grid */
.categories {
    padding: 0px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head h2 {
    font-size: 42px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Expanded Category Grid */
.category-grid-expanded {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.cat-feature {
    grid-column: span 2;
    grid-row: span 2;
}

.category-card {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-info {
    position: absolute;
    bottom: 50px;
    left: 50px;
    color: var(--white);
}

.category-info h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

/* Product Grid */
.products-section {
    padding: 100px 0;
    background: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    position: relative;
    transition: var(--transition);
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f9f9f9;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-to-cart-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.product-card:hover .add-to-cart-btn {
    opacity: 1;
    transform: translateY(0);
}

.product-info {
    padding: 20px 0;
}

.product-cat {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-main {
    font-weight: 700;
    font-size: 18px;
}

.price-wholesale {
    font-size: 12px;
    color: var(--highlight);
    border: 1px solid var(--highlight);
    padding: 2px 6px;
    border-radius: 2px;
}

/* Wholesale Section */
.wholesale-banner {
    position: relative;
    background-image: linear-gradient(90deg, rgba(43, 36, 31, 0.9) 0%, rgba(43, 36, 31, 0.4) 100%), url('/images/banner_wholesale.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 120px 0;
    display: flex;
    justify-content: flex-start;
    text-align: left;
}

.wholesale-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.wholesale-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.8;
}

/* Newsletter */
.newsletter-section {
    padding: 100px 0;
    background: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 40px auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid rgba(43, 36, 31, 0.1);
    background: white;
    font-size: 14px;
}

.newsletter-form button {
    padding: 15px 35px;
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--accent);
}

/* Instagram Feed */
.instagram-section {
    padding: 100px 0;
    text-align: center;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 50px;
}

.insta-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(43, 36, 31, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

.insta-item:hover img {
    transform: scale(1.1);
}

/* Feedback Section */
.feedback-section {
    padding: 120px 0;
    background-color: var(--white);
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feedback-card {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 4px;
    text-align: left;
    transition: var(--transition);
}

.feedback-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.stars {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 14px;
}

.feedback-text {
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.customer-name {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.verified-buyer {
    font-size: 11px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* About Page Specific */
.about-hero {
    height: 400px;
    background-color: var(--primary);
    background-image: linear-gradient(rgba(43, 36, 31, 0.7), rgba(43, 36, 31, 0.7)), url('/images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.about-hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif !important;
}

.intro-section {
    padding: 100px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-image img {
    width: 100%;
    border-radius: 4px;
}

.award-section {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.location-card {
    background: var(--white);
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.location-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.location-card h4 {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.location-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .location-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 1024px) {
    .nav-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .nav-icons {
        gap: 15px !important;
        font-size: 18px !important;
    }

    .nav-icons a,
    .nav-icons .lang-dropdown {
        display: flex !important;
    }

    .lang-dropdown .lang-btn span {
        display: none !important;
    }

    .menu-toggle {
        display: block !important;
        padding: 5px !important;
        margin-left: 5px;
    }

    .main-nav {
        display: none;
    }

    .slide h2 {
        font-size: 48px;
    }

    .slide-tag {
        font-size: 12px;
        letter-spacing: 2px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0 !important;
    }

    .slide h2 {
        font-size: 32px;
    }

    .slide p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 12px;
    }

    .product-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feedback-grid {
        grid-template-columns: 1fr;
    }

    .category-grid-expanded {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .cat-feature {
        grid-column: span 1;
        grid-row: span 1;
    }

    .category-card {
        height: 350px;
    }

    .category-info h3 {
        font-size: 24px !important;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

    .logo img {
        height: 35px;
    }

    .nav-right {
        gap: 10px;
    }

    .nav-icons {
        gap: 10px !important;
        align-items: center;
    }

    .mobile-links li a {
        font-size: 14px;
    }


    .announcement-bar {
        font-size: 10px;
        padding: 5px 10px;
    }

    .slide h2 {
        font-size: 28px;
    }

    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Our Factory Section */
.factory-section {
    padding: 60px 0;
    background-color: var(--white);
    overflow: hidden;
}

.factory-slider-wrapper {
    position: relative;
    margin-top: 50px;
}

.factory-slider-container {
    overflow: hidden;
    margin: 0 -15px;
}

.factory-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.factory-item {
    min-width: 50%;
    padding: 0 15px;
    box-sizing: border-box;
}

.factory-video-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #000;
    aspect-ratio: 16/9;
}

.factory-video-card video,
.factory-video-card iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

.factory-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.factory-btn {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 1px solid rgba(43, 36, 31, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary);
    font-size: 20px;
}

.factory-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.trustbar .boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .factory-item {
        min-width: 100%;
    }

    .factory-section {
        padding: 60px 0;
    }

    .trustbar .boxes {
        grid-template-columns: repeat(1, 1fr);
    }
}

.dropdown ul {
    align-items: unset !important;
}