/* Custom styles for Midway Tents */

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

/* Prevent scroll reveal on load for above-the-fold content */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(253, 248, 240, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Mobile menu animations */
.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

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

::-webkit-scrollbar-track {
    background: #FDF8F0;
}

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

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

/* Selection color */
::selection {
    background: #f5c4b0;
    color: #5c2214;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #c94f2e;
    outline-offset: 2px;
}

/* Subtle hover lift for gallery images */
.rounded-2xl.overflow-hidden {
    overflow: hidden;
}

/* Print styles */
@media print {
    nav, #contact, .cta-banner {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
