@font-face {
    font-family: 'CocoGothic';
    src: url('fonts/CocoGothic_trial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    /* Exclure chiffres (0-9 = U+0030-0039) et arobase (@ = U+0040) pour utiliser la police système */
    unicode-range: U+0020-002F, U+003A-003F, U+0041-007F, U+00A0-00FF, U+0100-017F, U+0180-024F, U+1E00-1EFF;
}

@font-face {
    font-family: 'CocoGothic';
    src: url('fonts/CocoGothic-Bold_trial.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    /* Exclure chiffres (0-9 = U+0030-0039) et arobase (@ = U+0040) pour utiliser la police système */
    unicode-range: U+0020-002F, U+003A-003F, U+0041-007F, U+00A0-00FF, U+0100-017F, U+0180-024F, U+1E00-1EFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #f1d4df;
    --color-secondary: #15392e;
    --color-white: #ffffff;
    --color-text: #333333;
}

body {
    font-family: 'CocoGothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Fix pour les chiffres et symboles spéciaux (@) - utiliser une police système */
.menu-item-price,
.card-content strong,
.reservation-card strong,
.reservation-card p strong,
.blog-card-date,
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group select,
footer p,
.card-content p strong,
.section-content p strong,
.price-number {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif !important;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* Forcer les paragraphes contenant des emails (@) à utiliser une police système */
footer p,
.card-content p,
.section-content p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif !important;
}

.font-anton {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    letter-spacing: 2px;
}

.font-catchy {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: 1.2em;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    height: 60px;
    display: flex;
    align-items: center;
}

.logo {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-secondary);
    transition: all 0.3s ease;
}

/* Hero Section - photo de fond page d'accueil */
.hero {
    position: relative;
    height: 100vh;
    background-image: url('./3ce4361f9793208ba2df28dfa916f723.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: var(--color-secondary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    /* Optimisations pour améliorer la qualité de l'image */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    /* Améliorer l'anti-aliasing */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Forcer le rendu haute qualité avec légère amélioration du contraste et luminosité */
    -webkit-filter: contrast(1.05) brightness(1.02);
    filter: contrast(1.05) brightness(1.02);
}

/* Image de fond en secours si background-image ne charge pas */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(21, 57, 46, 0.4), rgba(241, 212, 223, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    padding: 2rem;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.btn-decouvrir {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-decouvrir:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Page Hero (en-tête avec image pour les pages internes) */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    /* Optimisations pour améliorer la qualité de l'image */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    /* Améliorer l'anti-aliasing */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Forcer le rendu haute qualité avec légère amélioration du contraste et luminosité */
    -webkit-filter: contrast(1.05) brightness(1.02);
    filter: contrast(1.05) brightness(1.02);
}

/* Images distinctes pour chaque page */
.page-hero.apropos {
    background-image: url('noixcoco.png');
    background-position: center center;
    background-size: cover;
}

.page-hero.carte {
    background-image: url('Capture\ d’écran\ 2026-01-15\ à\ 10.23.08.png');
    background-position: center center;
    background-size: cover;
    filter: contrast(1.1) brightness(0.95) saturate(1.2);
}

.page-hero.espaces {
    background-image: url('transatpiscine.jpg');
    background-position: center 70%;
    filter: contrast(1.05) brightness(1.05) saturate(1.1);
}

.page-hero.evenements {
    background-image: url('transatpiscine.jpg');
    background-position: center 40%;
    filter: contrast(1.15) brightness(0.9) saturate(1.3);
}

.page-hero.blog {
    background-image: url('transatpiscine.jpg');
    background-position: center 60%;
    filter: contrast(1.08) brightness(1.03) saturate(1.15);
}

.page-hero.reservez {
    background-image: url('transatpiscine.jpg');
    background-position: center 45%;
    filter: contrast(1.1) brightness(1.0) saturate(1.2);
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(21, 57, 46, 0.6), rgba(241, 212, 223, 0.4));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    padding: 2rem;
}

.page-hero-title {
    font-size: 4rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

/* Page Content */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Sections détaillées pour les espaces (texte à gauche, photo à droite) */
.espace-detail-section {
    margin-bottom: 2.5rem;
}

.espace-detail-card {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
}

.espace-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.espace-detail-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.espace-detail-content .card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.espace-detail-content .card-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

.espace-detail-content .card-content p {
    margin-bottom: 0.8rem;
}

.espace-detail-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 350px;
    overflow: hidden;
}

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

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

/* Gallery Section pour la page d'accueil */
.gallery-section {
    background: linear-gradient(135deg, rgba(241, 212, 223, 0.1), rgba(21, 57, 46, 0.05));
    padding: 4rem 0;
    margin: 4rem 0;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(21, 57, 46, 0.9), rgba(21, 57, 46, 0.7), transparent);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-caption {
    color: var(--color-white);
    text-align: center;
    font-weight: bold;
    margin: 0;
    font-size: 1.1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-title {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 3rem;
    text-align: center;
}

.page-title .font-anton {
    font-size: 3.5rem;
}

.page-title .font-catchy {
    font-size: 2rem;
    margin-left: 1rem;
}

/* Responsive pour les page-hero */
@media (max-width: 768px) {
    .page-hero {
        height: 40vh;
        min-height: 300px;
    }

    .page-hero-title {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        position: static;
    }

    .espace-detail-card {
        grid-template-columns: 1fr;
    }

    .espace-detail-image {
        min-height: 250px;
        max-height: 300px;
        order: -1;
    }

    .espace-detail-content {
        padding: 1.5rem;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item img {
        height: 250px;
    }
}

.section {
    margin-bottom: 4rem;
}

/* Encart photo page À propos */
.apropos-encart {
    margin: 3rem 0 4rem;
    text-align: center;
}

.apropos-encart img {
    max-width: 100%;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(21, 57, 46, 0.12);
}

/* Encart photo page La carte */
.carte-encart,
.carte-top-image {
    margin: 0 0 4rem;
    text-align: center;
}

.carte-encart img,
.carte-top-image img {
    max-width: 100%;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(21, 57, 46, 0.12);
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--color-primary);
}

.section-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

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

.card {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-title {
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.card-content {
    color: var(--color-text);
    line-height: 1.6;
}

/* Event Cards avec images */
.event-card {
    background-color: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

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

.event-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.event-card .card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.btn-event-details {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'CocoGothic', sans-serif;
    font-size: 1rem;
}

.btn-event-details:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    transform: translateY(-2px);
}

.btn-reserver {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'CocoGothic', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: center;
    width: fit-content;
}

.btn-reserver:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(21, 57, 46, 0.3);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

/* Modal pour les détails des événements */
.event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.event-modal.active {
    display: flex;
}

.event-modal-content {
    background: linear-gradient(135deg, var(--color-white), rgba(241, 212, 223, 0.1));
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    border: 3px solid var(--color-primary);
}

.event-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--color-secondary);
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.event-modal-close:hover {
    transform: rotate(90deg);
    color: var(--color-primary);
    background-color: rgba(241, 212, 223, 0.3);
}

#event-modal-body {
    color: var(--color-text);
}

#event-modal-body h3 {
    color: var(--color-secondary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

#event-modal-body p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

#event-modal-body strong {
    color: var(--color-secondary);
}

/* Menu Items */
.menu-section {
    margin-bottom: 4rem;
}

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

.menu-item {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.menu-item-name {
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.menu-item-description {
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.menu-item-price {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
    font-variant-numeric: tabular-nums;
}

/* Contact Section - Style moderne inspiré de cocobeach */
.contact-section {
    background: linear-gradient(135deg, rgba(241, 212, 223, 0.1), rgba(21, 57, 46, 0.05));
    padding: 4rem 2rem;
    margin: 4rem 0;
    border-radius: 20px;
}

/* Map Container */
.map-container {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
    background-color: #f5f5dc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.custom-map {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

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

.map-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--color-white);
}

.contact-details h4 {
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--color-text);
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--color-primary);
}

/* Contact Form */
.contact-form {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    font-family: 'CocoGothic', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-secondary);
}

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

.btn-submit {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'CocoGothic', sans-serif;
}

.btn-submit:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.footer-section p {
    margin-bottom: 0.5rem;
}

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

.social-links a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--color-primary);
}

.footer-newsletter-text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-newsletter-form input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.footer-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer-newsletter-form input:focus {
    outline: none;
    border-color: var(--color-white);
}

.footer-newsletter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-secondary);
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-newsletter-btn:hover {
    background: var(--color-white);
    transform: translateY(-2px);
}

.footer-newsletter-message {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    min-height: 1.4em;
}

.footer-newsletter-message.success {
    color: var(--color-secondary);
    text-align: left;
}

.footer-newsletter-message.success .newsletter-received-intro,
.footer-newsletter-message.success .newsletter-received-subject {
    color: var(--color-secondary);
}

.footer-newsletter-message.success .newsletter-received-p {
    color: var(--color-text);
}

.footer-newsletter-message.error {
    color: #ffb3b3;
}

.contact-form-message {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    min-height: 1.4em;
}

.contact-form-message.success {
    color: var(--color-secondary);
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.reservation-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-white));
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.reservation-card:hover {
    transform: translateY(-5px);
}

.reservation-card h3 {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.reservation-card p {
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.reservation-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.reservation-link:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

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

.blog-card {
    background-color: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-image {
    width: 100%;
    min-height: 260px;
    padding: 0;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: var(--color-white);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-date {
    color: var(--color-primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.blog-card-excerpt {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.blog-card-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.blog-card-link:hover {
    color: var(--color-primary);
}

.blog-toggle {
    background: none;
    border: none;
    color: var(--color-secondary);
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem 0;
    font-family: inherit;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.blog-toggle:hover {
    color: var(--color-primary);
}

.blog-card-full {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(21, 57, 46, 0.15);
}

.blog-card-full p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

.blog-card.expanded .blog-card-full {
    display: block;
}

.blog-card.expanded .blog-toggle {
    margin-bottom: 0;
}

/* Page article (article.html) */
.article-page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.article-back {
    display: inline-block;
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.article-back:hover {
    color: var(--color-primary);
}

.article-back-bottom {
    margin-top: 2.5rem;
    margin-bottom: 0;
}

.article-single {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(21, 57, 46, 0.08);
}

.article-single .blog-card-date {
    margin-bottom: 0.5rem;
}

.article-title {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-image-wrap {
    width: 100%;
    min-height: 320px;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-image-wrap img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.article-body {
    color: var(--color-text);
    line-height: 1.7;
}

.article-body p {
    margin-bottom: 1rem;
}

/* Newsletter Pop-up */
.newsletter-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.newsletter-popup.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.newsletter-popup-content {
    background: linear-gradient(135deg, var(--color-white), rgba(241, 212, 223, 0.1));
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    border: 3px solid var(--color-primary);
}

.newsletter-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--color-secondary);
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.newsletter-close:hover {
    transform: rotate(90deg);
    color: var(--color-primary);
    background-color: rgba(241, 212, 223, 0.3);
}

.newsletter-header {
    text-align: center;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.newsletter-form-group {
    width: 100%;
}

.newsletter-form-group input[type="email"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    font-family: 'CocoGothic', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.newsletter-form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.newsletter-form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-secondary);
}

.newsletter-submit-btn {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    color: var(--color-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'CocoGothic', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(21, 57, 46, 0.3);
}

.newsletter-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    display: none;
}

.newsletter-message.success {
    display: block;
    background-color: rgba(21, 57, 46, 0.1);
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    text-align: left;
}

.newsletter-received-intro {
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.newsletter-received {
    margin-top: 0.5rem;
    padding: 0.5rem 0;
}

.newsletter-received-subject {
    font-weight: bold;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.newsletter-received-p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-weight: normal;
    font-size: 0.95rem;
}

.newsletter-received-p:last-child {
    margin-bottom: 0;
}

.newsletter-message.error {
    display: block;
    background-color: rgba(255, 0, 0, 0.1);
    color: #d32f2f;
    border: 2px solid #d32f2f;
}

/* Responsive - Tablettes */
@media (max-width: 1024px) {
    .page-content {
        padding: 3rem 1.5rem;
    }

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

    .menu-items {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        position: static;
    }

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

    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .navbar {
        padding: 1rem 1.5rem;
    }

    .logo-container {
        height: 50px;
    }

    /* Hero Section */
    .hero {
        height: 70vh;
        min-height: 500px;
        background-attachment: scroll;
        background-position: center;
        margin-top: 70px;
    }

    .hero-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 0.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .btn-decouvrir {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* Page Hero */
    .page-hero {
        height: 35vh;
        min-height: 250px;
        background-attachment: scroll !important;
    }

    /* Désactiver background-attachment: fixed sur mobile pour meilleures performances */
    .hero,
    .page-hero {
        background-attachment: scroll !important;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    /* Page Content */
    .page-content {
        padding: 2rem 1rem;
    }

    .page-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .page-title .font-anton {
        font-size: 2rem;
    }

    .page-title .font-catchy {
        font-size: 1.3rem;
        margin-left: 0.5rem;
    }

    /* Sections */
    .section {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    /* Cards */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.5rem;
    }

    /* Menu Items */
    .menu-items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .menu-item {
        padding: 1.2rem;
    }

    /* Espaces détaillés */
    .espace-detail-card {
        grid-template-columns: 1fr;
    }

    .espace-detail-image {
        min-height: 250px;
        max-height: 300px;
        order: -1;
    }

    .espace-detail-content {
        padding: 1.5rem;
    }

    .espace-detail-content .card-title {
        font-size: 1.3rem;
    }

    /* Gallery */
    .gallery-section {
        padding: 2rem 0;
        margin: 2rem 0;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item img {
        height: 250px;
    }

    /* Contact Section */
    .contact-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-item {
        padding: 1.2rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .contact-form {
        padding: 1.5rem;
        position: static;
    }

    /* Map */
    .map-container {
        padding: 0 1rem;
    }

    .map-wrapper {
        height: 300px;
    }

    .map-links {
        flex-direction: column;
        align-items: center;
    }

    .map-link {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Newsletter Popup */
    .newsletter-popup-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }

    .newsletter-header h2 {
        font-size: 2rem !important;
    }

    .newsletter-header h3 {
        font-size: 1.2rem !important;
    }

    /* Event Cards */
    .event-card .card-content {
        padding: 1.2rem;
    }

    .event-image {
        height: 200px;
    }

    .btn-event-details,
    .btn-reserver {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Event Modal */
    .event-modal-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
        max-height: 90vh;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-image {
        min-height: 220px;
    }

    .blog-card-image img {
        max-height: 240px;
    }

    /* Reservation */
    .reservation-grid {
        grid-template-columns: 1fr;
    }

    .reservation-card {
        padding: 2rem 1.5rem;
    }
}

/* Responsive - Petits mobiles */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .page-hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .navbar {
        padding: 0.8rem 1rem;
    }

    .logo-container {
        height: 45px;
    }

    .page-content {
        padding: 1.5rem 0.8rem;
    }

    .card {
        padding: 1.2rem;
    }

    .btn-decouvrir {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .espace-detail-image {
        min-height: 200px;
        max-height: 250px;
    }

    .menu-item-price {
        font-size: 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    .btn-submit {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Optimisations pour très petits écrans */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .page-hero-title {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .card {
        padding: 1rem;
    }

    .page-content {
        padding: 1rem 0.5rem;
    }
}
