:root {
    --charcoal-950: #0d0d0d;
    --charcoal-900: #141414;
    --charcoal-800: #1e1e1e;
    --charcoal-700: #2a2a2a;
    --charcoal-600: #3a3a3a;
    --coral-500: #e85d3a;
    --coral-400: #f07055;
    --coral-600: #d14e2e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--charcoal-950);
    color: #f3f4f6;
    overflow-x: hidden;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

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

/* Scroll reveal — progressive enhancement, respects reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

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

/* Floating CTA pulse */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(232, 93, 58, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(232, 93, 58, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 93, 58, 0); }
}

.floating-cta {
    animation: pulse-ring 2s infinite;
}

.floating-cta:hover {
    animation: none;
}

/* Navbar scroll state */
#navbar.scrolled {
    background-color: rgba(13, 13, 13, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

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

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

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

/* Selection color */
::selection {
    background: var(--coral-500);
    color: #fff;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

#mobile-menu.open {
    max-height: 400px;
}

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