/* ===== Base & Typography ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --midnight-950: #0a1628;
    --midnight-900: #102a43;
    --midnight-800: #243b53;
    --midnight-700: #334e68;
    --midnight-600: #486581;
    --midnight-400: #829ab1;
    --midnight-300: #9fb3c8;
    --mint-400: #5ec4ad;
    --mint-500: #36a88f;
    --mint-600: #1f8f78;
    --mint-800: #105c4f;
    --mint-900: #0d4b41;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

::selection {
    background-color: rgba(94, 196, 173, 0.3);
    color: #f0f4f8;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Navbar ===== */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
    background-color: rgba(10, 22, 40, 0.95);
    box-shadow: 0 1px 0 rgba(51, 78, 104, 0.3);
}

/* ===== Mobile Menu ===== */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Custom Select ===== */
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='%23829ab1' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
}

/* ===== Smooth scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--midnight-950);
}

::-webkit-scrollbar-thumb {
    background: var(--midnight-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--midnight-600);
}

/* ===== Input focus states ===== */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 1px rgba(94, 196, 173, 0.2);
}

/* ===== Button hover glow ===== */
button:hover,
a:hover {
    transition: all 0.3s ease;
}
