/* Rivers Saloon - Custom Styles */

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

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

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

::-webkit-scrollbar-thumb {
    background: #C05621;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9C4217;
}

/* Selection Color */
::selection {
    background: #C05621;
    color: #FFFDF8;
}

/* Hero Image Grid Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Geometric Shape Animations */
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Pulse Animation for Badge */
@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.animate-pulse-ring {
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Hover Effects for Cards */
.group:hover .group-hover\\:rotate-12 {
    transform: rotate(12deg);
}

/* Mobile Menu Transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

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

/* Geometric Pattern Overlay */
 geometric-pattern {
    background-image: 
        linear-gradient(45deg, rgba(192, 86, 33, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(192, 86, 33, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(192, 86, 33, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(192, 86, 33, 0.03) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

/* Form Focus Styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(192, 86, 33, 0.1);
}

/* Button Press Effect */
button:active {
    transform: scale(0.98);
}

/* Image Loading Placeholder */
img {
    background: linear-gradient(90deg, #E6D5C3 0%, #F7F3E9 50%, #E6D5C3 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

img[src] {
    animation: none;
    background: none;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* Print Styles */
@media print {
    nav,
    button,
    form {
        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;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .bg-terracotta {
        background-color: #8B3A00 !important;
    }
    
    .text-terracotta {
        color: #8B3A00 !important;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
    .min-h-screen {
        min-height: auto;
    }
}
