/* Styles pour la page menu redesignée */

/* Légende des tailles de pizzas */
.pizza-sizes-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 1.5rem 0 2rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.size-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.size-circle {
    border: 2px solid #d73a31;
    border-radius: 50%;
    background: rgba(215, 58, 49, 0.1);
    display: inline-block;
}

.size-circle.small {
    width: 20px;
    height: 20px;
}

.size-circle.medium {
    width: 28px;
    height: 28px;
}

.size-circle.large {
    width: 36px;
    height: 36px;
}

.size-text {
    font-size: 0.9rem;
    color: #333;
}

/* Grille des pizzas */
.pizza-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pizza-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.pizza-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.pizza-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.pizza-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pizza-card:hover .pizza-image img {
    transform: scale(1.05);
}

.promo-badge, .new-badge {
    display: inline-block;
    padding: 0.5rem 1em;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 800;
    color: white;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.pizza-image .promo-badge, .pizza-image .new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.4rem 1rem;
    border-radius: 22px;
    font-size: 1rem;
    margin-left: 0;
    z-index: 2;
}

.promo-badge {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.6), 0 0 20px rgba(220, 38, 38, 0.3);
    animation: pulse 2s infinite;
    border: 2px solid #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 0.5px;
    transform: rotate(-5deg);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.6), 0 0 15px rgba(220, 38, 38, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.8), 0 0 20px rgba(220, 38, 38, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.6), 0 0 15px rgba(220, 38, 38, 0.3);
    }
}

.pizza-image .promo-badge {
    animation: pulseImage 2s infinite;
}

@keyframes pulseImage {
    0% {
        transform: rotate(-5deg) scale(1);
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.6), 0 0 20px rgba(220, 38, 38, 0.3);
    }
    50% {
        transform: rotate(-5deg) scale(1.1);
        box-shadow: 0 6px 20px rgba(220, 38, 38, 0.8), 0 0 30px rgba(220, 38, 38, 0.5);
    }
    100% {
        transform: rotate(-5deg) scale(1);
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.6), 0 0 20px rgba(220, 38, 38, 0.3);
    }
}

.new-badge {
    background: #28a745;
}

.pizza-info {
    padding: 1.5rem;
}

.pizza-info h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ingredients {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.price-row .price {
    background: #d73a31;
    color: white;
    padding: 0.5rem 0.8rem 0.7rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    min-height: 2.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



/* Informations de taille sous les prix */
.price-row .price[data-size="petite"]::after { 
    content: "26cm / petite / enfant"; 
    display: block;
    font-size: 0.65rem;
    font-weight: 300;
    opacity: 0.85;
    margin-top: 3px;
    line-height: 1.2;
    text-transform: none;
}

.price-row .price[data-size="grande"]::after { 
    content: "34,5cm / grande / 1 pers."; 
    display: block;
    font-size: 0.65rem;
    font-weight: 300;
    opacity: 0.85;
    margin-top: 3px;
    line-height: 1.2;
    text-transform: none;
}

.price-row .price[data-size="xl"]::after { 
    content: "40cm / xl / 2 pers."; 
    display: block;
    font-size: 0.65rem;
    font-weight: 300;
    opacity: 0.85;
    margin-top: 3px;
    line-height: 1.2;
    text-transform: none;
}

.price-row .price:hover {
    background: #b8312a;
    transform: scale(1.05);
}

.price {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.price.add-to-cart {
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.price.add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.price.add-to-cart:hover::before {
    left: 100%;
}

.price.add-to-cart:active {
    transform: scale(0.95);
}



/* Section Suppléments */
#supplements {
    padding: 40px 30px;
}

.supplements-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px 30px;
    border-radius: 20px;
    margin: 50px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #dee2e6;
}

#supplements .category-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#supplements .category-description {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 40px;
    font-style: italic;
}

.supplements-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.supplements-section .section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 40px;
    font-style: italic;
}

.supplements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.supplement-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.supplement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.supplement-card:hover::before {
    transform: scaleX(1);
}

.supplement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.supplement-icon {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.supplement-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.supplement-description {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.4;
}

.supplement-price {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    display: inline-block;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.supplement-price:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.supplement-price:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.3);
}

.supplement-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.supplement-price:hover::before {
    left: 100%;
}

/* Section de livraison améliorée */
.delivery-info-enhanced {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin: 50px 0;
    box-shadow: 0 15px 35px rgba(44, 62, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.delivery-info-enhanced::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.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.delivery-header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.delivery-header i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #f39c12;
}

.delivery-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.delivery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.delivery-times h4,
.delivery-zone h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #f39c12;
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.time-slot {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #f39c12;
}

.time-label {
    font-weight: 500;
    color: #bdc3c7;
}

.time-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
}

.delivery-zone p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #ecf0f1;
}

.delivery-fee {
    background: #e74c3c;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

/* Information de livraison */
.delivery-info {
    background: linear-gradient(135deg, #d73a31, #b8312a);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    text-align: center;
}

.delivery-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.delivery-info ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.delivery-info li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.delivery-info li:before {
    content: "🕐";
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .pizza-sizes-legend {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .pizza-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pizza-image {
        height: 180px;
    }
    
    .pizza-info {
        padding: 1rem;
    }
    
    .price-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .price-row .price {
        width: 100%;
    }
    
    .delivery-info {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    /* Responsive pour les suppléments */
    .supplements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .supplement-card {
        padding: 20px;
    }
    
    .supplements-section .section-title {
        font-size: 1.8rem;
    }
    
    /* Responsive pour la livraison */
    .delivery-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .delivery-header h3 {
        font-size: 1.6rem;
    }
    
    .delivery-header i {
        font-size: 2.5rem;
    }
}

/* Styles pour les boissons */
.drinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.drink-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.drink-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.drink-image {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.drink-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.drink-card:hover .drink-image img {
    transform: scale(1.05);
}

.drink-info {
    padding: 1.5rem;
}

.drink-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.drink-info .ingredients {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.drink-price-row {
    display: flex;
    justify-content: center;
}

.drink-price-row .price {
    background: linear-gradient(135deg, #d73a31, #e74c3c);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(215, 58, 49, 0.3);
}

.drink-price-row .price:hover {
    background: linear-gradient(135deg, #c0392b, #d73a31);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(215, 58, 49, 0.4);
}

.drink-price-row .price:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(215, 58, 49, 0.3);
}

@media (max-width: 480px) {
    .pizza-sizes-legend {
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .size-legend-item {
        gap: 0.3rem;
    }
    
    .size-text {
        font-size: 0.8rem;
    }
    
    .pizza-card {
        margin-bottom: 1rem;
    }
    
    .pizza-image {
        height: 150px;
    }
    
    .pizza-info h4 {
        font-size: 1.1rem;
    }
    
    .ingredients {
        font-size: 0.8rem;
    }
    
    .delivery-info {
        padding: 1rem;
    }
    
    /* Responsive mobile pour les suppléments */
    .supplements-section {
        padding: 25px 20px;
        margin: 30px 0;
    }
    
    .supplements-section .section-title {
        font-size: 1.5rem;
    }
    
    .supplement-card {
        padding: 18px;
    }
    
    .supplement-icon {
        font-size: 2rem;
    }
    
    .supplement-card h4 {
        font-size: 1.1rem;
    }
    
    .supplement-description {
        font-size: 0.9rem;
    }
    
    .supplement-price {
        font-size: 1rem;
        padding: 6px 12px;
    }
    
    /* Responsive mobile pour la livraison */
    .delivery-info-enhanced {
        padding: 25px 20px;
        margin: 30px 0;
    }
    
    .delivery-header h3 {
        font-size: 1.4rem;
    }
    
    .delivery-header i {
        font-size: 2rem;
    }
    
    .delivery-times h4,
    .delivery-zone h4 {
        font-size: 1.1rem;
    }
    
    .time-slot {
        padding: 12px 15px;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .delivery-fee {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    /* Responsive pour les boissons */
    .drinks-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .drink-info {
        padding: 1rem;
    }
    
    .drink-info h4 {
        font-size: 1.1rem;
    }
}