:root {
    --earth-dark: #2C1810;
    --earth-medium: #4A3426;
    --earth-light: #8B7355;
    --cream: #F5F1E8;
    --warm-white: #FEFCF7;
    --sage: #8A9A7B;
    --rust: #B85C38;
    --gold: #D4A574;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--earth-dark);
    background-color: var(--warm-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(254, 252, 247, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(44, 24, 16, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(254, 252, 247, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--earth-dark);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--earth-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a.active {
    color: var(--rust);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rust);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--rust);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--earth-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(5deg); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--earth-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content .subtitle {
    font-size: 1.3rem;
    color: var(--earth-light);
    margin-bottom: 2rem;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.feature-badge {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(139, 115, 85, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--earth-medium);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--rust);
    transform: translateY(-2px);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-family: 'DM Sans', sans-serif;
}

.btn-primary {
    background: var(--rust);
    color: white;
    box-shadow: 0 4px 15px rgba(184, 92, 56, 0.3);
}

.btn-primary:hover {
    background: #9d4d2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 92, 56, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--earth-dark);
    border: 2px solid var(--earth-dark);
}

.btn-secondary:hover {
    background: var(--earth-dark);
    color: var(--warm-white);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--earth-light) 0%, var(--sage) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-image-placeholder .text {
    position: relative;
    z-index: 1;
}

/* Page Content Wrapper */
.page-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Section Styling */
section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--rust);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--earth-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.1rem;
    color: var(--earth-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(44, 24, 16, 0.08);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--earth-dark) 0%, var(--earth-medium) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.product-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.product-header h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.product-header .yield {
    font-size: 0.95rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.product-body {
    padding: 2rem;
}

.product-features {
    list-style: none;
    margin: 1.5rem 0;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--earth-medium);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-features li::before {
    content: '✓';
    color: var(--sage);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: var(--earth-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 2rem 2rem;
    text-align: center;
}

footer p {
    margin: 0.5rem 0;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 250px;
        background: var(--warm-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        height: calc(100vh - 80px);
        gap: 1.5rem;
    }
    
    .nav-links.active {
        right: 0;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    section > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Product cards on mobile */
    .products-grid {
        padding: 1rem;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    /* Force single column for product grids on mobile */
    section > div > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .product-body {
        font-size: 0.95rem;
    }
    
    .product-features {
        font-size: 0.9rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    /* Reduce section padding on small phones */
    section {
        padding: 3rem 1rem !important;
    }
    
    .product-header {
        padding: 1.5rem !important;
    }
    
    .product-body {
        padding: 1.5rem !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
