:root {
    /* Skyblue Professional Palette */
    --color-green-deep: #0a192f;
    /* Deep Navy */
    --color-green-primary: #112240;
    /* Professional Blue */
    --color-green-light: #e6f1ff;
    /* Soft Light Blue */
    --color-saffron-dark: #007bff;
    /* Classic Sky Blue */
    --color-saffron: #00b4d8;
    /* Vibrant Sky Blue Accent */
    --color-saffron-light: #f0f8ff;
    /* Alice Blue */
    --color-alabaster: #f8f9fa;
    /* Clean Light Grey */
    --color-cream: #f1f5f9;
    /* Slate Light */
    --color-text-main: #0a192f;
    /* Deep Navy Text */
    --color-text-muted: #64748b;
    /* Slate Muted Text */
    --font-serif: Calibri, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-sans: Calibri, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --shadow-subtle: 0 10px 40px -10px rgba(11, 51, 39, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 25px 50px -12px rgba(11, 51, 39, 0.18), 0 4px 6px rgba(0, 0, 0, 0.04);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-alabaster);
    line-height: 1.65;
}

.font-serif {
    font-family: var(--font-serif);
    letter-spacing: 0.015em;
    font-weight: 600;
}

.font-sans {
    font-family: var(--font-sans);
}

/* Custom Color Utilities */
.bg-forest-dark {
    background-color: var(--color-green-deep);
}

.bg-forest {
    background-color: var(--color-green-primary);
}

.bg-forest-light {
    background-color: var(--color-green-light);
}

.bg-saffron {
    background-color: var(--color-saffron);
}

.bg-saffron-light {
    background-color: var(--color-saffron-light);
}

.bg-cream {
    background-color: var(--color-cream);
}

.text-forest {
    color: var(--color-green-primary);
}

.text-forest-dark {
    color: var(--color-green-deep);
}

.text-saffron {
    color: var(--color-saffron);
}

.text-saffron-dark {
    color: var(--color-saffron-dark);
}

/* Navigation styling */
.navbar-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(18, 72, 56, 0.08);
    z-index: 1035 !important;
}

.navbar-scrolled {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-main);
    position: relative;
    padding: 0.5rem 0.85rem !important;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-green-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 50%;
    background: var(--color-saffron);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Buttons */
.btn-saffron {
    background: linear-gradient(135deg, var(--color-saffron) 0%, #0096b4 100%);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-saffron:hover {
    background: linear-gradient(135deg, #00c6ed 0%, #00a8c9 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.35);
}

.btn-outline-forest {
    background: transparent;
    color: var(--color-green-primary);
    border: 2px solid var(--color-green-primary);
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-outline-forest:hover {
    background: var(--color-green-primary);
    color: #ffffff;
    border-color: var(--color-green-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 34, 64, 0.2);
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: #0B3327;
    overflow: hidden;
}

.hero-bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transform: scale(1.05);
    animation: heroZoom 18s alternate infinite ease-in-out;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.4) 40%, rgba(10, 25, 47, 0.95) 100%);
}

/* Booking Quick Bar */
.quick-booking-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(18, 72, 56, 0.08);
    position: relative;
    z-index: 10;
    margin-top: -65px;
}

/* Room Cards */
.room-card {
    border: 1px solid rgba(18, 72, 56, 0.08);
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 180, 216, 0.35);
}

.room-img-container {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-card:hover .room-img {
    transform: scale(1.08);
}

/* Amenities Cards */
.amenity-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.8rem 1.4rem;
    text-align: center;
    border: 1px solid rgba(18, 72, 56, 0.06);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    height: 100%;
}

.amenity-box:hover {
    background: var(--color-green-light);
    border-color: rgba(18, 72, 56, 0.2);
    transform: translateY(-5px);
}

.amenity-icon-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--color-green-light);
    color: var(--color-green-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 1.15rem;
    transition: var(--transition-smooth);
}

.amenity-box:hover .amenity-icon-circle {
    background: var(--color-green-primary);
    color: #ffffff;
    transform: rotate(5deg) scale(1.05);
}

/* Gallery Grid Items */
.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    background-color: #0B3327;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.gallery-img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.09);
    opacity: 0.85;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(11, 51, 39, 0.95) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #ffffff;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* Floating Contact Buttons */
.floating-actions {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fab-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    transition: var(--transition-smooth);
    color: white;
    text-decoration: none;
    font-size: 1.45rem;
}

.fab-whatsapp {
    background-color: #25D366;
}

.fab-call {
    background-color: var(--color-green-primary);
}

.fab-btn:hover {
    transform: scale(1.1) translateY(-2px);
    color: #ffffff;
}

/* Badges & Accents */
.badge-saffron {
    background-color: var(--color-saffron-light);
    color: var(--color-saffron-dark);
    font-weight: 700;
    border: 1px solid rgba(217, 119, 6, 0.25);
    letter-spacing: 0.04em;
}

.badge-forest {
    background-color: var(--color-green-light);
    color: var(--color-green-primary);
    font-weight: 600;
    border: 1px solid rgba(18, 72, 56, 0.2);
}

/* Subtle Tiranga Accent Line */
.tiranga-strip {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #00b4d8 0%, #00b4d8 33.3%, #ffffff 33.3%, #ffffff 66.6%, #112240 66.6%, #112240 100%);
}

.tiranga-accent-bullet {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-saffron);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

/* Interactive filter buttons */
.filter-btn {
    border: 1px solid rgba(18, 72, 56, 0.15);
    background: #ffffff;
    color: var(--color-text-main);
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--color-green-primary);
    color: #ffffff;
    border-color: var(--color-green-primary);
}

/* Form Styles */
.luxury-input {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    border: 1.5px solid rgba(18, 72, 56, 0.14);
    background-color: #FAFAF8;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.luxury-input:focus {
    background-color: #ffffff;
    border-color: var(--color-saffron);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.15);
    outline: none;
}

/* Smooth Scroll Reveal Animations */
html, body {
    scroll-behavior: smooth;
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
}

/* ===================================================
   RICH MODERN ANIMATION SUITE FOR FAZAR RESIDENCY
   =================================================== */

/* 1. Hero Ken Burns Cinematic Motion */
.hero-wrapper {
    overflow: hidden;
    position: relative;
}
.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurnsZoom 24s infinite alternate ease-in-out;
    transform-origin: center center;
    will-change: transform;
}
@keyframes kenBurnsZoom {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.08) translate(-1%, -0.8%); }
    100% { transform: scale(1.04) translate(1%, 0.5%); }
}

/* 2. Keyframe Entrance Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-fade-in-left {
    animation: fadeInLeft 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-fade-in-right {
    animation: fadeInRight 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 { animation-delay: 0.15s; }
.delay-200 { animation-delay: 0.3s; }
.delay-300 { animation-delay: 0.45s; }
.delay-400 { animation-delay: 0.6s; }
.delay-500 { animation-delay: 0.75s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 3. Glowing Pulse Badge */
.pulse-badge {
    position: relative;
    animation: pulseGlow 2.5s infinite;
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

.tiranga-accent-bullet {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-saffron);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
    animation: bulletPulse 2s infinite ease-in-out;
}
@keyframes bulletPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2); }
    50% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(0, 180, 216, 0.4); }
}

/* 4. Luxury Button Shimmer Effect */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}
.btn-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    animation: btnShimmerSweep 4s infinite;
}
@keyframes btnShimmerSweep {
    0%, 65% { left: -100%; }
    100% { left: 200%; }
}

/* 5. Smooth Floating Ambient Badges */
.animate-float {
    animation: floatAnim 4s ease-in-out infinite;
}
.animate-float-slow {
    animation: floatAnim 6s ease-in-out infinite;
}
@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 6. WhatsApp & Call Floating Action Buttons with Radar Ripple */
.fab-btn {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.fab-btn:hover {
    transform: scale(1.15) translateY(-3px) !important;
}
.fab-whatsapp::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: radarWave 2.4s infinite;
    pointer-events: none;
}
.fab-call::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #00b4d8;
    animation: radarWave 2.4s infinite 0.6s;
    pointer-events: none;
}
@keyframes radarWave {
    0% { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(1.55); opacity: 0; }
}

/* 7. Interactive Stats Card Micro-animations */
.stat-card {
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(17, 34, 64, 0.1) !important;
    border-color: rgba(0, 180, 216, 0.4) !important;
}

/* 8. Room Cards & Dynamic Accommodation Lift */
.room-card {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 45px -10px rgba(11, 51, 39, 0.22) !important;
}
.room-card img, .room-zoom-img {
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}
.room-card:hover img, .room-card:hover .room-zoom-img {
    transform: scale(1.08);
}

/* 9. Amenities Interactive Micro-interactions */
.amenity-box {
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.amenity-box:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 30px rgba(0, 180, 216, 0.12) !important;
    border-color: rgba(0, 180, 216, 0.35) !important;
}
.amenity-icon-circle {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}
.amenity-box:hover .amenity-icon-circle {
    transform: scale(1.18) rotate(8deg);
    background: linear-gradient(135deg, #00b4d8 0%, #112240 100%) !important;
    color: #ffffff !important;
}

/* 10. Nearby Location Item Hover Glow */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateX(8px);
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(251, 191, 36, 0.5) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 11. Quick Booking Card Floating Depth */
.quick-booking-card {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}
.quick-booking-card:hover {
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.18);
}

/* 12. Gallery Cards Hover Zoom */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}
.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
}
.gallery-img {
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}
.gallery-card:hover .gallery-img {
    transform: scale(1.09);
}

/* 13. Stat Cards & General Scroll-Driven Reveal Elements */
.stat-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(217, 119, 6, 0.3) !important;
}

.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
html.js-ready .reveal:not(.active) {
    opacity: 0;
    transform: translateY(28px);
}
.reveal.active,
html.js-ready .reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }