/* --- Variables & Reset --- */
:root {
    --bg-dark: #4F695B;    /* Noir profond légèrement adouci */
    --text-dark: #4F695B;
    --gold: #FFEFC2;       /* Or vieilli/laiton */
    --gold-dim: #AA9A70;   /* Or plus sombre pour les textes */
    --white: #ffffff;
}

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

body {
    font-family: 'Times New Roman', Times, serif; /* Écriture corps demandée */
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 17px;
}

/* --- Typographie --- */
h1, h2, h3, .logo, .logo-footer, .btn-gold {
    font-family: 'Dancing Script', cursive; /* Police titre demandée */
    font-weight: 700;
}

h2 {
    font-size: 3rem;
    color: var(--bg-dark);
    text-align: center;
    margin: 40px auto 25px auto;
}

h3 {
    font-size: 2.2rem;
    color: var(--gold);
}

/* --- Éléments Graphiques "Carte de Visite" --- */
.gold-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    width: 80%;
    margin: 20px auto;
}

.gold-line-short {
    width: 60px;
    height: 1px;
    background-color: var(--gold);
    margin: 15px auto;
}

/* --- Header & Nav --- */
header {
    text-align: center;
    padding: 40px 0 0 0;
    background-color: var(--white);
}

.logo {
    font-size: 3.5rem;
    color: var(--bg-dark);
    margin-bottom: 5px;
}

.tagline {
    font-style: italic;
    color: var(--gold-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 25px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--gold-dim);
}

/* --- Sections Principales --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 20px;
}

.hero {
    height: 70vh;
    /* Image placeholder évoquant le luxe bourgeois */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), 
                url('images/accueil.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.btn-gold {
    display: inline-block;
    padding: 10px 40px;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s;
    background: transparent;
}

.btn-gold:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

/* --- Chambres --- */
#chambres{
	padding-bottom:40px;
}
.rooms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.room-card {
    text-align: center;
    padding: 40px;
    border: 1px solid #eee;
    transition: border-color 0.3s;
	color: var(--white);
	text-decoration:none;
    /* Styles pour l'image de fond */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Pour positionner l'overlay */
    overflow: hidden; /* Pour contenir l'overlay */
}

.room-card:hover {
    border-color: var(--gold);
}

/* Overlay pour la lisibilite */
.room-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, 0.3); /* Fond blanc transparent */
    z-index: 1; /* Place l'overlay derriere le texte */
}
.room-card:hover::before {
    background-color: rgba(0, 0, 0, 0.15); /* Éclaircit un peu au survol */
}
/* Positionnement du texte par rapport a l'overlay */
.room-card h3,
.room-card p,
.room-card .gold-line-short {
    position: relative;
    z-index: 2; /* Place le texte devant l'overlay */
}

.room-card h3 {
    margin-top: 0;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}
.room-card:hover {
    cursor: pointer;
    transform: scale(1.02); /* Légère insistance visuelle */
    transition: transform 0.3s ease;
}
.room-meta {
    margin-top: 20px;
    color: var(--gold-dim);
	text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.6);
    font-size: 0.9rem;
}
.room-link {
    text-decoration: none; /* Supprime le soulignement */
    /* color: inherit;       /* Garde la couleur de texte définie dans .room-card */ */
    display: block;       /* Important : permet au lien d'occuper toute la surface */
    width: 100%;
    height: 100%;
    padding: 0;           /* On gère le padding au niveau de la card, pas du lien */
}
.room-link, .room-link:hover, .room-link:visited, .room-link:active {
    text-decoration: none !important; /* Force la suppression du soulignement */
    color: inherit !important;       /* Force la récupération de la couleur du parent */
    outline: none;                   /* Supprime la bordure de focus au clic */
    display: block;                  /* Indispensable pour remplir tout le bloc */
}
/* --- Images de fond specifiques --- */
.chambre-cottage-bg {
    background-image: url('images/chambre-cottage.jpg'); /* Remplacez par votre image */
}

.suite-phare-west-bg {
    background-image: url('images/suite-phare-west.jpg'); /* Remplacez par votre image */
}

/* --- Tarifs (Mode Sombre/Or) --- */
.bg-dark {
    background-color: var(--bg-dark);
}

.gold-text h2 {
    color: var(--gold);
}

.pricing-content {
    text-align: center;
    color: var(--white);
}

.main-price {
    font-size: 2rem;
    margin-bottom: 10px;
}

.main-price strong {
    color: var(--gold);
    font-size: 2.5rem;
}

.price-detail {
    font-style: italic;
    color: #ccc;
    margin-bottom: 30px;
}

.gold-list {
    list-style: none;
    display: inline-block;
    text-align: left;
}

.gold-list li::before {
    content: "◈ ";
    color: var(--gold);
    margin-right: 10px;
}

/* --- Créateurs --- */
.section-intro {
    text-align: center;
    font-style: italic;
    margin-bottom: 50px;
    color: var(--gold-dim);
}

.creators-list {
    max-width: 700px;
    margin: 0 auto;
}

.creator-entry {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.creator-cat {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    color: var(--gold-dim);
}

.creator-name {
    font-weight: bold;
    color: var(--gold-dim);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px 0;
    background-color: var(--white);
    color: var(--gold-dim);
    font-size: 0.9rem;
}

.logo-footer {
    font-size: 2.5rem;
    color: var(--bg-dark);
    margin-bottom: 10px;
}
/* --- Footer Links Style --- */
footer p {
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
    letter-spacing: 0.5px;
}

footer a {
    color: var(--gold-dim); /* Utilise l'or vieilli pour rester discret */
    text-decoration: none;  /* Supprime le soulignement par défaut */
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent; /* Prépare l'effet de survol */
    padding-bottom: 2px;
}

footer a:hover {
    color: var(--gold-dim); /* L'or s'illumine au survol */
    border-bottom: 1px solid var(--gold-dim); /* Apparition d'un soulignement élégant et fin */
}

/* Optionnel : Style spécifique pour le numéro de téléphone sur mobile */
@media (max-width: 600px) {
    footer a[href^="tel:"] {
        display: inline-block;
        padding: 10px 20px;
        border: 1px solid var(--gold);
        border-radius: 5px;
        margin-top: 5px;
    }
}
/* --- Adaptabilité Mobile (Responsive) --- */
@media (max-width: 768px) {
    
    /* Les cartes passent l'une sous l'autre */
    .rooms-grid {
        grid-template-columns: 1fr; /* Une seule colonne */
        gap: 20px; /* On réduit un peu l'espace entre les deux */
    }

    /* Ajustement de la taille des titres pour mobile */
    .hero h1 {
        font-size: 2.5rem; /* Plus petit pour ne pas déborder */
    }

    h2 {
        font-size: 2.2rem;
    }

    /* Optionnel : centrer la navigation sur mobile si besoin */
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- Mise en page spécifique Chambre --- */
.room-intro {
    text-align: center;
    padding-bottom: 20px;
}

.lead-text {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 20px auto;
    font-style: italic;
    color: var(--gold-dim);
}

/* Galerie */
.room-gallery {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 1200px; /* Évite que les photos ne soient trop géantes sur grand écran */
    margin: 0 auto 60px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.main-photo {
    flex: 2;
    aspect-ratio: 4 / 3; /* Force un ratio élégant sans hauteur fixe */
    background-size: cover;
    background-position: center;
    border: 1px solid var(--gold);
    border-radius: 4px; /* Un très léger arrondi pour le côté cosy */
}

.secondary-photos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.small-photo {
    flex: 1;
    aspect-ratio: 4 / 3; /* Garde le même ratio que la grande */
    background-size: cover;
    background-position: center;
    border: 1px solid var(--gold);
    border-radius: 4px;
}

/* --- LE CORRECTIF MOBILE (Essentiel) --- */
@media (max-width: 768px) {
    .room-gallery {
        flex-direction: column; /* Empile les photos verticalement */
        height: auto; /* Supprime toute restriction de hauteur */
    }

    .main-photo, .small-photo {
        width: 100%;
        aspect-ratio: 3 / 2; /* Un format un peu plus paysage sur mobile */
        height: 250px; /* Hauteur minimale pour qu'elles existent visuellement */
    }

    .secondary-photos {
        gap: 15px;
    }
}

/* Détails & Tarifs */
.details-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    text-align: left;
    margin-bottom: 80px;
}

.amenities h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--bg-dark);
    margin-bottom: 20px;
}

.amenities ul {
    list-style: none;
}

.pricing-card {
    background: var(--bg-dark);
    padding: 20px;
    border: 1px dashed var(--gold);
    text-align: center;
    color: var(--gold);
}
.pricing-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--gold);
}

.price span {
    font-size: 1rem;
    color: var(--gold-dim);
}
/* --- Style des liens de contact --- */
/* --- Section Réservation (Le Bloc Noir & Or) --- */
.reservation-box {
    padding: 80px 0; /* Donne de l'espace autour du texte */
    background-color: var(--bg-dark); /* Ton noir profond #1a1a1a */
    text-align: center;
    border-top: 1px solid var(--gold-dim); /* Une fine ligne dorée pour séparer du reste */
    border-bottom: 1px solid var(--gold-dim);
}

.reservation-box h2 {
    color: var(--gold); /* Le titre en Dancing Script et en Or */
    font-size: 3rem;
    margin-bottom: 20px;
}

.reservation-box p {
    color: var(--white); /* Le texte d'intro en blanc pour la lisibilité */
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 0px auto;
}

/* La classe gold-text que tu as utilisée dans le HTML */
.gold-text {
    color: var(--gold);
}

/* On s'assure que le container dans la box ne soit pas trop large */
.reservation-box .container {
    max-width: 800px;
}
.contact-options {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-options .btn-gold {
    display: inline-block; /* Permet une meilleure gestion des clics */
    padding: 5px 0;
    border: none;
    background: none;
    font-family: 'Times New Roman', serif;
    font-size: 1.3rem; /* Légèrement plus grand pour la lisibilité */
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-options .btn-gold:hover {
    color: var(--white);
    border-bottom: 1px solid var(--gold);
}

/* Style pour le "ou" séparateur */
.contact-separator {
    color: var(--gold-dim); /* Or tamisé */
    font-style: italic;
    font-size: 0.9rem;
    margin: 5px 0;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .room-gallery {
        flex-direction: column;
        height: auto;
    }
    .main-photo { height: 300px; }
    .secondary-photos { height: 400px; }
    .details-grid { grid-template-columns: 1fr; }
}