/* Custom Styles for The Happy Hen */

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

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(10, 14, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(20, 83, 45, 0.3);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}

/* Selection color */
::selection {
    background: rgba(22, 101, 52, 0.4);
    color: #fefdf8;
}

/* Input focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 2px rgba(22, 101, 52, 0.3);
}

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

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

/* Subtle gold shimmer on hover for buttons */
button::after,
a::after {
    content: '';
}

/* Room card hover effect */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Decorative line animation */
@keyframes growWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.grow-line {
    animation: growWidth 1s ease-out forwards;
}

/* Pulse animation for location pin */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(201, 162, 39, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(201, 162, 39, 0);
    }
}

.animate-pulse {
    animation: pulse-ring 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .animate-fade-in {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
