/* =====================================================
   HOTEL EDEN - Room Detail Pages
   ===================================================== */

/* ── Room Hero ── */
.room-hero {
    position: relative;
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
}

.room-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.room-hero.loaded .room-hero-img {
    transform: scale(1);
}

.room-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15) 0%,
        rgba(0,0,0,0.1) 40%,
        rgba(0,0,0,0.65) 100%
    );
}

.room-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.room-hero-content .container {
    position: relative;
}

.room-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    font-family: var(--font-body);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.room-breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.room-breadcrumb a:hover { color: var(--accent); }
.room-breadcrumb i { font-size: 10px; }
.room-breadcrumb span { color: var(--accent); }

.room-hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 500;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.room-hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1px;
    font-family: var(--font-body);
}

.room-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--gray-800);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* ── Quick Specs Bar ── */
.room-specs-bar {
    background: var(--primary);
    padding: 0;
}

.room-specs-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    divide-x: 1px solid rgba(255,255,255,0.1);
}

.room-spec-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 32px;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s;
}

.room-spec-item:last-child { border-right: none; }

.room-spec-item:hover {
    background: rgba(255,255,255,0.04);
}

.room-spec-icon {
    width: 46px;
    height: 46px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
}

.room-spec-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.room-spec-label {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-body);
    font-weight: 500;
}

.room-spec-value {
    font-size: 17px;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
}

/* ── Main Layout ── */
.room-main {
    padding: 80px 0;
    background: var(--off-white);
}

.room-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

/* ── Room Content ── */
.room-content {}

.room-section {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 48px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.room-section-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 12px;
}

.room-section-title i {
    color: var(--accent);
    font-size: 22px;
}

.room-description {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray-500);
}

.room-description p + p {
    margin-top: 16px;
}

/* Amenities Grid */
.amenities-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.amenity-category h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.amenity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.amenity-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-600);
    font-family: var(--font-body);
}

.amenity-list li i {
    color: var(--accent);
    font-size: 13px;
    width: 16px;
    flex-shrink: 0;
}

/* Photo Gallery - Dynamic */
.room-gallery-dynamic {
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* 1 poză: full width */
.room-gallery-dynamic.gallery-single {
    display: block;
    height: 480px;
}

.room-gallery-dynamic.gallery-single .gallery-thumb {
    height: 100%;
}

/* 2 poze: side by side */
.room-gallery-dynamic.gallery-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    height: 400px;
}

/* 3-4 poze: prima mare stânga, restul mici dreapta */
.room-gallery-dynamic.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 240px;
    gap: 8px;
}

.room-gallery-dynamic.gallery-grid .gallery-thumb:first-child {
    grid-row: span 2;
}

/* 5+ poze: grid 3 coloane */
.room-gallery-dynamic.gallery-grid.gallery-large {
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 200px;
}

.room-gallery-dynamic.gallery-grid.gallery-large .gallery-thumb:first-child {
    grid-row: span 2;
}

.gallery-thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--gray-100);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.07);
}

.gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-thumb:hover .gallery-thumb-overlay {
    opacity: 1;
}

.gallery-thumb-overlay i {
    color: white;
    font-size: 28px;
}

.gallery-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 50, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 6px;
}

.gallery-more-overlay span {
    font-size: 28px;
    font-weight: 600;
    font-family: var(--font-display);
}

.gallery-more-overlay small {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Policies */
.policies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.policy-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
}

.policy-item i {
    color: var(--accent);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.policy-item strong {
    display: block;
    font-size: 13px;
    color: var(--gray-700);
    font-weight: 600;
    margin-bottom: 3px;
}

.policy-item span {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ── Booking Sidebar ── */
.room-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.booking-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.booking-card-header {
    background: var(--primary);
    padding: 28px 32px;
    text-align: center;
}

.booking-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
}

.price-currency {
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-body);
}

.price-period {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-body);
    letter-spacing: 1px;
}

.booking-card-note {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    font-family: var(--font-body);
}

.booking-card-body {
    padding: 28px 32px;
}

.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.booking-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-form label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-500);
    font-weight: 600;
}

.booking-form input,
.booking-form select {
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-700);
    font-family: var(--font-body);
    transition: border-color 0.3s;
    background: var(--white);
    width: 100%;
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: var(--accent);
}

.booking-form .btn {
    margin-top: 8px;
}

.booking-divider {
    text-align: center;
    margin: 16px 0;
    position: relative;
}

.booking-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
}

.booking-divider span {
    background: var(--white);
    padding: 0 12px;
    font-size: 12px;
    color: var(--gray-400);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.booking-phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.booking-phone-link:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.booking-phone-link i {
    color: var(--accent);
}

.booking-phone-link:hover i {
    color: white;
}

/* Sidebar Info Card */
.sidebar-info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.sidebar-info-card h4 {
    font-size: 16px;
    color: var(--gray-800);
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.sidebar-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-600);
}

.sidebar-feature i {
    width: 30px;
    height: 30px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 12px;
    flex-shrink: 0;
}

/* ── Other Rooms Section ── */
.other-rooms {
    padding: var(--section-py) 0;
    background: var(--white);
}

.other-rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.other-room-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 180px 1fr;
    transition: transform 0.3s, box-shadow 0.3s;
    background: var(--white);
    border: 1px solid var(--gray-100);
}

.other-room-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.other-room-img {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 160px;
}

.other-room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.other-room-card:hover .other-room-img img {
    transform: scale(1.08);
}

.other-room-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.other-room-body h3 {
    font-size: 20px;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.other-room-body p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.other-room-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.other-room-price strong {
    font-size: 22px;
    color: var(--accent);
    font-family: var(--font-display);
}

.other-room-price span {
    font-size: 13px;
    color: var(--gray-500);
}

/* ── Lightbox ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    background: rgba(255,255,255,0.1);
    border: none;
    cursor: pointer;
    padding: 16px 12px;
    transition: background 0.3s;
    border-radius: 4px;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .room-layout {
        grid-template-columns: 1fr;
    }

    .room-sidebar {
        position: static;
    }

    .room-specs-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .room-spec-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .room-hero {
        height: 70vh;
    }

    .room-hero-content .container {
        padding: 0 20px;
    }

    .room-hero-title {
        font-size: 42px;
    }

    .room-section {
        padding: 32px 24px;
    }

    .amenities-categories {
        grid-template-columns: 1fr;
    }

    .policies-grid {
        grid-template-columns: 1fr;
    }

    .room-specs-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .other-rooms-grid {
        grid-template-columns: 1fr;
    }

    .other-room-card {
        grid-template-columns: 140px 1fr;
    }

    .room-gallery-grid {
        grid-template-rows: 200px 200px;
    }

    .booking-form .form-row {
        grid-template-columns: 1fr;
    }

    .lightbox-prev { left: -44px; }
    .lightbox-next { right: -44px; }
}

@media (max-width: 480px) {
    .room-specs-inner {
        grid-template-columns: 1fr 1fr;
    }

    .room-spec-item {
        padding: 20px 16px;
    }

    .other-room-card {
        grid-template-columns: 1fr;
    }

    .other-room-img {
        height: 180px;
    }
}
