/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header & Navigation */
header {
    background: #fff;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1a1a1a;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: #1a1a1a;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #c49a6c;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    background: #1a1a1a;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background: #c49a6c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #c49a6c;
}

.btn-secondary:hover {
    background: #d4a575;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
}

.btn-outline:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Section Styles */
.section {
    padding: 100px 40px;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Hero Section */
.hero {
    margin-top: 90px;
    background: linear-gradient(135deg, #f5f0eb 0%, #e8e0d5 100%);
    padding: 120px 40px;
    text-align: center;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero p {
    font-size: 22px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #4a4a4a;
}

/* Products Grid */
.products {
    background: #f9f9f9;
}

.product-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #d4c5b5 0%, #c49a6c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 64px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #1a1a1a;
    color: #fff;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.product-info {
    padding: 30px;
}

.product-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-flavor {
    color: #c49a6c;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.product-btn {
    padding: 12px 24px;
    font-size: 14px;
}

/* Features Section */
.features {
    background: #fff;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-text {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

/* Quiz Section */
.quiz {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #fff;
    text-align: center;
}

.quiz h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.quiz p {
    font-size: 20px;
    max-width: 650px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* About Section */
.about {
    background: #f5f0eb;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    background: linear-gradient(135deg, #d4c5b5 0%, #c49a6c 100%);
    height: 500px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: #fff;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.9;
    margin-bottom: 25px;
}

/* Story Section (about.html) */
.story-image {
    overflow: hidden;
    border-radius: 8px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Farmers Section (about.html) */
.farmer-image {
    height: 250px;
    overflow: hidden;
}

.farmer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team Section (about.html) */
.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 40px 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #c49a6c;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section a {
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #c49a6c;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #c49a6c;
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 14px;
    color: #999;
}

.footer-domain {
    color: #c49a6c;
    font-weight: 600;
}

/* Page Header */
.page-header {
    margin-top: 90px;
    background: linear-gradient(135deg, #f5f0eb 0%, #e8e0d5 100%);
    padding: 80px 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .logo-text {
        font-size: 20px;
    }

    /* Hide desktop nav links on mobile */
    .nav-links {
        display: none;
    }

    .header-right {
        gap: 15px;
    }

    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }

    /* Show mobile nav overlay on mobile */
    .mobile-nav-overlay {
        display: block;
    }

    .hero {
        margin-top: 80px;
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .product-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 350px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Banner */
.banner {
    background: #c49a6c;
    color: #fff;
    text-align: center;
    padding: 15px 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Cart Icon */
.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #c49a6c;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

/* Header Right Container */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hamburger Menu - Hidden by default (desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 36px;
    height: 28px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: #f5f0eb;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #1a1a1a;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Nav Overlay - Hidden by default (desktop) */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: left 0.3s ease;
    display: none;
}

.mobile-nav-overlay.active {
    left: 0;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 80%;
    height: 100%;
    background: #fff;
    padding: 30px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-nav-header h2 {
    font-size: 24px;
    color: #1a1a1a;
}

.close-btn {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #1a1a1a;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #c49a6c;
}

.mobile-nav-links {
    list-style: none;
}

.mobile-nav-links li {
    margin-bottom: 5px;
}

.mobile-nav-links a {
    display: block;
    padding: 15px 20px;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s;
}

.mobile-nav-links a:hover {
    background: #f5f0eb;
    color: #c49a6c;
    padding-left: 25px;
}
