/* ===== Base & Typography ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .collection-card,
    .service-card {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, background-color 0.3s ease;
    }
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(37, 14, 23, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(203, 163, 194, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Mobile Menu ===== */
#mobileMenu {
    pointer-events: none;
}

#mobileMenu.open {
    pointer-events: all;
}

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

::-webkit-scrollbar-track {
    background: #250e17;
}

::-webkit-scrollbar-thumb {
    background: #682e47;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9b5578;
}

/* ===== Selection ===== */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fde68a;
}

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

/* ===== Image Optimization ===== */
img {
    max-width: 100%;
    height: auto;
}

/* ===== Subtle Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.floating-badge {
    animation: float 4s ease-in-out infinite;
}

/* ===== Print Styles ===== */
@media print {
    nav, #navbar, .floating-badge { display: none !important; }
    body { background: white; color: black; }
    a { color: black; }
}
