/* ===== CSS Variables ===== */
:root {
    /* Colors - Natural honey & nature palette */
    --color-honey: #D4A03A;
    --color-honey-light: #F5DEB3;
    --color-honey-dark: #B8860B;
    --color-gold: #FFD700;
    --color-amber: #FFBF00;

    --color-forest: #2D5016;
    --color-forest-light: #4A7023;
    --color-sage: #87A96B;

    --color-cream: #FFFEF7;
    --color-warm-white: #FAF8F0;
    --color-brown: #5D4E37;
    --color-brown-light: #8B7355;

    --color-text: #2C2416;
    --color-text-light: #5D4E37;
    --color-text-muted: #7A6B5A;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Lora', Georgia, serif;

    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
}

/* ===== Utilities ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-honey-dark);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-honey) 0%, var(--color-honey-dark) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(212, 160, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 160, 58, 0.4);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 254, 247, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 80px;
    width: auto;
}

.header:not(.scrolled) .logo {
    color: #FFF8E7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.header:not(.scrolled) .nav-links a {
    color: #FFF8E7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-honey);
    transition: width var(--transition-normal);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-normal);
}

.header:not(.scrolled) .mobile-menu-btn span {
    background: white;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/hero-background.png') center/cover no-repeat;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
}

.hero h1 {
    font-size: 4rem;
    color: #FFF8E7;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 248, 231, 0.95);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== About Section ===== */
.about {
    background: var(--color-warm-white);
}

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

.about-image {
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.about-image.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--color-honey);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease 0.2s;
}

.about-content.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-honey-dark);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Products Section ===== */
.products {
    background: var(--color-cream);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.product-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.product-card:nth-child(1) {
    transition-delay: 0.1s;
}

.product-card:nth-child(2) {
    transition-delay: 0.2s;
}

.product-card:nth-child(3) {
    transition-delay: 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-honey);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-content {
    padding: 32px;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-text);
}

.product-content>p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.product-features li::before {
    content: '✓';
    color: var(--color-honey-dark);
    font-weight: 700;
}

/* ===== Gallery Section ===== */
.gallery {
    background: var(--color-warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease;
    aspect-ratio: 3 / 2;
}

.gallery-item.animate-in {
    opacity: 1;
    transform: scale(1);
}

.gallery-item:nth-child(1) {
    transition-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    transition-delay: 0.15s;
}

.gallery-item:nth-child(3) {
    transition-delay: 0.2s;
}

.gallery-item:nth-child(4) {
    transition-delay: 0.25s;
}

.gallery-item:nth-child(5) {
    transition-delay: 0.3s;
}

.gallery-item:nth-child(6) {
    transition-delay: 0.35s;
}

.gallery-item:nth-child(7) {
    transition-delay: 0.4s;
}

.gallery-item:nth-child(8) {
    transition-delay: 0.45s;
}

.gallery-item:nth-child(9) {
    transition-delay: 0.5s;
}

.gallery-item:nth-child(10) {
    transition-delay: 0.55s;
}

.gallery-item:nth-child(11) {
    transition-delay: 0.6s;
}

.gallery-item:nth-child(12) {
    transition-delay: 0.65s;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

#lightbox-caption {
    margin-top: 20px;
    color: white;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    text-align: center;
    max-width: 80%;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 1001;
}

.lightbox-close:hover {
    color: var(--color-honey);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 1001;
    padding: 20px;
    user-select: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--color-honey);
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--color-cream);
    color: var(--color-text);
}

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

.contact-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.contact-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact .section-label {
    color: var(--color-honey);
}

.contact h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.contact-content>p {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 169, 61, 0.15); /* light honey background */
    color: var(--color-honey);
    border-radius: var(--radius-sm);
}

.contact-item strong {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    color: var(--color-forest);
}

.contact-item p, .contact-item a {
    color: var(--text-main);
    margin: 0;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--color-honey);
}

.contact-image {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.contact-image.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--color-brown);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo-img {
    height: 85px;
    width: auto;
}

.footer-logo-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    display: block;
}

.footer-brand-text p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 250px;
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-honey-light);
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-grid,
    .contact-grid {
        gap: 50px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 40px;
    }

    .header {
        padding: 10px 0;
    }

    .header.scrolled {
        padding: 8px 0;
    }

    .logo-img {
        height: 48px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        flex-direction: column;
        background: var(--color-cream);
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--color-text) !important;
        font-size: 1.25rem;
        text-shadow: none !important;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 100;
    }

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

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

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

    .hero {
        min-height: 90vh;
        background-position: center 20%;
        align-items: flex-end;
        padding-bottom: 80px;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .section-header h2,
    .about-content h2,
    .contact h2 {
        font-size: 2rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-image::before {
        display: none;
    }

    .about-image img,
    .contact-image img {
        max-height: 250px;
        width: 100%;
        object-fit: cover;
    }

    .about-image img {
        object-position: center 17%;
    }

    .product-image {
        height: 180px;
    }

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

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

    .about-stats {
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        gap: 12px;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    /* Lightbox Mobile Optimizations */
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 36px;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 15px;
        font-size: 24px;
    }

    .lightbox-prev {
        left: 0;
    }

    .lightbox-next {
        right: 0;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 24px;
    }

    .hero {
        min-height: 90vh;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-header h2,
    .about-content h2,
    .contact h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .about-stats {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 5px;
    }

    .stat {
        flex: 1;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-number svg {
        width: 20px;
        height: 20px;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .product-image {
        height: 140px;
    }

    .about-image img,
    .contact-image img {
        max-height: 180px;
    }

    .product-content {
        padding: 12px;
    }

    .contact-info {
        gap: 12px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}