/* Styles spécifiques pour la page de réservation de stands */

/* Hero Section */
.stands-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.258), rgba(52, 52, 52, 0.9)),
                url('../assets/img/stand2.JPG') center/cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 3rem 0;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.header-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.6;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Info Note */
.info-note {
    background: linear-gradient(135deg, #b97e10, #bb7d0a);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(185, 143, 16, 0.3);
}

.note-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.note-content {
    flex: 1;
}

.note-content strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Stands Info Section */
.stands-info-section {
    background: #f8fafc;
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.stands-info-section h2 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.stand-info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stand-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stand-info-card h3 {
    color: #1e293b;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.stand-info-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
}

.stand-info-card small {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Reservation Form Section */
.reservation-form-section {
    padding: 2rem;
}

.reservation-form-section h2 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form Group Sections */
.form-group-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.form-group-section h3 {
    color: #1e293b;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

/* Important Info */
.important-info {
    margin: 2rem 0;
}

.info-box {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}

.info-box i {
    color: #f59e0b;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.info-box strong {
    color: #92400e;
    display: block;
    margin-bottom: 0.5rem;
}

.info-box ul {
    margin: 0.5rem 0 0 1rem;
    color: #92400e;
}

.info-box li {
    margin-bottom: 0.3rem;
}

/* Form Actions */
.form-actions {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 250px;
    justify-content: center;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
}

.popup-overlay.show .popup-content {
    transform: scale(1) translateY(0);
}

.popup-header {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 16px 16px 0 0;
}

.popup-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.popup-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.popup-body {
    padding: 2rem;
}

.confirmation-details {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: #10b981;
    width: 20px;
    text-align: center;
}

.popup-message {
    margin-top: 1.5rem;
}

.popup-message p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.popup-message i {
    color: #10b981;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.popup-footer {
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Styles de base pour éviter les problèmes de zoom mobile */
body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* NOUVEAU BOUTON DE SOUMISSION - Ultra-Simple */
.btn-primary-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* État ACTIVÉ du nouveau bouton */
.btn-primary-new:not([disabled]) {
    background: linear-gradient(135deg, #d4af37, #f4d03f) !important;
    color: white !important;
    cursor: pointer !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    border: 2px solid #d4af37 !important;
    transform: translateY(0);
}

.btn-primary-new:not([disabled]):hover {
    background: linear-gradient(135deg, #b8941f, #d4af37) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.3);
}

.btn-primary-new:not([disabled]):active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* État DÉSACTIVÉ du nouveau bouton */
.btn-primary-new[disabled] {
    background: #e0e0e0 !important;
    color: #999999 !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    pointer-events: none !important;
    border: 2px solid #cccccc !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Animation de chargement */
.btn-primary-new.loading {
    background: #f39c12 !important;
    color: white !important;
    pointer-events: none !important;
}

.btn-primary-new.loading .btn-text {
    opacity: 0.7;
}

.btn-primary-new.loading i {
    animation: spin 1s linear infinite;
}

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

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden;
    }
    .stands-hero {
        min-height: 80vh;
        padding: 4rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .stands-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .info-note {
        flex-direction: column;
        text-align: center;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }

    .btn-primary {
        width: 100%;
        min-height: 60px; /* Plus grand sur mobile pour faciliter le tap */
        font-size: 1.1rem;
        padding: 1.2rem 2rem;
    }

    /* États spécifiques mobile pour le bouton */
    .btn-primary:disabled {
        opacity: 0.6 !important;
        pointer-events: none !important;
        cursor: not-allowed !important;
    }

    .btn-primary.enabled {
        opacity: 1 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        transform: none !important;
    }

    .btn-primary.loading {
        opacity: 0.8 !important;
        pointer-events: none !important;
    }

    /* Footer responsive - Version améliorée */
    #footer {
        margin-top: 2rem;
        padding: 0;
        overflow-x: hidden;
    }

    .footer-container {
        padding: 2rem 1rem 1rem 1rem;
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem;
        text-align: center;
        width: 100%;
    }

    .footer-brand {
        max-width: 100%;
        order: 1;
    }

    .footer-brand .brand-name {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .footer-brand .brand-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .footer-contact {
        order: 2;
        text-align: center;
    }

    .footer-contact h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .footer-social {
        order: 3;
        text-align: center;
    }

    .footer-social h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .footer-bottom {
        text-align: center;
        padding: 1.5rem 0;
        border-top: 1px solid #e2e8f0;
        margin-top: 2rem;
    }

    .footer-bottom p {
        font-size: 0.9rem;
        margin: 0;
    }
}

/* Footer styles - Clean and organized */
#footer {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    margin-top: 3rem;
    padding: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 1.5rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 400px;
}

.brand-link {
    text-decoration: none;
    color: #1e293b;
    display: inline-block;
    margin-bottom: 1rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    letter-spacing: 0.05em;
}

.brand-description {
    color: #64748b;
    line-height: 1.6;
}

.brand-description p {
    margin: 0 0 1rem 0;
    font-size: 0.875rem;
}

.brand-description p:last-child {
    margin-bottom: 0;
}

.footer-contact h3,
.footer-social h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1rem 0;
}

.contact-info {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
}

.contact-info p {
    margin: 0 0 0.5rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f1f5f9;
    border-radius: 50%;
    color: #64748b;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}


