/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ── Utility ────────────────────────────────────────────── */
.section-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C06C44;
}

/* ── Nav ────────────────────────────────────────────────── */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    background: transparent;
    padding: 1rem 0;
}
#header.nav-scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(61, 43, 31, 0.08);
    padding: 0.6rem 0;
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #3D2B1F;
}
.nav-brand-name { letter-spacing: -0.01em; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #3D2B1F;
    transition: color 0.2s;
    position: relative;
}
.nav-links a:not(.btn-primary-nav):hover { color: #C06C44; }
.nav-links a:not(.btn-primary-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C06C44;
    transition: width 0.25s ease;
}
.nav-links a:not(.btn-primary-nav):hover::after { width: 100%; }

.btn-primary-nav {
    background: #C06C44;
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
}
.btn-primary-nav:hover { background: #a85a38; transform: translateY(-1px); }
.btn-primary-nav::after { display: none !important; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #3D2B1F;
}

/* Mobile */
@media (max-width: 767px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #FDF8F0;
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem;
        box-shadow: -8px 0 30px rgba(0,0,0,0.1);
        transition: right 0.35s ease;
        z-index: 200;
    }
    .nav-links.open { right: 0; }
    .nav-links a { font-size: 1.1rem; }
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.3);
        z-index: 150;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
    }
    .nav-overlay.visible { opacity: 1; pointer-events: all; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FDF8F0 0%, #F9EAC9 50%, #F2DACE 100%);
    overflow: hidden;
    padding: 6rem 0 4rem;
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 2px 2px, #C06C44 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-tagline { animation: fadeUp 0.8s ease both; }
.hero-headline { animation: fadeUp 0.8s 0.1s ease both; }
.hero-subhead { animation: fadeUp 0.8s 0.2s ease both; }
.hero-actions { animation: fadeUp 0.8s 0.3s ease both; }
.hero-trust { animation: fadeUp 0.8s 0.4s ease both; }

.hero-img-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}
.hero-img-accent {
    position: absolute;
    inset: -12px;
    border: 2px solid rgba(192, 108, 68, 0.2);
    border-radius: 1.5rem;
    z-index: -1;
    animation: floatSlow 6s ease-in-out infinite;
}
.hero-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    animation: fadeUp 0.8s 0.15s ease both;
}
.hero-float-card {
    animation: floatSlow 5s ease-in-out infinite;
}

.btn-terra {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #C06C44;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    border: 2px solid #C06C44;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-terra:hover {
    background: #a85a38;
    border-color: #a85a38;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 108, 68, 0.3);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #3D2B1F;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    border: 2px solid rgba(61, 43, 31, 0.25);
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-outline:hover {
    border-color: #C06C44;
    background: rgba(192, 108, 68, 0.06);
    transform: translateY(-2px);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #3D2B1F;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: 9999px;
    transition: background 0.2s, transform 0.15s;
}
.btn-white:hover { background: #F9EAC9; transform: translateY(-2px); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #C06C44;
    transition: gap 0.2s;
}
.link-arrow:hover { gap: 0.7rem; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ── About ──────────────────────────────────────────────── */
.section-about { background: #FDF8F0; }
.about-images { position: relative; }
.about-img-main { aspect-ratio: 4/3; overflow: hidden; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
    width: 55%;
    aspect-ratio: 7/8;
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

/* ── Products ───────────────────────────────────────────── */
.section-products { background: #fdf6ea; }
.product-card {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(61, 43, 31, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(61, 43, 31, 0.12);
}
.product-card-img { overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 { font-size: 1.15rem; }

/* ── Why Us ─────────────────────────────────────────────── */
.section-why { background: #FDF8F0; }
.why-icon { transition: transform 0.2s; }
.why-item:hover .why-icon { transform: scale(1.08); }
.why-image-stack { position: relative; }
.why-img-main { aspect-ratio: 13/17; overflow: hidden; }
.why-img-main img { width: 100%; height: 100%; object-fit: cover; }
.why-img-float { animation: floatSlow 5.5s ease-in-out infinite; }

/* ── Visit ──────────────────────────────────────────────── */
.section-visit { background: #fdf6ea; }
.visit-card { transition: transform 0.2s; }
.visit-card:hover { transform: translateY(-3px); }

/* ── CTA ────────────────────────────────────────────────── */
.section-cta {
    position: relative;
    background: linear-gradient(135deg, #3D2B1F 0%, #613728 50%, #8c4a30 100%);
    overflow: hidden;
}
.cta-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-contact-item {
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}
.cta-contact-item:hover { transform: translateY(-2px); }
.cta-contact-icon { transition: background 0.2s; }
.cta-contact-item:hover .cta-contact-icon { background: rgba(255,255,255,0.2); }

.cta-input {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
}
.cta-input::placeholder { color: rgba(255,255,255,0.4); }
.cta-success { animation: fadeUp 0.4s ease both; }

/* ── Footer ─────────────────────────────────────────────── */
.footer { background: #2A1D14; }
.footer-brand { transition: transform 0.2s; }
.footer-brand:hover { transform: scale(1.03); }
.footer-brand-icon { flex-shrink: 0; }
.footer-bottom { color: rgba(255,255,255,0.45); }

/* ── Scroll reveal (progressive enhancement) ────────────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (min-width: 768px) {
    .hero-headline { font-size: 3.25rem; }
}
@media (min-width: 1024px) {
    .hero-headline { font-size: 3.5rem; }
}
@media (min-width: 1280px) {
    .hero-headline { font-size: 3.75rem; }
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #C06C44;
    outline-offset: 2px;
}
