/* hotel-details.css - Styling for the Hotel Details page matching Pixel Perfect Design */

:root {
    --primary-dark: #041b3b;
    --accent-yellow: #fdbb2d;
    --accent-hover: #e5a828;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --success-green: #22c55e;
    --whatsapp-green: #25d366;
}

body {
    background-color: var(--bg-light);
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
}

/* ===== HERO SECTION ===== */
.details-hero {
    position: relative;
    height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -80px; /* Offset for transparent header if needed */
    z-index: 1;
}

.details-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(4, 27, 59, 0.7) 0%, rgba(4, 27, 59, 0.3) 50%, rgba(4, 27, 59, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 130px;
    left: 0;
    right: 0;
    z-index: 3;
    color: white;
}

.hero-breadcrumb a, .hero-breadcrumb span {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    text-decoration: none;
}
.hero-breadcrumb a:hover {
    color: var(--accent-yellow);
}
.hero-breadcrumb .current {
    color: white;
    font-weight: 500;
}

.hero-badge {
    background: #007bff;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 10px 0;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    margin-bottom: 15px;
}

.hero-amenities {
    display: flex;
    gap: 15px;
    font-size: 13px;
    font-weight: 500;
}
.hero-amenities i {
    margin-right: 5px;
}

/* ===== MAIN CONTENT LAYOUT ===== */
.details-main-layout {
    margin-top: -90px;
    position: relative;
    z-index: 10;
    padding-bottom: 50px;
}

/* ===== GALLERY SECTION ===== */
.gallery-wrapper {
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 10px;
    height: 320px;
}

.gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-item:hover {
    filter: brightness(0.9);
}

.gallery-main-col {
    position: relative;
    grid-column: span 1;
}

.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.play-icon-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    pointer-events: none;
}

.gallery-small-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-small-col img {
    height: calc(50% - 5px);
}

.view-all-photos {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ===== STICKY TABS ===== */
.details-nav-tabs {
    background: white;
    border-radius: 12px;
    padding: 5px 20px;
    display: flex;
    gap: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    overflow-x: auto;
    white-space: nowrap;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.details-nav-tabs a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 15px 0;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.details-nav-tabs a.active, .details-nav-tabs a:hover {
    color: var(--accent-yellow);
    border-bottom-color: var(--accent-yellow);
}

/* ===== CONTENT SECTIONS ===== */
.section-block {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 25px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}
.show-more-link {
    color: #007bff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.highlight-icon {
    width: 40px;
    height: 40px;
    background: #fff8eb;
    color: var(--accent-yellow);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.highlight-text h5 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 3px 0;
}
.highlight-text p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* Top Amenities */
.amenities-icons-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    text-align: center;
}
.amenity-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}
.amenity-icon-box i {
    font-size: 24px;
    color: var(--text-dark);
}
.amenity-icon-box span {
    font-size: 12px;
    font-weight: 500;
}

/* Room Options (Horizontal Scroll) */
.rooms-scroll-wrapper {
    position: relative;
    margin: 0 -25px; /* pull out of padding to allow full scroll */
    padding: 0 25px;
}
.rooms-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
}
.rooms-container::-webkit-scrollbar {
    height: 6px;
}
.rooms-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.room-card {
    min-width: 320px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.room-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #007bff;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}
.room-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.room-content {
    padding: 15px;
}
.room-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px 0;
}
.room-view {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.room-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.room-meta i {
    margin-right: 4px;
}
.room-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.room-price {
    font-size: 18px;
    font-weight: 800;
    color: #ef4444;
}
.room-price span {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}
.btn-view-details {
    border: 1px solid var(--border-color);
    background: white;
    padding: 6px 15px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s;
}
.btn-view-details:hover {
    background: var(--bg-light);
}

.view-all-rooms {
    text-align: center;
    margin-top: 15px;
}
.view-all-rooms button {
    background: white;
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Reviews */
.review-overall {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.review-score-big {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}
.review-score-big span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}
.review-stars i {
    color: var(--accent-yellow);
    font-size: 14px;
}
.review-cards-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.review-card {
    min-width: 280px;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 15px;
    flex-shrink: 0;
}
.reviewer-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}
.reviewer-profile img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}
.reviewer-profile h6 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
}
.reviewer-profile span {
    font-size: 11px;
    color: var(--text-muted);
}
.review-date {
    font-size: 11px;
    color: var(--text-muted);
}
.review-text {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Location Map */
.location-wrapper {
    display: flex;
    gap: 20px;
}
.map-placeholder {
    flex: 1;
    height: 200px;
    background: #e2e8f0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}
.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.distance-list {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.distance-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 500;
}
.distance-item i {
    color: var(--text-muted);
    margin-right: 8px;
}

/* FAQ */
.faq-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}
.faq-accordion .accordion-button {
    background: transparent !important;
    box-shadow: none !important;
    padding: 15px 0;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-dark);
}
.faq-accordion .accordion-body {
    padding: 0 0 15px 0;
    font-size: 13px;
    color: var(--text-muted);
}

/* Bottom Banner */
.bottom-cta-banner {
    background: var(--primary-dark);
    border-radius: 12px;
    padding: 25px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}
.bottom-cta-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}
.bottom-cta-text p {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin: 0;
}
.bottom-cta-buttons {
    display: flex;
    gap: 15px;
}

/* ===== RIGHT SIDEBAR (STICKY BOOKING CARD) ===== */
.sidebar-wrapper {
    position: sticky;
    top: 80px;
}

.booking-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.bpg-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.booking-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}
.b-price {
    font-size: 26px;
    font-weight: 800;
    color: #ef4444;
    line-height: 1;
}
.b-price span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark);
}
.b-taxes {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}
.b-rating-box {
    text-align: right;
}
.b-rating-score {
    background: var(--success-green);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
}
.b-rating-text {
    font-size: 12px;
    font-weight: 600;
    display: block;
    margin-top: 3px;
}
.b-rating-count {
    font-size: 10px;
    color: var(--text-muted);
}

.booking-form .form-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}
.date-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.date-box {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
}
.date-box span {
    font-size: 11px;
    color: var(--text-muted);
}
.date-box input {
    border: none;
    outline: none;
    font-size: 13px;
    font-weight: 500;
    padding: 0;
    background: transparent;
}
.guests-box {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 20px;
}
.guests-box select {
    width: 100%;
    border: none;
    outline: none;
    font-size: 13px;
    font-weight: 500;
    background: transparent;
}

.btn-check-avail {
    background: var(--accent-yellow);
    color: var(--text-dark);
    font-weight: 700;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: 0.3s;
}
.btn-check-avail:hover { background: var(--accent-hover); }

.btn-enquire {
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    border: 1px solid var(--border-color);
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}
.btn-enquire:hover { background: var(--bg-light); }

.action-buttons-row {
    display: flex;
    gap: 10px;
}
.btn-call {
    flex: 1;
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--accent-yellow);
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}
.btn-whatsapp {
    flex: 1;
    background: var(--whatsapp-green);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 20px;
}
.sidebar-widget h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-book-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.why-book-item {
    display: flex;
    gap: 12px;
}
.why-book-icon {
    color: var(--accent-yellow);
    font-size: 18px;
}
.why-book-text h6 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 2px 0;
}
.why-book-text p {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.highlights-list li {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
}
.highlights-list li i {
    color: var(--accent-yellow);
    font-size: 14px;
}

.help-widget {
    background: var(--primary-dark);
    color: white;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.help-widget h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}
.help-widget p {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}
.btn-talk-expert {
    background: var(--accent-yellow);
    color: var(--text-dark);
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        height: 250px;
    }
    .gallery-small-col:last-child {
        display: none;
    }
    .amenities-icons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .bottom-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
