/* Custom styles for Station 91 website */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .float-slow,
    .float-medium,
    .float-fast {
        animation: none;
    }
    .service-card:hover {
        transform: none;
    }
    .service-card:hover .service-icon {
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Custom selection color */
::selection {
    background-color: #c93d28;
    color: white;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #c93d28;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image placeholder backgrounds */
img {
    background-color: #e8c4a0;
}

/* Subtle texture overlay for geometric sections */
.stripe-pattern {
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
}

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

.nav-scrolled .font-serif {
    color: #111827 !important;
}

.nav-scrolled .text-gray-500 {
    color: #6b7280 !important;
}

.nav-scrolled .menu-line {
    background-color: #111827 !important;
}

/* Service card stagger animation (progressive enhancement) */
.service-card {
    opacity: 1;
}

/* Counter animation target */
.stat-number {
    display: inline-block;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

/* Geometric shapes hover */
.geometric-shape-1:hover {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.geometric-shape-2:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Map container hover */
iframe:hover {
    filter: brightness(1.02);
    transition: filter 0.3s ease;
}
