.restaurant {
    position: relative;
    overflow: hidden;
    min-height: auto;
    height: auto;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1a24 100%);
}

/* Arrière-plan avec icônes flottantes */
.restaurant-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    opacity: 0.08;
    animation: floatAround 20s infinite ease-in-out;
}

.icon-1 { top: 10%; left: 10%; animation-delay: 0s; }
.icon-2 { top: 20%; right: 15%; animation-delay: 2s; }
.icon-3 { bottom: 15%; left: 20%; animation-delay: 4s; }
.icon-4 { top: 60%; right: 10%; animation-delay: 6s; }
.icon-5 { bottom: 25%; right: 25%; animation-delay: 8s; }
.icon-6 { top: 40%; left: 15%; animation-delay: 10s; }

@keyframes floatAround {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg) scale(1.2);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) rotate(270deg) scale(1.1);
    }
}

.restaurant .container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    width: 100%;
}

/* Header de la section */
.restaurant-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
    }
}

.restaurant-header h2 {
    font-size: 3rem;
    margin: 10px 0;
}

.stars {
    font-size: 1.5rem;
    animation: shimmerStars 3s ease-in-out infinite;
}

@keyframes shimmerStars {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Cartes de fonctionnalités */
.restaurant-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 2px solid rgba(243, 156, 18, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #f39c12;
    box-shadow: 0 20px 40px rgba(243, 156, 18, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.highlight {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.15), rgba(230, 126, 34, 0.1));
    border-color: #f39c12;
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.3);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #f39c12;
    margin-bottom: 10px;
}

.feature-card p {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Bouton spécial avec glow */
.btn-glow {
    position: relative;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.4);
    margin-top: 10px;
}

.btn-glow::before {
    content: "✨";
    position: absolute;
    left: 15px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.btn-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(243, 156, 18, 0.6);
}

/* Informations du restaurant */
.restaurant-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ddd;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.info-item:hover {
    color: #f39c12;
    transform: translateY(-3px);
}

.info-icon {
    font-size: 1.5rem;
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* Schedule details */
.schedule-item {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.08), rgba(230, 126, 34, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(243, 156, 18, 0.2);
    min-width: 400px;
}

.schedule-item:hover {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.12), rgba(230, 126, 34, 0.08));
    border-color: rgba(243, 156, 18, 0.4);
}

.schedule-details {
    width: 100%;
}

.schedule-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f39c12;
    margin: 0 0 15px 0;
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid #f39c12;
    transition: all 0.3s ease;
}

.schedule-row:hover {
    background: rgba(243, 156, 18, 0.1);
    transform: translateX(5px);
}

.schedule-row.closed {
    border-left-color: #e74c3c;
    opacity: 0.7;
}

.schedule-row.closed:hover {
    background: rgba(231, 76, 60, 0.1);
}

.schedule-day {
    font-weight: 600;
    color: #f39c12;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.schedule-row.closed .schedule-day {
    color: #e74c3c;
}

.schedule-hours {
    color: #ddd;
    font-size: 0.9rem;
    font-weight: 500;
}

.schedule-row.closed .schedule-hours {
    color: #e74c3c;
    font-style: italic;
}

/* Contact link */
.contact-link {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.contact-link:hover {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
    transform: scale(1.05);
}

.contact-link:focus {
    outline: 2px solid #f39c12;
    outline-offset: 2px;
}

/* Address item */
.address-item {
    max-width: 250px;
    text-align: center;
}

/* Responsive */
/* Responsive */
@media (max-width: 1024px) {
    .restaurant {
        padding: 70px 30px;
    }

    .restaurant-header h2 {
        font-size: 2.5rem;
    }

    .restaurant-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .feature-card {
        padding: 25px;
    }

    .card-icon {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .restaurant {
        padding: 60px 20px;
    }

    .restaurant-header {
        margin-bottom: 40px;
    }

    .restaurant-header h2 {
        font-size: 2rem;
    }

    .restaurant-header .badge {
        font-size: 0.85rem;
        padding: 6px 16px;
    }

    .restaurant-header .stars {
        font-size: 1.2rem;
    }

    .restaurant-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
    }

    .card-icon {
        font-size: 3rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .restaurant-info {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
        padding: 25px;
    }

    .schedule-item {
        min-width: auto;
        width: 100%;
        padding: 20px;
    }

    .schedule-title {
        font-size: 1.2rem;
    }

    .schedule-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 10px 15px;
    }

    .schedule-day,
    .schedule-hours {
        font-size: 0.9rem;
    }

    .info-item {
        justify-content: center;
        text-align: center;
        padding: 12px 20px;
    }

    .info-icon {
        font-size: 1.8rem;
    }

    .address-item {
        max-width: 100%;
    }

    .floating-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .restaurant {
        padding: 50px 15px;
    }

    .restaurant-header h2 {
        font-size: 1.6rem;
    }

    .restaurant-header .badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .restaurant-content {
        gap: 15px;
    }

    .feature-card {
        padding: 18px;
    }

    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .restaurant-info {
        padding: 20px;
        gap: 15px;
    }

    .schedule-item {
        padding: 18px;
    }

    .schedule-title {
        font-size: 1.1rem;
    }

    .schedule-row {
        padding: 8px 12px;
    }

    .info-item {
        padding: 10px 15px;
    }

    .floating-icon {
        font-size: 2rem;
    }
}

#popup-restaurant p {
    margin-bottom: 0;
}

#popup-restaurant h3 {
    margin-top: 1em;
}

#popup-restaurant ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1em 0;
    column-count: 2;
    column-gap: 2em;
}

#popup-restaurant li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    margin-bottom: 8px;
    break-inside: avoid;
    transition: all 0.3s ease;
}

#popup-restaurant li:hover {
    background: rgba(243, 156, 18, 0.08);
    border-color: rgba(243, 156, 18, 0.3);
    transform: translateX(5px);
}

/* Pour les items avec description, plus d'espace */
#popup-restaurant li[data-desc] {
    padding: 14px 16px;
    flex-direction: column;
    gap: 6px;
}

/* Nom de l'item */
#popup-restaurant li {
    position: relative;
}

/* Prix affiché à droite sur la même ligne */
#popup-restaurant li::after {
    content: attr(data-volume) attr(data-price);
    color: #ffd166;
    font-weight: bold;
    font-size: 17px;
    margin-left: auto;
    padding-left: 16px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Description affichée en dessous du nom */
#popup-restaurant li[data-desc]::before {
    content: attr(data-desc);
    font-size: 13px;
    color: #aaa;
    font-weight: 300;
    display: block;
    width: 100%;
    line-height: 1.4;
}

#accompagnement-note {
    font-size: 14px;
    font-style: italic;
    color: #ccc;
    margin-top: 0.3em;
}

.horaire-note {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.2), rgba(230, 126, 34, 0.2));
    border-left: 4px solid #f39c12;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #ffd166;
    text-align: center;
    margin-bottom: 1.5em;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.15);
}

.menu-nav {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin: 1em 0;
}

.menu-nav button {
    padding: 8px 12px;
    background: #f39c12;
    border: none;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.menu-nav button:hover {
    opacity: 0.8;
}

/* ===== STYLES RESPONSIVE POUR POPUP RESTAURANT ===== */

/* Tablettes */
@media (max-width: 1024px) {
    #popup-restaurant ul {
        column-count: 2;
        column-gap: 1.5em;
    }

    #popup-restaurant li {
        font-size: 15px;
        padding: 10px 14px;
    }

    #popup-restaurant li::after {
        font-size: 16px;
        padding-left: 12px;
    }

    #popup-restaurant li[data-desc]::before {
        font-size: 12px;
    }
}

/* Tablettes small et smartphones landscape */
@media (max-width: 768px) {
    #popup-restaurant ul {
        column-count: 1;
        column-gap: 0;
    }

    #popup-restaurant li {
        font-size: 15px;
        padding: 12px 14px;
        margin-bottom: 6px;
    }

    #popup-restaurant li::after {
        font-size: 16px;
        padding-left: 10px;
    }

    #popup-restaurant li[data-desc] {
        padding: 12px 14px;
    }

    #popup-restaurant li[data-desc]::before {
        font-size: 12px;
        margin-top: 4px;
    }

    #popup-restaurant h3 {
        font-size: 1.3rem;
        margin-top: 1.2em;
        color: #f39c12;
    }

    .menu-nav {
        flex-wrap: wrap;
        gap: 0.8em;
    }

    .menu-nav button {
        padding: 10px 16px;
        font-size: 14px;
        flex: 1;
        min-width: 100px;
    }

    .horaire-note {
        font-size: 14px;
        padding: 10px 14px;
    }

    .accompagnement-note {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* Smartphones */
@media (max-width: 480px) {
    #popup-restaurant ul {
        column-count: 1;
        margin: 0 0 0.8em 0;
    }

    #popup-restaurant li {
        font-size: 14px;
        padding: 10px 12px;
        margin-bottom: 5px;
        flex-wrap: nowrap;
    }

    #popup-restaurant li::after {
        font-size: 15px;
        padding-left: 8px;
        min-width: 60px;
        text-align: right;
    }

    #popup-restaurant li[data-desc] {
        padding: 10px 12px;
        flex-wrap: wrap;
    }

    #popup-restaurant li[data-desc]::before {
        font-size: 11px;
        margin-top: 3px;
        line-height: 1.3;
    }

    #popup-restaurant li[data-desc]::after {
        width: 100%;
        text-align: right;
        margin-top: 4px;
        padding-left: 0;
        border-top: 1px dotted rgba(255, 255, 255, 0.2);
        padding-top: 6px;
    }

    #popup-restaurant h3 {
        font-size: 1.2rem;
        margin-top: 1em;
        margin-bottom: 0.5em;
    }

    .menu-nav {
        flex-direction: column;
        gap: 0.6em;
    }

    .menu-nav button {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
    }

    .horaire-note {
        font-size: 13px;
        padding: 10px 12px;
        margin-bottom: 1.2em;
    }

    .accompagnement-note {
        font-size: 12px;
        line-height: 1.4;
        margin-top: 0.5em;
    }

    #popup-restaurant hr {
        margin: 1em 0;
    }
}

/* Très petits smartphones */
@media (max-width: 360px) {
    #popup-restaurant li {
        font-size: 13px;
        padding: 8px 10px;
    }

    #popup-restaurant li::after {
        font-size: 14px;
        min-width: 55px;
    }

    #popup-restaurant li[data-desc]::before {
        font-size: 11px;
    }

    #popup-restaurant h3 {
        font-size: 1.1rem;
    }

    .menu-nav button {
        padding: 10px 16px;
        font-size: 14px;
    }
}
