/* Reset et Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Compensation pour le header */
}

:root {
    /* Nouveau système de tokens couleur primaire (bleu unifié) */
    --color-primary: #447ebc; /* base */
    --color-primary-600: #447ebc; /* alias base */
    --color-primary-700: #3b6fa7; /* ~7% plus sombre pour hover/focus */
    --color-primary-500: #5a92cc; /* variante adoucie */
    --on-primary: #ffffff;
    /* Compat héritée */
    --primary-blue: var(--color-primary);
    --dark-blue: var(--color-primary); /* unification bleu */
    --light-blue: #e6f2ff;
    /* Autres couleurs */
    --secondary-orange: #ff6600;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --gold: #d4af37;
    --cream: #f9f7f4;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Amiri', 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Styles spécifiques pour les pages chambres */
.chambre-details h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-top: 0;
}

.chambre-details h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.col-md-4, .col-md-6, .col-md-8 {
    padding: 15px;
}

.col-md-4 { flex: 0 0 33.333333%; }
.col-md-6 { flex: 0 0 50%; }
.col-md-8 { flex: 0 0 66.666667%; }

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header.scrolled .logo img {
    height: 75px;
    transition: height 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 90px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.language-switch {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid #ddd;
    align-items: center;
}

.language-switch a {
    text-decoration: none;
    font-size: 1.2rem;
    padding: 6px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
}

.lang-active {
    background: rgba(51, 102, 255, 0.1);
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    position: relative;
}

.lang-active::after {
    content: '●';
    color: var(--primary-blue);
    font-size: 0.6rem;
    position: absolute;
    top: -2px;
    right: 2px;
}

.lang-link {
    color: var(--text-light);
    border: 1px solid transparent;
}

.lang-link:hover {
    background: rgba(51, 102, 255, 0.05);
    border: 1px solid rgba(51, 102, 255, 0.2);
    transform: translateY(-1px);
}

.lang-link {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.lang-link:hover {
    color: var(--primary-blue);
    background: rgba(51, 102, 255, 0.05);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 600px;
    padding: 0 20px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    background: var(--secondary-orange);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--secondary-orange);
    transform: scale(1.2);
}

/* Sections */
section {
    padding: 80px 0;
}

.presentation {
    background: var(--cream);
}

.presentation h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.presentation p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-info {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: fit-content;
}

.contact-info h3 {
    color: var(--secondary-orange);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.social-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.social-links a:hover {
    color: var(--secondary-orange);
}

/* Chambres */
.chambres {
    background: var(--white);
}

.chambres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.chambre-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chambre-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.chambre-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.chambre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.chambre-card:hover .chambre-image img {
    transform: scale(1.1);
}

.chambre-content {
    padding: 25px;
}

.chambre-content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.chambre-content p:first-of-type {
    color: var(--secondary-orange);
    font-weight: 600;
    font-size: 1.1rem;
}

.voir-plus {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.voir-plus:hover {
    color: var(--secondary-orange);
}

.privatisation {
    background: var(--light-blue);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
}

.privatisation h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Services */
.services {
    background: var(--cream);
}

.services-included,
.services-optional {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.services-included h3 {
    color: var(--primary-blue);
    border-bottom: 3px solid var(--secondary-orange);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.services-optional h3 {
    color: var(--secondary-orange);
    border-bottom: 3px solid var(--primary-blue);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.services-included ul,
.services-optional ul {
    list-style: none;
}

.services-included li,
.services-optional li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.services-included li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.services-optional li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-orange);
    font-weight: bold;
}

.services-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.services-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Table d'Hôtes */
.table-hotes {
    background: var(--white);
}

.table-hotes p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.table-hotes-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.menu-table {
    margin: 40px 0;
    overflow-x: auto;
}

.menu-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.menu-table th {
    background: var(--primary-blue);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.menu-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.menu-table tr:nth-child(even) {
    background: var(--light-blue);
}

.menu-price {
    text-align: center;
    font-size: 1.3rem;
    color: var(--secondary-orange);
    font-weight: 600;
    margin: 30px 0;
}

.table-hotes-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.table-hotes-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Cours de Cuisine */
.cours-cuisine {
    background: var(--cream);
}

.cours-cuisine p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cours-cuisine img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Espaces */
.espaces {
    background: var(--white);
}

.espace-item {
    margin-bottom: 50px;
}

.espace-item h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.espace-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.espace-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.espace-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Contact */
.contact {
    background: var(--cream);
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.contact-info h4 {
    color: var(--secondary-orange);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.submit-btn {
    width: 100%;
    background: var(--secondary-orange);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--dark-blue);
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.footer-info p {
    margin-bottom: 5px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-orange);
}

.footer-social a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
    color: var(--secondary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px 0 40px 0;
        box-shadow: 0 2px 15px rgba(0,0,0,0.2);
        z-index: 1000;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav-menu .language-switch {
        order: -1;
        width: 100%;
        justify-content: center;
        margin: 0 0 15px 0;
        padding: 10px 0 15px 0;
        border-left: none;
        border-bottom: 1px solid #e0e0e0;
        background: linear-gradient(90deg, rgba(51,102,255,0.05), rgba(255,255,255,0));
        position: sticky;
        top: 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        display: flex !important;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid rgba(51, 102, 255, 0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        font-size: 18px;
        padding: 18px 20px;
        display: block;
        width: 100%;
        box-sizing: border-box;
        transition: background-color 0.3s ease;
    }
    
    .nav-menu a:hover,
    .nav-menu a.nav-active {
        background-color: rgba(51, 102, 255, 0.1);
        color: var(--primary-blue);
    }
    
    .language-switch {
        margin-top: 15px;
        padding: 15px 20px;
        border-top: 2px solid rgba(51, 102, 255, 0.2);
        display: flex;
        justify-content: center;
        gap: 10px;
        border-left: none;
        margin-left: 0;
    }
    
    .language-switch a {
        padding: 8px 12px !important;
        border: 2px solid var(--primary-blue);
        border-radius: 20px;
        font-weight: 600;
        min-width: 50px;
        text-align: center;
        font-size: 0.85rem;
        transition: all 0.3s ease;
    }
    
    .language-switch .lang-active {
        background: var(--primary-blue) !important;
        color: white !important;
    }
    
    .language-switch .lang-link:hover {
        background: rgba(51, 102, 255, 0.1) !important;
        color: var(--primary-blue) !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .col-md-4,
    .col-md-6,
    .col-md-8 {
        flex: 0 0 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .espace-images {
        grid-template-columns: 1fr;
    }
    
    .chambres-grid {
        grid-template-columns: 1fr;
    }
    
    .services-images {
        grid-template-columns: 1fr;
    }
    
    .table-hotes-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 70px;
    }
    
    .footer-logo {
        height: 90px;
        padding: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chambre-card,
.services-included,
.services-optional,
.espace-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll comportement */
html {
    scroll-behavior: smooth;
}

/* Section Équipe */
.equipe {
    background: var(--cream);
    padding: 80px 0;
}

.riad-presentation-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.membre-equipe {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.membre-equipe:hover {
    transform: translateY(-5px);
}

.membre-photo {
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.membre-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.membre-equipe:hover .membre-photo img {
    transform: scale(1.05);
}

.membre-info {
    padding: 25px;
}

.membre-info h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.membre-info p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Styles pour les formulaires simplifiés */
.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 15px;
    text-align: center;
    font-style: italic;
}

/* Bouton crédits fixe */
.credits-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(51, 102, 255, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    cursor: pointer;
}

.credits-button:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: white;
    text-decoration: none;
}

/* Styles pour la page crédits */
.credits {
    background: var(--cream);
    min-height: 100vh;
}

.credits-content h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

/* Styles pour les pages chambres */
.hero-chambre {
    background: var(--cream);
    padding: 120px 0 80px;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--secondary-orange);
}

.breadcrumb span {
    color: var(--text-light);
}

/* Galerie photos des chambres - Layout naturel */
.chambre-gallery {
    padding: 40px 0 20px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 300px;
    gap: 15px;
    margin-bottom: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f8f9fa;
}

.gallery-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Styles pour les détails des chambres */
.chambre-details {
    padding: 40px 0;
    background: var(--cream);
}

.chambre-booking {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: sticky;
    top: 200px;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
}

/* Responsive pour les galeries */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 10px;
    }
    
    .chambre-gallery {
        padding: 30px 0 15px 0;
    }
    
    .chambre-details {
        padding: 30px 0;
    }
    
    .chambre-booking {
        position: relative;
        top: auto;
    }
}

/* Popup élégant pour le contact */
.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.contact-popup.show .popup-content {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: var(--primary-blue);
}

.popup-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.popup-title {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.popup-message {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.popup-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.popup-btn-primary {
    background: var(--primary-blue);
    color: white;
}

.popup-btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

.popup-btn-secondary {
    background: var(--cream);
    color: var(--text-dark);
}

.popup-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.popup-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-button:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(51, 102, 255, 0.3);
}
