/* ── Base & Typography ── */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(168, 100, 133, 0.2);
    color: #4f303c;
}

/* ── Navbar ── */
#navbar {
    background: rgba(250, 250, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 100, 133, 0.08);
}

#navbar.scrolled {
    background: rgba(250, 250, 248, 0.95);
    box-shadow: 0 1px 20px rgba(95, 54, 71, 0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #a86485;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ── Hero Animations ── */
.hero-eyebrow {
    animation: fadeSlideUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title {
    animation: fadeSlideUp 0.8s ease 0.15s forwards;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeSlideUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeSlideUp 0.8s ease 0.45s forwards;
    opacity: 0;
}

.hero-scroll {
    animation: fadeSlideUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-card-main {
    animation: floatMain 6s ease-in-out infinite;
}

.hero-float-1 {
    animation: float1 5s ease-in-out infinite;
}

.hero-float-2 {
    animation: float2 5.5s ease-in-out infinite;
}

.hero-float-3 {
    animation: float3 6s ease-in-out infinite;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatMain {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ── Scroll Reveal ── */
.section-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .section-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-eyebrow,
    .hero-title,
    .hero-subtitle,
    .hero-cta,
    .hero-scroll {
        opacity: 1;
        animation: none;
    }
    .hero-card-main,
    .hero-float-1,
    .hero-float-2,
    .hero-float-3 {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ── Mobile Menu ── */
.mobile-nav-link {
    position: relative;
}

/* ── Form ── */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a86485' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ── Smooth transitions for all interactive elements ── */
a, button {
    transition: all 0.3s ease;
}

img {
    transition: transform 0.7s ease;
}

/* ── Utility ── */
.font-serif {
    font-weight: 300;
}
