/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* ===== Navbar ===== */
.nav-logo-text { color: rgba(255,255,255,0.9); }
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c8a45a;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ===== Scroll Reveal ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===== Hero Animation ===== */
.hero-badge {
    animation: fadeDown 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-headline {
    animation: fadeUp 0.9s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-subtitle {
    animation: fadeUp 0.9s 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-desc {
    animation: fadeUp 0.9s 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-ctas {
    animation: fadeUp 0.9s 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Mobile Menu ===== */
.mobile-link {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }

/* ===== Contact Cards Hover ===== */
a[href^="tel"], a[href^="mailto"], a[href^="https://maps"] {
    text-decoration: none;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f5f5f4; }
::-webkit-scrollbar-thumb { background: #c8a45a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #b8860b; }

/* ===== Selection ===== */
::selection { background: rgba(200, 164, 90, 0.3); color: #102a43; }

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

/* ===== Responsive tweaks ===== */
@media (max-width: 640px) {
    .hero-headline { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.125rem; }
}
