/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; }

/* ─── Buttons ─── */
.btn-primary {
    background: #B85C38;
    color: #FDFBF7;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {
    background: #9E4527;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(184, 92, 56, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #FDFBF7;
    border: 1.5px solid rgba(253, 251, 247, 0.35);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.btn-secondary:hover {
    background: rgba(253, 251, 247, 0.08);
    border-color: rgba(253, 251, 247, 0.7);
    transform: translateY(-1px);
}

/* ─── Nav Link underline ─── */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #B85C38;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* ─── Hero Badge ─── */
.hero-badge {
    animation: fadeSlideDown 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Hero text animations (above the fold — always visible) ─── */
.hero-title, .hero-desc, .hero-ctas, .hero-info {
    opacity: 1;
}
.hero-title   { animation: fadeUp 0.7s ease forwards; animation-delay: 0.3s; opacity: 0; }
.hero-desc    { animation: fadeUp 0.7s ease forwards; animation-delay: 0.45s; opacity: 0; }
.hero-ctas    { animation: fadeUp 0.7s ease forwards; animation-delay: 0.6s;  opacity: 0; }
.hero-info    { animation: fadeUp 0.7s ease forwards; animation-delay: 0.75s; opacity: 0; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Scroll Reveal (below the fold only) ─── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Back to Top ─── */
.back-to-top {
    opacity: 0;
    pointer-events: none;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ─── Mobile Menu ─── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}
#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* ─── Form Focus Styles ─── */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ─── Custom scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FDFBF7; }
::-webkit-scrollbar-thumb { background: #D9BC8A; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #B85C38; }

/* ─── Selection ─── */
::selection { background: rgba(184, 92, 56, 0.2); color: #3D1C12; }
