@import url('https://fonts.googleapis.com/css2?family=Lora&family=Playfair+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap');


/* ======= Général ======= */
html {
    scroll-behavior: smooth;
}

body {
    background-color: rgb(28, 12, 0);
    color: #f5f5f5;
    font-family: 'Poppins', sans-serif;
    padding-top: 90px; /* = hauteur de la navbar + petit espace */
    margin: 0;
    padding: 0;
}

/* ======= Container principal ======= */
.bg-container {
    background-color: rgb(28, 12, 0);
    padding-top: 80px; /* padding suffisant pour navbar */
    padding-bottom: 50px;
    border-radius: 7px;
}

/* ======= Titres sections ======= */
.first-part {
    font-family: 'Bodoni moda', serif;
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center;
    padding: 0.5rem 0; /* moins de padding vertical */
    margin-top: 1rem; /* réduit l'espace avant le titre */
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);

    /* correction pour navbar fixe */
    scroll-margin-top: 90px; /* si tu as une navbar de 80-90px de haut */
    
    transition: color 0.3s ease, text-shadow 0.3s ease;
    color: whitesmoke;
}

.first-part:hover {
    color: #e3a86b;
    text-shadow: 0 0 10px rgba(227, 168, 107, 0.4);
}


/* ======= Logements ======= */
.nom_logement {
    color: rgb(55, 23, 3);
}

/* Auto-scroll pour les logements */
.scroll-track {
    animation: autoScroll 40s linear infinite;
}
.scroll-track:hover {
    animation-play-state: paused;
}
@keyframes autoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Card design */
.logement-card {
    background: linear-gradient(135deg, #1f1f1f, #2c2c2c);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logement-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.4);
}
.logement-card .card-body {
    font-size: 0.95rem;
}
.logement-card .card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
}

/* Scrollbar custom */
.overflow-auto::-webkit-scrollbar {
    height: 6px;
}
.overflow-auto::-webkit-scrollbar-thumb {
    background-color: #ffc107;
    border-radius: 3px;
}

/* ======= Boutons ======= */
.btn-outline-warning {
    background-color: #ffe96c;
    color: #000000;
    box-shadow: 0 0 8px #FFD700;
    font-weight: 600;
    border: 2px solid #FFD700;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-outline-warning:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #FFD700;
    background-color: #e3a86b;
    color: #fff;
}

/* ======= Intro section ======= */
.intro p {
    font-family: 'Cormorant Garamond', serif;
}

/* ======= Services / Activités ======= */
.services-section {
    padding: 4rem 2rem;
    border-radius: 12px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.services-section:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
.services-section h3, .services-section h5 {
    font-family: 'Bodoni moda';
    font-weight: bold;
}
.services-section p {
    font-family: 'Cormorant Garamond', serif;
    color: #f5f5f5;
}

/* Images circulaires */
.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 50% 50% 0 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.service-img:hover {
    transform: scale(1.05);
}

/* ======= Responsive ======= */
@media (max-width: 992px) {
    .services-section { padding: 3rem 1.5rem; }
    .service-img { height: 180px; }
    .first-part { font-size: 2.4rem; scroll-margin-top: 100px; }
}

@media (max-width: 768px) {
    .services-section { padding: 3rem 1rem; }
    .service-img { height: 150px; }
    .btn-desert { width: 100%; text-align: center; }
    .first-part { font-size: 2rem; scroll-margin-top: 80px; }
    .nom_logement { font-size: 1.1rem; }
}

/* ======= Hero Banner ======= */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.75);
}
.hero-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1;
}
.hero-banner .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero-banner h5 { font-weight: 300; margin-bottom: 1rem; }
.hero-banner h1 { font-family: 'Bodoni moda', serif; font-size: 3rem; font-weight: bold; margin-bottom: 1rem; }
.hero-banner p { font-size: 1.25rem; margin-bottom: 2rem; }
.hero-banner .btn { padding: 0.75rem 2rem; font-size: 1.1rem; border-radius: 50px; transition: all 0.3s ease; }
