/* ============================================
   Vrundavan Resorts — Custom Styles
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* Navbar scroll effect */
#navbar {
    background: transparent;
    backdrop-filter: none;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

#navbar.scrolled {
    background: rgba(15, 31, 15, 0.97);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0f1f0f; }
::-webkit-scrollbar-thumb { background: #c9a84c; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #a8872e; }

/* Fonts */
.font-serif { font-family: 'Playfair Display', Georgia, serif; }
.font-sans  { font-family: 'Lato', system-ui, sans-serif; }

/* Hero section */
.hero-bg {
    background-attachment: fixed;
}
@media (max-width: 768px) {
    .hero-bg { background-attachment: scroll; }
}

/* Section scroll offset for sticky nav */
section[id], div[id="packages"] {
    scroll-margin-top: 80px;
}

/* Mobile menu slide animation */
#mobile-menu {
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Gallery lightbox overlay */
#lightbox {
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Floating WhatsApp pulse */
.wa-float {
    animation: pulse-ring 2.5s ease infinite;
}
@keyframes pulse-ring {
    0%  { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100%{ box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Room card image zoom contained */
.room-card .overflow-hidden img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.room-card:hover .overflow-hidden img {
    transform: scale(1.08);
}

/* Amenity card */
.amenity-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.amenity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* Package card popular glow */
.popular-card {
    box-shadow: 0 0 0 2px #c9a84c, 0 8px 32px rgba(201, 168, 76, 0.2);
}

/* Gallery grid hover overlay */
.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    background: rgba(15, 31, 15, 0.5);
    color: #c9a84c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item {
    position: relative;
}
.gallery-item:hover::after {
    opacity: 1;
}

/* Divider line accent */
.section-divider::before,
.section-divider::after {
    content: '';
    display: block;
    height: 1px;
    width: 3rem;
    background: #c9a84c;
}

/* Selection color */
::selection {
    background: #c9a84c;
    color: #0f1f0f;
}
