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

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;
    --cream:       #faf6f0;
    --cream-dark:  #f0e8d8;
    --warm:        #d4a574;
    --warm-dark:   #b8864e;
    --text-dark:   #1a2e28;
    --text-mid:    #3d5a4e;
    --text-light:  #6b8f81;
    --white:       #ffffff;
    --radius-sm:   0.5rem;
    --radius-md:   1rem;
    --radius-lg:   1.5rem;
    --radius-xl:   2rem;
    --shadow-sm:   0 1px 3px rgba(6,78,59,0.08), 0 1px 2px rgba(6,78,59,0.06);
    --shadow-md:   0 4px 16px rgba(6,78,59,0.10), 0 2px 4px rgba(6,78,59,0.06);
    --shadow-lg:   0 12px 40px rgba(6,78,59,0.14), 0 4px 12px rgba(6,78,59,0.08);
    --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', serif;
    line-height: 1.2;
    color: var(--emerald-900);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 95, 70, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 246, 240, 0.97);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--emerald-800);
    font-weight: 600;
}

.logo-light { color: var(--cream); }
.logo-light span { color: var(--cream); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-mid);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-500);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links a:hover { color: var(--emerald-700); }
.nav-links a:hover::after { width: 100%; }

.btn-nav {
    background: var(--emerald-700);
    color: var(--white) !important;
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.btn-nav::after { display: none; }
.btn-nav:hover { background: var(--emerald-600); color: var(--white) !important; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--emerald-800);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--emerald-700);
    color: var(--white);
    border-color: var(--emerald-700);
}

.btn-primary:hover {
    background: var(--emerald-600);
    border-color: var(--emerald-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Hero ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 78, 59, 0.82) 0%,
        rgba(4, 120, 87, 0.65) 50%,
        rgba(5, 150, 105, 0.50) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding-top: 72px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--cream);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    color: var(--white);
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.text-cream { color: var(--cream); }

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(250, 246, 240, 0.88);
    margin-bottom: 2rem;
    max-width: 540px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(250,246,240,0.6);
    animation: bounce 2s infinite;
}

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

/* ── Section Common ── */
.section { padding: 6rem 0; }

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--emerald-600);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
    color: var(--emerald-900);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 600px;
    margin: 0 auto;
}

.text-center { text-align: center; }

/* ── About ── */
.about { background: var(--cream); }

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

.about-images {
    position: relative;
    min-height: 500px;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--cream);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-stat {
    position: absolute;
    top: -1.5rem;
    right: 2rem;
    background: var(--emerald-700);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    opacity: 0.85;
    margin-top: 0.2rem;
}

.about-text .section-title { margin-top: 0.3rem; }

.about-text p {
    color: var(--text-mid);
    margin-bottom: 1rem;
    font-size: 1.02rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--emerald-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
}

.about-feature strong {
    display: block;
    color: var(--emerald-900);
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.about-feature span {
    font-size: 0.88rem;
    color: var(--text-light);
}

/* ── Products ── */
.products { background: var(--white); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid rgba(6,78,59,0.06);
}

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

.product-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--emerald-700);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-info {
    padding: 1.4rem;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--emerald-900);
}

.product-info p {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ── Why ── */
.why { background: var(--emerald-900); }

.why .section-tag { color: var(--emerald-400); }
.why .section-title { color: var(--white); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.why-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
}

.why-card:hover {
    background: rgba(255,255,255,0.10);
    transform: translateY(-4px);
}

.why-icon {
    width: 56px;
    height: 56px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-400);
    margin-bottom: 1.2rem;
}

.why-card h3 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.why-card p {
    font-size: 0.92rem;
    color: rgba(250,246,240,0.7);
    line-height: 1.7;
}

/* ── Visit ── */
.visit { background: var(--cream); }

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.visit-info { padding: 1rem 0; }
.visit-info .section-title { margin-top: 0.3rem; }

.visit-desc {
    color: var(--text-mid);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--emerald-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
}

.visit-detail strong {
    display: block;
    color: var(--emerald-900);
    font-size: 0.88rem;
    margin-bottom: 0.15rem;
}

.visit-detail span,
.visit-detail a {
    font-size: 0.95rem;
    color: var(--text-mid);
}

.visit-detail a:hover { color: var(--emerald-700); }

.visit-detail address { font-style: normal; }

.visit-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

/* ── Contact ── */
.contact { background: var(--white); }

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-title { margin-top: 0.3rem; }

.contact-info p {
    color: var(--text-mid);
    font-size: 1.02rem;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--emerald-700);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.contact-link:hover { color: var(--emerald-500); }

.contact-form-wrap {
    background: var(--cream);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.contact-form { transition: opacity var(--transition); }
.contact-form.hidden { display: none; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--emerald-900);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(6,78,59,0.15);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-dark);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}

.form-success.show { display: block; }

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--emerald-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    color: var(--emerald-600);
}

.form-success h3 {
    font-size: 1.4rem;
    color: var(--emerald-900);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-mid);
    font-size: 0.95rem;
}

/* ── Footer ── */
.footer {
    background: var(--emerald-900);
    color: var(--cream);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    color: rgba(250,246,240,0.65);
    font-size: 0.92rem;
    margin-top: 0.8rem;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--emerald-400);
    margin-bottom: 1rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: rgba(250,246,240,0.7);
    font-size: 0.92rem;
    transition: color var(--transition);
}

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

.footer-contact address {
    font-style: normal;
    color: rgba(250,246,240,0.7);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.footer-contact p {
    color: rgba(250,246,240,0.7);
    font-size: 0.92rem;
}

.footer-contact a {
    color: var(--emerald-400);
    transition: color var(--transition);
}

.footer-contact a:hover { color: var(--cream); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(250,246,240,0.45);
    font-size: 0.85rem;
}

/* ── Reveal Animation ── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about-grid,
    .visit-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-images { min-height: 400px; }
    .about-img-secondary { right: 1rem; }

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

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250,246,240,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 0;
        border-bottom: 1px solid rgba(6,78,59,0.1);
        transform: translateY(-110%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links li { border-bottom: 1px solid rgba(6,78,59,0.06); }
    .nav-links li:last-child { border-bottom: none; }

    .nav-links a {
        display: block;
        padding: 0.9rem 0.5rem;
        font-size: 1.05rem;
    }

    .nav-links a::after { display: none; }
    .btn-nav { text-align: center; margin-top: 0.5rem; }

    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { justify-content: center; }

    .products-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }

    .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
    .about-images { min-height: 320px; }
    .about-img-secondary { width: 65%; bottom: -1rem; right: -0.5rem; }
    .about-stat { top: -1rem; right: 0.5rem; }
    .contact-form-wrap { padding: 1.5rem; }
}
