/* =================================
   RESET ET BASE
================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =================================
   HERO SECTION
================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(45deg, #ea580c, #dc2626);
    background-image: url('https://images.unsplash.com/photo-1702827496401-216be3f435d0');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    background: rgba(251, 191, 36, 0.9);
    padding: 8px 16px;
    border-radius: 25px;
    display: inline-block;
    color: #1a1a1a;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.cta-button {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    border: none;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #15803d, #14532d);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(22, 163, 74, 0.5);
}

.cta-button i {
    margin-right: 10px;
}

/* =================================
   INFO SECTION
================================= */
.info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    text-align: center;
}

.info-item {
    background: white;
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.info-item i {
    font-size: 3rem;
    color: #ea580c;
    margin-bottom: 1.5rem;
    display: block;
}

.info-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #1f2937;
}

.info-item p {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* =================================
   PROMOTIONS SECTION
================================= */
.promotions-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.promo-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(234, 88, 12, 0.25);
    border-color: #ea580c;
}

.promo-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.promo-card:hover .promo-image img {
    transform: scale(1.1);
}

.promo-content {
    padding: 30px;
}

.promo-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.3;
}

.promo-content p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.promo-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ea580c;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(135deg, #fed7aa, #fdba74);
    padding: 15px;
    border-radius: 12px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.promo-dates {
    color: #6b7280;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 25px;
    font-style: italic;
}

.promo-order-btn {
    width: 100%;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-order-btn:hover {
    background: linear-gradient(135deg, #15803d, #14532d);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(22, 163, 74, 0.3);
}

/* =================================
   NEWSLETTER SECTION
================================= */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.newsletter-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fbbf24;
    line-height: 1.2;
}

.newsletter-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.subscription-form {
    display: grid;
    gap: 20px;
}

.subscription-form input {
    padding: 18px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-family: inherit;
}

.subscription-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3);
    background: white;
    transform: scale(1.02);
}

.subscribe-btn {
    background: #25d366;
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subscribe-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.alert {
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    border: 2px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* =================================
   MENU SECTION
================================= */
.menu-section {
    padding: 100px 0;
    background: linear-gradient(to bottom right, #fef3c7, #fed7aa);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
    font-weight: 700;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ea580c, #dc2626);
    border-radius: 2px;
}

.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 4rem;
}

.category-btn {
    background: transparent;
    border: 2px solid #ea580c;
    color: #ea580c;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-btn:hover,
.category-btn.active {
    background: #ea580c;
    color: white;
    box-shadow: 0 5px 20px rgba(234, 88, 12, 0.4);
    transform: translateY(-2px);
}

.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.menu-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    opacity: 1;
    transform: scale(1);
}

.menu-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.menu-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.menu-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(1.05) contrast(1.1);
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.15);
    filter: brightness(1.1) contrast(1.15);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(234, 88, 12, 0.95);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.menu-card-content {
    padding: 25px;
}

.menu-item-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
    line-height: 1.4;
    min-height: 30px;
    display: flex;
    align-items: center;
}

.menu-item-description {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.price {
    background: linear-gradient(135deg, #fed7aa, #fdba74);
    color: #ea580c;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
    border: 2px solid rgba(234, 88, 12, 0.2);
}

.order-btn {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-btn:hover {
    background: linear-gradient(135deg, #15803d, #14532d);
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.4);
}

.order-btn i {
    margin-right: 8px;
}

/* =================================
   FOOTER
================================= */
.footer {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: white;
    padding: 80px 0 40px;
    text-align: center;
}

.footer h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
}

.footer-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-info p {
    color: #9ca3af;
    font-size: 1rem;
    margin: 8px 0;
    font-weight: 500;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 5px 0;
}

/* =================================
   ANIMATIONS ET EFFETS
================================= */
@keyframes shimmer {
    0% { 
        background-position: -200px 0; 
    }
    100% { 
        background-position: calc(200px + 100%) 0; 
    }
}

.menu-card-image img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 0px, #e0e0e0 40px, #f0f0f0 80px);
    background-size: 300px;
    animation: shimmer 1.5s ease-in-out infinite;
}

/* =================================
   RESPONSIVE DESIGN
================================= */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 80vh;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 6px 12px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .category-nav {
        padding: 0 20px;
    }
    
    .menu-container {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .newsletter-form {
        padding: 30px 25px;
    }
    
    .promotions-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .promo-value {
        font-size: 1.8rem;
    }
    
    .newsletter-text h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .menu-card-image {
        height: 200px;
    }
    
    .menu-item-name {
        font-size: 1.1rem;
        min-height: 50px;
    }
    
    .category-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    .cta-button {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* =================================
   UTILITAIRES
================================= */
.no-menu {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.no-menu p {
    font-size: 1.2rem;
    color: #6b7280;
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus pour l'accessibilité */
button:focus,
input:focus,
.category-btn:focus {
    outline: 3px solid rgba(234, 88, 12, 0.5);
    outline-offset: 2px;
}