/* Custom styles & overrides */

:root {
    --color-coral-400: #FF8A68;
    --color-coral-500: #FF6B4A;
    --color-coral-600: #F05030;
    --color-charcoal-800: #1C1C21;
    --color-charcoal-900: #121214;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-logo-text {
    color: #1C1C21 !important;
}

.nav-scrolled a:not(.bg-coral-500):not(.bg-white\/10):not(.bg-coral-500\/20) {
    color: #1C1C21 !important;
}

/* Hero gradient overlay */
#hero {
    position: relative;
}

/* Selection color */
::selection {
    background: #FF6B4A;
    color: white;
}

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

::-webkit-scrollbar-track {
    background: #1C1C21;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #F05030;
}

/* Mobile menu animation */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Geometric patterns */
.pattern-dots {
    background-image: radial-gradient(circle, rgba(255, 107, 74, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Card hover glow */
.glow-coral:hover {
    box-shadow: 0 0 40px rgba(255, 107, 74, 0.15);
}

/* Input focus animation */
input:focus, textarea:focus, select:focus {
    transform: translateY(-1px);
}

/* Smooth image loading */
img {
    loading: lazy;
}
