/* ── RESET & BASE ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: #f0f4ff; color: #0a1628; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── CUSTOM PROPERTIES ───────────────────────────────── */
:root {
    --midnight: #0a1628;
    --mint: #4fd6b8;
    --mint-light: #dcfce9;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── NAV ─────────────────────────────────────────────── */
#nav { transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease; }
#nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* ── HERO ────────────────────────────────────────────── */
.hero-gradient {
    background: linear-gradient(135deg, #0a1628 0%, #0d2137 30%, #0f2d4a 60%, #0a1628 100%);
}
.hero-img { will-change: transform; }
.hero-badge { animation: fadeDown 0.8s ease both; }
.hero-headline { animation: fadeUp 1s ease 0.15s both; }
.hero-sub { animation: fadeUp 1s ease 0.3s both; }
.hero-ctas { animation: fadeUp 1s ease 0.45s both; }
.hero-scroll { animation: fadeUp 1s ease 0.7s both; }

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

/* ── SCROLL INDICATOR ────────────────────────────────── */
.scroll-line { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.scroll-dot {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #4fd6b8;
    color: #0a1628;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 100px;
    transition: all var(--transition);
    letter-spacing: 0.02em;
}
.btn-primary:hover {
    background: #86efac;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 214, 184, 0.3);
}
.btn-primary svg { transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 400;
    border-radius: 100px;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}

/* ── LABELS ──────────────────────────────────────────── */
.label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* ── DIVIDER ─────────────────────────────────────────── */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(10,22,40,0.1), transparent);
    margin: 0;
}

/* ── MENU ────────────────────────────────────────────── */
.menu-item {
    padding: 4px 0;
    border-bottom: 1px solid rgba(10,22,40,0.06);
    transition: padding-left 0.3s ease;
}
.menu-item:hover { padding-left: 8px; }
.menu-item:last-child { border-bottom: none; }
.dot-leader { flex: 1; min-width: 16px; }

/* ── GALLERY ─────────────────────────────────────────── */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover .gallery-img { transform: scale(1.05); }

/* ── FORM ────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; }
.form-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0a1628;
    margin-bottom: 8px;
    opacity: 0.6;
}
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(10,22,40,0.12);
    border-radius: 10px;
    background: #fff;
    color: #0a1628;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 300;
    transition: all 0.3s ease;
    outline: none;
}
.form-input::placeholder { color: rgba(10,22,40,0.3); }
.form-input:focus {
    border-color: #4fd6b8;
    box-shadow: 0 0 0 3px rgba(79,214,184,0.15);
}

/* ── REVEAL ANIMATIONS ───────────────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up { transform: translateY(0); }
.reveal-left { transform: translateX(0); }
.reveal-right { transform: translateX(0); }

@media (prefers-reduced-motion: no-preference) {
    .reveal-up { opacity: 0; transform: translateY(32px); }
    .reveal-left { opacity: 0; transform: translateX(-32px); }
    .reveal-right { opacity: 0; transform: translateX(32px); }
    .reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

/* ── MOBILE MENU ─────────────────────────────────────── */
.mobile-link { transition: opacity 0.3s ease; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-headline { font-size: 2.5rem; }
    .hero-sub { font-size: 1rem; }
}
@media (min-width: 769px) and (max-width: 1023px) {
    .hero-headline { font-size: 4rem; }
}
@media (min-width: 1024px) {
    .hero-headline { font-size: 4.5rem; }
}
