/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #111a2e;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f3f9; }
::-webkit-scrollbar-thumb { background: #d9e0ef; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #8da2cf; }

/* ===== NAV ===== */
#nav {
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(17, 26, 46, 0.06);
}
.nav-text-color { transition: color 0.3s ease; }
#nav:not(.scrolled) .nav-text-color { color: #111a2e; }
#nav.scrolled .nav-text-color { color: #111a2e; }
.nav-btn-bg { transition: background 0.3s ease; }
#nav:not(.scrolled) .nav-btn-bg { background: rgba(17, 26, 46, 0.08); }
#nav.scrolled .nav-btn-bg { background: #111a2e; }
.nav-icon-color { transition: color 0.3s ease; }
#nav:not(.scrolled) .nav-icon-color { color: #111a2e; }
#nav.scrolled .nav-icon-color { color: #111a2e; }

/* ===== MOBILE MENU ===== */
.mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* ===== HERO ===== */
#top {
    background: linear-gradient(135deg, #0a1019 0%, #111a2e 40%, #1e2f52 100%);
}

/* ===== SERVICES ===== */
.service-card {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.service-card:hover {
    transform: translateY(-4px);
}

/* ===== GALLERY ===== */
#gallery img {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* ===== SELECTION ===== */
::selection {
    background: #efb428;
    color: #111a2e;
}

/* ===== FOCUS ===== */
a:focus-visible, button:focus-visible {
    outline: 2px solid #efb428;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}
</style>
