/* Copper Owl Alamogordo — Custom Styles */

:root {
    --midnight-950: #030810;
    --midnight-900: #0A1628;
    --midnight-800: #111F38;
    --off-white: #EDE8E0;
    --mint: #A7C4B8;
    --mint-light: #B8D4CA;
    --mint-dark: #8BA89A;
}

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

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

body {
    background-color: var(--midnight-950);
    color: var(--off-white);
    font-family: 'Inter', system-ui, sans-serif;
}

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

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

/* Tailwind custom colors */
.bg-midnight-950 { background-color: var(--midnight-950); }
.bg-midnight-900 { background-color: var(--midnight-900); }
.bg-midnight-800 { background-color: var(--midnight-800); }
.text-off-white { color: var(--off-white); }
.text-mint { color: var(--mint); }
.text-mint-light { color: var(--mint-light); }
.text-mint-dark { color: var(--mint-dark); }
.bg-mint { background-color: var(--mint); }
.bg-mint-light { background-color: var(--mint-light); }
.border-mint { border-color: var(--mint); }

/* Custom Tailwind arbitrary values used in HTML are handled by the CDN config */

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    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);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Navbar scroll state */
.navbar-scrolled {
    background-color: rgba(3, 8, 16, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(167, 196, 184, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--mint-dark);
}

/* Selection color */
::selection {
    background-color: rgba(167, 196, 184, 0.3);
    color: var(--off-white);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid var(--mint);
    outline-offset: 2px;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
