:root {
    /* Palette */
    --saffron: #D4AF37; 
    --saffron-light: #F4E4BC;
    --terracotta: #C75B39;
    --majorelle: #2E4A8E;
    --midnight: #1A1A2E; 
    --cream: #FAF9F6;
    --shadow: rgba(20, 20, 30, 0.5);
    --emerald: #0F5132;
    --whatsapp-green: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    background: var(--midnight);
    color: var(--cream);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Zellige Pattern Background */
.zellige-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s ease;
}

.nav.scrolled {
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    padding: 1rem 4rem;
    box-shadow: 0 4px 30px var(--shadow);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.logo {
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
    color: var(--saffron);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-family: 'Philosopher', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--saffron);
    transition: width 0.4s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-selector select {
    background: rgba(26, 26, 46, 0.6);
    color: var(--saffron);
    border: 1px solid var(--saffron);
    padding: 0.4rem;
    font-family: 'Philosopher', sans-serif;
    cursor: pointer;
    border-radius: 2px;
    margin-right: 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #252535 0%, var(--midnight) 100%);
}

.hero-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5,5,10,0.01);/*url('../resto/arriere.webp') center/cover;*/
    opacity: 0.15;
    mix-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26,26,46,0.3), var(--midnight));
}

.lantern {
    position: absolute;
    width: 60px;
    height: 100px;
    animation: swing 6s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes swing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1.5s ease;
}

.hero-title {
    font-family: 'Amiri', serif;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--cream);
    text-transform: none;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(250, 249, 246, 0.9);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-logo {
    width: clamp(200px, 40vw, 340px);
    display: block;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.35));
}

.btn-primary {
    background: transparent;
    color: var(--saffron);
    padding: 1rem 3rem;
    border: 1px solid var(--saffron);
    font-family: 'Philosopher', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--saffron);
    color: var(--midnight);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

/* Sections */
section {
    position: relative;
    z-index: 1;
    padding: 8rem 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    font-family: 'Amiri', serif;
    font-size: 1rem;
    color: var(--saffron);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.section-more {
    font-family: 'Philosopher', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: var(--saffron);
    text-decoration: none;
}
.section-more:hover {
    color: var(--cream);
    text-decoration: underline;
}

/* Pas d'italique en mode arabe */
html[dir="rtl"] .hero-description,
html[dir="rtl"] .section-title {
    font-style: normal;
}

/* Typo harmonisée pour les titres en arabe */
html[lang="ar"] .section-title,
html[lang="ar"] .section-subtitle {
    font-family: 'Amiri', serif;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.section-divider {
    width: 80px;
    height: 2px;
    background: var(--saffron);
    margin: 0 auto;
    position: relative;
}

.section-divider::after {
    content: '♦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--midnight);
    padding: 0 10px;
    color: var(--saffron);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    border-radius: 200px 200px 0 0;
    overflow: hidden;
    border: 1px solid var(--saffron);
    padding: 10px;
}

.about-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 190px 190px 0 0;
    filter: contrast(1.1);
}

.about-content h3 {
    font-family: 'Amiri', serif;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--saffron);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 2rem;
}

.feature-item span {
    display: block;
    font-family: 'Philosopher', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--saffron);
    margin-bottom: 0.5rem;
}

/* Collection (Menu) */
.menu {
    background: #151525;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.menu-category {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    padding: 0.5rem 1rem;
    font-family: 'Philosopher', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.menu-category.active {
    color: var(--saffron);
}

.menu-category.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--saffron);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.menu-item-image {
    height: 400px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    cursor: zoom-in;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.05);
}

.card-badges,
.modal-badges-container {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 3;
}
.menu-item-badge {
    position: relative;
    background: rgba(255,255,255,0.9);
    color: #7a5300;
    padding: 6px 10px;
    font-family: 'Philosopher', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.badge-chip,
.status-badge,
.promotion-badge,
.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #111;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.badge-new {
    background: #fff8e1;
    border-color: #f6c343;
    color: #7a5300;
}
.promotion-badge {
    background: #ffe8ed;
    border-color: #f06292;
    color: #ad1f52;
}
.status-badge.badge-unavailable,
.status-badge.badge-rented {
    background: #eceff1;
    border-color: #b0bec5;
    color: #455a64;
}
.status-badge.badge-new {
    background: #fff8e1;
    border-color: #f6c343;
    color: #7a5300;
}

.menu-item-title {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    color: var(--saffron);
    margin-bottom: 0.5rem;
    text-align: center;
}

.menu-item-description {
    font-size: 0.95rem;
    opacity: 0.7;
    text-align: center;
    max-width: 80%;
    margin: 0 auto 1rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    padding: 0.5rem;
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s;
}

.gallery-item:hover img {
    opacity: 0.7;
}

/* Footer */
footer {
    background: #0d0d15;
    padding: 5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

/* --- Boutons Réseaux Sociaux (Footer) --- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem; /* Espace légèrement réduit entre les boutons */
    margin-top: 2rem;
}

.social-link {
    color: var(--saffron); /* Icône et Bordure DORÉES */
    border: 1px solid var(--saffron); /* Bordure fine dorée */
    width: 35px; /* Réduit de 45px à 35px */
    height: 35px; /* Réduit de 45px à 35px */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: transparent;
}

/* Gestion de la taille des logos SVG */
.social-link svg {
    width: 14px; /* Réduit de 20px à 14px pour plus de finesse */
    height: 14px;
    fill: currentColor; /* Prend la couleur dorée définie au-dessus */
}

/* Au survol : Fond doré et icône sombre */
.social-link:hover {
    background: var(--saffron);
    color: var(--midnight); /* L'icône devient sombre sur fond or */
    transform: translateY(-2px); /* Petit mouvement vers le haut */
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4); /* Lueur dorée */
}

/* Nav highlight link */
.highlight-link {
    color: var(--saffron) !important;
    border: 1px solid var(--saffron);
    padding: 0.2rem 0.8rem;
    border-radius: 2px;
}

.highlight-link:hover {
    background: var(--saffron);
    color: var(--midnight) !important;
}

/* --- NOUVEAUTÉS V2 --- */

/* Bouton WhatsApp Flottant */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2000;
    transition: transform 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Lightbox (Zoom) */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--saffron);
    text-decoration: none;
    cursor: pointer;
}

/* Rental catalog specifics */
.catalog-header {
    padding-top: 120px;
    text-align: center;
    margin-bottom: 3rem;
}

.ref-tag {
    display: block;
    font-family: 'Philosopher', sans-serif;
    font-size: 0.8rem;
    color: var(--saffron);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

/* ===== BADGES DE STATUT ===== */
.status-badge {
    position: relative;
}

/* ===== BADGES DE PRIX (en bas de l'image) ===== */
.price-badge-container {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    z-index: 10;
}

.price-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 10px;
    border-radius: 8px;
    font-family: 'Philosopher', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border: 1px solid rgba(139, 195, 74, 0.45);
    letter-spacing: 0.5px;
}

.price-badge-old {
    background: rgba(236, 239, 241, 0.95);
    color: #90a4ae;
    padding: 4px 8px;
    border-radius: 8px;
    font-family: 'Philosopher', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    text-decoration: line-through;
    opacity: 0.9;
    border: 1px solid rgba(176, 190, 197, 0.5);
}

.promotion-badge {
    position: absolute;
    top: 12px;
    position: relative;
    right: auto;
    background: #ffe8ed;
    color: #ad1f52;
    padding: 6px 10px;
    border-radius: 999px;
    font-family: 'Philosopher', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border: 1px solid rgba(240, 98, 146, 0.45);
    z-index: 11;
    animation: none;
}

@keyframes pulse-promo {}

.discount-percent {
    display: inline-block;
    margin-left: 4px;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.rental-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--saffron-light);
    color: var(--saffron-light);
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
}

.rental-btn:hover {
    background: var(--saffron);
    color: var(--midnight);
}

/* Utilities */
.fade-in { opacity: 0; transform: translateY(30px); transition: 1s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Langue par défaut : Arabe */
.lang-fr { display: none !important; }
.lang-ar { display: inline !important; }

/* ===== MODAL DÉTAILS ARTICLE ===== */
.article-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.article-modal-content {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    margin: 2% auto;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.2);
    animation: slideUp 0.4s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.article-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(26, 26, 46, 0.5);
}

.modal-lang-select {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--saffron);
    color: var(--saffron);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-family: 'Philosopher', sans-serif;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
}

.modal-lang-select:hover {
    background: var(--saffron);
    color: var(--midnight);
}

.article-modal-close {
    color: var(--cream);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
}

.article-modal-close:hover {
    color: var(--saffron);
    transform: rotate(90deg);
}

.article-modal-body {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 1fr;
    gap: 2rem;
    padding: 2rem;
}

.article-modal-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.article-modal-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.modal-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.modal-thumb {
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.8;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.modal-thumb:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-badges-container {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.article-modal-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-ref {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--saffron);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Philosopher', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    align-self: flex-start;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.modal-title {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    color: var(--saffron);
    margin: 0;
    line-height: 1.3;
}

.modal-description {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--cream);
    opacity: 0.9;
    line-height: 1.7;
}

.modal-price-section,
.modal-status-section {
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.modal-price-label,
.modal-status-label {
    font-family: 'Philosopher', sans-serif;
    font-size: 0.85rem;
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.modal-prices {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-price {
    font-family: 'Philosopher', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cream);
}

.modal-price-old {
    font-size: 1.3rem;
    color: var(--cream);
    opacity: 0.5;
    text-decoration: line-through;
}

.modal-price-promo {
    color: var(--saffron);
    position: relative;
}

.modal-discount {
    display: inline-block;
    background: linear-gradient(135deg, #E63946, #FF006E);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.modal-status-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-status-value {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
}

.modal-status-available {
    background: linear-gradient(135deg, #0F5132, #25D366);
    color: white;
}

.modal-status-rented {
    background: linear-gradient(135deg, #C75B39, #E63946);
    color: white;
}

.modal-whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
}

.modal-whatsapp-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .article-modal-content {
        margin: 5% 1rem;
        max-width: 100%;
    }

    .article-modal-body {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-price {
        font-size: 1.5rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .nav { padding: 1rem 2rem; }
    .nav-links { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 3.5rem; }
    .about-image img { height: 400px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item { max-width: 100%; }
}
/* --- HERO SLIDER (EFFET KEN BURNS) --- */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #000; /* Fond noir par sécurité */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top; /* On focalise sur le haut (visage/buste) */
    opacity: 0;
    transform: scale(1);
    animation: kenBurns 24s infinite linear; 
}

/* Séquençage des 3 images (boucle de 24s au total) */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 8s; }
.slide:nth-child(3) { animation-delay: 16s; }

@keyframes kenBurns {
    0% { opacity: 0; transform: scale(1); }
    4% { opacity: 1; }  /* Apparition rapide */
    33.33% { opacity: 1; transform: scale(1.15); } /* Zoom lent pendant l'affichage */
    37.33% { opacity: 0; } /* Disparition */
    100% { opacity: 0; transform: scale(1.15); }
}

/* Ajustement de l'overlay pour bien voir les images */
.hero-overlay {
    background: linear-gradient(to bottom, rgba(26,26,46,0.4), rgba(26,26,46,0.9));
    z-index: 1;
}

/* --- SCROLL DOWN INDICATOR --- */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.scroll-down:hover { opacity: 1; }

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--saffron);
    border-radius: 20px;
    display: block;
    position: relative;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.wheel {
    width: 4px;
    height: 6px;
    background: var(--saffron);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

.arrow {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--saffron);
    border-right: 2px solid var(--saffron);
    transform: rotate(45deg) translateX(-50%);
    margin: 8px auto 0;
    animation: scrollArrow 2s infinite;
    animation-delay: 0.2s; /* Petit décalage sympa */
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

@keyframes scrollArrow {
    0% { opacity: 0; transform: rotate(45deg) translateX(-50%) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translateX(-50%) translate(5px, 5px); }
}
