/* CSS Variables & Reset */
:root {
    --color-primary: #e8f5e9;
    /* Light Sage Green */
    --color-primary-dark: #c8e6c9;
    --color-primary: #e8f5e9;
    --color-primary-dark: #c8e6c9;
    --color-accent: #2e7d32;
    /* Forest Green - Vibrant */
    --color-dark-green: #1b4d21;
    /* Deep Green for backgrounds */
    --color-text: #1b1b1b;
    --color-text-light: #555;
    --color-white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --spacing-container: 1200px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: #f1f8f3;
    /* Very pale mint/sage background */
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

/* Layout Utilities */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Promo Bar */
.promo-bar {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    text-align: center;
    font-size: 0.75rem;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header */
.site-header {
    background: var(--color-white);
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 2px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
    max-width: var(--spacing-container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    min-height: 150px;
    /* Accommodate 140px logo */
    transition: all 0.3s ease;
}

.site-header.scrolled .header-inner {
    min-height: 48px;
    height: 48px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 140px;
    height: 140px;
    transition: all 0.3s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.site-header.scrolled .logo {
    width: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    margin: 0;
}

.logo a {
    display: block;
    width: 140px;
    height: 140px;
}

.logo img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-actions {
    display: flex;
    gap: 20px;
}

/* Navigation */
.desktop-nav {
    display: none;
    /* Hidden on mobile */
    gap: 20px;
}

.desktop-nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    line-height: 1;
    display: flex;
    align-items: center;
}

.desktop-nav a:hover {
    color: var(--color-accent);
}

/* Mobile Menu Button */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
}

.menu-open .mobile-menu-overlay {
    transform: translateX(0);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
}

/* Responsive Navigation */
@media (min-width: 900px) {
    .menu-toggle {
        display: none;
    }

    .desktop-nav {
        display: flex;
    }
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    /* Large impactful banner */
    overflow: hidden;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    /* Removed blurred background as requested */
    width: 100%;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--color-dark-green);
    color: var(--color-white);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    border: 1px solid var(--color-dark-green);
}

.btn-primary:hover {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

/* Filter Bar */
.filter-bar {
    max-width: var(--spacing-container);
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-text-light);
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.filter-options {
    display: flex;
    gap: 20px;
    cursor: pointer;
}

/* Product Grid */
.main-content {
    padding-bottom: 80px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns as per reference */
    gap: 40px 20px;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Card */
.product-card {
    cursor: pointer;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    margin-bottom: 15px;
    background-color: #ffffff;
    aspect-ratio: 4/5;
    /* Fashion standard */
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Use cover to fill the aspect ratio */
    transition: transform 0.6s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 0.7rem;
    padding: 4px 8px;
    text-transform: uppercase;
}

.product-info {
    text-align: center;
}

.product-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: var(--color-text);
}

.product-price {
    font-weight: 500;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background-color: var(--color-dark-green);
    /* Matching promo bar */
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* On mobile stack footer */
@media(max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-col h3 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #fff;
    /* Increased visibility from #888 */
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #eee;
    /* Light gray instead of #ddd for better contrast */
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle background */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Much lighter border */
    color: #fff;
    font-family: var(--font-body);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    /* More visible placeholder */
}

.newsletter-form input:focus {
    outline: none;
    border-color: #fff;
}

.newsletter-form button {
    padding: 10px 20px;
    background: #fff;
    color: #000;
    border: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    /* Improved visibility for copyright */
}