/* === HOTEL DETAIL PAGE SPECIFIC STYLES === */

:root {
    --primary-blue: #007fad;
    --trivago-red: #e52a5a;
    --trivago-orange: #f48f00;
    --green-badge: #0a890a;
    --green-bg: #e6f4ea;
    --text-main: #1a1a1a;
    --text-sub: #6f6f6f;
    --border-light: #e0e0e0;
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    background-color: #ffffff;
    color: var(--text-main);
    padding-bottom: 60px;
}



/* Breadcrumb */
.breadcrumb-container {
    max-width: 1200px;
    margin: 20px auto 14px auto;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-sub);
}

.breadcrumb-container a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-container a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #ccc;
    font-weight: 400;
}

/* Tabs Section */
.tabs-container {
    border-bottom: 1px solid var(--border-light);
    background: white;
    margin-bottom: 24px;
}

.tabs-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding: 0 20px;
}

.tab-button {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    padding: 14px 0;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.15s;
}

.tab-button.active, .tab-button:hover {
    border-bottom-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* Main Layout */
.detail-main-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hotel Name & Pricing Card Row */
.hotel-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 24px;
}

.hotel-info-left {
    flex: 1.5;
}

.hotel-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.hotel-name {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.favorite-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.rating-stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-sub);
}

.stars-orange {
    color: var(--trivago-orange);
    font-size: 14px;
    letter-spacing: 1px;
}

.hotel-tag {
    font-weight: 600;
    color: #1a1a1a;
}

.badge-green-box {
    background-color: #0b6623;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
}

.excellent-label {
    color: #0b6623;
    font-weight: 700;
}

.hotel-address-line {
    font-size: 13.5px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.hotel-address-line:hover {
    text-decoration: underline;
}

/* Right Deal Box Card */
.deal-box-card {
    flex: 1;
    max-width: 440px;
    background-color: #f6fdf9;
    border: 1px solid #bcecd2;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.deal-left-info {
    display: flex;
    flex-direction: column;
}

.deal-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.deal-brand-logo {
    font-weight: 700;
    font-size: 13px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
}

.lowest-price-badge {
    background-color: #d1f2db;
    color: #0b6623;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.deal-price-amount {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
}

.deal-total-stay {
    font-size: 12px;
    color: var(--text-sub);
    margin-top: 2px;
}

.btn-book-now {
    background-color: #007f00;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
    height: 48px;
}

.btn-book-now:hover {
    background-color: #006400;
}

/* Two Column Content Area Layout */
.content-columns-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

/* Left Side Gallery + Amenities block */
.left-column-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Photos Layout Grid */
.photos-grid-outer {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.photos-main-row {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 6px;
    height: 340px;
}

.photo-large-frame {
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
}

.photo-large-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-right-quad {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    height: 100%;
}

.quad-img-frame {
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
}

.quad-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bottom thumbnails row */
.bottom-thumbnails-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.bottom-thumb {
    height: 80px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.bottom-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.show-all-photos-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
}

/* Right widgets column for reviews & map */
.widgets-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Review Widget Details */
.widget-box {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px;
}

.review-rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.score-pill-green {
    background-color: #0b6623;
    color: white;
    font-weight: 700;
    font-size: 16px;
    padding: 4px 10px;
    border-radius: 4px;
}

.score-pill-desc {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.score-pill-sub {
    font-size: 11px;
    color: var(--text-sub);
    margin-top: 2px;
}

.review-summary-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-summary-para {
    font-size: 12.5px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 12px;
}

.show-more-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
}

.show-more-link:hover {
    text-decoration: underline;
}

/* Map Widget */
.map-box-widget {
    height: 95px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border-light);
}

.map-box-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-view-map {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
}

/* Amenities Bar Card */
.amenities-card {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px 24px;
}

.amenities-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

.amenity-icon-svg {
    color: #1a1a1a;
}

/* === MOBILE RESPONSIVE ADAPTATIONS === */
@media (max-width: 992px) {
    .content-columns-grid {
        grid-template-columns: 1fr;
    }
    .hotel-header-section {
        flex-direction: column;
        align-items: stretch;
    }
    .deal-box-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* Stack Header elements responsively on detail page */
    .header {
        flex-direction: column !important;
        align-items: stretch !important;
        height: auto !important;
        padding: 12px 16px !important;
        gap: 12px !important;
        border-bottom: 1px solid #e2e8f0;
        background-color: #ffffff;
    }

    .header .logo-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .search-box-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        height: 44px !important;
        padding: 2px 4px 2px 12px !important;
        border-radius: 22px !important;
        box-sizing: border-box;
    }

    .search-field label {
        font-size: 8px !important;
        margin-bottom: 1px;
    }

    .search-field-value {
        font-size: 11px !important;
    }

    .right-nav {
        display: none !important; /* Hide secondary headers on mobile */
    }

    /* Breadcrumbs, main details */
    .breadcrumb-container {
        padding: 0 16px;
        margin: 12px auto;
    }

    .detail-main-layout {
        padding: 0 16px;
    }

    .hotel-name {
        font-size: 20px;
        font-weight: 800;
        line-height: 1.2;
    }

    .hotel-header-section {
        gap: 16px;
        margin-bottom: 16px;
    }

    /* Scrollable Tabs on mobile */
    .tabs-inner {
        gap: 20px;
        padding: 0 16px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .tab-button {
        padding: 12px 0;
        font-size: 13px;
        flex-shrink: 0;
    }

    /* Deal Box Stacked */
    .deal-box-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

    .btn-book-now {
        width: 100%;
        justify-content: center;
    }

    /* Photo Grid Collapse to single large image carousel view */
    .photos-main-row {
        grid-template-columns: 1fr;
        height: 220px;
    }

    .photo-right-quad {
        display: none !important; /* Hide small frames on mobile view */
    }

    .bottom-thumbnails-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
    }

    .bottom-thumb {
        height: 60px;
    }
}
