/* ========================================
   BELLONIE HERO COMPONENT - Réutilisable
   ======================================== */

:root {
    --bellonie-overlay: #4E4332;
    --bellonie-gold: #C9A227;
    --bellonie-cream: #F5F2EB;
}

/* Container principal */
.bellonie-hero {
    position: relative;
    width: 100%;
    min-height: 700px;
    height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px; /* Compense la navbar en overlay */
}

/* Variantes d'alignement */
.bellonie-hero--left .bellonie-hero__title,
.bellonie-hero--left .bellonie-hero__subtitle {
    text-align: left;
}

.bellonie-hero--center .bellonie-hero__title,
.bellonie-hero--center .bellonie-hero__subtitle {
    text-align: center;
}

.bellonie-hero--center .bellonie-hero__title-wrapper {
    justify-content: center;
}

.bellonie-hero--center .bellonie-hero__hand {
    order: -1;
}

.bellonie-hero--right .bellonie-hero__title,
.bellonie-hero--right .bellonie-hero__subtitle {
    text-align: right;
}

/* Background & Overlay */
.bellonie-hero__background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bellonie-hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bellonie-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: var(--bellonie-overlay);
    mix-blend-mode: multiply;
    opacity: 1;
}

/* Content */
.bellonie-hero > .container {
    z-index: 10;
    padding-top: 6rem;
    padding-bottom: 4rem;
}

/* Pointing Hand - Positioned on the left side */
.bellonie-hero__hand-side {
    position: absolute;
    left: 0;
    top: auto;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
    height: 65%;
    max-height: 500px;
    width: auto;
}

.bellonie-hero__hand-side-img {
    position: absolute;
    left: -30px;
    bottom: 0;
    width: auto;
    height: 100%;
    max-width: 20vw;
    object-fit: contain;
    object-position: bottom left;
    filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.3));
}

/* Étoile décorative derrière le titre */
.bellonie-hero__star-decoration {
    position: absolute;
    left: 12%;
    top: 50%;
    transform: translateY(-60%);
    z-index: 3;
    pointer-events: none;
    opacity: 1;
}

.bellonie-hero__star-decoration img {
    width: 350px;
    height: auto;
}

/* Title */
.bellonie-hero__title {
    font-size: 70px;
    font-weight: medium;
    line-height: 1.2;
    color: #FBF5E3;
    margin-bottom: 24px;
}

/* Subtitle */
.bellonie-hero__subtitle {
    font-size: 22px;
    font-weight: medium;
    line-height: 1.7;
    color: #FBF5E3;
}

/* Navigation Dots */
.bellonie-hero__nav-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.bellonie-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(245, 242, 235, 0.4);
    border: 1px solid rgba(245, 242, 235, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.bellonie-hero__dot:hover {
    background-color: rgba(245, 242, 235, 0.7);
    transform: scale(1.2);
}

.bellonie-hero__dot--active {
    background-color: var(--bellonie-cream);
    border-color: var(--bellonie-cream);
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Grand écran */
@media (min-width: 1400px) {
    .bellonie-hero__hand-side {
        height: 70%;
        max-height: 550px;
    }

    .bellonie-hero__hand-side-img {
        max-width: 18vw;
        left: -20px;
    }
}

/* Desktop moyen */
@media (max-width: 1199.98px) {
    .bellonie-hero__hand-side {
        height: 60%;
        max-height: 450px;
    }

    .bellonie-hero__hand-side-img {
        max-width: 18vw;
        left: -25px;
    }
}

/* Tablette */
@media (max-width: 991.98px) {
    .bellonie-hero {
        min-height: 70vh;
    }

    .bellonie-hero__hand-side {
        height: 55%;
        max-height: 380px;
    }

    .bellonie-hero__hand-side-img {
        max-width: 22vw;
        left: -20px;
        opacity: 0.85;
    }

    .bellonie-hero__star-decoration {
        left: 2%;
        opacity: 0.2;
    }

    .bellonie-hero__star-decoration img {
        width: 280px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .bellonie-hero {
        min-height: 60vh;
    }

    .bellonie-hero > .container {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

    .bellonie-hero__hand-side {
        height: 45%;
        max-height: 280px;
    }

    .bellonie-hero__hand-side-img {
        max-width: 28vw;
        left: -15px;
        opacity: 0.5;
    }

    .bellonie-hero__star-decoration {
        left: -5%;
        top: 40%;
        opacity: 0.15;
    }

    .bellonie-hero__star-decoration img {
        width: 200px;
    }

    .bellonie-hero__nav-dots {
        bottom: 1.5rem;
        gap: 0.5rem;
    }

    .bellonie-hero__dot {
        width: 8px;
        height: 8px;
    }
}

/* Petit mobile */
@media (max-width: 575.98px) {
    .bellonie-hero {
        min-height: 55vh;
    }

    .bellonie-hero > .container {
        padding-top: 3rem;
        padding-bottom: 2.5rem;
    }

    .bellonie-hero__hand-side {
        height: 35%;
        max-height: 200px;
        opacity: 0.4;
    }

    .bellonie-hero__hand-side-img {
        max-width: 35vw;
        left: -10px;
    }

    .bellonie-hero__star-decoration {
        display: none;
    }
}

/* Très petit mobile - cacher la main */
@media (max-width: 400px) {
    .bellonie-hero__hand-side {
        display: none;
    }
}
