/* ---------- VARIABLES CSS ---------- */
:root {
    --primary-color: #0f2b45;
    --secondary-color: #f8f9fa;
    --accent-color: #e3f2fd;
    --text-color: #1c1c1c;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

/* ---------- BASE ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: var(--text-color);
    line-height: 1.6;
}

button:focus, a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ---------- HERO ---------- */
.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-image-container {
    position: relative;
}

.hero-image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.hero-title {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--primary-color);
    font-size: 2.5rem;
    padding: 0.5rem 2rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    max-width: 85%;
    width: auto;
    min-width: 60%;
}

.hero-text {
    margin-top: 1.3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.mobile-text {
    display: none;
}

.desktop-text {
    display: block;
}

.details {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    color: #555;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.hero button {
    background: var(--primary-color);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.hero button:hover {
    background: #0d2235;
}

/* ---------- GALERIE ---------- */
.gallery {
    position: relative;
    max-width: 1100px;
    margin: 2rem auto;
    overflow: hidden;
}

.gallery-container {
    width: 100%;
    height: 170px;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 4px;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

.gallery-item {
    flex: 0 0 auto;
}

.gallery-item img {
    width: 240px;
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s;
}

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

.gallery-fade-left, .gallery-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
}

.gallery-fade-left {
    left: 0;
    background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.gallery-fade-right {
    right: 0;
    background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
}

.lightbox.show {
    display: flex;
}

.lightbox[inert] {
    display: none;
}

.lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 6px;
}

.lightbox button {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox button:hover {
    background: rgba(255, 255, 255, 1);
    color: #ff6600;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ---------- SECTIONS INFO ---------- */
.info-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem 1rem;
    background: #fff;
    max-width: 1100px;
    margin: 0 auto 4rem;
}

.equipements, .location {
    flex: 1 1 400px;
}

.equipements h2, .location h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    text-align: center;
}

.equip-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    font-size: 1rem;
    color: #333;
}

.equip-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
}

.equip-list li i {
    font-size: 1.2rem;
    color: #555;
    background: #f0f0f0;
    border-radius: 50%;
    padding: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.equip-list li:hover i {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.2);
}

.equip-list li:hover {
    color: var(--primary-color);
}

/* ---------- LOCALISATION ---------- */
.location {
    flex: 1 1 100%;
}

.location h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    margin-top: 2.5rem;
    text-align: center;
}

.location-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.location-description {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
}

.location-description p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.location-description .building-info {
    font-style: italic;
    color: #666;
    font-size: 1rem;
}

.location-description .desktop-text {
    display: block;
}

.location-description .mobile-text {
    display: none;
}

/* ---------- TITRES AVEC TRAITS HORIZONTAUX ---------- */
.equipements h2,
.location h2,
.commerces-title,
.contact-aligned h2,
.tarifs h2 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.equipements h2::before,
.equipements h2::after,
.location h2::before,
.location h2::after,
.commerces-title::before,
.commerces-title::after,
.contact-aligned h2::before,
.contact-aligned h2::after,
.tarifs h2::before,
.tarifs h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    max-width: 500px;
}

.equipements h2::before,
.location h2::before,
.commerces-title::before,
.contact-aligned h2::before,
.tarifs h2::before {
    background: linear-gradient(to left, var(--border-color), transparent);
}

.equipements h2::after,
.location h2::after,
.commerces-title::after,
.contact-aligned h2::after,
.tarifs h2::after {
    background: linear-gradient(to right, var(--border-color), transparent);
}

/* ---------- CARTE INTERACTIVE ---------- */
.map-container {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.map-container:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

.equipements img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

/* ---------- COMMERCES ---------- */
.commerces-section {
    padding-top: 0;
}

.commerces-container {
    flex: 1 1 100%;
}

.commerces-title {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.8rem;
    text-align: center;
}

.commerces-list {
    font-size: 0.9rem;
    line-height: 1.5;
    list-style: none;
    padding-left: 0;
    column-count: 1;
}

.commerce-group {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.commerce-group strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.commerce-item {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
    line-height: 1.6;
}

.commerce-item::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.commerce-item strong {
    color: var(--primary-color);
    font-weight: 600;
    display: inline;
    margin-bottom: 0;
}

/* ---------- PLAN MARINA DESKTOP ---------- */
.image-clickable {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.image-clickable img {
    width: 100%;
    height: auto;
    pointer-events: none;
}

/* ---------- NAVIGATION ---------- */
.side-nav {
    position: fixed;
    top: 350px;
    left: 0;
    transform: translateY(0);
    background: #fff;
    padding: 1rem 0.75rem;
    border-radius: 0 12px 12px 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--border-color);
}

.side-nav .nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.side-nav .nav-links li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    transition: color 0.3s, background 0.3s, border-radius 0.3s;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.side-nav .nav-links li a:hover {
    color: #fff;
    background-color: var(--primary-color);
}

/* ---------- TOURISM LINK ---------- */
.tourism-link {
    margin: 2rem 0 0 0;
    width: 100%;
    display: flex;
    justify-content: stretch;
}

.tourism-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    width: 100%;
    font-size: 1.1rem;
}

.tourism-link a i {
    font-size: 1.1rem;
    color: #555;
    background: #f0f0f0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.tourism-link a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 43, 69, 0.3);
}

.tourism-link a:hover i {
    background: #fff;
    color: var(--primary-color);
}

.special-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap; /* permet de passer à la ligne sur mobile */
}

.special-links .tourism-link {
  width: auto;       /* annule le width:100% global */
  flex: 1 1 auto;    /* flexible mais propre */
  margin: 0;
  min-width: fit-content; /* évite que ça écrase le texte */
}

.special-links .tourism-link a {
  white-space: nowrap; /* empêche retour à la ligne */
  display: flex;       /* garde ton centrage */
  justify-content: center;
  align-items: center;
}

/* ---------- CONTACT ---------- */
.contact-section {
    padding: 2rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-container {
    text-align: center;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.calendar {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.calendar iframe {
    width: 100%;
    height: 600px;
    border: 0;
}

.contact-aligned {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.contact-form {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: var(--shadow-light);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-group.full-width {
    flex: 1 1 100%;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(15, 43, 69, 0.1);
}

.form-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem auto 0;
}

.form-submit:hover {
    background: #0d2235;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 43, 69, 0.3);
}

.contact-box {
    text-align: center;
    margin: 2rem 0;
}

.contact-mail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.contact-mail:hover {
    background: #0d2235;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 43, 69, 0.3);
}

/* ---------- MESSAGE DE SUCCÈS ---------- */
.success-message {
    display: none;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.success-message.show {
    display: block;
}

.success-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #28a745;
}

.success-message h3 {
    margin-bottom: 1rem;
    color: #155724;
}

.retour-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem auto 0;
}

.retour-button:hover {
    background: #0d2235;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 43, 69, 0.3);
}

/* ---------- TARIFS ---------- */
.tarifs {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.tarif-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.tarif-table th,
.tarif-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.tarif-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.tarif-table tr:hover {
    background: var(--secondary-color);
}

.tarif-note {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    text-align: center;
}

.tarif-note p {
    margin-bottom: 0.5rem;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 4rem;
}

/* ---------- LOGO BAS DROITE ---------- */
.logo-bas-droite {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.logo-bas-droite img {
    width: 100px;
    height: auto;
    opacity: 0.8;
    transition: var(--transition);
}

.logo-bas-droite img:hover {
    opacity: 1;
    transform: scale(1.5);
}

/* ---------- MASQUAGE FORMULAIRE ---------- */
.form-hidden {
    display: none !important;
}

/* ---------- SECTION COMMENTAIRES ---------- */
.commentaires-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem 1rem;
}

.commentaires-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.commentaire-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.commentaire-header {
    margin-bottom: 1rem;
}

.commentaire-nom {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.commentaire-note {
    margin-bottom: 0.5rem;
}

.commentaire-note i {
    color: #ffd700;
    font-size: 1rem;
    margin-right: 2px;
}

.commentaire-date {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.commentaire-texte {
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin: 0;
    padding-left: 1rem;
    border-left: 2px solid #e9ecef;
}

/* ---------- GALERIE DESKTOP/MOBILE ---------- */
.gallery-mobile-airbnb {
    display: none;
}

.gallery-desktop {
    display: block;
}


.tourism-link a:hover