/* Custom styles for Kuntry Inn */

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

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

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

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

/* Selection color */
::selection {
    background: rgba(200, 164, 78, 0.3);
    color: #faf8f4;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(6, 14, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 164, 78, 0.1);
}

/* Hero parallax effect */
#heroBg {
    will-change: transform;
}

/* Gold shimmer animation */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation for gold elements */
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200, 164, 78, 0.2); }
    50% { box-shadow: 0 0 20px 5px rgba(200, 164, 78, 0.1); }
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.6s; }

.reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu open state */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Menu lines animation */
.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

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

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

/* Image hover zoom container */
img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gold border glow on hover */
.group:hover .group-hover\:border-gold-500\/30,
.group:hover .group-hover\:border-gold-500\/50 {
    box-shadow: 0 0 30px rgba(200, 164, 78, 0.08);
}

/* Input focus ring */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 1px rgba(200, 164, 78, 0.2);
}

/* Date input styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(3) hue-rotate(10deg);
    cursor: pointer;
}

/* Map dark mode override */
iframe[src*="google.com/maps"] {
    background: #0a1628;
}

/* Print styles */
@media print {
    nav, #contact, footer {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
