/**
 * CAJORI HOTEL - Premium Luxury Styling
 * Professional CSS Architecture for 5-Star Hotel Experience
 * Version: 2.0.0 | Author: Cajori Development Team
 * =====================================================
 */

/* ==========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================== */
:root {
    /* Primary Brand Colors */
    --primary: #D65A00;
    --primary-light: #f07a3d;
    --primary-dark: #A84600;
    --primary-gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
    
    /* Secondary & Neutral Colors */
    --secondary: #1A1A1A;
    --secondary-light: #2d2d2d;
    --dark-gradient: linear-gradient(135deg, var(--secondary) 0%, #0a0a0a 100%);
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9F9F9;
    --bg-tertiary: #f5f0eb;
    --bg-cream: #fff8f3;
    
    /* Text Colors */
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #767676;
    --text-light: #999999;
    --text-white: #FFFFFF;
    
    /* Accent Colors */
    --gold: #C9A227;
    --gold-light: #f5d76e;
    --success: #0b5132;
    --warning: #ffc107;
    
    /* Shadows */
    --shadow-xs: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-sm: 0 4px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --shadow-xl: 0 30px 70px rgba(0,0,0,0.18);
    --shadow-primary: 0 10px 30px rgba(214, 90, 0, 0.25);
    --shadow-primary-lg: 0 20px 50px rgba(214, 90, 0, 0.35);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-base: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Layout */
    --container-max: 1400px;
    --container-narrow: 1200px;
    --navbar-height: 80px;
    --navbar-height-scrolled: 70px;
    
    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-fixed: 1000;
    --z-modal-backdrop: 1050;
    --z-modal: 1100;
    --z-tooltip: 1200;
}

/* ==========================================
   CSS RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: none !important;
    perspective: none !important;
    position: relative;
    min-height: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection Color */
::selection {
    background: var(--primary);
    color: white;
}

/* Ensure main content stays below navbar */
main, section, header:not(.navbar), article, footer {
    position: relative;
    z-index: auto;
}

/* Lazy-loaded Image Fade In */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"][complete] {
    opacity: 1;
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1em;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Focus States for Accessibility */
:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid rgba(214, 90, 0, 0.5);
    outline-offset: 2px;
}

/* Selection Styling */
::selection {
    background: var(--primary);
    color: var(--text-white);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
    width: 100%;
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-wide {
    max-width: var(--container-max);
}

.section-padding {
    padding: var(--space-3xl) 0;
}

.section-padding-sm {
    padding: var(--space-2xl) 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-white { color: var(--text-white); }
.text-muted { color: var(--text-muted); }

.bg-white { background: var(--bg-primary); }
.bg-light { background: var(--bg-secondary); }
.bg-dark { background: var(--secondary); }
.bg-cream { background: var(--bg-cream); }
.bg-gradient { 
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-secondary) 50%, var(--bg-cream) 100%);
    position: relative;
}
.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(214, 90, 0, 0.03) 50%, transparent 100%);
    pointer-events: none;
}

/* Visually Hidden (Accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
}

.skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 12px 24px;
    background: var(--secondary);
    color: var(--text-white);
    font-weight: 600;
    border-radius: var(--radius-md);
    z-index: 9999;
}

/* ==========================================
   PAGE BACKDROP EFFECT (20% Visibility)
   ========================================== */
#page-backdrop {
    position: fixed;
    inset: 0;
    background-image: url('../cajori%20images/Slide%20Show/404387148_847068554096027_814028849415119036_n.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0.85) contrast(0.9) brightness(0.55);
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1s ease, transform 1.2s ease;
    pointer-events: none;
    z-index: -1;
    will-change: opacity, transform;
}

#page-backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 26, 26, 0.3) 0%,
        rgba(26, 26, 26, 0.6) 50%,
        rgba(26, 26, 26, 0.8) 100%
    );
}

#page-backdrop.visible {
    opacity: 0.2;
    transform: scale(1);
}

/* ==========================================
   NAVIGATION BAR - TRANSPARENT FLOATING STYLE
   ALWAYS VISIBLE - Never hides on scroll
   ========================================== */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: var(--navbar-height);
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-sizing: border-box;
    z-index: 10001 !important;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
    /* Prevent any hiding or movement */
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
    will-change: auto;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    height: var(--navbar-height-scrolled);
    background: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow-lg);
}

.navbar.scrolled::after {
    opacity: 1;
    background: linear-gradient(90deg, transparent, rgba(214, 90, 0, 0.5), transparent);
}

/* Logo Container - Supports Image/Video Logo */
.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    height: 70px;
}

/* Initial Logo (Colorful) - Shows before scroll */
.logo-initial {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.5s ease, transform 0.3s ease;
    opacity: 1;
}

/* Scrolled Logo (Simple) - Shows after scroll for contrast */
.logo-scrolled {
    height: 65px;
    width: auto;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.logo:hover .logo-initial,
.logo:hover .logo-scrolled {
    transform: scale(1.05);
}

/* When scrolled - hide initial, show scrolled */
.navbar.scrolled .logo-initial {
    opacity: 0;
    pointer-events: none;
}

.navbar.scrolled .logo-scrolled {
    opacity: 1;
}

/* Responsive logo sizing */
.navbar.scrolled .logo-initial,
.navbar.scrolled .logo-scrolled {
    height: 50px;
}



/* Navigation Links */
.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-white);
    position: relative;
    padding: 8px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 1px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-light);
}

.nav-link.active {
    color: var(--text-white);
}

.navbar.scrolled .nav-links {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    padding: 0;
    gap: 35px;
}

.navbar.scrolled .nav-link {
    color: var(--text-primary);
    text-shadow: none;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
}

.navbar.scrolled .nav-link.active {
    color: var(--primary);
}

/* Navigation CTA Button */
.btn-nav {
    padding: 12px 28px;
    background: var(--primary-gradient);
    color: var(--text-white) !important;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: var(--shadow-primary);
    transition: var(--transition-bounce);
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary-lg);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary) !important;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease, var(--transition-base);
    z-index: 10000 !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
}

.menu-toggle i {
    color: var(--primary) !important;
}

.navbar.scrolled .menu-toggle {
    color: #1a1a1a !important;
}



/* When menu is open, button is ALWAYS orange - overrides scrolled state */
.nav-links.active ~ .menu-toggle,
.nav-links.active + .menu-toggle,
.navbar .nav-links.active + .menu-toggle,
.menu-toggle[aria-expanded="true"] {
    color: var(--primary) !important;
}

.nav-links.active ~ .menu-toggle i,
.nav-links.active + .menu-toggle i,
.navbar .nav-links.active + .menu-toggle i,
.menu-toggle[aria-expanded="true"] i {
    color: var(--primary) !important;
}

/* Mobile Navigation Overlay — lives outside <nav> to avoid stacking-context traps */
.nav-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: 9998 !important; /* Just below nav-links (9999) */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s;
    will-change: opacity, visibility;
}

.nav-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
}

/* ==========================================
   HERO SECTION - VIDEO & IMAGE SLIDESHOW
   ========================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Below navbar (z-fixed: 1000) */
}

.hero-tagline {
    position: absolute;
    top: 150px;
    z-index: 10;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-white);
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-family: var(--font-display);
    animation: fadeInDown 1s ease-out 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img,
.hero-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Dynamic Slide Content Overlay */
.slide-content-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    z-index: 1;
    padding: 80px 20px 120px;
    pointer-events: none;
}

/* Per-slide content is hidden by default, shown only when parent slide is active */
.hero-slide .slide-content-overlay {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.hero-slide.active .slide-content-overlay {
    opacity: 1;
    transform: translateY(0);
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: rgba(214, 90, 0, 0.85);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
}

.hero-slide.active .slide-badge {
    opacity: 1;
    transform: translateY(0);
}

.slide-title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 700;
    margin: 0 0 15px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    color: var(--text-white);
    line-height: 1.1;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease 0.7s, transform 0.6s ease 0.7s;
}

.hero-slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

.slide-description {
    font-size: clamp(0.95rem, 1.5vw, 1.25rem);
    font-weight: 300;
    margin: 0;
    opacity: 0;
    max-width: 600px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    transform: translateY(25px);
    transition: opacity 0.6s ease 0.9s, transform 0.6s ease 0.9s;
}

.hero-slide.active .slide-description {
    opacity: 1;
    transform: translateY(0);
}

/* Persistent CTA Bar — always visible above slides */
.hero-cta-bar {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}



/* Hero Controls (Dots) */
.hero-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-bounce);
}

.hero-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(214, 90, 0, 0.5);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* ==========================================
   PAGE HERO (Internal Pages)
   ========================================== */
.page-hero {
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 0;
    overflow: hidden;
    z-index: 1; /* Below navbar (z-fixed: 1000) */
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(26, 26, 26, 0.4) 50%,
        rgba(214, 90, 0, 0.2) 100%
    );
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--space-lg);
    color: var(--text-white);
}

.page-hero h1 {
    color: var(--text-white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: var(--space-sm);
}

.page-hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.8;
    color: var(--text-white);
}

.page-hero-breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-top: var(--space-md);
    opacity: 0.9;
    color: var(--text-white);
}

.page-hero-breadcrumb a,
.page-hero-breadcrumb span {
    display: inline-flex;
    align-items: center;
    height: 1.5em;
    line-height: 1;
}

.page-hero-breadcrumb i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.page-hero-breadcrumb a {
    color: var(--text-white);
}

.page-hero-breadcrumb a:hover {
    color: var(--primary-light);
}

.page-hero-breadcrumb span {
    color: var(--primary-light);
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: var(--space-sm);
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--primary);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-bounce);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary);
    transform: translateY(-4px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-4px);
}

.btn-dark {
    background: var(--dark-gradient);
    color: var(--text-white);
    border-color: var(--secondary);
}

.btn-dark:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.btn-white {
    background: var(--bg-primary);
    color: var(--primary);
    border-color: var(--bg-primary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.btn-lg {
    padding: 20px 48px;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.75rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 18px;
    background: var(--primary-gradient);
    color: var(--text-white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-primary);
}

.card-content {
    padding: var(--space-lg);
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: var(--space-xs);
}

.card-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.card-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

/* ==========================================
   ROOM CARDS (Flip Effect)
   ========================================== */

/* Horizontal Card Layout (Corporate/Group) */
.card-horizontal {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.card-horizontal-img {
    width: 40%;
    min-height: 250px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .card-horizontal {
        flex-direction: column;
    }
    
    .card-horizontal-img {
        width: 100%;
        min-height: 200px;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
}

.room-card {
    height: 520px;
    perspective: 1500px;
    cursor: pointer;
}

.room-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
    border-radius: var(--radius-lg);
}

.room-card:hover .room-card-inner {
    transform: rotateY(180deg);
}

.room-card-front,
.room-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.room-card-front {
    z-index: 2;
}

.room-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-card-front img {
    transform: scale(1.08);
}

.room-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    color: var(--text-white);
    z-index: 3;
}

.room-badge {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-sm);
    width: fit-content;
    box-shadow: var(--shadow-primary);
}

.room-name {
    font-size: 1.8rem;
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-white);
}

.room-price-badge {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-light);
}

.room-card-back {
    transform: rotateY(180deg);
    background: var(--dark-gradient);
    color: var(--text-white);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-details h3 {
    font-size: 1.6rem;
    color: var(--gold-light);
    font-family: var(--font-display);
    margin-bottom: var(--space-md);
}

.room-details p {
    line-height: 1.9;
    opacity: 0.95;
    margin-bottom: var(--space-md);
}

.amenities-list {
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.amenities-list li:hover {
    padding-left: 8px;
}

.amenities-list i {
    color: var(--gold-light);
    width: 24px;
    text-align: center;
}

.btn-book-room {
    width: 100%;
    padding: 16px;
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.btn-book-room:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary-lg);
}

/* ==========================================
   FEATURE CARDS
   ========================================== */
.feature-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-cream));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(214, 90, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
}

.feature-card.revealed {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--bg-cream), var(--bg-primary));
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
    transition: var(--transition-bounce);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotateY(360deg);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1.15) rotateY(360deg);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.25) rotateY(360deg);
        filter: brightness(1.2);
    }
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-section {
    background: var(--dark-gradient);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(214, 90, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(214, 90, 0, 0.2);
}

.testimonial-stars {
    color: var(--primary);
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: var(--space-lg);
    opacity: 0.95;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-light);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.testimonial-role {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background: var(--primary-gradient);
    color: var(--text-white);
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--text-white);
    margin-bottom: var(--space-md);
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
    color: var(--text-white);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.98) 0%, rgba(30, 25, 40, 0.98) 100%);
    border-top: 2px solid var(--primary);
    color: var(--text-light);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
    max-width: 280px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.1rem;
    transition: var(--transition-bounce);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition-base);
    position: relative;
}

.footer-col a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--primary);
    width: 20px;
    margin-top: 4px;
    font-size: 1.1rem;
}

.footer-contact-item a {
    color: var(--text-light);
    transition: var(--transition-base);
}

.footer-contact-item a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-top: var(--space-lg);
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: var(--transition-base);
}

.footer-legal a:hover {
    color: var(--primary-light);
}

/* ==========================================
   FORMS
   ========================================== */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid #e8e8e8;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(214, 90, 0, 0.1);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* ==========================================
   LIVE IMAGE EFFECTS — Cinematic Feel
   ========================================== */

/* Ken Burns effect on hero slide images */
@keyframes kenBurnsA {
    0%   { transform: scale(1)    translate(0, 0); }
    100% { transform: scale(1.12) translate(-1.5%, -1%); }
}
@keyframes kenBurnsB {
    0%   { transform: scale(1.04) translate(0, 0); }
    100% { transform: scale(1.14) translate(1.5%, -1.5%); }
}
@keyframes kenBurnsC {
    0%   { transform: scale(1.08) translate(-1%, 0); }
    100% { transform: scale(1)    translate(1%, -0.5%); }
}

.hero-slide img {
    animation: none;
    will-change: transform;
}

.hero-slide.active img {
    animation: kenBurnsA 8s ease-in-out forwards;
}
.hero-slide:nth-child(2n).active img {
    animation: kenBurnsB 8s ease-in-out forwards;
}
.hero-slide:nth-child(3n).active img {
    animation: kenBurnsC 8s ease-in-out forwards;
}

/* Page-hero subtle slow zoom on load */
@keyframes heroBreathing {
    0%   { transform: scale(1); }
    100% { transform: scale(1.06); }
}

.page-hero {
    overflow: hidden;
}

/* Shimmer light sweep on page hero */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 60%
    );
    background-size: 200% 100%;
    animation: heroShimmer 4s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes heroShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Section images — start slightly zoomed, settle to normal on reveal */
.reveal img {
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.8s ease;
    transform: scale(1.06);
}

.reveal video {
    /* Remove wobbly scaling animation for videos */
    transform: scale(1);
}

.reveal.revealed img {
    transform: scale(1);
}

.reveal.revealed video {
    transform: scale(1);
}

/* Card & room-card images — hover zoom */
.card img,
.room-card img,
.grid-2 img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.card:hover img,
.room-card:hover img,
.grid-2 > div:hover img {
    transform: scale(1.06);
}

/* Ensure card containers clip the zoom */
.card-image,
.room-card,
.card {
    overflow: hidden;
}

/* Gallery items — enhanced hover */
.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.1);
}

/* Scroll-triggered image float animation (added via JS) */
@keyframes imageFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.image-alive {
    animation: imageFloat 4s ease-in-out infinite;
}

/* Feature icon pulse on hover */
.feature-card:hover .feature-icon {
    animation: pulse 1s ease-in-out;
}

/* ==========================================
   GRIDS
   ========================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: var(--space-lg);
}

/* ==========================================
   GALLERY STYLES
   ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: var(--space-lg);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--secondary);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.12);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.lightbox-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.lightbox-nav:hover {
    background: var(--primary);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    background: var(--dark-gradient);
    color: var(--text-white);
    padding: var(--space-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.stat-item {
    padding: var(--space-md);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-display);
    margin-bottom: var(--space-xs);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.85;
}

/* ==========================================
   LOADING & ANIMATIONS
   ========================================== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(214, 90, 0, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal delays */
.reveal[data-delay="100"] {
    transition-delay: 0.1s;
}
.reveal[data-delay="200"] {
    transition-delay: 0.2s;
}
.reveal[data-delay="300"] {
    transition-delay: 0.3s;
}
.reveal[data-delay="400"] {
    transition-delay: 0.4s;
}
.reveal[data-delay="500"] {
    transition-delay: 0.5s;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-left.revealed {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-right.revealed {
    transform: translateX(0);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal-scale.revealed {
    transform: scale(1);
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 992px) {
    :root {
        --navbar-height: 70px;
    }
    
    /* ---- Mobile Navigation (activated at 992px) ---- */
    .menu-toggle {
        display: block;
    }
    
    .navbar {
        padding: 0 4%;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        z-index: 10001 !important;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(26, 26, 26, 0.98) !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 80px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 20px;
        gap: 0;
        transform: translateX(-100%);
        opacity: 0;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.35s ease,
                    visibility 0.35s;
        visibility: hidden;
        pointer-events: none;
        z-index: 9999 !important;
        overflow-y: auto;
        border-radius: 0;
        box-shadow: none;
        list-style: none;
    }
    
    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-link {
        color: #ffffff !important;
        font-size: 1rem;
        font-weight: 500;
        padding: 0.75rem 1.25rem;
        border-bottom: none;
        width: 100%;
        max-width: 100%;
        text-align: center;
        text-shadow: none;
        text-decoration: none;
        display: block;
        position: relative;
        transition: all 0.3s ease;
        border-radius: 6px;
        margin: 0.2rem 0;
        cursor: pointer;
        pointer-events: auto !important;
    }
    
    .nav-link:hover {
        color: var(--primary) !important;
        background: rgba(214, 90, 0, 0.15);
        transform: translateX(8px);
    }
    
    .nav-link.active {
        color: var(--primary) !important;
        background: rgba(214, 90, 0, 0.2);
        border-left: 4px solid var(--primary);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .btn-nav {
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin-top: 1rem;
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        font-weight: 600;
        background: var(--primary-gradient);
        color: #ffffff !important;
        border: none;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(214, 90, 0, 0.4);
        cursor: pointer;
        transition: all 0.3s ease;
        display: block;
        text-decoration: none;
    }
    
    .btn-nav:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(214, 90, 0, 0.6);
    }
    
    /* Scrolled state — mobile drawer must keep solid background */
    .navbar.scrolled .nav-links {
        background: #1a1a1a !important;
        backdrop-filter: none !important;
    }
    
    .navbar.scrolled .nav-link {
        color: #ffffff !important;
    }
    
    .navbar.scrolled .nav-link.active {
        color: var(--primary) !important;
    }
    
    .page-hero {
        margin-top: 0;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        gap: var(--space-lg) !important;
    }

    .grid-auto {
        gap: var(--space-lg) !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Hero CTA bar adjustments for tablets */
    .hero-cta-bar {
        bottom: 90px;
    }

    /* Conference popular card - remove scale on smaller screens */
    .card[style*="scale(1.05)"] {
        transform: none !important;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
    .section-padding {
        padding: var(--space-2xl) 0;
    }
    
    /* Force navbar to stay fixed on all mobile devices */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        z-index: 10001 !important;
    }
    
    /* Mobile Logo Adjustments — BIGGER logo per mobile UX */
    .logo {
        height: 65px;
    }
    
    .logo-initial {
        height: 60px;
        width: auto;
    }
    
    .logo-scrolled {
        height: 55px;
        width: auto;
    }
    
    .navbar.scrolled .logo-initial,
    .navbar.scrolled .logo-scrolled {
        height: 48px;
    }
    
    /* Hero */
    .page-hero {
        height: 55vh;
        min-height: 400px;
        margin-top: 0;
    }
    
    .hero-cta-bar {
        bottom: 80px;
        flex-direction: column;
        align-items: center;
        width: 90%;
    }

    .hero-cta-bar .btn {
        width: 100%;
        max-width: 300px;
    }

    .slide-content-overlay {
        padding: 80px 15px 160px;
    }

    .slide-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .slide-description {
        font-size: 0.95rem;
        max-width: 90%;
    }

    .slide-badge {
        font-size: 0.6rem;
        padding: 6px 16px;
        letter-spacing: 1.5px;
    }
    
    /* Grids */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: var(--space-lg) !important;
    }

    .grid-auto {
        gap: var(--space-lg) !important;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    /* Footer collapses to single column on mobile */
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }
    
    /* Cards */
    .room-card {
        height: auto;
        min-height: 400px;
    }
    
    .room-card:hover .room-card-inner {
        transform: none;
    }
    
    .room-card-back {
        display: none;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Section Header */
    .section-subtitle::before,
    .section-subtitle::after {
        width: 25px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    /* Enforce navbar positioning on smallest mobile devices */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        z-index: 10001 !important;
    }
    
    .hero {
        min-height: 600px;
    }

    .slide-content-overlay {
        padding: 70px 12px 180px;
    }

    .slide-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .slide-description {
        font-size: 0.85rem;
        max-width: 95%;
        line-height: 1.5;
    }

    .slide-badge {
        font-size: 0.55rem;
        padding: 5px 14px;
        margin-bottom: 14px;
        letter-spacing: 1px;
    }

    .hero-cta-bar {
        bottom: 70px;
        gap: 10px;
        width: 92%;
    }

    .hero-cta-bar .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }

    .hero-controls {
        bottom: 30px;
        gap: 8px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }
    
    /* Mobile page hero */
    .page-hero {
        height: 50vh;
        min-height: 350px;
        margin-top: 0;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .page-hero-subtitle {
        font-size: 0.95rem;
    }
    
    /* Mobile Portrait Logo — BIGGER for phone visibility */
    .logo {
        height: 60px;
    }
    
    .logo-initial {
        height: 55px;
        width: auto;
    }
    
    .logo-scrolled {
        height: 48px;
        width: auto;
    }
    
    .navbar.scrolled .logo-initial,
    .navbar.scrolled .logo-scrolled {
        height: 42px;
        width: auto;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.8rem;
    }
    
    .btn-lg {
        padding: 16px 32px;
    }
    
    .card-content {
        padding: var(--space-md);
    }
    
    .feature-card {
        padding: var(--space-lg);
    }
    
    .testimonial-card {
        padding: var(--space-lg);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: var(--space-xs);
    }
}

/* High Resolution Displays */
@media (min-width: 1600px) {
    html {
        font-size: 18px;
    }
    
    .container {
        max-width: 1400px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-slide.active img {
        animation: none !important;
    }

    .page-hero::after {
        animation: none !important;
    }

    .image-alive {
        animation: none !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-controls,
    .btn,
    footer,
    .whatsapp-float {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    .page-hero {
        height: auto;
        min-height: auto;
        padding: 2cm 0;
    }
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-btn i {
    font-size: 2rem;
    color: white;
}

.whatsapp-float-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: whatsapp-pulse 2s infinite;
    z-index: -1;
}

.whatsapp-tooltip {
    background: var(--secondary);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent var(--secondary);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* WhatsApp responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float-btn {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float-btn i {
        font-size: 1.8rem;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* ==========================================
   ACCORDION STYLING
   ========================================== */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.open {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: inherit;
}

.accordion-header:hover {
    background: #f9f9f9;
    color: var(--primary);
}

.accordion-item.open .accordion-header {
    background: rgba(214, 90, 0, 0.05);
    color: var(--primary);
}

.accordion-header i {
    color: var(--primary);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    margin-left: 10px;
    flex-shrink: 0;
}

.accordion-item.open .accordion-header i {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.accordion-item.open .accordion-content {
    opacity: 1;
}

.accordion-content > div {
    padding: 20px;
    background: rgba(214, 90, 0, 0.02);
    border-top: 2px solid #e0e0e0;
}

.accordion-content p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-primary);
}

/* Responsive Accordion */
@media (max-width: 768px) {
    .accordion-header {
        padding: 16px;
        font-size: 0.95rem;
    }

    .accordion-content > div {
        padding: 16px;
    }

    .accordion {
        gap: 10px;
    }
}

/* ==========================================
   PERFORMANCE OPTIMIZATION STYLES
   ========================================== */

/* GPU-accelerated animations and rendering */
.room-card-front,
.room-card-inner,
.room-overlay,
video {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    transform: translateZ(0);
}

/* Reduce repaints during scroll */
.room-card-front {
    contain: layout style paint;
    will-change: transform;
}

/* Optimize video rendering */
video {
    contain: layout style;
    background: #000;
}

/* Smooth passive scroll */
html {
    scroll-behavior: smooth;
}

* {
    scroll-behavior: smooth;
}

/* Optimized reveal animation */
.reveal {
    animation: revealOptimized 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes revealOptimized {
    from {
        opacity: 0;
        transform: translateY(30px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Image optimization fallback */
img {
    contain: layout style paint;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container queries for responsive cards (modern browsers) */
@supports (container-type: inline-size) {
    .room-card {
        container-type: inline-size;
    }
}

/* Optimize font rendering */
body {
    font-display: swap;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent layout shift */
button, a, input, select, textarea {
    min-height: 2px;
    min-width: 2px;
}

/* Efficient hover states */
.btn-book-room,
.feature-card,
.room-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-book-room:hover,
.feature-card:hover {
    transform: translateY(-2px) translateZ(0);
}

/* Lazy load image styles */
img[loading="lazy"] {
    background-color: #f0f0f0;
}

/* Network status awareness */
@media (prefers-reduced-data: reduce) {
    * {
        animation: none !important;
        background-image: none !important;
    }
    
    video {
        display: none;
    }
}
