:root {
    /* Palette de couleurs "Méditerranéenne et Premium" */
    --color-primary: #006994;       /* Bleu Azur profond */
    --color-secondary: #556B2F;     /* Vert Olive */
    --color-accent: #D4AF37;        /* Touche dorée / soleil */
    --color-bg-light: #F9F9F7;      /* Blanc Cassé / Pierre */
    --color-text: #333333;          /* Gris foncé pour le texte */
    --color-white: #ffffff;
    
    /* Espacements */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    
    /* Typographie */
    --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'Georgia', serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 0.5rem auto 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: var(--font-heading);
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

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

.bg-light {
    background-color: var(--color-bg-light);
}

/* Header */
.site-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-switch {
    display: flex;
    gap: 1rem;
}

.lang-switch a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #444; /* Encore plus sombre pour le contraste */
}

.lang-switch a.active, .lang-switch a:hover {
    color: var(--color-primary);
    font-weight: bold;
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 500px;
    background-color: #ddd; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero-bg {
    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: rgba(0,0,0,0.5); /* Assombrit l'image pour le texte */
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
}

/* Intro Section */
.intro {
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.intro-title {
    display: block;
    color: var(--color-secondary);
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    font-family: var(--font-heading);
    font-weight: bold;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #333;
}

/* Features & Location Grids */
.features, .location {
    padding: var(--spacing-lg) 0;
}

.features-grid, .location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.feature-card, .location-item {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.feature-card h3, .location-item h4 {
    font-size: 1.2rem;
    color: var(--color-primary);
}

/* Outdoors Section */
.outdoors {
    padding: var(--spacing-lg) 0;
}

.outdoors-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .outdoors-content {
        flex-direction: row;
        align-items: center;
    }
    .outdoors-text {
        flex: 1;
    }
    .outdoors-image-placeholder {
        flex: 1;
    }
}

.outdoors-text ul {
    margin-top: 1rem;
    padding-left: 1rem;
}

.outdoors-text li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.rounded {
    border-radius: 8px;
}

.outdoors-image-wrapper {
    flex: 1;
}

/* Video Section */
.video-section {
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Availability Calendar */
.availability {
    padding: var(--spacing-lg) 0;
}

.calendars {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.calendar-month {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.calendar-month h3 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.calendar-month table {
    border-collapse: collapse;
}

.calendar-month th,
.calendar-month td {
    width: 40px;
    height: 40px;
    text-align: center;
    padding: 5px;
}

.calendar-month th {
    font-size: 0.8rem;
    color: #555;
}

.calendar-month td {
    font-weight: bold;
}

.calendar-month td.booked {
    text-decoration: line-through;
    color: #777;
    background-color: #e0e0e0;
    border-radius: 50%;
}

/* Gallery Section */
.gallery {
    padding: var(--spacing-lg) 0;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
}

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

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 80vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    text-decoration: none;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Contact Section */
.contact {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

.contact h2 {
    color: var(--color-white);
}

.contact h2::after {
    background-color: var(--color-white);
    opacity: 0.5;
}

.contact .btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
    margin-top: var(--spacing-md);
}

.contact .btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Formulaire Contact */
.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
    text-align: left;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

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

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #e0e0e0; /* Texte plus clair sur fond sombre */
    padding: var(--spacing-md) 0;
    text-align: center;
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}
