:root {
    --primary-color: #121212;
    --secondary-color: #f8f5f2;
    --accent-color: #d4af37;
    --wood-color: #d2b48c;
    --text-color: #333;
    --light-gray: #eaeaea;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(248, 245, 242, 0.9);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(248, 245, 242, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--secondary-color);
    z-index: 10;
    width: 80%;
    max-width: 800px;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.slider-nav button {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Property Section */
.property-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .property-grid {
    grid-template-columns: 1fr 1fr;
  }
}


.property-desc h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.property-desc p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: var(--accent-color);
    font-size: 1.5rem;
}


.highlight-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-10px);
}

.highlight-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.highlight-content {
    padding: 20px;
    background-color: white;
}

.highlight-content h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Beaches Section */
.beaches-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.beaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.beach-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.beach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.beach-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.beach-content {
    padding: 20px;
}

.beach-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.distance {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Map Section */
.map-section {
    padding: 100px 0;
}

.map-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

.map-pointers {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.pointer {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 8px 15px;
    border-radius: 30px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.pointer i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    text-align: left;
}

.contact-info h2::after {
    margin: 15px 0;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.date-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo {
    color: var(--secondary-color);
}

.footer-logo p {
    margin-top: 15px;
    opacity: 0.8;
}

.footer-links h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-social h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--secondary-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 5px;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.prev-image, .next-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-image {
    left: -70px;
}

.next-image {
    right: -70px;
}

/* Reservation Button */
.reservation-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: var(--transition);
}

.reservation-btn i {
    font-size: 1.5rem;
}

.reservation-btn span {
    font-size: 0.7rem;
    font-weight: 500;
    margin-top: 2px;
    display: none;
}

.reservation-btn:hover {
    transform: translateY(-5px) scale(1.1);
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.reservation-btn:hover span {
    display: block;
}

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

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

/* Responsive Design */
@media (max-width: 992px) {
    .property-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 80px;
        background-color: var(--secondary-color);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        clip-path: circle(0px at 90% -10%);
        transition: all 0.5s ease-out;
        pointer-events: none;
    }
    
    .nav-links.active {
        clip-path: circle(1000px at 90% -10%);
        pointer-events: all;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .burger {
        display: block;
    }
    
    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .burger.active .line2 {
        opacity: 0;
    }
    
    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .date-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
}





/* Navigation Gallery */
.gallery-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.gallery-nav-btn {
    padding: 10px 20px;
    background: var(--wood-color);
    border: none;
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-nav-btn:hover {
    background: var(--accent-color);
}

.gallery-nav-btn.active {
    background: var(--accent-color);
    font-weight: 600;
}

/* Subsection */
.gallery-subsection {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.gallery-subsection.active {
    display: block;
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.subsection-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 10px auto;
}



/* Navigation Gallery */
.gallery-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    padding: 15px 0;
}

.gallery-nav-btn {
    padding: 12px 24px;
    background: var(--wood-color);
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.gallery-nav-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.gallery-nav-btn.active {
    background: var(--accent-color);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Subsection */
.gallery-subsection {
    display: none;
    animation: fadeIn 0.5s ease-out;
    margin-top: 20px;
}

.gallery-subsection.active {
    display: block;
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    font-family: 'Playfair Display', serif;
}

.subsection-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}



:root {
  --primary-hover: #1e1e1e;
  --accent-hover: #c49c2e;
}

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


.nav-links.active {
  clip-path: circle(1000px at 90% -10%);
  transition: clip-path 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}


.lightbox {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}


.lightbox.active .lightbox-image {
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


.popup {
    display: none; 
    position: fixed; 
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    position: relative;
}
.popup-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 28px;
    cursor: pointer;
}


/* ==========================================================================
   #CONTACT SECTION (alignée sur le style global du site)
   ========================================================================== */
.contact-section {
    padding: var(--space-xl) 0;
    background-color: var(--secondary-color); /* Même fond que les autres sections */
    position: relative;
}

.contact-section .section-title {
    text-align: center;
    font-family: var(--font-secondary);
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    position: relative;
}

.contact-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: var(--space-sm) auto 0;
    border-radius: var(--radius-sm);
}

/* --- Grille générale --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Infos de contact --- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    background: var(--card-bg);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-info h2 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    position: relative;
}

.contact-info h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin-top: var(--space-xs);
    border-radius: var(--radius-sm);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.info-item:hover {
    background-color: rgba(212, 175, 55, 0.08);
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-top: 2px;
}

.info-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
}

.info-content p,
.info-content a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-base);
}

.info-content a:hover {
    color: var(--accent-color);
}

/* --- Formulaire --- */
.contact-form {
    background: var(--card-bg);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    transition: var(--transition-base);
    background-color: var(--input-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

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

.date-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 576px) {
    .date-group {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Bouton --- */
.submit-btn {
    display: inline-block;
    width: 100%;
    max-width: 320px; /* Largeur max élégante */
    margin: 0 auto;
    padding: 16px 24px; /* Bouton plus haut */
    font-size: 1.15rem; /* Texte plus grand */
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    background: linear-gradient(135deg, var(--accent-color), #e6c94d); /* Dégradé or */
    border: none;
    border-radius: 50px; /* Bouton bien arrondi */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #e6c94d, var(--accent-color));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}




/* Pour smartphones */
@media (max-width: 576px) {
  body {
    font-size: 16px; /* plus lisible sur petit écran */
  }

  .container {
    padding: 10px;
    width: 100%;
  }

  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 60px;
    right: 0;
    width: 100%;
    background-color: white;
  }

  .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
  }
}


/* ==========================================================================
   #MOBILE FIRST ADAPTATIONS
   ========================================================================== */

@media (max-width: 768px) {
  /* Réduction générale des espacements */
  .section {
    padding: 60px 0;
  }
  
  /* Navigation */
  .navbar {
    padding: 15px 0;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  /* Hero section */
  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  /* Sections */
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  /* Property grid */
  .property-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .gallery-item {
    height: 180px;
  }
  
  /* Contact section */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .date-group {
    grid-template-columns: 1fr;
  }
  
  /* Formulaire */
  .form-group {
    margin-bottom: 15px;
  }
  
  .submit-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* Lightbox */
  .lightbox-content {
    max-width: 95%;
  }
  
  .prev-image, .next-image {
    width: 40px;
    height: 40px;
  }
  
  .prev-image {
    left: 10px;
  }
  
  .next-image {
    right: 10px;
  }
  
  /* Bouton de réservation */
  .reservation-btn {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}

/* Pour les très petits écrans */
@media (max-width: 480px) {
  .container {
    width: 95%;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-nav {
    flex-direction: column;
    align-items: center;
  }
  
  .gallery-nav-btn {
    width: 100%;
    text-align: center;
  }
  
  /* Formulaire */
  .contact-info, .contact-form {
    padding: 20px 15px;
  }
  
  .info-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Améliorations spécifiques pour iOS */
@supports (-webkit-touch-callout: none) {
  input, textarea, select {
    font-size: 16px; /* Empêche le zoom automatique sur iOS */
  }
}

/* Correction pour les viewports mobiles */
@viewport {
  width: device-width;
  zoom: 1.0;
}

/* Optimisation des interactions tactiles */
button, a, input[type="submit"], .btn {
  -webkit-tap-highlight-color: transparent;
  min-height: 44px; /* Taille cible minimum pour les doigts */
  min-width: 44px;
}

/* Amélioration de la lisibilité sur mobile */
body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  line-height: 1.5;
}

/* Optimisation des images */
img {
  max-width: 100%;
  height: auto;
}

/* Masquer les éléments non essentiels sur mobile */
.mobile-hidden {
  display: none !important;
}

@media (min-width: 769px) {
  .desktop-hidden {
    display: none !important;
  }
}


/* ==========================================================================
   #FORMULAIRE DE RÉSERVATION - OPTIMISATION MOBILE
   ========================================================================== */

/* Conteneur des dates */
.date-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

/* Groupes individuels de date */
.date-input-group {
  flex: 1;
  width: 100%;
}

/* Style des inputs date */
.date-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; /* Important pour iOS */
  background-color: white;
  color: var(--text-color);
  transition: var(--transition);
}

.date-input:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Label des dates */
.date-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* Icônes de date */
.date-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-color);
  pointer-events: none;
}

/* Conteneur relatif pour positionnement icône */
.date-input-container {
  position: relative;
}

/* Adaptation spécifique pour mobile */
@media (max-width: 768px) {
  .date-group {
    gap: 12px;
  }
  
  .date-input {
    padding: 14px 15px; /* Plus grand pour le tactile */
    font-size: 15px; /* Taille optimale pour mobile */
  }
  
  /* iOS a besoin de cette déclaration */
  input[type="date"]:before {
    color: #999;
    content: attr(placeholder) ": ";
  }
  
  input[type="date"]:focus:before,
  input[type="date"]:valid:before {
    content: "";
  }
}

/* Correction pour Safari */
@media not all and (min-resolution:.001dpcm) { 
  @supports (-webkit-appearance:none) {
    .date-input {
      min-height: 44px; /* Hauteur minimum pour iOS */
    }
  }
}

/* Style commun pour tous les navigateurs */
input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px; /* Taille tactile minimum */
}

/* Placeholder personnalisé pour les dates */
input[type="date"]::placeholder {
  color: #999;
  opacity: 1;
}

/* Style lorsque la date est sélectionnée */
input[type="date"]:valid {
  color: var(--text-color);
}


/* Style des champs date */
.date-input-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.date-input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  background-color: white;
  color: var(--text-color);
  transition: var(--transition);
  min-height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23d4af37' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
}

.date-input[type="date"] {
  color: var(--text-color);
}

.date-input[type="text"] {
  color: #999;
}

.date-input:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Style pour mobile */
@media (max-width: 768px) {
  .date-input {
    padding: 15px;
    min-height: 44px;
  }
}

