.reservation-page {
    margin-left: 250px;
    width: calc(100% - 250px);
}

/* ================================
   HERO
================================ */

.reservation-hero {
    height: 340px;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.reservation-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
}

/* ================================
   GUEST CARD
================================ */

.guest-card-wrapper {
    margin-top: -90px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.guest-card {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
    padding: 28px;
    width: 90%;
    max-width: 900px;
}

.guest-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.guest-brand {
    font-family: 'CinzelCustom', serif;
    color: #B09E80;
    margin-bottom: 6px;
}

.guest-dates {
    display: flex;
    gap: 50px;
    margin-top: 12px;
}

.logout-btn {
    background: #e9e9e9;
    border: 1px solid #B09E80;
    color: #716551;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'CinzelCustom', serif;
}

.logout-btn:hover {
    background: #716551;
    color: #e9e9e9;
}

/* ================================
   HOUSE MAP
================================ */

.house-map-section {
    margin-top: 40px;
    text-align: center;
}

.section-title {
    font-family: 'CinzelCustom', serif;
    color: #B09E80;
    margin-bottom: 20px;
}

.house-map-img {
    width: 100%;
    max-width: 820px;
    border-radius: 10px;
}

/* ================================
   SERVICES
================================ */

.reservation-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.service-card {
    position: relative;
    overflow: hidden;
    background: #e9e9e9;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 25px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

/* IMAGE RIGHT SIDE */

.service-card-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    pointer-events: none;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(233,233,233,0) 0%,
        rgba(233,233,233,0.7) 45%,
        rgba(233,233,233,1) 75%
    );
}

/* SHIFT CONTENT BEFORE IMAGE */

.service-card h3,
.service-card p,
.service-card select,
.service-extra,
.card-footer {
    margin-right: 30%;
}

/* SELECT */

.service-card select {
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 10px;
    font-family: 'AvenirLight', sans-serif;
    cursor: pointer;
}

/* FOOTER */

.card-footer {
    position: absolute;
    bottom: 18px;
    right: 24px;
    width: 55%;
    text-align: right;
    z-index: 3;
}

.card-app-note {
    font-family: 'AvenirLight', sans-serif;
    font-size: 13px;
    color: #777;
}

.service-price {
    font-family: 'CinzelCustom', serif;
    font-size: 1.2rem;
    color: #B09E80;
}

/* ================================
   EXPANDABLE
================================ */

.service-extra {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    margin-top: 10px;
    width: 100%;
    min-width: 0;
}

.service-extra.open {
    max-height: 500px;
}

/* ================================
   MENU GRID (DEFAULT 2 COLONNE)
================================ */

.service-extra ul {
    padding: 0;
    margin: 0;
}

.service-extra ul li {
    list-style: none;
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 10px;
    width: 100%;
}

/* LABEL (sinistra) */

.menu-label {
    font-family: 'CinzelCustom', serif;
    font-size: 0.85rem;
    color: #716551;
    white-space: nowrap;
}

/* VALUE (destra) */

.menu-value {
    font-family: 'AvenirLight', sans-serif;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
    word-break: break-word;
}

/* ================================
   BREAKFAST ? 1 COLONNA
================================ */

#breakfastExtra ul li {
    display: block;
}

#breakfastExtra .menu-label {
    display: none;
}

/* ================================
   LAYOUT SAFETY (NO OVERFLOW)
================================ */

.service-card h3,
.service-card p,
.service-card select,
.service-extra {
    max-width: 65%;
}

/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {

    .reservation-page {
        margin-left: 0;
        width: 100%;
    }

    .service-card h3,
    .service-card p,
    .service-card select,
    .service-extra,
    .card-footer {
        margin-right: 0;
        max-width: 100%;
    }

    .service-card-image {
        display: none;
    }

    .service-extra ul li {
        grid-template-columns: 110px 1fr;
    }
}