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

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0a0a0a;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Container global pour éviter les débordements */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive global */
img, video, iframe, object {
    max-width: 100%;
    height: auto;
}

/* Éviter les débordements sur tous les éléments */
* {
    max-width: 100%;
}

/* Forcer les éléments à ne pas déborder */
body, html {
    overflow-x: hidden !important;
}

/* S'assurer que tous les éléments flexibles restent dans les limites */
.plat-options-horizontal,
.radio-group,
.form-card,
.validation-card,
.reservation-bottom-card,
.menu-category,
.location-details {
    max-width: 100%;
    box-sizing: border-box;
}

/* Forcer le responsive sur les inputs et textareas */
input, textarea, select, button {
    max-width: 100%;
    box-sizing: border-box;
}

/* Styles Login Page - Style Ibiza/Club */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0033 50%, #330066 100%);
    overflow: hidden;
}

.login-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)),
        url('Photos/photo0jpg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.login-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px 40px;
    width: 90%;
    max-width: 450px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

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

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.neon-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s ease infinite;
    text-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
    letter-spacing: 3px;
}

@media (max-width: 768px) {
    .neon-text {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.event-date {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-top: 10px;
    text-transform: uppercase;
    opacity: 0.9;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #fff;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.location-badge svg {
    color: #00ffff;
}

/* Formulaire Login */
.login-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-hint {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-top: 5px;
    font-style: italic;
}

.btn-login {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
    border: none;
    border-radius: 15px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.3);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 255, 0.5);
}

.btn-login svg {
    animation: arrow-move 1.5s ease-in-out infinite;
}

@keyframes arrow-move {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.login-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.party-icons {
    font-size: 2rem;
    margin-top: 15px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Alertes */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 1200px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert-error {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(255, 0, 0, 0.2));
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

.alert-success {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 255, 0, 0.2));
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #51cf66;
}

/* Dashboard Styles */
.dashboard {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

/* Header */
.header-main {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
}

.btn-logout {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 0, 0, 0.5);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 400px;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('Photos/ruhlplagenice.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 1;
}

.hero-date {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    letter-spacing: 5px;
    text-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 30px rgba(255, 0, 255, 0.5); }
    50% { text-shadow: 0 0 50px rgba(0, 255, 255, 0.8); }
}

.hero-location {
    font-size: 1.5rem;
    margin-top: 10px;
    font-weight: 300;
    letter-spacing: 3px;
}

.hero-time {
    font-size: 1.2rem;
    margin-top: 5px;
    opacity: 0.9;
}

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

/* Section Title */
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    margin: 20px auto 0;
}

/* Reservation Status */
.reservation-status {
    padding: 60px 0;
}

.status-pending,
.status-confirmed,
.status-declined {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-pending {
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.05);
}

.status-pending svg {
    color: #ffc107;
}

.status-confirmed {
    border-color: rgba(0, 255, 0, 0.3);
    background: rgba(0, 255, 0, 0.05);
}

.status-confirmed svg {
    color: #00ff00;
}

.status-declined {
    border-color: rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.05);
}

.status-declined svg {
    color: #ff0000;
}

.status-pending p,
.status-confirmed p,
.status-declined p {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 20px;
}

.status-detail {
    font-size: 1rem !important;
    opacity: 0.8;
    margin-top: 10px !important;
}

/* Reservation Form */
.reservation-form-section {
    padding: 60px 0;
}

.reservation-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-card {
    /* Fallback pour navigateurs non supportés */
    background: #1a1a2e;
    background: rgba(255, 255, 255, 0.05);
    
    /* Fallback sans blur */
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(51, 0, 102, 0.7) 100%);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    
    /* Bordures avec fallback */
    border: 1px solid #333;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    
    /* Force la visibilité */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.form-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: #fff;
    transition: all 0.3s;
}

.radio-card input:checked ~ .radio-content {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.radio-icon {
    font-size: 1.5rem;
}

/* Plat Selection */
.plat-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.plat-card {
    position: relative;
    cursor: pointer;
}

.plat-card input {
    position: absolute;
    opacity: 0;
}

.plat-content {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s;
}

.plat-card input:checked ~ .plat-content {
    background: rgba(255, 0, 255, 0.2);
    border-color: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.plat-content h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.plat-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.plat-price {
    display: inline-block;
    color: #00ffff;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Version horizontale des plats */
.plat-options-horizontal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.plat-card-horizontal {
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.plat-card-horizontal input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.plat-content-horizontal {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s;
    gap: 20px;
}

.plat-card-horizontal input:checked ~ .plat-content-horizontal {
    background: rgba(255, 0, 255, 0.2);
    border-color: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    transform: scale(1.02);
}

.plat-card-horizontal input:checked ~ .plat-content-horizontal-no-image {
    background: rgba(255, 0, 255, 0.2);
    border-color: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    transform: scale(1.02);
}

/* Version sans image */
.plat-content-horizontal-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s;
    text-align: center;
}

.plat-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.plat-card-horizontal:hover .plat-image img {
    transform: scale(1.1);
}

.plat-details {
    flex: 1;
}

.plat-details h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.plat-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
}

/* Section de validation */
.validation-section {
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.3);
}

.validation-card {
    /* Fallback pour navigateurs non supportés */
    background: #1a1a2e;
    background: rgba(255, 255, 255, 0.08);
    
    /* Fallback sans blur */
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(51, 0, 102, 0.8) 100%);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    
    /* Bordures avec fallback */
    border: 1px solid #333;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    
    /* Ombre avec fallback */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    
    /* Force la visibilité */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.btn-submit-final {
    width: 100%;
    max-width: 400px;
    padding: 25px 40px;
    background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 15px 40px rgba(255, 0, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-submit-final::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;
}

.btn-submit-final:hover::before {
    left: 100%;
}

.btn-submit-final:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(255, 0, 255, 0.6);
}

.validation-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-top: 20px;
    font-style: italic;
    letter-spacing: 1px;
}

/* Section de réservation en bas de page */
.reservation-form-section-bottom {
    padding: 60px 0;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 0, 51, 0.9) 50%, rgba(51, 0, 102, 0.8) 100%),
        url('Photos/photo0jpg.jpg') center/cover;
    position: relative;
}

.reservation-form-section-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.reservation-bottom-card {
    /* Fallback pour navigateurs non supportés */
    background: #1a1a2e;
    background: rgba(255, 255, 255, 0.05);
    
    /* Fallback sans blur pour les anciens navigateurs */
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(51, 0, 102, 0.9) 100%);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    
    /* Bordures avec fallback */
    border: 1px solid #333;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px;
    
    /* Ombre avec fallback */
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    
    /* Force la visibilité sur mobile */
    min-height: 200px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.reservation-bottom-card .section-title {
    text-align: center;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

/* Deadline Alert */
.deadline-alert {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 152, 0, 0.2) 100%);
    border: 2px solid rgba(255, 193, 7, 0.5);
    border-radius: 20px;
    padding: 20px 25px;
    margin-bottom: 30px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
    }
    50% { 
        box-shadow: 0 0 30px rgba(255, 193, 7, 0.6);
    }
}

.deadline-icon {
    font-size: 2.5rem;
    animation: bounce-icon 1.5s ease-in-out infinite;
}

@keyframes bounce-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.deadline-content h3 {
    color: #ffc107;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.deadline-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

/* Countdown Container */
.countdown-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 10px 15px;
    min-width: 60px;
}

.countdown-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #ffc107;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.countdown-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    font-weight: 500;
}

/* Animation pour les changements de chiffres */
.countdown-update {
    animation: number-pulse 0.5s ease;
}

@keyframes number-pulse {
    0% { transform: scale(1); }
    50% { 
        transform: scale(1.1); 
        text-shadow: 0 0 20px rgba(255, 193, 7, 0.8);
    }
    100% { transform: scale(1); }
}

/* Style quand la deadline est expirée */
.deadline-expired {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2) 0%, rgba(139, 0, 0, 0.2) 100%) !important;
    border-color: rgba(255, 0, 0, 0.5) !important;
    animation: expired-pulse 1s ease-in-out infinite;
}

@keyframes expired-pulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    }
    50% { 
        box-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
    }
}

.deadline-expired .countdown-number {
    color: #ff4444 !important;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5) !important;
}

.deadline-expired .deadline-content h3 {
    color: #ff4444 !important;
}

/* Responsive design pour mobile */
@media (max-width: 768px) {
    /* Container général */
    .container {
        padding: 0 15px;
    }
    
    /* Sections */
    .menu-section,
    .location-section,
    .reservation-form-section-bottom {
        padding: 40px 0;
    }
    
    /* Plats */
    .plat-content-horizontal {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .plat-content-horizontal-no-image {
        padding: 20px 15px;
    }
    
    .plat-image {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .plat-details h4 {
        font-size: 1.2rem;
    }
    
    .plat-details p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Boutons */
    .btn-submit-final {
        font-size: 1.1rem;
        padding: 18px 25px;
        letter-spacing: 2px;
    }
    
    /* Cards */
    .validation-card {
        padding: 25px 15px;
    }
    
    .reservation-bottom-card {
        padding: 25px 15px;
        margin: 0 10px;
        border-radius: 20px;
        /* Force un fond visible sur mobile */
        background: #1a1a2e !important;
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(51, 0, 102, 0.9) 100%) !important;
        border: 2px solid #333 !important;
        min-height: 150px;
    }
    
    .reservation-bottom-card .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .deadline-alert {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px 20px;
        margin-bottom: 25px;
    }
    
    .deadline-icon {
        font-size: 2rem;
    }
    
    .deadline-content h3 {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .deadline-content p {
        font-size: 0.9rem;
    }
    
    .countdown-container {
        gap: 15px;
    }
    
    .countdown-item {
        padding: 8px 12px;
        min-width: 50px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
        margin-top: 3px;
    }
    
    /* Menu categories */
    .menu-category {
        padding: 20px;
    }
    
    .menu-category h3 {
        font-size: 1.5rem;
    }
    
    /* Location */
    .location-details {
        padding: 25px;
    }
    
    .location-map {
        height: 250px;
    }
    
    /* Header mobile */
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-title {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
}

/* Responsive pour très petits écrans */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .reservation-bottom-card,
    .menu-category,
    .location-details {
        margin: 0 5px;
        padding: 20px 15px;
    }
    
    .reservation-bottom-card {
        /* Force un fond très visible sur très petits écrans */
        background: #1a1a2e !important;
        border: 2px solid #555 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
    }
    
    .form-card {
        /* Force un fond visible pour les cartes de formulaire */
        background: #252547 !important;
        border: 1px solid #444 !important;
    }
    
    .validation-card {
        /* Force un fond visible pour la validation */
        background: #2a2a4a !important;
        border: 2px solid #555 !important;
    }
    
    .neon-text {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .btn-submit-final {
        font-size: 1rem;
        padding: 16px 20px;
        letter-spacing: 1px;
    }
    
    .reservation-bottom-card .section-title {
        font-size: 1.8rem;
    }
    
    .deadline-alert {
        padding: 12px 15px;
        margin-bottom: 20px;
        gap: 10px;
    }
    
    .deadline-icon {
        font-size: 1.8rem;
    }
    
    .deadline-content h3 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .deadline-content p {
        font-size: 0.85rem;
    }
    
    .countdown-container {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .countdown-item {
        padding: 6px 10px;
        min-width: 45px;
    }
    
    .countdown-number {
        font-size: 1.3rem;
    }
    
    .countdown-label {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }
    
    .plat-details h4 {
        font-size: 1.1rem;
    }
    
    .plat-details p {
        font-size: 0.85rem;
    }
}

/* Section Galerie Photos */
.gallery-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 0, 51, 0.8) 100%);
}

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

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 0, 255, 0.3);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    color: white;
    transition: all 0.4s ease;
}

.gallery-overlay h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Responsive pour la galerie */
@media (max-width: 768px) {
    .gallery-section {
        padding: 40px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .gallery-overlay {
        padding: 20px 15px 15px;
    }
    
    .gallery-overlay h4 {
        font-size: 1.3rem;
    }
    
    .gallery-overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 15px;
    }
    
    .gallery-image {
        height: 180px;
    }
    
    .gallery-overlay {
        padding: 15px 12px 12px;
    }
    
    .gallery-overlay h4 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
    }
}

/* Submit Button - version ancienne pour compatibilité */
.btn-submit {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
    border: none;
    border-radius: 15px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 255, 0.5);
}

/* Menu Section */
.menu-section {
    padding: 60px 0;
}

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

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.menu-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
}

.menu-category h3 {
    color: #00ffff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
}

.menu-item h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.menu-price {
    color: #ff00ff;
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
}

.menu-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Location Section */
.location-section {
    padding: 60px 0;
    background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.9)), url('Photos/124_5_65093.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.location-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .location-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.location-details {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.location-details h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

.location-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.location-date {
    color: #00ffff !important;
    font-weight: 600;
    margin-top: 20px !important;
}

.btn-map {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.3);
}

.location-map {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .neon-text {
        font-size: 2.5rem;
    }
    
    .hero-date {
        font-size: 2.5rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .location-info {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        height: 300px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-user {
        flex-direction: column;
        text-align: center;
    }
}