/* Custom styles for Armstrong Bay Campground */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1410;
}
::-webkit-scrollbar-thumb {
    background: #C05640;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e06b50;
}

/* Navbar transitions */
#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(26, 20, 16, 0.08);
}

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

#navbar.scrolled .nav-logo-sub {
    color: #3d3025 !important;
}

#navbar.scrolled .nav-link {
    color: #3d3025 !important;
}

#navbar.scrolled .nav-link:hover {
    color: #C05640 !important;
}

#navbar.scrolled .menu-line {
    background: #1a1410 !important;
}

/* Mobile menu */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img, .group-hover\:scale-110, .group-hover\:rotate-12 {
        transition: none;
        transform: none;
    }
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
    border-color: #C05640 !important;
    box-shadow: 0 0 0 3px rgba(192, 86, 64, 0.1);
}

/* Button hover lift effect */
button:hover, a:hover {
    transform: translateY(-1px);
}

button:active, a:active {
    transform: translateY(0);
}

/* Selection color */
::selection {
    background: rgba(192, 86, 64, 0.2);
    color: #1a1410;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #f5d89a 0%, #fbe5df 100%);
}

/* Print styles */
@media print {
    #navbar, #menuBtn, .reveal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.1;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
