/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Modern & Attractive Palette */
    --primary-color: #1a252f;
    --primary-dark: #0f1419;
    --primary-light: #2c3e50;
    --secondary-color: #3498db;
    --secondary-dark: #2980b9;
    --secondary-light: #5dade2;
    --accent-color: #e74c3c;
    --accent-light: #ec7063;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    
    /* Text Colors */
    --text-color: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --text-white: #ffffff;
    
    /* Background Colors */
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    --bg-dark: #0f172a;
    
    /* Borders */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-dark: #cbd5e1;
    
    /* Shadows - Enhanced Depth */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-2xl: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 25px -5px rgba(52, 152, 219, 0.3), 0 10px 10px -5px rgba(52, 152, 219, 0.15);
    --shadow-colored: 0 10px 40px -5px rgba(52, 152, 219, 0.4);
    --shadow-glow: 0 0 20px rgba(52, 152, 219, 0.3);
    
    /* Gradients - Enhanced */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --gradient-section: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Performance optimizations */
* {
    -webkit-tap-highlight-color: transparent;
}

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: var(--bg-color);
}

/* Prevent flash of unstyled content - hide elements that will be revealed */
html:not(.js-loaded) section > .container > * {
    opacity: 0;
    visibility: hidden;
}

html.js-loaded section > .container > * {
    visibility: visible;
}

/* Smooth scroll with offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - Premium Design */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-fixed);
    transition: padding var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
    border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.99);
    will-change: auto; /* Remove will-change when scrolled */
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    transition: padding var(--transition-base);
}

.navbar.scrolled .nav-wrapper {
    padding: var(--spacing-sm) 0;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
    transition: var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition-base);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-booking {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.nav-booking::after {
    display: none;
}

.nav-booking:hover {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
    color: white !important;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Optimize button transitions */
.btn,
button {
    transform: translateZ(0); /* GPU acceleration */
    will-change: transform;
    backface-visibility: hidden;
}

.btn:hover,
button:hover {
    transform: translateZ(0) translateY(-2px);
}

.language-switcher {
    display: flex;
    gap: 0;
    margin-left: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    background: white;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    font-family: inherit;
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.lang-btn:hover:not(.active) {
    background: var(--bg-light);
    color: var(--text-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    transform: translate3d(0, 0, 0); /* GPU acceleration */
    backface-visibility: hidden;
}

/* Hero Section - Premium Design */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0); /* GPU acceleration */
    will-change: opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: transform 20s ease-out, filter 1s ease;
    transform: translateZ(0); /* GPU acceleration */
    will-change: transform;
    backface-visibility: hidden;
}

.hero-slide.active img {
    filter: brightness(0.9);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 1;
    opacity: 0.85;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 var(--spacing-xl);
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3));
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
    letter-spacing: 0.02em;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px) saturate(180%);
    transform: translate3d(0, 0, 0); /* GPU acceleration */
    backface-visibility: hidden;
    contain: layout style paint;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hero-nav svg {
    width: 24px;
    height: 24px;
}

.hero-nav-prev {
    left: 20px;
}

.hero-nav-next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
    background: white;
    transform: scale(1.2);
}

.hero-dot:active {
    transform: scale(1.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
    will-change: opacity, transform;
    backface-visibility: hidden;
    contain: layout style paint;
}

.hero-title,
.hero-subtitle {
    animation-fill-mode: both;
}

.hero-title:not(:hover) {
    will-change: auto; /* Remove after animation */
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 0.4s both;
    will-change: opacity, transform;
    backface-visibility: hidden;
    contain: layout style paint;
}

.hero-subtitle:not(:hover) {
    will-change: auto; /* Remove after animation */
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    /* Optimized: specific properties instead of 'all' */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
    transform: translate3d(0, 0, 0); /* GPU acceleration */
    backface-visibility: hidden;
    contain: layout style paint;
}

.btn:hover {
    will-change: transform, box-shadow;
}

.btn:not(:hover) {
    will-change: auto; /* Remove when not hovering */
}

.btn-booking {
    border-radius: 50px;
    font-weight: 500;
    padding: 0.875rem 1.75rem;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: fadeInUp 1s ease 0.6s both;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.btn-primary:not(:hover) {
    will-change: auto; /* Remove after animation */
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translate3d(0, -4px, 0) scale(1.02); /* GPU acceleration */
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 1);
    will-change: transform, box-shadow;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translate3d(0, -2px, 0) scale(1); /* GPU acceleration */
}

.btn-booking {
    background: linear-gradient(135deg, #003580 0%, #00408a 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 53, 128, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-booking:hover::before {
    left: 100%;
}

.btn-booking:hover {
    background: linear-gradient(135deg, #00408a 0%, #0050a0 100%);
    transform: translateZ(0) translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 53, 128, 0.5), 0 0 0 4px rgba(0, 53, 128, 0.1);
}

.btn-booking:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 53, 128, 0.2);
}

.btn-airbnb {
    background: linear-gradient(135deg, #FF5A5F 0%, #FF6B6F 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 90, 95, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    font-weight: 500;
    padding: 0.875rem 1.75rem;
}

.btn-airbnb::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-airbnb:hover::before {
    left: 100%;
}

.btn-airbnb:hover {
    background: linear-gradient(135deg, #FF6B6F 0%, #FF7B7F 100%);
    transform: translateZ(0) translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 90, 95, 0.5), 0 0 0 4px rgba(255, 90, 95, 0.1);
}

.btn-airbnb:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(255, 90, 95, 0.2);
}

.btn:not(.btn-booking):not(.btn-airbnb) svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn:not(.btn-booking):not(.btn-airbnb):hover svg {
    transform: translateX(3px);
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    gap: 0.4rem;
}

.btn-small svg {
    width: 16px;
    height: 16px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.rooms-booking-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0 3rem;
}

.room-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.house-gallery {
    margin: 3rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    image-rendering: auto;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-secondary);
    transform: scaleY(0);
    transition: var(--transition-base);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.service-item:hover::before {
    transform: scaleY(1);
}

.service-item svg {
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.service-item span {
    font-weight: 500;
    color: var(--text-color);
}

/* Section Titles - Premium Design */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Awards & Reviews Section */
.awards-reviews {
    padding: 5rem 0;
    background: var(--bg-color);
}

.awards-section {
    margin-bottom: 4rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.award-card {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition-base);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.award-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.award-card:hover::before {
    transform: scaleX(1);
}

.award-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.award-icon.superhost {
    background: linear-gradient(135deg, #FF5A5F 0%, #FF6B6F 100%);
    color: white;
}

.award-icon.booking-award {
    background: linear-gradient(135deg, #003580 0%, #00408a 100%);
    color: white;
}

.award-icon svg {
    width: 40px;
    height: 40px;
}

.award-card .rating-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin: 1rem 0;
    color: #FFD700;
}

.award-card .rating-stars svg {
    width: 24px;
    height: 24px;
}

.award-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.award-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.rating {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.rating-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.rating-score .score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.rating-score .max-score {
    font-size: 1.5rem;
    color: var(--text-light);
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #FFD700;
}

.rating-stars svg {
    width: 24px;
    height: 24px;
}

.rating-text {
    font-weight: 500;
    color: var(--text-color);
}

.reviews-section {
    margin-top: 4rem;
}

.reviews-carousel-container {
    position: relative;
    margin-top: 2rem;
    overflow: hidden;
}

.reviews-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    gap: 2rem;
}

.review-card {
    flex: 0 0 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .review-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .review-card {
        flex: 0 0 calc(33.333% - 1.33rem);
    }
}

.reviews-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--border-color);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.reviews-nav:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.reviews-nav svg {
    width: 24px;
    height: 24px;
}

.reviews-prev {
    left: 15px;
}

.reviews-next {
    right: 15px;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.review-dot.active {
    background: var(--secondary-color);
    width: 30px;
    border-radius: 5px;
}

.review-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.review-card:hover::before {
    transform: scaleX(1);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
}

.review-author h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.review-location {
    font-size: 0.9rem;
    color: var(--text-light);
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    color: #FFD700;
}

.review-rating svg {
    width: 20px;
    height: 20px;
}

.review-text {
    color: var(--text-color);
    line-height: 1.7;
    font-style: italic;
}

/* Rooms Section */
.rooms {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.rooms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.room-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
    border: 2px solid var(--border-light);
    position: relative;
    transform: translateZ(0); /* GPU acceleration */
    will-change: transform;
    backface-visibility: hidden;
}

.room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: var(--transition-base);
    z-index: 1;
}

.room-card:hover {
    transform: translateZ(0) translateY(-12px) scale(1.02); /* GPU acceleration */
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.25), 0 0 0 1px rgba(52, 152, 219, 0.1);
    border-color: var(--secondary-color);
    will-change: transform;
}

.room-card:hover::before {
    transform: scaleX(1);
}

.room-image-gallery {
    width: 100%;
    position: relative;
}

.room-main-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

.room-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    image-rendering: auto;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.room-card:hover .room-main-image img {
    transform: translateZ(0) scale(1.05); /* GPU acceleration */
    will-change: transform;
}

.room-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-light);
    justify-content: center;
}

.room-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    image-rendering: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.room-thumb:hover {
    opacity: 1;
    transform: scale(1.1);
}

.room-thumb.active {
    opacity: 1;
    border-color: var(--secondary-color);
}

.room-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.room-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.room-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.room-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.room-features li {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Room Booking Button - Enhanced & Optimized */
.room-booking-btn {
    margin-top: var(--spacing-xl);
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    
    /* Modern gradient background */
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--text-white);
    
    /* Enhanced shadow */
    box-shadow: 0 4px 14px 0 rgba(52, 152, 219, 0.35),
                0 2px 6px 0 rgba(52, 152, 219, 0.2);
    
    border: none;
    position: relative;
    overflow: hidden;
    
    /* Optimized transitions - GPU accelerated */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Performance optimizations */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform, box-shadow;
    contain: layout style paint;
    
    /* Cursor */
    cursor: pointer;
}

/* Shine effect on hover */
.room-booking-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.25) 50%, 
        transparent 100%);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.room-booking-btn:hover {
    /* Lift effect */
    transform: translate3d(0, -4px, 0) scale(1.02);
    
    /* Enhanced shadow on hover */
    box-shadow: 0 8px 25px 0 rgba(52, 152, 219, 0.5),
                0 4px 12px 0 rgba(52, 152, 219, 0.3),
                0 0 0 4px rgba(52, 152, 219, 0.1);
    
    /* Brighter gradient on hover */
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
    
    color: var(--text-white);
}

.room-booking-btn:hover::before {
    left: 100%;
}

.room-booking-btn:active {
    transform: translate3d(0, -1px, 0) scale(1);
    box-shadow: 0 2px 8px 0 rgba(52, 152, 219, 0.4);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

/* SVG icon styling */
.room-booking-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.room-booking-btn:hover svg {
    transform: translateX(4px) scale(1.1);
}

/* Text styling */
.room-booking-btn span {
    position: relative;
    z-index: 2;
    font-weight: 600;
}

/* Focus state for accessibility */
.room-booking-btn:focus {
    outline: none;
    box-shadow: 0 4px 14px 0 rgba(52, 152, 219, 0.35),
                0 2px 6px 0 rgba(52, 152, 219, 0.2),
                0 0 0 3px rgba(52, 152, 219, 0.3);
}

.room-booking-btn:focus:not(:hover) {
    transform: translate3d(0, 0, 0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .room-booking-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        border-radius: var(--radius-md);
    }
    
    .room-booking-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .room-booking-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .room-booking-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .room-booking-btn,
    .room-booking-btn::before,
    .room-booking-btn svg {
        transition: none;
        animation: none;
    }
    
    .room-booking-btn:hover {
        transform: none;
    }
    
    .room-booking-btn:hover svg {
        transform: none;
    }
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.contact-grid {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    transform: translateZ(0); /* GPU acceleration */
    will-change: transform;
    backface-visibility: hidden;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--secondary-color);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-note {
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Room Booking Header */
.room-booking-header {
    padding: var(--spacing-3xl) 0;
}

.room-booking-info {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.room-booking-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.room-booking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-booking-details h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.room-price {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.room-price strong {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Promo Code Styles */
.promo-code-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.promo-code-wrapper::before {
    display: none !important;
}

.promo-code-wrapper input {
    flex: 1;
    padding: 0.875rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white !important;
    color: #1f2937 !important;
    pointer-events: auto !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    cursor: text !important;
    opacity: 1 !important;
    z-index: 1;
    position: relative;
    font-family: inherit !important;
    line-height: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    visibility: visible !important;
    display: block !important;
}

.promo-code-wrapper input::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

.promo-code-wrapper input[disabled],
.promo-code-wrapper input[readonly] {
    background: white !important;
    cursor: text !important;
    opacity: 1 !important;
    color: #1f2937 !important;
}

.promo-code-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.promo-code-wrapper input:disabled {
    background-color: var(--bg-light);
    cursor: not-allowed;
}

/* Enhanced Secondary Button for Promo Code */
.btn-secondary {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    transform: translateZ(0);
    will-change: transform;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: white;
    border-color: var(--secondary-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.35), 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.btn-secondary:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.25);
}

.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-secondary svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-secondary:hover svg {
    transform: translateX(2px);
}

/* Specific style for promo code apply button */
#apply-promo-btn.btn-secondary {
    min-width: 120px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

#promo-code-message {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    display: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#promo-code-message.show {
    display: block;
}

.room-description-booking {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.room-features-booking {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.room-features-booking li {
    color: var(--text-color);
    font-weight: 500;
    padding: var(--spacing-sm) 0;
}

/* Booking Section */
.booking-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="%23e0e0e0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.booking-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.booking-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.booking-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.booking-form .form-group label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.booking-form .form-group input,
.booking-form .form-group select,
.booking-form .form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
}

/* Phone Input with Country Selector */
.phone-group {
    position: relative;
    width: 100%;
}

.phone-group .phone-input-wrapper {
    width: 100%;
}

.phone-input-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 10px;
    overflow: visible;
    border: 2px solid var(--border-color);
    transition: var(--transition-base);
    background: white;
    position: relative;
}

.phone-input-wrapper:focus-within {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.phone-input-wrapper input {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 1rem;
    padding-right: 3rem;
}

.phone-input-wrapper input.error {
    border-color: #e74c3c;
}

.phone-input-wrapper input.valid {
    border-color: #27ae60;
}

.phone-input-wrapper {
    position: relative;
}

.phone-success {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #27ae60;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
    animation: fadeInScale 0.3s ease;
}

.phone-success svg {
    width: 20px;
    height: 20px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* Email Input Validation */
.email-group {
    position: relative;
}

.email-input-wrapper {
    position: relative;
}

.email-input-wrapper input {
    padding-right: 2.5rem;
}

.email-input-wrapper input.error {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.email-input-wrapper input.valid {
    border-color: #27ae60;
    background: rgba(39, 174, 96, 0.05);
}

.email-error {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    animation: slideDown 0.2s ease;
}

.email-error::before {
    content: '⚠';
    font-size: 1rem;
}

.email-success {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #27ae60;
    display: flex;
    align-items: center;
    pointer-events: none;
    animation: scaleIn 0.2s ease;
}

.email-success svg {
    width: 18px;
    height: 18px;
}

.country-selector {
    position: relative;
    z-index: 10;
    display: block;
    visibility: visible;
    opacity: 1;
    flex-shrink: 0;
}

.country-selector-btn {
    display: flex !important;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 0.75rem;
    background: var(--bg-light);
    border: none;
    border-right: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
    font-size: 0.95rem;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 120px;
}

.country-selector-btn:hover {
    background: var(--bg-lighter);
}

.country-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.country-dial {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 40px;
}

.country-arrow {
    color: var(--text-light);
    transition: var(--transition-base);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.country-selector-btn:hover .country-arrow {
    transform: translateY(2px);
}

.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    margin-top: var(--spacing-xs);
    z-index: 1000;
    max-height: 400px;
    min-height: 250px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.2s ease;
    min-width: 300px;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    box-sizing: border-box;
}

.country-search {
    padding: var(--spacing-md);
    border-bottom: 2px solid var(--border-light);
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
    overflow: visible;
    box-sizing: border-box;
}

.country-search input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    background: white;
    color: var(--text-color);
    transition: var(--transition-base);
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    word-wrap: break-word;
    min-width: 0;
}

.country-search input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.country-search input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.country-list {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 320px;
    height: auto;
    flex: 1;
    background: white;
    position: relative;
    width: 100%;
    display: block;
    visibility: visible !important;
    opacity: 1 !important;
}

.country-list::-webkit-scrollbar {
    width: 8px;
}

.country-list::-webkit-scrollbar-track {
    background: var(--bg-lighter);
    border-radius: 4px;
}

.country-list::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 4px;
}

.country-list::-webkit-scrollbar-thumb:hover {
    background: var(--text);
}

.country-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-light);
    visibility: visible;
    opacity: 1;
    min-height: 50px;
    width: 100%;
    box-sizing: border-box;
}

.country-option.hidden {
    display: none !important;
}

.country-option:last-child {
    border-bottom: none;
}

.country-option:hover {
    background: var(--bg-light);
}

.country-option.selected {
    background: rgba(52, 152, 219, 0.1);
    font-weight: 600;
}

.country-option .country-name {
    flex: 1;
    color: var(--text-color);
    font-weight: 500;
}

.country-option .country-dial {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 50px;
    text-align: right;
}

.country-option .country-flag {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.country-option .country-name {
    flex: 1;
    color: var(--text-color);
}

.country-option .country-dial {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.no-results {
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    border-top: 1px solid var(--border-light);
}

.phone-error {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.phone-error::before {
    content: '⚠';
    font-size: 1rem;
}

.phone-input-wrapper input.error {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

@media (max-width: 768px) {
    .phone-input-wrapper {
        flex-direction: column;
    }
    
    .country-selector-btn {
        border-right: none;
        border-bottom: 2px solid var(--border);
        justify-content: center;
    }
    
    .country-dropdown {
        left: 0;
        right: 0;
    }
}

/* Enhanced Date Selection */
.date-selection-row {
    position: relative;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .date-selection-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .date-separator {
        transform: rotate(90deg);
        padding: var(--spacing-sm) 0;
    }
}

.date-group {
    position: relative;
    flex: 1;
}

.date-group label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.date-group label svg {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.date-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.date-display {
    padding: 1rem 1.25rem;
    padding-right: 3rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: var(--transition-base);
    font-weight: 500;
    color: var(--text-color);
    min-height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.date-display:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.date-display.selected {
    border-color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.05);
    color: var(--primary-color);
}

.date-display::after {
    content: '';
    position: absolute;
    right: 1rem;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0.5;
}

.date-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-md);
    color: var(--text-light);
    flex-shrink: 0;
    align-self: flex-end;
    margin-bottom: 0;
    height: 50px;
    box-sizing: border-box;
}

.nights-display {
    text-align: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
    border-radius: var(--radius-xl);
    margin: var(--spacing-lg) 0;
    border: 2px solid var(--secondary-color);
    animation: fadeInUp 0.4s ease;
}

.nights-info {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-sm);
}

.nights-count {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.nights-label {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Date Picker Calendar */
.datepicker-wrapper {
    position: relative;
    margin: var(--spacing-xl) 0;
    width: 100%;
}

.datepicker-calendar {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border-light);
    padding: var(--spacing-lg);
    z-index: 1000;
    margin-top: var(--spacing-sm);
    animation: slideDown 0.3s ease;
}

@media (max-width: 768px) {
    .datepicker-calendar {
        left: 0;
        transform: none;
        max-width: 100%;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-light);
}

.calendar-nav {
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    color: var(--primary-color);
}

.calendar-nav:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.calendar-month-year {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.calendar-month {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.calendar-year {
    font-size: 0.9rem;
    color: var(--text-light);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.calendar-weekday {
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-light);
    padding: var(--spacing-sm);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--spacing-xs);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    border: 2px solid transparent;
}

.calendar-day.empty {
    cursor: default;
    visibility: hidden;
}

.calendar-day.past {
    color: var(--text-lighter);
    cursor: not-allowed;
    opacity: 0.4;
}

.calendar-day.unavailable {
    color: var(--text-lighter);
    cursor: not-allowed;
    opacity: 0.4;
    text-decoration: line-through;
    background: var(--bg-lighter);
}

.calendar-day.disabled {
    color: var(--text-lighter);
    cursor: not-allowed;
    opacity: 0.3;
    background: var(--bg-lighter);
    position: relative;
}

.calendar-day.disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--text-lighter);
    transform: rotate(-45deg);
}

.calendar-day.weekend {
    color: var(--secondary-color);
    font-weight: 600;
}

.calendar-day:not(.past):not(.unavailable):not(.empty):hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.calendar-day.checkin {
    background: var(--secondary-color);
    color: white;
    font-weight: 700;
    border-color: var(--secondary-dark);
}

.calendar-day.checkout {
    background: var(--secondary-color);
    color: white;
    font-weight: 700;
    border-color: var(--secondary-dark);
}

.calendar-day.in-range {
    background: rgba(52, 152, 219, 0.15);
    color: var(--primary-color);
}

.calendar-day.checkin::before {
    content: 'Arrivée';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    white-space: nowrap;
    color: var(--secondary-color);
    font-weight: 600;
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
}

.calendar-day.checkout::after {
    content: 'Départ';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    white-space: nowrap;
    color: var(--secondary-color);
    font-weight: 600;
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .calendar-day.checkin::before,
    .calendar-day.checkout::after {
        display: none;
    }
}

.booking-form .form-group input:focus,
.booking-form .form-group select:focus,
.booking-form .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Error states for form fields */
.booking-form .form-group input.error,
.booking-form .form-group select.error,
.booking-form .form-group textarea.error,
.booking-form .form-group .date-input.error,
.booking-form .form-group .date-display.error {
    border-color: #e74c3c !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

.booking-form .form-group input.error:focus,
.booking-form .form-group select.error:focus,
.booking-form .form-group textarea.error:focus {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2) !important;
}

.field-error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.field-error-message::before {
    content: '⚠';
    font-size: 1rem;
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    width: 100%;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 14px;
    padding: 1.35rem 1.6rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.1rem;
    opacity: 0;
    transform: translateX(450px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    border-left: 5px solid;
    position: relative;
    overflow: visible;
    min-width: 340px;
    max-width: 520px;
    width: auto;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.toast.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.toast-error {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.2), 0 0 0 1px rgba(239, 68, 68, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-left-width: 5px;
}

.toast-error .toast-icon {
    color: #ef4444;
    animation: pulse 2s ease-in-out infinite;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.95);
    }
}

.toast-error .toast-message {
    color: #7f1d1d;
    line-height: 1.75;
    font-size: 0.96rem;
}

.toast-error .toast-message strong {
    color: #dc2626;
    font-weight: 700;
    font-size: 1.05em;
    letter-spacing: 0.01em;
}

.toast-error .toast-message br {
    margin: 0.6em 0;
    display: block;
    content: '';
    line-height: 1.5;
}

.toast-error .toast-message br:first-child {
    margin-top: 0;
}

.toast-error .toast-message br:last-child {
    margin-bottom: 0;
}

.toast-success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.toast-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.toast-error .toast-icon {
    color: #e74c3c;
}

.toast-success .toast-icon {
    color: #10b981;
}

.toast-message {
    flex: 1;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 500;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
    min-width: 0;
    max-width: 100%;
    hyphens: auto;
    letter-spacing: 0.01em;
}

.toast-message br {
    display: block;
    margin: 0.5em 0;
    content: '';
}

.toast-message br:first-child {
    margin-top: 0;
}

.toast-message br:last-child {
    margin-bottom: 0;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    opacity: 0.5;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    border-radius: 6px;
    margin-top: -4px;
    width: 28px;
    height: 28px;
}

.toast-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.08);
    transform: rotate(90deg);
    color: #ef4444;
}

.toast-close:active {
    transform: rotate(90deg) scale(0.9);
}

@media (max-width: 768px) {
    .toast-container {
        right: 10px;
        left: 10px;
        max-width: none;
        top: 80px;
    }
    
    .toast {
        transform: translateY(-100px);
        min-width: auto;
        padding: 1rem 1.25rem;
    }
    
    .toast.show {
        transform: translateY(0);
    }
    
    .toast-message {
        font-size: 0.875rem;
        line-height: 1.5;
    }
}

.booking-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.15);
    position: relative;
    overflow: hidden;
}

.booking-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
}

.booking-summary h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.summary-item:last-of-type {
    border-bottom: none;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-top: 3px solid var(--secondary-color);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.summary-total span:first-child {
    font-size: 1.2rem;
    color: var(--text-light);
}

.summary-total span:last-child {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

#stripe-payment-element {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.payment-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.payment-message.error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
    display: block;
}

.payment-message.success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
    display: block;
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    width: 100%;
    margin-top: 1.5rem;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-large:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.4);
}

.btn-large:not(:disabled):active {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
}

#submit-booking {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: white;
    border: none;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 1.75rem 3rem;
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

#submit-booking:not(:disabled) {
    animation: pulse 2s infinite;
}

#submit-booking:not(:disabled):hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.5);
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
}

#submit-booking:not(:disabled):active {
    transform: translateY(-2px) scale(1);
}

#submit-booking .price-in-button {
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    margin-top: 0.5rem;
    opacity: 0.95;
    letter-spacing: 1px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    animation: none !important;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
    }
    50% {
        box-shadow: 0 10px 30px rgba(52, 152, 219, 0.6);
    }
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.booking-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
}

.booking-note svg {
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* Terms Checkbox */
.terms-checkbox {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg);
    background: var(--bg-lighter);
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-light);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--secondary-color);
    flex-shrink: 0;
}

.terms-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: color var(--transition);
}

.terms-link:hover {
    color: var(--secondary-dark);
}

.terms-note {
    display: block;
    margin-top: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* Conditions Section - Booking/Airbnb Style */
.conditions-section {
    padding: var(--spacing-3xl) 0;
    background: #f7f7f7;
    min-height: calc(100vh - 80px);
}

.conditions-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-3xl);
    letter-spacing: -0.5px;
}

.conditions-content {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.conditions-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    background: #fafafa;
    padding: 0;
    margin: 0;
}

.condition-tab {
    flex: 1;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    text-align: center;
}

.condition-tab:hover {
    color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.03);
}

.condition-tab.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    background: white;
    font-weight: 700;
}

.conditions-panels {
    position: relative;
    min-height: 500px;
}

.condition-panel {
    display: none;
    padding: 3rem 4rem;
    animation: fadeIn 0.3s ease;
}

.condition-panel.active {
    display: block;
}

.condition-panel h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e8e8e8;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.condition-item {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #fafafa;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.2s ease;
}

.condition-item:hover {
    background: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.condition-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.condition-item h4::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.condition-item p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.condition-item p:last-child {
    margin-bottom: 0;
}

.condition-item ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
    list-style: none;
    padding: 0;
}

.condition-item li {
    color: #333;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.condition-item li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.condition-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Cancellation Rules - Booking/Airbnb Style */
.cancellation-rules {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.rule-item {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.2s ease;
    align-items: center;
}

.rule-item:hover {
    background: #fafafa;
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

.rule-period {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
}

.rule-refund {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 0.25rem;
}

.refund-amount {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.3px;
}

.refund-note {
    font-size: 0.875rem;
    color: #666;
    font-style: normal;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: white;
    font-weight: 700;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .conditions-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .condition-panel {
        padding: 2rem 1.5rem;
    }
    
    .condition-panel h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .condition-item {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .condition-item h4 {
        font-size: 1.15rem;
    }
    
    .rule-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .rule-refund {
        align-items: flex-start;
        text-align: left;
        margin-top: 0.5rem;
    }
    
    .conditions-tabs {
        flex-direction: column;
    }
    
    .condition-tab {
        border-bottom: 1px solid #e0e0e0;
        border-left: 3px solid transparent;
        padding: 1.25rem 1.5rem;
    }
    
    .condition-tab.active {
        border-left-color: var(--secondary-color);
        border-bottom-color: #e0e0e0;
    }
    
    .room-booking-info {
        grid-template-columns: 1fr;
    }
    
    .room-features-booking {
        grid-template-columns: 1fr;
    }
}

/* Optimized Animations - GPU Accelerated */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0); /* GPU acceleration */
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0); /* GPU acceleration */
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0); /* GPU acceleration */
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0); /* GPU acceleration */
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.9); /* GPU acceleration */
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1); /* GPU acceleration */
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Animation shake pour les dates bloquées */
@keyframes datepickerShake {
    0%, 100% { 
        transform: translateX(0); 
    }
    10%, 30%, 50%, 70%, 90% { 
        transform: translateX(-8px); 
    }
    20%, 40%, 60%, 80% { 
        transform: translateX(8px); 
    }
}

.datepicker-shake {
    animation: datepickerShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Smooth reveal animations */
/* Hide elements initially to prevent flash - only show when JS is loaded */
html:not(.js-loaded) section > .container > * {
    opacity: 0;
}

.reveal {
    opacity: 0;
    transform: translate3d(0, 20px, 0); /* Reduced distance for smoother animation */
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smoother easing */
    will-change: opacity, transform;
    backface-visibility: hidden;
    contain: layout style paint; /* Performance optimization */
    perspective: 1000px; /* Enable 3D transforms */
}

.reveal.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0); /* GPU acceleration */
    will-change: auto; /* Remove will-change after animation */
}

/* Calendar & Stats Section */
.calendar-stats {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.calendar-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.calendar-wrapper {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.calendar-container {
    max-width: 800px;
    width: 100%;
}

.calendar-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.calendar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-light);
}

.calendar-nav-btn {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 2px solid var(--border-light);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.calendar-nav-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.calendar-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f0f0f0;
    color: #999;
    border-color: #e0e0e0;
}

.calendar-nav-btn:disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #f0f0f0;
    border-color: var(--secondary-color);
    color: white;
    transform: translateZ(0) scale(1.1); /* GPU acceleration */
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.calendar-month-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-light);
    padding: var(--spacing-sm);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    border: 2px solid transparent;
    padding: var(--spacing-xs);
    min-height: 50px;
}

.calendar-day.empty {
    visibility: hidden;
}

.calendar-day.booked-hidden {
    display: none;
}

.calendar-day.available {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success-color);
}

.calendar-day.booked {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--accent-color);
}

.calendar-day.fully-booked {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--accent-color);
    font-weight: 700;
    color: var(--accent-color);
    cursor: not-allowed;
    opacity: 0.8;
}

.calendar-day.fully-booked .booking-badge {
    background: var(--accent-color);
    color: white;
    font-weight: 700;
}

.calendar-day.partially-booked {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: var(--warning-color);
}

.calendar-day.past {
    opacity: 0.5;
    color: #9ca3af;
    background-color: #f3f4f6;
    cursor: default;
}

.calendar-day.past .day-number {
    color: #9ca3af;
}

.calendar-day.past .booking-badge {
    opacity: 0.7;
}

.calendar-day.today {
    border: 3px solid var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.calendar-day .day-number {
    font-size: 0.9rem;
    font-weight: 600;
}

.calendar-day .booking-badge {
    font-size: 0.65rem;
    background: var(--warning-color);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    margin-top: 2px;
    font-weight: 700;
    white-space: nowrap;
}

.calendar-legend {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--border-light);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--text-color);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-sm);
    border: 2px solid;
}

.legend-color.available {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.legend-color.booked {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--accent-color);
}

/* Hide fully booked days completely */
.calendar-day.booked-hidden {
    display: none;
}

.legend-color.partial {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
}

/* Flatpickr Custom Styles */
.flatpickr-calendar {
    font-family: 'Inter', system-ui, sans-serif !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl) !important;
    border: 2px solid var(--border-light) !important;
}

.flatpickr-day.disabled,
.flatpickr-day.flatpickr-disabled {
    color: #999 !important;
    background: #f0f0f0 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    text-decoration: line-through !important;
    position: relative;
}

.flatpickr-day.disabled::before,
.flatpickr-day.flatpickr-disabled::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #999;
}

.flatpickr-day.selected {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.flatpickr-day:hover:not(.disabled):not(.flatpickr-disabled) {
    background: rgba(52, 152, 219, 0.1) !important;
    border-color: var(--secondary-color) !important;
}

.flatpickr-months {
    background: var(--gradient-primary) !important;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}

.flatpickr-current-month {
    color: white !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    color: white !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

.stats-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.stats-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-light);
    transition: var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.revenue {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.2) 100%);
    color: var(--success-color);
}

.stat-icon.reservations {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.2) 100%);
    color: var(--secondary-color);
}

.stat-icon.nights {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.2) 100%);
    color: #8b5cf6;
}

.stat-icon.occupancy {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.2) 100%);
    color: var(--warning-color);
}

.stat-content {
    flex: 1;
}

.stat-content h4 {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}


@media (max-width: 768px) {
    .calendar-stats {
        padding: var(--spacing-xl) 0;
    }
    
    .calendar-container,
    .stats-container {
        padding: var(--spacing-lg);
    }
    
    .calendar-grid {
        gap: 4px;
    }
    
    .calendar-day {
        min-height: 40px;
        font-size: 0.85rem;
    }
    
    .calendar-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .logo {
        height: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-nav {
        width: 40px;
        height: 40px;
    }

    .hero-nav svg {
        width: 20px;
        height: 20px;
    }

    .hero-nav-prev {
        left: 10px;
    }

    .hero-nav-next {
        right: 10px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }

    .services-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reviews-nav {
        width: 35px;
        height: 35px;
    }

    .reviews-nav svg {
        width: 20px;
        height: 20px;
    }

    .reviews-prev {
        left: 10px;
    }

    .reviews-next {
        right: 10px;
    }

    .language-switcher {
        margin-left: 0.5rem;
    }

    .lang-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }

    .room-main-image {
        height: 250px;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

}

@media (max-width: 480px) {
    .hero-nav {
        width: 35px;
        height: 35px;
    }

    .hero-nav svg {
        width: 18px;
        height: 18px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    .rooms-booking-buttons {
        flex-direction: column;
        align-items: center;
        margin: 1.5rem 0 2rem;
    }

    .rooms-booking-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .room-main-image {
        height: 200px;
    }

    .room-thumb {
        width: 50px;
        height: 50px;
    }

    .room-content {
        padding: 1.5rem;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev svg,
.lightbox-next svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
}

/* Cookie Consent Banner - Conformité RGPD UE */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: var(--spacing-lg);
    border-top: 3px solid var(--primary-color);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cookie-consent-text p {
    margin-bottom: var(--spacing-xs);
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-consent-links {
    margin-top: var(--spacing-xs);
    font-size: 0.9rem;
}

.cookie-link {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color var(--transition);
}

.cookie-link:hover {
    color: var(--secondary-dark);
}

.cookie-consent-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn-cookie {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-cookie-primary {
    background: var(--primary-color);
    color: white;
}

.btn-cookie-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-cookie-secondary {
    background: var(--bg-lighter);
    color: var(--text-color);
    border: 2px solid var(--border-light);
}

.btn-cookie-secondary:hover {
    background: var(--bg-light);
    border-color: var(--border-color);
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .btn-cookie {
        width: 100%;
    }
}

