.reservation-hero {
    --reservation-accent: #c89a6a;
    --reservation-accent-strong: #a97543;
    --reservation-ink: #0c1824;
    --reservation-surface: rgba(255, 255, 255, 0.96);
    --reservation-muted: #5f6b74;
    position: relative;
    min-height: 68vh;
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.header-reservation-tete {
    display: none;
}

.reservation-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("../images/back-header-reservation.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    animation: subtleZoom 20s ease-in-out infinite alternate;
}

.reservation-hero__media::after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.75);
}

@keyframes subtleZoom {
    0% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1.08);
    }
}

.reservation-hero__glow {
    position: absolute;
    inset: auto -10% -30% auto;
    width: min(38vw, 520px);
    height: min(38vw, 520px);
    z-index: -1;
    background: radial-gradient(circle at 30% 30%, rgba(255, 228, 198, 0.5), rgba(200, 154, 106, 0.05) 68%);
    filter: blur(6px);
    opacity: 0.8;
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.5;
    }
}

.reservation-hero__content {
    position: relative;
    z-index: 1;
}

.reservation-hero__wrapper {
    min-height: 50vh;
}

.reservation-hero__intro {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reservation-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    font-weight: 600;
    letter-spacing: 0.2px;
    margin-bottom: 1.1rem;
    transition: all 0.3s ease;
}

.reservation-hero__badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.reservation-hero__title {
    color: #fff;
    font-size: clamp(2.4rem, 4.8vw, 3.6rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 14px 38px rgba(8, 14, 24, 0.45);
    letter-spacing: -0.02em;
}

.reservation-hero__lead {
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.6rem;
    max-width: 58ch;
    line-height: 1.6;
}

.reservation-chips {
    gap: 0.6rem;
    margin-bottom: 1.6rem;
}

.reservation-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(12, 24, 36, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.reservation-chip:hover {
    background: rgba(12, 24, 36, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.reservation-chip i {
    font-size: 1rem;
    color: #ffe6c6;
}

.reservation-stats {
    margin-top: 1.4rem;
}

.reservation-stat {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.reservation-stat:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.reservation-stat i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    color: #ffe6c6;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.reservation-stat__value {
    display: block;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.2;
}

.reservation-stat__label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.3;
}

/* PANEL STYLES */
.reservation-panel {
    background: var(--reservation-surface);
    border-radius: 22px;
    padding: clamp(1.4rem, 3vw, 2.1rem);
    box-shadow:
        0 28px 60px rgba(10, 22, 36, 0.35),
        0 6px 16px rgba(10, 22, 36, 0.2);
    border: 1px solid rgba(200, 154, 106, 0.22);
    color: var(--reservation-ink);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.reservation-panel::after {
    content: "";
    position: absolute;
    inset: -40% auto auto -32%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle at 30% 30%, rgba(200, 154, 106, 0.25), rgba(200, 154, 106, 0.02) 70%);
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

.reservation-panel__head {
    position: relative;
    z-index: 1;
    margin-bottom: 1.3rem;
}

.reservation-panel__title {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.reservation-panel__meta {
    color: var(--reservation-muted);
    font-size: 0.96rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.reservation-panel .form-check-chambreDisponible {
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border: none;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* .daterangepicker.show-calendar{
    top: 315px !important;
    left: 1000px !important;
} */

.reservation-field {
    background: #fff;
    border: 1px solid rgba(15, 36, 53, 0.12);
    border-radius: 16px;
    padding: 0.75rem 0.9rem 0.65rem;
    box-shadow: 0 12px 26px rgba(12, 24, 36, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 100%;
}

.reservation-field:focus-within {
    border-color: rgba(200, 154, 106, 0.8);
    box-shadow:
        0 16px 36px rgba(200, 154, 106, 0.25),
        0 0 0 3px rgba(200, 154, 106, 0.18);
    transform: translateY(-2px);
}

.reservation-field__label {
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #6b7480;
    margin-bottom: 0.2rem;
    display: block;
}

.reservation-field .input-group {
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.reservation-field .form-control {
    border: none;
    box-shadow: none;
    padding: 0;
    height: 2.7rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--reservation-ink);
    background: transparent;
    flex: 1;
}

.reservation-field .form-control:focus {
    outline: none;
    border: none !important;
    box-shadow: none;
}

.reservation-field .form-control::placeholder {
    color: #9aa3ad;
    font-weight: 600;
}

.reservation-field .daterangeIcons {
    position: static;
    border: none;
    margin-left: auto;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}



.reservation-field .daterangeIcons img {
    width: 22px;
    height: 22px;
    display: block;
}

.reservation-field__hint {
    font-size: 0.82rem;
    color: #7a838d;
    margin-top: 0.3rem;
    line-height: 1.4;
}

.reservation-panel__guests {
    margin-top: 0.1rem;
}

.reservation-field--compact {
    min-height: 100%;
}

.reservation-field__select {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.reservation-field__select i {
    color: var(--reservation-accent-strong);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.reservation-field .form-select {
    border: none;
    box-shadow: none;
    padding: 0;
    padding-right: 1.5rem;
    height: 2.7rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--reservation-ink);
    background-color: transparent;
    background-position: right center;
    cursor: pointer;
}

.reservation-field .form-select:focus {
    border: none !important;
    box-shadow: none;
    outline: none;
}

.btn-search-chambre-dispo {
    height: 4.4rem;
    border-radius: 16px;
    border: none;
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    background: linear-gradient(135deg, var(--reservation-accent), var(--reservation-accent-strong));
    box-shadow: 0 20px 36px rgba(169, 117, 67, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
}

.btn-search-chambre-dispo:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 24px 40px rgba(169, 117, 67, 0.45);
    color: white;
}

.btn-search-chambre-dispo:active {
    transform: translateY(0);
}

.btn-search-chambre-dispo:focus {
    outline: 2px solid var(--reservation-accent);
    outline-offset: 2px;
    box-shadow: 0 24px 40px rgba(169, 117, 67, 0.45);
    color: white;
}

.reservation-panel__foot {
    position: relative;
    z-index: 1;
    margin-top: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #5c6670;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
}

.reservation-panel__foot i {
    color: var(--reservation-accent-strong);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* WIDGETS SECTION */
.reservation-widgets {
    position: relative;
    margin-top: clamp(-2.4rem, -4vw, -3.1rem);
    padding: clamp(2.6rem, 6vw, 4rem) 0 3.6rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(200, 154, 106, 0.18), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f8f4ee 100%);
}

.reservation-widgets__header {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.reservation-widgets__eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 500;
    color: var(--reservation-accent-strong);
    font-size: 0.82rem;
    margin-bottom: 0.7rem;
}

.reservation-widgets__title {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 500;
    color: var(--reservation-ink);
    margin-bottom: 0.7rem;
    letter-spacing: -0.02em;
}

.reservation-widgets__lead {
    color: #5e6a74;
    font-size: 1.02rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.reservation-widgets__row {
    margin-top: 2rem;
}

.widget-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.6rem 1.5rem;
    border: 1px solid rgba(15, 36, 53, 0.08);
    box-shadow:
        0 22px 46px rgba(12, 24, 36, 0.08),
        0 6px 14px rgba(12, 24, 36, 0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.widget-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 28px 56px rgba(12, 24, 36, 0.12),
        0 10px 20px rgba(12, 24, 36, 0.08);
    border-color: rgba(200, 154, 106, 0.3);
}

.widget-card::before {
    content: "";
    position: absolute;
    inset: -50% 55% 55% -50%;
    background: radial-gradient(circle at 20% 20%, rgba(200, 154, 106, 0.34), rgba(200, 154, 106, 0.02) 68%);
    pointer-events: none;
    z-index: 0;
}

.widget-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(200, 154, 106, 0.18), rgba(200, 154, 106, 0.08));
    color: var(--reservation-accent-strong);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.widget-card:hover .widget-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.widget-card__step {
    font-weight: 500;
    color: var(--reservation-accent-strong);
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.widget-card__title {
    font-size: 1.26rem;
    font-weight: 500;
    color: var(--reservation-ink);
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.widget-card__desc {
    color: #5f6b74;
    margin-bottom: auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
    font-size: 0.98rem;
    flex-grow: 1;
}

.widget-card__hint {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 500;
    color: #0e5e4f;
    background: rgba(14, 94, 79, 0.08);
    border-radius: 999px;
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    align-self: flex-start;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 991.98px) {
    .reservation-hero {
        min-height: auto;
        padding: 3rem 0 3.6rem;
    }

    .reservation-hero__wrapper {
        min-height: auto;
    }

    .reservation-panel {
        margin-top: 2rem;
    }

    .reservation-hero__intro {
        text-align: center;
        margin: 0 auto 2rem;
    }

    .reservation-chips {
        justify-content: center;
    }

    .reservation-hero__lead {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .reservation-widgets {
        margin-top: -1.6rem;
        padding-bottom: 2.5rem;
    }

    .reservation-stats .col-md-6:last-child {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .reservation-hero {
        padding: 2rem 0 2.5rem;
    }

    .reservation-panel {
        border-radius: 18px;
        padding: 1.2rem;
    }

    .btn-search-chambre-dispo {
        height: 3.8rem;
        font-size: 1rem;
    }

    .reservation-hero__title {
        font-size: 2rem;
    }

    .reservation-field {
        padding: 0.65rem 0.8rem 0.55rem;
    }

    .widget-card {
        padding: 1.3rem 1.2rem;
    }

    .reservation-hero__intro {
        text-align: left;
    }

    .reservation-chips {
        justify-content: flex-start;
    }
}

/* ACCESSIBILITY IMPROVEMENTS */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* PRINT STYLES */
@media print {

    .reservation-hero__media,
    .reservation-hero__glow {
        display: none;
    }

    .reservation-panel {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
