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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #f5f5f0;
    color: #0a2a11;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== NAVBAR ===== */
.nav {
    background: rgba(250, 250, 245, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 95, 42, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 4px 24px rgba(10, 42, 17, 0.08);
}

.nav-logo-wrap {
    transition: transform 0.3s ease;
}

.nav-logo-wrap:hover {
    transform: rotate(15deg);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a5f2a;
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(26, 95, 42, 0.08);
    transition: color 0.2s, padding-left 0.2s;
}

.mobile-menu-link:hover {
    color: #1a5f2a;
    padding-left: 8px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #1a5f2a;
    color: #f5f5f0;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid #1a5f2a;
}

.btn-primary:hover {
    background: #145020;
    border-color: #145020;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 95, 42, 0.25);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #1a5f2a;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #1a5f2a;
}

.btn-outline:hover {
    background: #1a5f2a;
    color: #f5f5f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 95, 42, 0.2);
}

/* Hero Buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    background: #f5f5f0;
    color: #1a5f2a;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: 2px solid #f5f5f0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary:hover {
    background: transparent;
    color: #f5f5f0;
    border-color: #f5f5f0;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #f5f5f0;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(245, 245, 240, 0.4);
}

.btn-hero-secondary:hover {
    border-color: #f5f5f0;
    background: rgba(245, 245, 240, 0.1);
    transform: translateY(-3px);
}

/* CTA Buttons */
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    background: #f5f5f0;
    color: #1a5f2a;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #f5f5f0;
}

.btn-cta-primary:hover {
    background: transparent;
    color: #f5f5f0;
    border-color: #f5f5f0;
    transform: translateY(-2px);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #f5f5f0;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(245, 245, 240, 0.4);
}

.btn-cta-secondary:hover {
    border-color: #f5f5f0;
    background: rgba(245, 245, 240, 0.1);
    transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0f3d18 0%, #1a5f2a 40%, #145020 100%);
}

.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(245, 245, 240, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 245, 240, 0.03) 0%, transparent 40%),
        linear-gradient(45deg, transparent 48%, rgba(245, 245, 240, 0.02) 49%, rgba(245, 245, 240, 0.02) 51%, transparent 52%);
    background-size: 100% 100%, 100% 100%, 60px 60px;
}

/* Floating shapes */
.hero-shape {
    will-change: transform;
}

.shape-circle-1 { animation: floatShape1 8s ease-in-out infinite; }
.shape-circle-2 { animation: floatShape2 10s ease-in-out infinite; }
.shape-square-1 { animation: floatShape3 7s ease-in-out infinite; }
.shape-square-2 { animation: floatShape4 9s ease-in-out infinite; }

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.05); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-25px, 20px) scale(1.03); }
}

@keyframes floatShape3 {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50% { transform: rotate(50deg) translate(15px, -20px); }
}

@keyframes floatShape4 {
    0%, 100% { transform: rotate(12deg) translate(0, 0); }
    50% { transform: rotate(5deg) translate(-10px, 15px); }
}

/* Hero Badge */
.hero-badge {
    animation: fadeInUp 0.8s ease forwards;
}

/* Hero Headline */
.hero-headline {
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

/* Hero Subtitle */
.hero-subtitle {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

/* Hero CTAs */
.hero-ctas {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

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

/* Hero Cards */
.hero-cards {
    animation: fadeInRight 1s ease 0.4s forwards;
    opacity: 0;
}

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

.card-photo {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.card-photo-label {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Floating stat cards */
.hero-float-card {
    animation: floatCard 4s ease-in-out infinite;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.float-card-1 { animation-delay: 0s; }
.float-card-2 { animation-delay: 1.3s; }
.float-card-3 { animation-delay: 2.6s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.float-icon-wrap {
    transition: transform 0.3s ease;
}

.hero-float-card:hover .float-icon-wrap {
    transform: rotate(10deg) scale(1.1);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s ease-in-out infinite;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 0.7;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===== SECTION: ABOUT ===== */
.section-about {
    position: relative;
}

.about-img-grid {
    position: relative;
    height: 520px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 75%;
    z-index: 2;
}

.about-img-secondary {
    position: absolute;
    top: 55%;
    right: 0;
    width: 50%;
    z-index: 3;
    border: 5px solid #fafaf5;
}

.about-img-accent {
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 45%;
    z-index: 1;
    border: 5px solid #fafaf5;
}

.about-accent-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accent-bar {
    height: 4px;
}

.about-feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 95, 42, 0.1);
}

/* ===== SECTION: SHOP ===== */
.section-shop {
    position: relative;
    overflow: hidden;
}

.shape-geo-1 { animation: geoFloat1 12s ease-in-out infinite; }
.shape-geo-2 { animation: geoFloat2 15s ease-in-out infinite; }
.shape-geo-3 { animation: geoRotate 30s linear infinite; }

@keyframes geoFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 20px); }
}

@keyframes geoFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -30px); }
}

@keyframes geoRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.shop-eyebrow {
    letter-spacing: 0.2em;
}

.shop-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 245, 240, 0.1);
    border-radius: 20px;
    padding: 8px;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}

.shop-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(245, 245, 240, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.shop-card-img {
    transition: transform 0.5s ease;
}

.shop-card:hover .shop-card-img {
    transform: scale(1.02);
}

.shop-card-icon {
    transition: transform 0.3s ease;
}

.shop-card:hover .shop-card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ===== SECTION: WHY ===== */
.section-why {
    position: relative;
    overflow: hidden;
}

.shape-why-1 { animation: whyFloat1 10s ease-in-out infinite; }
.shape-why-2 { animation: whyFloat2 12s ease-in-out infinite; }

@keyframes whyFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.05); }
}

@keyframes whyFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, -15px) scale(1.03); }
}

.why-eyebrow {
    letter-spacing: 0.2em;
}

.why-card {
    background: #fafaf5;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(26, 95, 42, 0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a5f2a, #66bb6a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 95, 42, 0.1);
}

.why-card-icon {
    transition: transform 0.3s ease;
}

.why-card:hover .why-card-icon {
    transform: scale(1.1);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    position: relative;
    overflow: hidden;
}

.cta-shape-1 { animation: ctaFloat1 8s ease-in-out infinite; }
.cta-shape-2 { animation: ctaFloat2 10s ease-in-out infinite; }
.cta-shape-3 { animation: ctaPulse 3s ease-in-out infinite; }
.cta-shape-4 { animation: ctaPulse 4s ease-in-out infinite 1s; }
.cta-shape-5 { animation: ctaPulse 5s ease-in-out infinite 2s; }

@keyframes ctaFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

@keyframes ctaFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-15px, 15px); }
}

@keyframes ctaPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.5); }
}

/* ===== SECTION: VISIT ===== */
.visit-eyebrow {
    letter-spacing: 0.2em;
}

.visit-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visit-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(26, 95, 42, 0.1);
}

.visit-icon-wrap {
    transition: transform 0.3s ease;
}

.visit-card:hover .visit-icon-wrap {
    transform: rotate(10deg);
}

.map-container {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0a2a11, #1a5f2a, #66bb6a, #1a5f2a, #0a2a11);
}

.footer-link {
    transition: all 0.2s ease;
}

.footer-link:hover {
    padding-left: 6px;
}

.footer-logo-wrap {
    transition: transform 0.3s ease;
}

.footer-logo-wrap:hover {
    transform: rotate(15deg) scale(1.1);
}

.footer-bottom {
    border-color: rgba(245, 245, 240, 0.08);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: #1a5f2a;
    color: #f5f5f0;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 40;
    box-shadow: 0 8px 24px rgba(26, 95, 42, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #145020;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 95, 42, 0.4);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Default state for reveal elements (visible without JS) */
.reveal {
    transform: translateY(0);
    opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
    .hero-cards {
        display: none;
    }
    
    .about-img-grid {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .about-img-grid {
        height: 320px;
    }
    
    .about-img-main {
        width: 70%;
        height: 70%;
    }
    
    .about-img-secondary {
        width: 55%;
    }
    
    .about-img-accent {
        width: 50%;
    }
    
    .section-about,
    .section-shop,
    .section-why,
    .section-visit {
        padding: 4rem 1.5rem;
    }
    
    .cta-banner {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 479px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-img-grid {
        height: 260px;
    }
}
