/* Reset et variables CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d5a27;
    --secondary-color: #8fbc8f;
    --accent-color: #f4a261;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #2d5a27 0%, #8fbc8f 100%);
    --gradient-accent: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    --gradient-hero: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #8fbc8f 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --blur-effect: blur(20px);
    --animation-duration: 0.6s;
    --bounce-timing: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Poppins', 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--background-light);
}

/* Police arabe pour les éléments en RTL */
[dir="rtl"] {
    font-family: 'Cairo', 'Poppins', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation améliorée avec glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
}

.nav-logo h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-logo:hover h2::after {
    transform: scaleX(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: transparent;
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--glass-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.15);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Section Hero améliorée avec effets avancés */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.2;
}



.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 15px 35px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    outline: none;
    box-shadow: var(--shadow);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(45, 90, 39, 0.4);
    animation: pulse 1s infinite;
}

.btn:focus-visible {
    outline: 3px solid rgba(141, 198, 145, 0.6);
    outline-offset: 2px;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(45, 90, 39, 0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-img {
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    object-fit: cover;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
    position: relative;
}

.hero-img:hover {
    transform: scale(1.02) rotate(1deg);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Sections générales améliorées */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Café améliorée */
.cafe-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.cafe-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--background-light), transparent);
}

.cafe-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cafe-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.cafe-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.cafe-item:hover::before {
    transform: scaleX(1);
}

.cafe-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.cafe-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.cafe-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

.cafe-item:hover .cafe-card img {
    transform: scale(1.1);
}

.cafe-label {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.2px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme .cafe-label {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-dark);
}

/* Section Restaurant améliorée */
.restaurant-section {
    padding: 80px 0 80px 0;
    background: var(--background-light);
    position: relative;
}

.restaurant-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), transparent);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: static;
    background: var(--background-light);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-btn {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.category-btn:hover::before,
.category-btn.active::before {
    left: 0;
}

.category-btn.active,
.category-btn:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.menu-item:hover::before {
    transform: scaleX(1);
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.menu-image {
    height: 200px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.menu-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

/* Prix overlay élégant */
.price-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.price-tag {
    background: linear-gradient(135deg, var(--accent-color) 0%, #e76f51 100%);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
}

.menu-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.menu-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex: 1;
    line-height: 1.6;
}

.order-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    align-self: flex-start;
    box-shadow: var(--shadow);
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 90, 39, 0.3);
}

/* Section Événements Spéciaux */
.events-section {
    padding: 80px 0;
    background: var(--background-light);
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), transparent);
}

.events-hero {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.events-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.events-hero:hover img {
    transform: scale(1.05);
}

.events-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.8) 0%, rgba(143, 188, 143, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.events-hero-overlay h3 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.events-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.events-intro {
    margin-bottom: 3rem;
}

.events-description {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 2rem;
}

.special-dishes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dish-item {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dish-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.dish-item:hover::before {
    transform: scaleX(1);
}

.dish-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.dish-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dish-item:hover .dish-image img {
    transform: scale(1.1);
}

.dish-content {
    padding: 2rem;
    text-align: center;
}

.dish-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.dish-item:hover .dish-icon {
    transform: scale(1.1) rotate(5deg);
}

.dish-icon i {
    font-size: 2rem;
    color: var(--white);
}

.dish-item h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.events-cta {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.events-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.cta-text {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.cta-buttons .btn:hover::before {
    left: 0;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Responsive pour la section événements */
@media (max-width: 768px) {
    .events-hero {
        height: 200px;
        margin-bottom: 2rem;
    }
    
    .events-hero-overlay h3 {
        font-size: 1.5rem;
    }
    
    .special-dishes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dish-image {
        height: 150px;
    }
    
    .events-cta {
        padding: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Section Contact améliorée */
.contact-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--background-light), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-hover);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    background: rgba(45, 90, 39, 0.1);
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.5;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius);
}

/* Modal améliorée */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: var(--primary-color);
    background: rgba(45, 90, 39, 0.1);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
}

.order-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.order-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    min-width: 180px;
    justify-content: center;
    box-shadow: var(--shadow);
}

.order-option.phone {
    background: var(--gradient-primary);
    color: var(--white);
}

.order-option.phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(45, 90, 39, 0.3);
}

.order-option.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
}

.order-option.whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

/* Footer amélioré */
.footer {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    opacity: 0.3;
}

.footer .container {
    position: relative;
    z-index: 1;
}

/* Responsive Design amélioré */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-categories {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .order-options {
        flex-direction: column;
        align-items: center;
    }
    
    .order-option {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cafe-gallery {
        grid-template-columns: 1fr;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Animations améliorées */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cafe-item,
.menu-item,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Staggered animations améliorées */
.menu-item:nth-child(1) { animation-delay: 0.05s; }
.menu-item:nth-child(2) { animation-delay: 0.1s; }
.menu-item:nth-child(3) { animation-delay: 0.15s; }
.menu-item:nth-child(4) { animation-delay: 0.2s; }
.menu-item:nth-child(5) { animation-delay: 0.25s; }
.menu-item:nth-child(6) { animation-delay: 0.3s; }
.menu-item:nth-child(7) { animation-delay: 0.35s; }
.menu-item:nth-child(8) { animation-delay: 0.4s; }

.cafe-item:nth-child(1) { animation-delay: 0.05s; }
.cafe-item:nth-child(2) { animation-delay: 0.1s; }
.cafe-item:nth-child(3) { animation-delay: 0.15s; }
.cafe-item:nth-child(4) { animation-delay: 0.2s; }
.cafe-item:nth-child(5) { animation-delay: 0.25s; }
.cafe-item:nth-child(6) { animation-delay: 0.3s; }

/* Section divider waves améliorées */
.section-divider {
    height: 80px;
    overflow: hidden;
    background: transparent;
    position: relative;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

.section-divider path {
    fill: var(--background-light);
}

.section-divider.flip path {
    fill: var(--white);
}

/* Custom scrollbars améliorées */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) transparent;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

/* Dark theme amélioré */
.dark-theme {
    --text-dark: #e6e6e6;
    --text-light: #b5b5b5;
    --background-light: #111417;
    --white: #161a1d;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.dark-theme .navbar {
    background: rgba(22, 26, 29, 0.9);
}

.dark-theme .navbar.scrolled {
    background: rgba(22, 26, 29, 0.98);
}

.dark-theme .nav-link::after {
    background: var(--secondary-color);
}

.dark-theme .btn-secondary {
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.dark-theme .btn-secondary:hover {
    color: #ffffff;
}

.dark-theme .cafe-item,
.dark-theme .menu-item,
.dark-theme .contact-item {
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-theme .map-placeholder {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}



/* Amélioration du focus pour l'accessibilité */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Amélioration des transitions globales */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Loading animation améliorée */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Theme toggle button amélioré */
.theme-toggle {
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 1rem;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--primary-color);
    background: rgba(45, 90, 39, 0.1);
    transform: translateY(-1px);
}

/* Language toggle button - Style lampe marche/arrêt */
.language-toggle {
    border: none;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 60px;
    height: 35px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
    position: relative;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.language-toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 31px;
    height: 31px;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.language-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 0 10px var(--accent-color);
}

.language-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.language-toggle:hover::before {
    box-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.language-toggle:hover::after {
    opacity: 0.3;
    box-shadow: 0 0 15px var(--accent-color);
}

.language-toggle:active {
    transform: translateY(0);
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.language-toggle:active::before {
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.language-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    z-index: 3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Animation de clic */
.language-toggle.clicked::before {
    transform: translateX(25px);
    background: linear-gradient(145deg, var(--accent-color), #e67e22);
}

.language-toggle.clicked::after {
    opacity: 1;
    box-shadow: 0 0 20px var(--accent-color);
}

.language-toggle.clicked .language-text {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Navbar scrolled effect amélioré */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}



/* Floating WhatsApp CTA amélioré */
.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: auto;
    height: 60px;
    border-radius: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    box-shadow: var(--shadow-hover);
    z-index: 1500;
    transition: var(--transition);
    animation: pulse 2s infinite;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

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

.floating-whatsapp:hover {
    transform: translateY(-3px) scale(1.03);
    animation: none;
}

.floating-whatsapp i {
    font-size: 1.5rem;
    order: 2;
}

.whatsapp-text {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    line-height: 1;
    order: 1;
}

/* Styles pour la direction RTL (arabe) */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .section-title,
[dir="rtl"] .section-subtitle {
    text-align: right;
}

[dir="rtl"] .contact-item {
    text-align: right;
}

[dir="rtl"] .language-toggle {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .language-toggle.clicked::before {
    transform: translateX(-25px);
}

[dir="rtl"] .theme-toggle {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .floating-whatsapp {
    right: auto;
    left: 20px;
}

[dir="rtl"] .back-to-top {
    right: auto;
    left: 20px;
}

/* Back to top button amélioré */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 86px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1500;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* Hero decorative shapes améliorées */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

.hero::before {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 30% 30%, rgba(141, 198, 145, 0.35), rgba(45, 90, 39, 0.0));
    top: 80px;
    left: -60px;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle at 70% 70%, rgba(244, 162, 97, 0.25), rgba(45, 90, 39, 0.0));
    bottom: 40px;
    right: -80px;
    animation: float 8s ease-in-out infinite reverse;
}

/* Adjustments for mobile for floating buttons */
@media (max-width: 480px) {
    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        width: auto;
        height: 50px;
        padding: 0 15px;
        gap: 6px;
    }
    .floating-whatsapp i {
        font-size: 1.3rem;
    }
    .whatsapp-text {
        font-size: 0.8rem;
    }
    .back-to-top {
        right: 14px;
        bottom: 74px;
        width: 40px;
        height: 40px;
    }
}

/* Ripple effect styles */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Nouvelles animations et effets visuels */
@keyframes glow {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }
    100% {
        opacity: 0.3;
        transform: scale(1.1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 15px 35px rgba(45, 90, 39, 0.4);
    }
    50% {
        box-shadow: 0 15px 35px rgba(45, 90, 39, 0.6);
    }
    100% {
        box-shadow: 0 15px 35px rgba(45, 90, 39, 0.4);
    }
}

/* Effet de particules flottantes */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

/* Amélioration des cartes avec glassmorphism */
.cafe-item,
.menu-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    border: 1px solid var(--glass-border);
    transition: all 0.4s var(--bounce-timing);
}

.cafe-item:hover,
.menu-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

/* Effet de brillance sur les cartes */
.cafe-item::after,
.menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.cafe-item:hover::after,
.menu-item:hover::after {
    left: 100%;
}

/* Amélioration des boutons de catégorie */
.category-btn {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    border: 1px solid var(--glass-border);
    transition: all 0.3s var(--bounce-timing);
}

.category-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(45, 90, 39, 0.2);
}

/* Effet de parallaxe sur les images */
.parallax-image {
    transform: translateZ(0);
    will-change: transform;
}

/* Amélioration du modal */
.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    border: 1px solid var(--glass-border);
}

/* Effet de néon pour les éléments importants */
.neon-glow {
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
}

/* Animation de chargement améliorée */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(45, 90, 39, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.loading-overlay p {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Effet de morphing pour les formes */
.morphing-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% {
        border-radius: 50%;
        transform: rotate(0deg);
    }
    25% {
        border-radius: 25%;
        transform: rotate(90deg);
    }
    50% {
        border-radius: 50%;
        transform: rotate(180deg);
    }
    75% {
        border-radius: 25%;
        transform: rotate(270deg);
    }
}

/* Animation pour les particules de hover */
@keyframes hoverParticle {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    100% {
        opacity: 0;
        transform: scale(0) translateY(-50px);
    }
}

/* Animation pour les particules de section */
@keyframes sectionParticle {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.5) translateY(-30px);
    }
    100% {
        opacity: 0;
        transform: scale(0) translateY(-60px);
    }
}

/* ===== MODAL DE COMMANDE INTERACTIVE ===== */

/* Modal principale */
.order-modal {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: 2% auto;
}

/* Étapes de commande */
.order-step {
    display: none;
    padding: 2rem;
}

.order-step.active {
    display: block;
    animation: stepFadeIn 0.3s ease-out;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.order-step h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.step-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Sélection du menu */
.menu-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.menu-category h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.menu-item-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.menu-item-select:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.menu-item-select.has-items {
    border-color: var(--primary-color);
    background: rgba(45, 90, 39, 0.05);
}

.item-name {
    font-weight: 500;
    color: var(--text-dark);
    flex: 1;
}

.item-price {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.qty-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

.quantity {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
}

/* Résumé de commande */
.order-summary {
    background: var(--gradient-hero);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 2px solid var(--secondary-color);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.summary-header h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
}

.total-items {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.order-items {
    margin-bottom: 1rem;
}

.order-summary-header {
    display: grid;
    grid-template-columns: 2fr 1fr 0.5fr 1fr;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--secondary-color);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-item {
    display: grid;
    grid-template-columns: 2fr 1fr 0.5fr 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(45, 90, 39, 0.2);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-name {
    font-weight: 500;
    color: var(--text-dark);
}

.order-item-price {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
}

.order-item-quantity {
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    background: rgba(141, 198, 145, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    min-width: 30px;
}

.order-item-subtotal {
    color: var(--primary-color);
    font-weight: 600;
    text-align: right;
}

.order-summary-separator {
    height: 2px;
    background: var(--secondary-color);
    margin: 0.5rem 0;
    border-radius: 1px;
}

/* Responsive pour le résumé de commande */
@media (max-width: 768px) {
    .order-summary-header {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .order-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 2px solid rgba(45, 90, 39, 0.2);
    }
    
    .order-item-name {
        font-weight: 600;
        font-size: 1.1rem;
        color: var(--primary-color);
    }
    
    .order-item-price,
    .order-item-quantity,
    .order-item-subtotal {
        font-size: 0.9rem;
    }
    
    .order-item-quantity {
        display: inline-block;
        margin: 0 auto;
    }
}

/* Modal de commande restaurant spécifique */
.restaurant-order-modal {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.restaurant-order-container {
    padding: 2rem;
}

.restaurant-order-container h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.order-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Article principal sélectionné */
.selected-main-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--gradient-hero);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 2px solid var(--secondary-color);
}

.main-item-image {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.main-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-item-details {
    flex: 1;
}

.main-item-details h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.main-item-details p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.main-item-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Suggestion de boisson */
.drink-suggestion {
    margin-bottom: 2rem;
}

.drink-suggestion h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.drink-suggestion > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.drink-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.drink-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.drink-option:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.drink-option.selected {
    border-color: var(--primary-color);
    background: rgba(141, 198, 145, 0.1);
}

.drink-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.drink-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drink-info {
    flex: 1;
}

.drink-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.drink-info p {
    color: var(--text-light);
    font-weight: 500;
}

.drink-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drink-qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: var(--transition);
}

.drink-qty-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.drink-quantity-value {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
}

/* Résumé de commande restaurant */
.restaurant-order-summary {
    background: var(--gradient-hero);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 2px solid var(--secondary-color);
}

.restaurant-order-summary h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.restaurant-order-items {
    margin-bottom: 1rem;
}

.restaurant-order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(45, 90, 39, 0.2);
}

.restaurant-order-item:last-child {
    border-bottom: none;
}

.restaurant-order-item-name {
    font-weight: 500;
    color: var(--text-dark);
}

.restaurant-order-item-details {
    color: var(--text-light);
    font-size: 0.9rem;
}

.restaurant-total {
    text-align: right;
    font-size: 1.2rem;
    color: var(--primary-color);
    padding-top: 1rem;
    border-top: 2px solid var(--secondary-color);
}

/* Formulaire d'informations client */
.customer-info-form {
    background: var(--gradient-hero);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow);
}

.customer-info-form h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.customer-info-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 0;
}

.customer-info-form .form-group:last-child {
    margin-bottom: 0;
}

.customer-info-form .form-group label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.customer-info-form .form-group input,
.customer-info-form .form-group textarea {
    padding: 1rem;
    border: 2px solid rgba(45, 90, 39, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
    width: 100%;
    box-sizing: border-box;
}

.customer-info-form .form-group input:focus,
.customer-info-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
    background: var(--white);
}

.customer-info-form .form-group input::placeholder,
.customer-info-form .form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.customer-info-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

/* Boutons d'action */
.restaurant-order-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.restaurant-order-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive pour la modal restaurant */
@media (max-width: 768px) {
    .selected-main-item {
        flex-direction: column;
        text-align: center;
    }
    
    .main-item-image {
        width: 100px;
        height: 100px;
    }
    
    .drink-options {
        grid-template-columns: 1fr;
    }
    
    .drink-option {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .customer-info-form {
        padding: 1.2rem;
    }
    
    .customer-info-form .form-group input,
    .customer-info-form .form-group textarea {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    .restaurant-order-actions {
        flex-direction: column;
    }
    
    .restaurant-order-actions .btn {
        width: 100%;
    }
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 1rem;
}

.total-price {
    text-align: right;
    font-size: 1.2rem;
    color: var(--primary-color);
    padding-top: 1rem;
    border-top: 2px solid var(--secondary-color);
}

/* Informations client */
.customer-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--text-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Confirmation */
.confirmation-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.confirmation-section {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.confirmation-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Boutons d'étape */
.step-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.step-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary {
    background: var(--text-light);
    color: var(--white);
}

.btn-secondary:hover {
    background: #6c757d;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-success {
    background: #28a745;
    color: var(--white);
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .order-modal {
        width: 98%;
        margin: 1rem;
    }
    
    .menu-selection {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .menu-item-select {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .quantity-controls {
        order: 3;
    }
    
    .step-buttons {
        flex-direction: column;
    }
    
    .step-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animation pour les boutons de quantité */
.qty-btn:active {
    transform: scale(0.95);
}

/* Effet de pulsation pour les éléments sélectionnés */
.menu-item-select.has-items {
    animation: pulseSelected 2s ease-in-out infinite;
}

@keyframes pulseSelected {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(45, 90, 39, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(45, 90, 39, 0);
    }
}

/* Slider d'Images */
.image-slider-section {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
}

.slide-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}



/* Indicateurs */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .image-slider-section {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    

}

@media (max-width: 480px) {
    .image-slider-section {
        height: 300px;
    }
    
    .slide-content {
        padding: 1rem;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
}
