/* Custom styles for Guest House at West Farm */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #F97066;
}

/* Selection color */
::selection {
    background: rgba(249, 112, 102, 0.3);
    color: #f5f5f5;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(15, 15, 15, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(249, 112, 102, 0.1);
}

/* Floating animation for stat cards */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}
@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes float-small {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-6px) rotate(1deg); }
}

.floating-card-1 {
    animation: float 6s ease-in-out infinite;
}
.floating-card-2 {
    animation: float-reverse 7s ease-in-out infinite;
}
.floating-card-3 {
    animation: float-small 5s ease-in-out infinite;
}

/* Intersection observer animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Image hover zoom wrapper */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom:hover img {
    transform: scale(1.05);
}

/* Gradient text utility */
.text-gradient-coral {
    background: linear-gradient(135deg, #F97066 0%, #f05245 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
#mobile-menu.hidden {
    max-height: 0 !important;
    opacity: 0;
    overflow: hidden;
}
#mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* Form focus animations */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(249, 112, 102, 0.1);
}

/* Button ripple effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}
.btn-ripple::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-ripple:hover::after {
    opacity: 1;
}
