/* ─── Base & Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ─── Navbar scroll state ─── */
#navbar.scrolled {
    background: rgba(50, 33, 24, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* ─── Geometric Shapes in Hero ─── */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.circle-1 {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: #f5e5a0;
    top: -100px;
    right: -80px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #fce7e1;
    bottom: 15%;
    left: 5%;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #f8d0c4;
    top: 25%;
    left: 8%;
    transform: rotate(-15deg);
    opacity: 0.15;
}

.rect-1 {
    width: 160px;
    height: 160px;
    background: #d9522a;
    bottom: 20%;
    right: 10%;
    transform: rotate(30deg);
    border-radius: 20px;
    opacity: 0.1;
}

.circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #f5e5a0;
    top: 40%;
    right: 20%;
    opacity: 0.2;
}

.ring-1 {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 4px solid rgba(253, 223, 196, 0.3);
    bottom: -60px;
    left: -60px;
}

/* ─── 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.visible {
        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; }
}

/* Fallback: ensure content is visible even without JS */
.no-js .reveal,
.js-enabled .reveal {
    opacity: 1;
    transform: none;
}

/* ─── Mobile Menu ─── */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-link:last-child { border-bottom: none; }

/* ─── Form focus styles ─── */
input:focus, textarea:focus {
    outline: none;
}

/* ─── Utility ─── */
@media (max-width: 767px) {
    .geo-shape { display: none; }
}
