/**
 * Styles pour le template single-lieu.php
 * 
 * @package Synergin
 * @since 1.0.0
 */

/* Container principal */
.lieu-single-container {
    margin: 0 auto;
    margin-top: 10rem;
    max-width: 110rem;
    background-image: url('../images/lieu-background.jpg');
    background-color: #FBF6ED !important;
    background-size: 1440px auto;
    background-position: top;
    background-repeat: repeat;
    position: relative;
}

/* Hero Header avec Image Mise en Avant */
.lieu-hero-header {
    position: relative;
    width: 100%;
    height: 45rem;
    margin-top: -10rem;
    overflow: hidden;
}

.lieu-featured-image {
    position: relative;
    height: 100%;
}

.hero-featured-img {
    width: 100%;
    height: 45rem;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: end;
    justify-content: center;
}

.hero-content {
    width: 100%;
    max-width: 80rem;
    color: white;
    z-index: 2;
}

.lieu-no-featured {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lieu-no-featured .hero-content {
    color: white;
}

/* Galerie Photos Section */
.lieu-gallery-section {
    /*padding: 60px 45px;*/
    max-width: 110rem;
    margin: 3.75rem 2.813rem;
}

.lieu-gallery-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    height: 400px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-item.large {
    grid-row: 1 / 3;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-more {
    position: relative;
}

.more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.more-text {
    color: white;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #8858E1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(136, 88, 225, 0.8);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
}

/* Content Wrapper */
.lieu-content-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
    margin-top: 18rem;
    max-width: 110rem;
    margin-left: 3.75rem;
    margin-right: 3.75rem;
}

/* Hero Title Section */
.lieu-main-title {
    font-size: 6rem !important;
    font-weight: 400 !important;
    color: white;
    line-height: 6rem !important;
    text-transform: uppercase;
}

.lieu-main-content {
    width: 95%;
}

/* Sections */
.lieu-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #2F2E2A;
}

.lieu-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-title {
    font-family: Funtastic;
    font-size: 3rem;
    font-weight: 400;
    color: #8858E1;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 100%;
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #007cba;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lieu-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

/* Section Présentation */
.lieu-section.lieu-spaces {
    display: flex;
    flex-direction: column;
}

.lieu-section.lieu-presentation,
.lieu-section.lieu-spaces {
    width: 100%;
    max-width: 100%;
    flex: 1;
}

.lieu-presentation {
    display: flex;
    flex-direction: column;
}

.lieu-presentation .lieu-description,
.lieu-spaces .lieu-presentation,
.lieu-spaces-description {
    width: 100%;
    max-width: 100%;
    flex: 1;
}

.lieu-presentation p, .lieu-spaces-description p {
    font-family: Roboto;
    font-size: 1rem;
    color: black;
}

/* Contenu WordPress : pleine largeur comme les cartes espaces */
body.single-lieu .lieu-main-content .lieu-description {
    max-width: none;
    width: 100%;
}

.lieu-presentation .lieu-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    width: 100%;
}

/* Section Espaces & Capacité */
.lieu-spaces-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

/* Affichage coloré des espaces et capacités */
.spaces-capacity-section {
    margin: 40px 0 !important;

}

.spaces-title {
    font-family: Funtastic;
    font-size: 2rem;
    font-weight: 900;
    color: #7b2cbf;
    text-align: center;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(123, 44, 191, 0.2);
}

.spaces-capacity-section .section-title {
    font-family: Funtastic;
    font-size: 3rem;
    font-weight: 400;
    color: #8858E1;
    letter-spacing: 1px;
    line-height: 100%;
    text-align: left;
    text-shadow: none;
}


.spaces-capacity-section {
    margin: 40px 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.spaces-title {
    font-family: Funtastic;
    font-size: 2rem;
    font-weight: 900;
    color: #7b2cbf;
    text-align: center;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(123, 44, 191, 0.2);
}

.spaces-capacity-section .section-title {
    font-family: Funtastic;
    font-size: 2.5rem;
    font-weight: 400;
    color: #8858E1;
    letter-spacing: 1px;
    line-height: 100%;
    text-align: left;
    text-shadow: none;
}

.surface-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.surface-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 28px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.15);
    min-width: 140px;
    flex: 1 1 140px;
    max-width: 220px;
}

.surface-card-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 6px;
}

.surface-card-type {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lieu-capacity-cards {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.capacity-card {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #007cba;
    min-width: 120px;
}

.capacity-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007cba;
    line-height: 1;
    margin-bottom: 5px;
}

.capacity-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.capacity-type {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



/* Section Équipements */
.lieu-equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.equipment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #8858E1;
    transition: all 0.3s ease;
}

.equipment-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.equipment-name {
    font-family: Roboto;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2F2E2A;
    line-height: 1.3;
    max-width: 125px;
    text-wrap: wrap;
}

.equipment-notes {
    margin-top: 20px;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 8px;
    border-left: 4px solid #8858E1;
}

.equipment-notes p {
    font-family: Roboto;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.25rem;
    color: #2F2E2A;
    margin: 0;
}


/* Section Fooding et Boissons */
/*.lieu-food-beverage {*/
/*    margin-bottom: 40px;*/
/*}*/

/*.food-beverage-intro {*/
/*    margin-bottom: 30px;*/
/*}*/

.food-beverage-intro p {
    font-family: Roboto;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: black;
    margin-bottom: 15px;
}

.options-title, .activities-title {
    font-family: Funtastic;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2F2E2A;
    text-transform: uppercase;
    margin: 25px 0 15px 0;
    text-align: left;
}

.food-beverage-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.food-beverage-list li {
    font-family: Roboto;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: black;
}

.food-option-item {
    font-family: Roboto;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.6;
    color: #2F2E2A;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.food-option-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #FB9E33;
    border-radius: 50%;
}

.food-option-item strong {
    font-weight: 600;
    color: #2F2E2A;
}

.activities-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.activity-item {
    font-family: Roboto;
    font-size: 0.8rem;
    font-weight: 500;
    color: #2F2E2A;
    padding: 8px 0;
}

/* Section Activités possibles */
/*.lieu-activities {*/
/*    margin-bottom: 30px;*/
/*}*/

.lieu-activities .section-title {
    color: #8858E1;
    margin-bottom: 25px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px 20px;
    margin-top: 20px;
}

.activities-grid .activity-item {
    font-family: Roboto;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    color: black;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.activities-grid .activity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background-color: #FB9E33;
    border-radius: 50%;
}

/* Section FAQ */
.faq-dropdown {
    margin-bottom: 20px;
}

.faq-select {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background: #f8f9fa;
    border: 2px solid #007cba;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}

.faq-content {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #555;
    line-height: 1.6;
}

.accessibility-map-wrapper {
    display: flex;
    gap: 2rem;
    margin: 0 3.75rem 4rem 3.75rem;
    max-width: 110rem;
}

/* Section Accessibilité */

.lieu-accessibility {
    flex: 0 0 40%;
}

.subsection-title {
    font-size: 1.6rem !important;
    font-weight: 600;
    color: #2F2E2A;
    text-transform: uppercase;
    margin: 25px 0 15px 0;
    text-align: left;
}

.address-section, .transport-section, .access-info-section {
    margin-bottom: 4rem;
}

.address-details .address-line {
    font-family: Roboto;
    font-size: 1rem;
    font-weight: 400;
    color: #2F2E2A;
    margin-bottom: 5px;
    line-height: 1.4;
}

.transport-list {
    display: grid;
    gap: 15px;
}

.transport-item {
    padding: 1rem 1rem 0 1rem
}

.transport-type {
    font-family: Funtastic;
    font-size: 1rem;
    font-weight: 600;
    color: #8858E1;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.transport-description {
    font-family: Roboto;
    font-size: 1rem;
    font-weight: 400;
    color: #2F2E2A;
    margin: 0;
    line-height: 1.5;
}

.access-content {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.access-details p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Sidebar */
.lieu-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.lieu-contact-card {
    padding: 1.4025rem 2.125rem 1.4025rem 2.125rem;
    border-radius: 1.25rem;
    border: 2px solid #706F6F;
    background: rgba(255, 255, 255, 0.51);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.10);
}

.lieu-info-card h4,
.lieu-contact-direct h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Formulaire de contact */
.form-main-title {
    font-family: Funtastic !important;
    font-size: 2rem;
    font-weight: 700;
    color: #8858E1 !important;
    text-align: center;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Message de confirmation */
.form-success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
    animation: slideDown 0.5s ease-out;
}

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

.form-success-message .success-icon {
    width: 50px;
    height: 50px;
    background: white;
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.form-success-message h4 {
    font-family: Roboto;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
}

.form-success-message p {
    font-family: Roboto;
    font-size: 0.95rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.lieu-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-section-title {
    font-family: Roboto;
    font-size: 0.95rem;
    font-weight: 700;
    color: #FB9E33;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-number {
    color: #FB9E33;
    font-weight: 700;
}

.form-section-subtitle {
    font-family: Roboto;
    font-size: 0.75rem;
    font-weight: 400;
    color: #333;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: Roboto;
    font-size: 0.75rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 14px;
    font-family: Roboto;
    transition: border-color 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8858E1;
    box-shadow: 0 0 0 2px rgba(136, 88, 225, 0.1);
}

.form-group textarea {
    border-radius: 15px;
    resize: vertical;
}

/* Phone input with country code */
.phone-input-group {
    display: flex;
    gap: 0;
}

.phone-country-select {
    width: 100px;
    min-width: 100px;
    padding: 10px 8px !important;
    border: 1px solid #ccc !important;
    border-right: none !important;
    border-radius: 20px 0 0 20px !important;
    font-size: 14px;
    font-family: Roboto;
    background: #f8f8f8 !important;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    padding-right: 24px !important;
}

.phone-country-select:focus {
    border-color: #8858E1 !important;
    box-shadow: 0 0 0 2px rgba(136, 88, 225, 0.1);
    outline: none;
}

.phone-input-group input[type="tel"] {
    flex: 1;
    border-radius: 0 20px 20px 0 !important;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-half {
    flex: 1;
}

/* Radio buttons */
.form-radio-group {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: Roboto;
    font-size: 0.85rem;
    color: #333;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #8858E1;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    background: #8858E1;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Checkboxes */
.form-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-family: Roboto;
    font-size: 0.8rem;
    color: #333;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    min-width: 18px;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #8858E1;
    border-color: #8858E1;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    flex: 1;
}

/* Validation styles */
.field-error {
    display: none;
    font-family: Roboto;
    font-size: 0.75rem;
    color: #dc3232;
    margin-top: 4px;
    padding-left: 12px;
}

.field-hint {
    font-family: Roboto;
    font-size: 0.75rem;
    color: #888;
    margin-top: 4px;
    padding-left: 12px;
}

.input-error {
    border-color: #dc3232 !important;
    box-shadow: 0 0 0 2px rgba(220, 50, 50, 0.15) !important;
}

.checkbox-error .checkbox-custom {
    border-color: #dc3232 !important;
}

.checkbox-error .checkbox-text {
    color: #dc3232;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-submit {
    background: linear-gradient(135deg, #FB9E33 0%, #FF8C00 100%);
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 25px;
    font-family: Roboto;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #FF8C00 0%, #FB9E33 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 158, 51, 0.4);
}

/* Informations pratiques */
.lieu-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: #666;
}

.info-value {
    font-weight: 600;
    color: #333;
}

/* Contact direct */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #555;
}

.contact-icon {
    font-size: 1.2rem;
}

/* Section Carte */
.lieu-map-section {
    flex: 1;
}

.lieu-map-section .section-title {
    margin-bottom: 20px;
}

.lieu-map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#lieu-map {
    width: 100%;
    min-height: 30rem;
}

/* Responsive Tablet */
@media (max-width: 1024px) {
    .lieu-single-container {
        margin-top: 8rem;
    }
    
    .hero-content {
        width: 90%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
    
    .lieu-main-title {
        font-size: 3rem;
        font-family: Funtastic;

    }
    
    .lieu-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .section-title,
    .spaces-capacity-section .section-title {
        font-size: 2.5rem;
    }
    
    /* Stack accessibility and map sections on tablet */
    .accessibility-map-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Lightbox responsive */
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        width: 50px;
        height: 50px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .lieu-single-container {
        margin-top: 6rem;
    }
    
    .lieu-hero-header {
        height: 50vh;
        min-height: 350px;
        margin-top: -6rem;
    }
    
    .hero-content {
        width: 90%;
        margin-left: 5%;
        margin-bottom: 1.5rem;
    }
    
    .lieu-main-title {
        font-size: 2.5rem;
    }
    
    .lieu-gallery-section {
        padding: 30px 15px;
    }
    
    .lieu-gallery-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 150px 150px;
        height: auto;
        gap: 10px;
    }
    
    .gallery-item.large {
        grid-row: 1 / 2;
        grid-column: 1 / 3;
    }
    
    .lieu-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .section-title,
    .spaces-capacity-section .section-title {
        font-size: 2rem;
    }
    
    .lieu-capacity-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .lieu-equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .equipment-card {
        padding: 15px;
    }
    
    .equipment-icon {
        font-size: 2rem;
    }
    
    .equipment-name {
        font-size: 0.85rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .options-title, .activities-title {
        font-size: 1.5rem;
    }
    
    .lieu-address-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Responsive section espaces */
    .spaces-capacity-section {
        padding: 20px 10px;
        margin: 20px 0;
        overflow-x: auto;
    }
    
    .spaces-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }
    
    /* Sidebar responsive */
    .lieu-contact-card,
    .lieu-info-card,
    .lieu-contact-direct {
        padding: 20px;
    }
    
    /* Map section */
    .lieu-map-section {
        padding: 30px 20px;
    }
    
    /* Lightbox mobile */
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 35px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 25px;
        width: 45px;
        height: 45px;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-counter {
        font-size: 16px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .lieu-single-container {
        margin-top: 5rem;
    }
    
    .lieu-hero-header {
        height: 40vh;
        min-height: 300px;
        margin-top: -5rem;
    }
    
    .hero-content {
        margin-left: 3%;
        margin-bottom: 1rem;
    }
    
    .lieu-main-title {
        font-size: 1.8rem;
    }
    
    .lieu-gallery-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 180px);
    }
    
    .gallery-item.large {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
    }
    
    .lieu-gallery-section {
        padding: 20px 10px;
    }
    
    /* Responsive section espaces */
    .spaces-capacity-section {
        padding: 20px 10px;
        margin: 20px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        box-sizing: border-box;
    }
    
    .spaces-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    /* Equipment grid plus compact */
    .lieu-equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .equipment-card {
        padding: 12px;
    }
    
    .equipment-icon {
        font-size: 1.8rem;
    }
    
    .equipment-name {
        font-size: 0.75rem;
    }
    
    /* Contact form */
    .lieu-contact-card,
    .lieu-info-card,
    .lieu-contact-direct {
        padding: 15px;
    }
    
    .lieu-contact-card h3,
    .lieu-info-card h4,
    .lieu-contact-direct h4 {
        font-size: 1.1rem;
    }
    
    /* Map section */
    .lieu-map-section {
        padding: 20px 15px;
    }
    
    .lieu-map-section h2 {
        font-size: 1.5rem;
    }
    
    #lieu-map {
        height: 300px !important;
    }
    
    /* Lightbox très petit écran */
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-close {
        top: 5px;
        right: 10px;
        font-size: 30px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 20px;
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .lightbox-prev {
        left: 5px;
    }
    
    .lightbox-next {
        right: 5px;
    }
    
    .lightbox-counter {
        font-size: 14px;
        margin-top: 10px;
    }
}
