/* =========================================================
   GENERAL
========================================================= */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
	

}

body {
    font-family: Georgia, "Times New Roman", serif;
    background: #fff;
	color: #333;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
}

.header-logo {
    position: absolute;
    top: 25px;
    left: 40px;
}

.header-logo img {
    display: block;
    width: 280px;
    height: auto;
}


/* =========================================================
   MENU
========================================================= */

.menu {
    position: absolute;
    top: 45px;
    right: 45px;
    z-index: 20;
}

.menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 38px;
}

.menu a {
    position: relative;
    display: block;
    padding: 10px 0;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #e5c47b;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #e5c47b;
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}


/* =========================================================
   PAGE ACCUEIL — HERO
========================================================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;

    background-image: url("../img/pleine-page.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.35);

    z-index: 1;
}

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

    text-align: center;
    color: #fff;

    padding: 30px;
}

.hero-content h1 {
    margin: 0;

    font-size: 64px;
    font-weight: normal;
    letter-spacing: 2px;

    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.hero-line {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 25px;
    margin-top: 25px;
}

.hero-line::before,
.hero-line::after {
    content: "";

    width: 150px;
    height: 1px;

    background: rgba(255, 255, 255, 0.8);
}

.hero-line span {
    font-size: 18px;
    letter-spacing: 9px;
    margin-left: 9px;
    color: #fff;
}

.hero-content p {
    margin-top: 30px;

    font-size: 22px;
    font-style: italic;
    letter-spacing: 1px;

    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}


/* =========================================================
   PAGE LOGEMENTS
========================================================= */

.page-logements {
    width: 100%;
    max-width: 1250px;

    margin: 0 auto;

    padding: 160px 30px 70px;

    box-sizing: border-box;
}


/* =========================================================
   MENU SUR PAGE LOGEMENTS
   Le fond étant clair, le menu devient sombre.
========================================================= */

body:has(.page-logements) .menu a {
    color: #333;
}

body:has(.page-logements) .menu a:hover {
    color: #a88945;
}


/* =========================================================
   PANNEAUX LOCALISATION + INFORMATIONS
========================================================= */

.contact-panels {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;

    margin-bottom: 80px;
}

.contact-panel {
    background: #fff;

    border: 1px solid #e3e0da;
    border-radius: 8px;

    padding: 30px;

    box-sizing: border-box;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-panel h2 {
    margin: 0 0 25px;

    text-align: center;

    font-size: 28px;
    font-weight: normal;

    color: #333;
}

.contact-panel h3 {
    margin: 10px 0 20px;

    font-size: 24px;
    font-weight: normal;

    color: #333;
}

.contact-panel p,
.contact-panel li {
    font-family: Arial, sans-serif;

    font-size: 16px;
    line-height: 1.7;

    color: #555;
}

.contact-panel ul {
    padding-left: 25px;
    margin-top: 10px;
    margin-bottom: 20px;
}


/* =========================================================
   GOOGLE MAPS
========================================================= */

.map-container {
    width: 100%;
    height: 300px;

    overflow: hidden;

    border-radius: 6px;
}

.map-container iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}

.map-link {
    text-align: center;

    margin: 18px 0 0;
}

.map-link a {
    color: #9a7b3f;

    text-decoration: none;

    font-family: Arial, sans-serif;
    font-size: 15px;
}

.map-link a:hover {
    color: #6f572b;

    text-decoration: underline;
}



/* =========================================================
   BANDEAU NOS LOGEMENTS
========================================================= */

.section-title {
    position: relative;

    width: calc(100% - 40px);
    height: 150px;

    margin: 0 20px 45px;

    background-image: url("../img/pleine-page.jpg");
    background-size: cover;
    background-position: center center;

    border-radius: 8px;

    overflow: hidden;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}


/* Voile sombre */

.section-title::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: rgba(0, 0, 0, 0.35);
}
/* =========================================================
   TITRE NOS LOGEMENTS
========================================================= */

/* Titre */

.section-title h1 {
    position: relative;
    z-index: 2;

    margin: 0 0 8px;
    padding: 0 20px;

    font-size: 38px;
    font-weight: normal;

    color: #fff;

    text-align: center;

    letter-spacing: 1px;

    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}


/* Sous-titre */

.section-title p {
    position: relative;
    z-index: 2;

    margin: 0;
    padding: 0 20px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 16px;

    color: #fff;

    text-align: center;

    letter-spacing: 0.5px;

    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
/* =========================================================
   LOGEMENT
========================================================= */

.logement {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 100px;
    box-sizing: border-box;
    align-items: start;
}

/* =========================================================
   INFORMATIONS DU LOGEMENT
========================================================= */
.logement {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 30px;

    width: 100%;
    max-width: 100%;

    margin-bottom: 100px;

    box-sizing: border-box;
}

.logement-info {/* base : photo 3:2 et colonne gauche indépendante*/
    min-width: 0;
    text-align: left;
	margin-top: 25px; /* tout le bloc de gauche descend*/
    margin-bottom: 0;
    padding: 15px 10px 15px 5px;
    box-sizing: border-box;
	}

.logement-info h2 {
   
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: normal;
    color: #333;
    letter-spacing: 0.5px;
	margin: 0 0 12px;
}

.logement-info h2::after {
    content: "";
    display: block;
    width: 45px;
    height: 2px;
    margin-top: 12px;
    background: #b59652;
}

.logement-type {
    margin: 14px 0 22px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #a88945;
    letter-spacing: 0.8px;
	  margin: 16px 0 28px;
}

.logement-info p { /* paragraphe descriptif*/
    margin: 45px 0 25px; /* margin: HAUT  GAUCHE/DROITE  BAS*/
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.logement-info ul {/*liste des caractéristiques*/
    margin: 0 auto;
    width: fit-content;
    padding: 0;
    list-style: none;
}

.logement-info li {
    position: relative;
    margin-bottom: 11px;
    padding-left: 18px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.logement-info li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #b59652;
    font-size: 18px;
}

.photo-gallery {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}
/* =========================================================
   GALERIE
========================================================= */

.photo-gallery {
    width: 100%;
}


/* =========================================================
   GRANDE PHOTO
========================================================= */

.main-photo {
    position: relative;

    width: 100%;
    max-width: 100%;

    aspect-ratio: 3 / 2;

    overflow: hidden;

    background: #eee;

    border-radius: 10px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);

    box-sizing: border-box;
}

.main-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    cursor: pointer;
}


/* =========================================================
   FLECHES GRANDE PHOTO
========================================================= */

.gallery-prev,
.gallery-next {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.85);

    color: #333;

    font-family: Arial, sans-serif;

    font-size: 34px;
    line-height: 44px;

    cursor: pointer;

    z-index: 5;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #fff;

    transform: translateY(-50%) scale(1.08);
}


/* =========================================================
   BOUTON PLEIN ECRAN
========================================================= */

.gallery-fullscreen {
    position: absolute;

    right: 20px;
    bottom: 20px;

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.85);

    color: #333;

    font-size: 22px;

    cursor: pointer;

    z-index: 5;

    transition: background 0.3s ease;
}

.gallery-fullscreen:hover {
    background: #fff;
}


/* =========================================================
   COMPTEUR
========================================================= */

.photo-counter {
    position: absolute;

    left: 20px;
    bottom: 20px;

    padding: 7px 13px;

    border-radius: 20px;

    background: rgba(0, 0, 0, 0.55);

    color: #fff;

    font-family: Arial, sans-serif;

    font-size: 14px;

    z-index: 5;
}


/* =========================================================
   BANDE DES MINIATURES
========================================================= */

.thumbnails-wrapper {
    display: flex;

    align-items: center;

    width: 100%;

    margin-top: 12px;

    box-sizing: border-box;
}


/* =========================================================
   FLECHES MINIATURES
========================================================= */

.thumbnail-arrow {
    flex: 0 0 36px;

    width: 36px;
    height: 70px;

    padding: 0;

    border: 1px solid #ddd;

    border-radius: 6px;

    background: #fff;

    color: #555;

    font-family: Arial, sans-serif;

    font-size: 25px;

    line-height: 65px;

    cursor: pointer;

    z-index: 3;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.thumbnail-arrow:hover {
    background: #f7f3eb;

    color: #9a7b3f;
}


/* =========================================================
   CONTENEUR DES MINIATURES
========================================================= */

.thumbnails {
    flex: 1 1 auto;

    display: flex;

    gap: 9px;

    min-width: 0;

    margin: 0 10px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scrollbar-width: thin;
}


/* =========================================================
   MINIATURES
========================================================= */

.thumbnails img {
    flex: 0 0 115px;

    width: 115px;
    height: 76px;

    object-fit: cover;

    display: block;

    border-radius: 8px;

    border: 2px solid transparent;

    opacity: 0.72;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease;
}

.thumbnails img:hover {
    opacity: 1;

    transform: translateY(-2px);
}

.thumbnails img.active {
    opacity: 1;

    border-color: #b59652;

    box-shadow: 0 0 0 1px #b59652;
}


/* =========================================================
   FIN
========================================================= */