/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
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; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#navbar.scrolled {
    background: rgba(9, 20, 44, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
    padding: 0;
}
#navbar.scrolled #nav-logo-text { color: #fff; }

/* ── Hero ── */
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(9,20,44,0.70) 0%, rgba(13,29,63,0.60) 50%, rgba(9,20,44,0.85) 100%); }

/* ── Animations ── */
.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s 0.5s forwards;
}
.hero-desc {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.7s forwards;
}
.hero-ctas {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.9s forwards;
}
.hero-scroll {
    opacity: 0;
    animation: fadeIn 0.8s 1.4s forwards;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    to { opacity: 1; }
}

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

/* ── Section labels & titles ── */
.section-label { display: block; }
.section-title { font-family: 'Playfair Display', Georgia, serif; }

/* ── Body text ── */
.body-text { line-height: 1.8; }

/* ── Cards ── */
.card-dark {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    padding: 2rem;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.card-dark:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(212,154,42,0.3);
    transform: translateY(-4px);
}
.card-light {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card-light:hover {
    box-shadow: 0 20px 60px rgba(13,29,63,0.10);
    transform: translateY(-4px);
}

/* ── Buttons ── */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
    backdrop-filter: blur(4px);
}
.btn-secondary:hover {
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.05);
}

/* ── Inputs ── */
.input-dark {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.input-dark:focus {
    border-color: rgba(212,154,42,0.6);
    background: rgba(255,255,255,0.09);
    box-shadow: 0 0 0 3px rgba(212,154,42,0.15);
    outline: none;
}
.input-dark::placeholder { color: rgba(255,255,255,0.3); }
.input-dark option { background: #0d1d3f; color: #fff; }

/* ── Mobile menu ── */
#mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.mobile-link { display: block; }

/* ── Gold number decoration ── */
.gold-number { font-family: 'Playfair Display', Georgia, serif; }

/* ── Responsive tweaks ── */
@media (max-width: 640px) {
    .hero-title { font-size: 2.25rem; }
    .section-title { font-size: 2rem; }
}
@media (min-width: 641px) and (max-width: 1023px) {
    .hero-title { font-size: 3.5rem; }
}
