/* Reset & Base */
:root {
    /* Palette Inspired by Restaurant Image - Light Theme Version */
    --primary: #d4af37;
    /* Metallic Gold (Lighting) */
    --secondary: #2c3e50;
    /* Dark Blue/Charcoal for Text/Headers */
    --accent: #008080;
    /* Teal (Chairs) */
    --wood: #5d4037;
    /* Wood Panels */

    --bg-body: #fdfbf7;
    /* Light Cream Background */
    --text-main: #333333;
    --text-muted: #666666;

    --gold: #d4af37;
    --white: #ffffff;

    --font-head: 'Cormorant Garamond', 'Cairo', serif;
    --font-body: 'Montserrat', 'Cairo', sans-serif;
    --font-script: 'Great Vibes', 'Cairo', cursive;
}

.script-font {
    font-family: var(--font-script);
}

/* RTL Support - Global overrides */
html[dir="rtl"] {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .script-font {
    font-family: 'Cairo', sans-serif;
    /* Fallback to standard Arabic font for script areas */
    font-weight: 700;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: var(--bg-body);
    /* Light Theme */
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Animation (Harmonious Floating) */
.food-animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    /* Ensure visibility, but check pointer-events */
    overflow: hidden;
    pointer-events: none;
}

.floating-food {
    position: fixed;
    bottom: -150px;
    width: 60px;
    height: auto;
    opacity: 0;
    user-select: none;
    pointer-events: none;
    /* Extremely slow, heavy vertical animation */
    animation: floatUp 60s linear infinite;
    /* Subtle ghostly look */
    filter: brightness(0.9) grayscale(0.3);
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
        bottom: -150px;
    }

    15% {
        opacity: 0.15;
        /* Barely visible */
    }

    50% {
        transform: translateY(-50vh) rotate(90deg);
        /* Slow rotation */
        opacity: 0.12;
    }

    85% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(-120vh) rotate(180deg);
        /* Full vertical travel */
        opacity: 0;
        bottom: -150px;
    }
}

.food-1 {
    width: 70px;
    left: 10%;
    animation-duration: 50s;
    animation-delay: 0s;
}

.food-2 {
    width: 90px;
    right: 15%;
    animation-duration: 70s;
    /* Extremely slow */
    animation-delay: 8s;
}

.food-3 {
    width: 60px;
    left: 20%;
    animation-duration: 60s;
    animation-delay: 20s;
}

/* Ensure Links transition nicely */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

/* Global Section Title */
.section-title {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Main Container */
.container {
    max-width: 98%;
    /* Ã‰largi pour rÃ©duire les bordures latÃ©rales */
    margin: 0 auto;
    padding: 0 10px;
}

.container.main-content {
    /* Encore plus large et moins de padding pour le contenu principal */
    max-width: 100%;
    padding: 0 5px;
}

/* Floating Cart Styles */
.floating-cart-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(192, 57, 43, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.floating-cart-btn:hover {
    transform: scale(1.1) rotate(-5deg);
    background: #a93226;
    box-shadow: 0 15px 35px rgba(192, 57, 43, 0.6);
}

.cart-icon {
    font-size: 1.8rem;
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    border: 3px solid white;
}

/* Bottom Sheet Cart (Right Aligned Popup) */
.bottom-sheet-cart {
    position: fixed;
    bottom: -100%;
    /* Hidden */
    right: 30px;
    /* Align with button */
    left: auto;
    /* Remove center alignment */
    transform: none;
    /* Remove center transform */
    width: 360px;
    /* Fixed width for popup */
    max-width: 90%;
    height: auto;
    max-height: 70vh;
    /* Max height */
    background: white;
    z-index: 2500;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
}

.bottom-sheet-cart.open {
    bottom: 110px;
    /* Position above the FAB */
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 576px) {
    .bottom-sheet-cart {
        width: 100%;
        max-width: 100%;
        right: 0;
        left: 0;
        border-radius: 20px 20px 0 0;
        margin: 0;
        max-height: 85vh;
    }

    .bottom-sheet-cart.open {
        bottom: 0;
        /* Stick to bottom on mobile */
    }
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 2400;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.cart-overlay.open {
    display: block;
    opacity: 1;
}

.close-cart-btn {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #c0392b;
    font-size: 1.5rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-cart-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #c0392b;
}

/* Navbar */
.navbar {
    position: fixed;
    /* Fixed to viewport */
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    box-shadow: none;
    background: transparent;
    transition: all 0.4s ease;
    /* Smooth transition */
}

.navbar.scrolled {
    background: rgba(20, 20, 20, 0.95);
    /* Dark background */
    backdrop-filter: blur(10px);
    /* Glass effect */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    height: 80px;
    /* Slightly compact on scroll */
}

/* Fix container inside navbar to be full width responsive */
.navbar .container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-extras {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2002;
    /* Above mobile menu */
}

/* Confirmed Orders Styles */
.confirmed-orders-section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    margin-top: 20px;
    background: #fafafa;
    /* Slight distinction */
    border-radius: 0 0 20px 20px;
    /* Match popup bottom */
    padding-bottom: 20px;
}

.confirmed-orders-title {
    font-size: 1rem;
    color: var(--secondary);
    margin: 0 20px 15px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirmed-orders-title::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gold);
}

.confirmed-order-card {
    background: white;
    border: none;
    /* Removed border for cleaner look */
    border-radius: 15px;
    padding: 15px;
    margin: 0 20px 15px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.confirmed-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.confirmed-order-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary);
    opacity: 0.8;
}

.confirmed-order-card.status-modified::before {
    background: #f39c12;
}

.confirmed-order-card.status-completed::before {
    background: #27ae60;
}

.confirmed-order-card.status-pending::before {
    background: #95a5a6;
}


.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.order-id {
    font-weight: 800;
    color: var(--secondary);
    font-size: 0.95rem;
}

.order-status {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-completed {
    background: #d5f5e3;
    color: #27ae60;
}

.status-pending {
    background: #f2f3f4;
    color: #7f8c8d;
}

.status-modified {
    background: #fdebd0;
    color: #f39c12;
}

/* =========================================
   About Page / Nos Espaces Styles (Grid & Polish)
   ========================================= */

.about-page-wrapper {
    width: 100%;
    overflow-x: hidden;
    padding-bottom: 50px;
    background-color: var(--bg-body);
}

/* Scoped Image Sizing Fix */
.about-page-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Find Us Section */
.find-us-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.map-toggle-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-toggle-map {
    background: #f1f2f6;
    border: 1px solid #dfe4ea;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-toggle-map.active,
.btn-toggle-map:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.map-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 
   VERTICAL STACK LAYOUT IMPLEMENTATION
   ------------------------------------
*/
/* About Content Container (The Stack) */
.about-container {
    max-width: 1000px;
    /* Constrain width for a balanced single column */
    width: 100%;
    margin: 0 auto;
    /* Strict Centering */
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    /* Lighter uniform spacing */
    align-items: center;
}

/* Ensure Page Title spans full width */
.about-container>.section-title {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

/* About Sections Animation */
.about-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
    width: 100%;
    /* Full width of container */
    margin: 0 !important;
    /* Remove any individual margins to respect the gap */
    display: flex;
    flex-direction: column;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-style {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    width: 100%;
}

.card-style:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.text-content {
    padding: 40px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: left;
    border-left: 5px solid var(--primary);
    background: white;
}

/* Uniform Media Content Wrappers */
.image-wrapper,
.video-wrapper {
    width: 100%;
    height: 500px;
    /* Fixed large height */
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    background: #000;
}

.image-wrapper img,
.video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 
   PACK CARDS (PREMIUM LOOK) 
   -------------------------
*/
.pack-card {
    background: transparent;
    /* Remove white bg to let items breathe */
    border-radius: 0;
    /* Reset radius for cleaner stack look */
    overflow: visible;
    /* Allow shadow or title to sit naturally */
    box-shadow: none;
    /* Remove card shadow for flatter, cleaner look */
    display: flex;
    flex-direction: column;
    width: 100%;
    border: none;
    transition: transform 0.3s ease;
}

.pack-card:hover {
    transform: none;
    /* Disable lift on full card */
}

/* New Title Styling (Above Image) */
.pack-header {
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
    /* Space between title and image */
    position: relative;
    z-index: 2;
}

.pack-header h3 {
    color: var(--primary);
    /* Gold/Primary color instead of white */
    font-family: var(--font-head);
    font-size: 2.8rem;
    /* Large and elegant */
    margin: 0;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: none;
    /* Clean text, no shadow needed on white/grey bg */
}

.pack-header h3::after {
    display: none;
}

/* Image Container */
.pack-top {
    height: 500px;
    /* Match media height */
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    /* Rounded corners for the image itself */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Shadow on the image */
}

.pack-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.pack-overlay {
    /* Minimal overlay just to darken image slightly if needed, or remove completely */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.pack-bottom {
    padding: 30px 0;
    /* Vertical padding only */
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pack-body {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    /* Center text block */
}

/* 
   RESPONSIVE
   ----------
*/
@media (max-width: 600px) {
    .about-container {
        padding: 0 15px;
        gap: 60px;
    }

    .pack-top,
    .image-wrapper,
    .video-wrapper {
        height: 280px;
    }

    .pack-header h3 {
        font-size: 2rem;
    }

    .text-content {
        padding: 0;
        /* Remove padding for text blocks */
    }
}

.order-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.order-date {
    font-size: 0.8rem;
    color: #999;
}

.order-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-modify,
.btn-delete {
    padding: 8px;
    font-size: 0.85rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-modify {
    background: var(--secondary);
    color: white;
}

.btn-modify:hover {
    background: #34495e;
    box-shadow: 0 4px 10px rgba(44, 62, 80, 0.3);
}

.btn-delete {
    background: #fff0f0;
    color: #c0392b;
}

.btn-delete:hover {
    background: #fdf2f2;
    transform: translateY(-1px);
}

.editing-banner {
    background: #fff3cd;
    color: #856404;
    padding: 12px 20px;
    margin: 10px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #ffeeba;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.editing-banner button {
    background: transparent;
    border: 1px solid rgba(133, 100, 4, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    color: #856404;
    transition: all 0.2s;
}

.editing-banner button:hover {
    background: rgba(133, 100, 4, 0.1);
    border-color: #856404;
}

/* Item Modal Styles */
/* Video Background Styles */
.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.navbar-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    /* LÃ©gÃ¨re transparence */
}

.navbar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.85);
    /* Overlay sombre Ã©lÃ©gant */
    backdrop-filter: blur(5px);
    /* Effet frosted glass moderne */
    z-index: 1;
}

.cart-header {
    padding: 20px;
    background: var(--secondary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
    /* Match popup radius */
}

.cart-header h2 {
    margin: 0;
    font-size: 1.2rem;
    text-align: start;
    /* Logical property */
    width: auto;
    display: block;
}

.cart-header h2::after {
    content: none;
    display: none;
}

/* Navbar Content */
.navbar .container {
    position: relative;
    z-index: 2;
    /* Au-dessus de la vidÃ©o */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Override padding inherited from .container if needed, but standard is fine */
}

.logo {
    font-family: var(--font-script);
    font-size: 2.2rem;
    font-weight: 400;
    color: #fff;
    /* Texte blanc sur fond sombre */
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    z-index: 1000;
    /* Ensure on top */
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px auto;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    /* Couleur dorÃ©e au survol */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease-in-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Lang Switcher Style */
.lang-switcher {
    border-left: 1px solid #ddd;
    padding-left: 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 1rem;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-attachment: fixed;
    /* Parallax effect */
    background-position: center;
    color: #fff;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    animation: hero-zoom 30s infinite alternate;
}

@keyframes hero-zoom {
    0% {
        background-size: 110%;
    }

    100% {
        background-size: 120%;
    }
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
    animation: fadeUp 1s ease-out 0.3s backwards;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    background: linear-gradient(45deg, #c0392b, #d35400);
    /* Rich gradient */
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(192, 57, 43, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: fadeUp 1s ease-out 0.6s backwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn:hover {
    background: linear-gradient(45deg, #d35400, #c0392b);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(192, 57, 43, 0.5);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Main Slider Styles (Pizzu Inspirations)
   ========================================= */
.main-slider-section {
    position: relative;
    width: 100%;
    height: 700px;
    /* Taller hero */
    background-color: #111;
    overflow: hidden;
    color: white;
    margin-bottom: 0;
}

/* Torn Paper Bottom Shape */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 10;
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
    fill: #ffffff;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered content */
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Darker overlay overall for better readability when centered */
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.slide-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center horizontally */
}

/* Text Section */
.slide-text {
    max-width: 900px;
    /* Wider for centered text */
    text-align: center;
    margin: 0 auto;
}

/* RTL Adjustment - Force Center too */
html[dir="rtl"] .slide-text {
    text-align: center;
}

.slide-text h1 {
    font-family: var(--font-head);
    font-size: 4.5rem;
    /* Larger */
    font-weight: 700;
    text-transform: uppercase;
    /* Uppercase */
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(40px);
    animation: slideUpFade 1s forwards 0.3s;
}

.slide-text p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #eee;
    line-height: 1.6;
    max-width: 90%;
    opacity: 0;
    transform: translateY(40px);
    animation: slideUpFade 1s forwards 0.5s;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
}

.slide-btns {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUpFade 1s forwards 0.7s;
    display: flex;
    justify-content: center;
    /* Center buttons */
    gap: 15px;
    /* Spacing between buttons */
    flex-wrap: wrap;
}

.slide-btns .btn-outline {
    min-width: 180px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    background: #fbc531;
    /* Gold/Yellow */
    color: #1a1a1a;
    /* Dark text */
    border: none;
    padding: 8px 16px;
    /* Very compact padding */
    width: fit-content;
    /* Dynamic width */
    display: inline-block;
    /* Ensure width works */
    border-radius: 50px;
    font-size: 1rem;
    /* Slightly smaller text */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(251, 197, 49, 0.4);
    /* Glow effect */
}

.btn-primary:hover {
    transform: translateY(-5px);
    background: #e1b12c;
    /* Darker gold */
    box-shadow: 0 10px 30px rgba(251, 197, 49, 0.6);
    color: #000;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 8px 16px;
    width: fit-content;
    display: inline-block;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    text-decoration: none;
}

.btn-outline:hover {
    background: #fbc531;
    border-color: #fbc531;
    color: #1a1a1a;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(251, 197, 49, 0.4);
}

/* Animations */
@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.4;
    width: 12px;
    height: 12px;
    margin: 0 8px !important;
}

.swiper-pagination-bullet-active {
    background: #e74c3c;
    opacity: 1;
    width: 30px;
    border-radius: 10px;
    transition: width 0.3s, background-color 0.3s;
}

/* Responsive */
@media (max-width: 992px) {
    .main-slider-section {
        height: 500px;
    }

    .slide-text h1 {
        font-size: 2.8rem;
    }

    .slide-overlay {
        background: rgba(0, 0, 0, 0.6);
    }

    .slide-content-wrapper {
        justify-content: center;
        text-align: center;
    }

    .slide-text {
        text-align: center;
    }

    html[dir="rtl"] .slide-text {
        text-align: center;
    }

    /* Compact Buttons on Mobile/Tablet */
    .slide-btns .btn-outline {
        min-width: 120px;
        /* Reduced from 180px */
        padding: 6px 12px;
        /* Reduced padding */
        font-size: 0.9rem;
        /* Slightly smaller font */
    }

    .slide-btns {
        gap: 10px;
        /* Reduced gap */
    }
}

.swiper-pagination-bullet-active {
    background: #f39c12;
    opacity: 1;
    width: 30px;
    border-radius: 10px;
    transition: width 0.3s;
}

/* Language Modal */
.language-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.language-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.language-modal-content {
    background: linear-gradient(135deg, #2c3e50, #1a1a1a);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.language-modal-overlay.show .language-modal-content {
    transform: translateY(0);
}

.language-modal-content h2 {
    font-family: var(--font-head);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.language-modal-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.5;
}

.language-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.lang-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    flex: 1;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.2);
}

.lang-option .flag {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.lang-option .lang-name {
    font-family: var(--font-body);
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .main-slider-section {
        height: auto;
        /*min-height: 480px;*/
        /* Reduced to minimize vertical space */
        padding-bottom: 50px;
        /* Reduced padding */
    }

    .slide-content-wrapper {
        flex-direction: column-reverse;
        /* Text on bottom, Image on top for mobile? Or stack normally? */
        /* Let's stack text above image or vice versa. 
           Usually Mobile: Image Top, Text Bottom. Or Text Top. 
           Let's do Column Reverse: Text Bottom. */
        justify-content: center;
        text-align: center !important;
        padding-top: 40px;
    }

    .slide-text {
        text-align: center !important;
        margin-top: 60px;
        /* Moved down a bit */
        z-index: 6;
    }

    html[dir="ltr"] .slide-text,
    html[dir="rtl"] .slide-text {
        text-align: center;
    }

    .slide-text h1 {
        font-size: 2.2rem;
    }

    .main-slider-section {
        height: 65vh;
        /* Reduced from 100vh to minimized height */
        padding-bottom: 0;
    }

    .swiper-slide {
        background-size: cover;
        /* Fill the screen */
        background-repeat: no-repeat;
        background-position: center;
        height: 65vh;
        width: 100% !important;
        /* Ensure full width */
    }

    .slide-image img {
        width: 80%;
        max-width: 350px;
        margin-bottom: 20px;
    }
}

/* Sections */
h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    width: 100%;
}

h2::after {
    display: none;
}

/* Grid & Cards */
/* Grid & Cards */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 4rem;
}

.category-grid {
    display: grid;
    /* 4 colonnes sur grand écran */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* Gap légèrement réduit pour faire tenir */
    padding: 0 20px 4rem;
    margin-top: 60px;
}

/* Responsive pour la grille catÃ©gories */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
}

/* Override inline style for bg */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    text-align: center;
    color: white;
}

.card-content h3 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--gold);
}

/* Footer */
/* Footer */
.footer {
    margin-top: auto;
    position: relative;
    /* For overlay positioning */
    background-color: #1a1a1a;
    /* Fallback */
    background-image: url('../img/footerBG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #cccccc;
    /* Slightly lighter text for better contrast */
    text-align: center;
    padding: 3rem 0;
    border-top: 3px solid var(--primary);
    z-index: 1;
    /* Establish stacking context */
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    /* Strong dark overlay */
    z-index: -1;
    /* Behind the content */
}

/* Forms (Admin) */
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

/* Responsive */
@media (max-width: 768px) {

    /* Navbar Mobile Styles */
    .menu-toggle {
        display: flex;
        /* Show hamburger */
        z-index: 2001;
        /* Ensure above the menu (z-index 2000) */
        position: relative;
        /* Ensure z-index works */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        height: 100vh;
        width: 70%;
        /* Slide out width */
        max-width: 300px;
        max-width: 300px;
        background-color: #2c3e50;
        /* Solid background for mobile menu */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 2000;
        /* Ensure on top of everything */
    }

    .nav-links.active {
        right: 0;
        /* Slide in */
    }

    /* Animate Hamburger to X */
    .menu-toggle.is-active .bar {
        background-color: white;
        /* Make sure it's visible on the dark/blue menu bg */
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Hero Typography Mobile */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }
}

/* Category and Menu Cards Enhanced */
.category-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: none;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category-card img {
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.05);
    /* Smooth zoom */
}

h1,
h2,
h3 {
    font-family: var(--font-head);
    letter-spacing: -0.02em;
    /* Tighter for display fonts */
}

p {
    font-family: var(--font-body);
    font-weight: 300;
    /* Lighter reading */
}

/* Navbar Language Dropdown */
.lang-dropdown-container {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

.lang-dropbtn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-dropbtn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold);
}

.lang-dropbtn .arrow {
    font-size: 0.7rem;
    color: var(--gold);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 150px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10000;
}

.lang-dropdown-container:hover .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-menu a {
    display: flex !important;
    /* Override navbar a styles */
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: white;
    font-size: 0.95rem;
    transition: background 0.2s;
    white-space: nowrap;
}

.lang-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
}

.flag-icon {
    font-size: 1.2rem;
}

/* Footer Social Icons */
.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(192, 57, 43, 0.4);
    border-color: var(--primary);
}

/* Moved from header.php */
html[dir="rtl"] .nav-links {
    padding-right: 0;
}

html[dir="rtl"] .logo {
    margin-left: 20px;
}

.lang-switcher a {
    margin: 0 5px;
    text-decoration: none;
    font-size: 0.9em;
}

.lang-switcher a.active {
    font-weight: bold;
    text-decoration: underline;
}


/* =========================================
   About Page / Nos Espaces Styles (Refined)
   ========================================= */

/* =========================================
   About Page / Nos Espaces Styles (Refined)
   ========================================= */

.about-page-wrapper {
    width: 100%;
    overflow-x: hidden;
    padding-bottom: 50px;
    background-color: var(--bg-body);
    /* Flex column to align children centrally if needed, though block is fine */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center children horizontally */
}

/* Scoped Image Sizing Fix */
.about-page-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Find Us Section */
.find-us-section {
    width: 100%;
    /* Ensure full width background */
    padding: 60px 0;
    background: #fff;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: center;
    /* Center content within section */
}

/* Ensure inner container of Find Us is centered */
.find-us-section .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.map-toggle-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-toggle-map {
    background: #f1f2f6;
    border: 1px solid #dfe4ea;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-toggle-map.active,
.btn-toggle-map:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.map-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    overflow: hidden;
    /* WebKit Bug Fix for Iframe Border Radius */
    transform: translateZ(0);
    isolation: isolate;
}

/* About Content Container (The Grid) */
/* About Content Container (The Stack) */
.about-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    /* Strict Centering */
    padding: 0 20px;
    display: flex;
    /* Vertical Stack */
    flex-direction: column;
    gap: 50px;
    /* Uniform spacing */
    align-items: center;
}

/* Ensure Page Title spans full width */
.about-container>.section-title {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

/* About Sections */
.about-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
    width: 100%;
    margin: 0 !important;
    /* Reset margins */
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-style {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    width: 100%;
}

.card-style:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.text-content {
    padding: 40px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: left;
    border-left: 5px solid var(--primary);
}

.image-wrapper,
.video-wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    background: #000;
}

.image-wrapper img,
.video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Pack Cards (Classic Overlay Style) */
.pack-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.pack-card:hover {
    transform: translateY(-5px);
}

.pack-top {
    height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center Content (Title) */
    overflow: hidden;
}

.pack-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.pack-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.pack-header {
    position: relative;
    z-index: 10;
    /* Above overlay */
    padding: 20px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Overlay Title Styles (White, Shadow) */
.pack-header h3 {
    color: #ffffff;
    font-family: var(--font-head);
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
    text-align: center;
    letter-spacing: 1px;
}

.pack-header h3::after {
    display: none;
}

.pack-bottom {
    padding: 30px;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pack-body {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    .about-container {
        padding: 0 15px;
        gap: 40px;
    }

    .pack-top,
    .image-wrapper,
    .video-wrapper {
        height: 300px;
    }

    .pack-header h3 {
        font-size: 1.8rem;
    }

    .text-content {
        padding: 25px;
    }
}

.text-content,
.pack-body {
    padding: 25px;
    font-size: 1rem;
}

/* FIX: Force remove any top spacing causing white bar */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure Navbar is strictly at top */
.navbar {
    top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure no element pushes body down */
body>*:first-child {
    margin-top: 0 !important;
}