/* Styles généraux et réinitialisation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #57725c; /* Vert forêt adapté à la Sologne */
    --secondary-color: #b08d57; /* Couleur bois plus chaude */
    --accent-color: #e8d9bf; /* Beige clair légèrement ajusté */
    --text-color: #333;
    --light-color: #f8f8f8;
    --dark-color: #222;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    padding-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* En-tête et navigation - VERSION CORRIGÉE */
header {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 65px;
}

/* Site name à gauche - plus compact */
.site-name h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin: 0;
    white-space: nowrap;
}

/* Navigation à droite - plus compacte */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: rgba(255,255,255,0.2);
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff; /* Changement pour mettre le texte en blanc */
}
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

nav ul li a i {
    margin-right: 8px;
}

nav ul li a:hover, 
nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Hero et bannières de page */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 0;
    padding-top: 65px;
}

.page-banner {
    height: 40vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 0;
    padding-top: 65px;
}

.hero-content, .banner-content {
    max-width: 800px;
    padding: 0 2rem;
    transform: translateY(20px);
}

.hero-content h1, .banner-content h1 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p, .banner-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: white;
    font-weight: 600;
}

/* Boutons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: var(--light-color);
    border: none;
}

.btn-secondary {
    background-color: var(--light-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a21, #3a5f42);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

.btn-primary:active, .btn-secondary:active {
    transform: translateY(1px);
}

/* Structure principale */
main {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

section {
    margin-bottom: 5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 60px;
    background-color: var(--secondary-color);
}

/* Page d'accueil - Sections */
.description-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.description-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.description-img img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Style pour la section des détails */
.details-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detail-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.detail-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.detail-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Galerie d'images */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.gallery-img {
    transition: var(--transition);
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* Page Activités */
.activity-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.activity-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.activity-content {
    padding: 2rem;
}

.activity-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.activity-content p {
    margin-bottom: 1rem;
}

.activity-content a {
    display: inline-block;
    margin-top: 1rem;
}

/* Page Réservation */
.reservation-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.reservation-text ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.booking-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-reserve, .btn-airbnb {
    display: flex;
    align-items: center;
}

.btn-reserve i, .btn-airbnb i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial::before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--accent-color);
    opacity: 0.5;
}

.testimonial-author {
    text-align: right;
    font-style: italic;
    margin-top: 1rem;
    color: var (--primary-color);
}

/* Pied de page */
footer {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: var(--light-color);
    padding: 3rem 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.footer-info h3, .footer-links h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-info p {
    margin-bottom: 0.8rem;
}

.footer-info i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 16px;
    text-align: center;
    vertical-align: middle;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    margin-left: 5px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
}

/* Logo styling */
.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Remove old logo styles */
.logo-container,
.logo-icon,
.logo-text,
.logo-main,
.logo-sub {
    display: none;
}

/* Responsive logo */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
        max-width: 150px;
    }
}

/* Burger menu styles - AMÉLIORÉ */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Burger menu animation when active */
.burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation desktop */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: rgba(255,255,255,0.2);
}

/* MOBILE - CORRECTION COMPLETE */
@media (max-width: 768px) {
    /* Forcer l'affichage du burger menu */
    .burger-menu {
        display: flex !important;
    }
    
    /* CACHER complètement la nav normale */
    nav {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100vh !important;
        background: linear-gradient(135deg, #2c5530, #4a7c59) !important;
        transition: left 0.3s ease !important;
        z-index: 999 !important;
        padding-top: 55px !important;
    }
    
    /* Menu ouvert */
    nav.active {
        left: 0 !important;
    }
    
    /* Items du menu mobile - CORRIGÉ */
    nav ul {
        flex-direction: column !important;
        padding: 3rem 0 !important;
        height: 100% !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }
    
    nav ul li {
        width: 100% !important;
        text-align: center !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        margin: 0 !important;
    }
    
    nav ul li a {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 1.8rem 2rem !important;
        font-size: 1.2rem !important;
        border-radius: 0 !important;
        width: 100% !important;
        color: white !important;
        text-decoration: none !important;
        gap: 0.8rem !important;
    }
    
    nav ul li a i {
        font-size: 1.3rem !important;
    }
    
    nav ul li a:hover,
    nav ul li a.active {
        background-color: rgba(255,255,255,0.15) !important;
    }
    
    /* Header mobile - plus compact */
    header {
        justify-content: space-between !important;
        flex-direction: row !important;
        padding: 0.6rem 1rem !important;
        height: 55px !important;
    }
    
    .site-name h2 {
        font-size: 1rem;
    }
    
    /* Burger menu plus petit */
    .burger-menu {
        padding: 3px;
    }
    
    .burger-menu span {
        width: 20px;
        height: 2px;
    }
    
    /* Bannières mobile - titres plus petits */
    .hero, .page-banner {
        height: 50vh;
        padding-top: 55px !important;
    }
    
    .hero-content h1, .banner-content h1 {
        font-size: 1.8rem !important;
        margin-bottom: 2rem !important;
        line-height: 1.2 !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
        color: white !important;
        font-weight: bold !important;
    }
    
    .hero-content p, .banner-content p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.4 !important;
        color: #222 !important;
        font-weight: 600 !important;
    }
    
    /* Boutons hero mobile */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.2rem;
        font-size: 0.8rem;
        font-weight: bold;
    }
    
    /* Ajustements généraux mobile */
    main {
        margin: 2rem auto;
        padding: 0 1rem;
    }
    
    h2 {
        font-size: 1.6rem !important;
    }
    
    .description-container,
    .activity-card,
    .reservation-container,
    .pricing-container-pro {
        grid-template-columns: 1fr;
    }
    
    /* Services et détails mobile */
    .services-grid,
    .details-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card,
    .detail-card {
        padding: 1.5rem;
    }
    
    /* Galerie mobile */
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    /* Activity cards mobile */
    .activity-card {
        margin-bottom: 2rem;
    }
    
    .activity-content {
        padding: 1.5rem;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero-content h1, .banner-content h1 {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-content p, .banner-content p {
        font-size: 1rem !important;
        color: white !important;
    }
    
    .hero-content, .banner-content {
        transform: translateY(10px);
    }
}

/* Ajuster le padding-top du hero pour desktop */
.hero {
    /* ...existing code... */
    padding-top: 65px;
}

.page-banner {
    /* ...existing code... */
    padding-top: 65px;
}

/* ...existing code... */

/* Responsive */
@media (max-width: 992px) {
    .description-container,
    .activity-card,
    .reservation-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1, .banner-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo h2 {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .hero, .page-banner {
        height: 50vh;
        padding-top: 80px; /* Assurer le padding sur mobile */
    }
    
    .booking-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .burger-menu {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, #2c5530, #4a7c59);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 2rem 0;
        height: 100%;
        justify-content: flex-start;
        gap: 0;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    nav ul li a {
        display: block;
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
        border-radius: 0;
        width: 100%;
    }
    
    nav ul li a:hover {
        background-color: rgba(255,255,255,0.1);
    }
    
    /* Header adjustments for mobile */
    header {
        padding: 1rem 2rem;
        justify-content: space-between;
    }
    
    .container {
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 576px) {
    main {
        margin: 2rem auto;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1, .banner-content h1 {
        font-size: 2rem;
    }
}

/* Styles pour la réservation simplifiée - MOBILE FIRST */
.booking-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Desktop - 2 colonnes côte à côte */
@media (min-width: 769px) {
    .booking-options {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Pricing container - MOBILE FIRST */
.pricing-container-pro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 900px;
    padding: 0 1rem;
}

/* Desktop - 2 colonnes pour les tarifs */
@media (min-width: 769px) {
    .pricing-container-pro {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 0;
    }
}

.price-card-centered {
    background-color: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

/* Desktop - plus de padding */
@media (min-width: 769px) {
    .price-card-centered {
        padding: 2.5rem 2rem;
        height: 100%;
    }
}

.price-card-centered ul {
    text-align: left;
    margin-top: 1.5rem;
    flex-grow: 1;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: center;
    width: 100%;
    justify-content: center;
}

/* Desktop - bouton plus petit */
@media (min-width: 769px) {
    .btn-small {
        width: auto;
    }
}

/* Phone booking - Badge responsive */
.phone-booking::before {
    content: "MEILLEUR PRIX";
    position: absolute;
    top: -8px;
    right: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Desktop - badge plus grand */
@media (min-width: 769px) {
    .phone-booking::before {
        top: -10px;
        right: 20px;
        padding: 5px 15px;
        font-size: 0.8rem;
    }
}

/* Contact methods - mieux espacé mobile */
.contact-methods {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.2rem;
    border-radius: 8px;
    margin: 1.2rem 0;
}

.contact-methods p {
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-methods i {
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Desktop - plus d'espace */
@media (min-width: 769px) {
    .contact-methods {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .contact-methods p {
        margin: 1rem 0;
        line-height: 1.8;
        font-size: 1rem;
    }
}

/* Advantages - mieux espacé mobile */
.advantages {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.2rem;
    border-radius: 5px;
    margin-top: 1.2rem;
}

.advantages p {
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Desktop - plus d'espace */
@media (min-width: 769px) {
    .advantages {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .advantages p {
        margin: 1rem 0;
        line-height: 1.8;
        font-size: 1rem;
    }
}

/* Booking options - mieux espacé */
.booking-option {
    background-color: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    line-height: 1.6;
}

/* Desktop - plus de padding */
@media (min-width: 769px) {
    .booking-option {
        padding: 2.5rem 2rem;
        line-height: 1.7;
    }
}

.booking-option p {
    margin: 1rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Desktop - texte plus grand */
@media (min-width: 769px) {
    .booking-option p {
        margin: 1.2rem 0;
        line-height: 1.7;
        font-size: 1rem;
    }
}

/* Section informations pratiques - mieux centré */
.single-column {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Desktop - plus large */
@media (min-width: 769px) {
    .single-column {
        max-width: 600px;
        padding: 0;
    }
}

/* Suppression du style tax-info car plus utilisé */
.price-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 8px;
}

.price-main {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.price-subtitle {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}
