/* Custom styles for Station 65 website */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Lato:wght@300;400;500;600;700&display=swap');

:root {
    --burgundy-950: #400815;
    --burgundy-900: #711d33;
    --burgundy-800: #871d34;
    --burgundy-700: #a51c36;
    --burgundy-600: #c72847;
    --burgundy-500: #df4566;
    --blush-300: #ffd2c8;
    --blush-400: #ffb3a3;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
}

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

.font-lato {
    font-family: 'Lato', sans-serif;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-hidden {
        opacity: 1;
        transform: translateY(0);
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(64, 8, 21, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

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

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

/* Selection color */
::selection {
    background: var(--burgundy-600);
    color: white;
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--burgundy-500);
    outline-offset: 2px;
}

/* Button hover animations */
button, a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, var(--burgundy-600), var(--blush-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 40px 40px;
}
