/* ============================================
   Hotel Details — EventHotelBroker Luxury Light Theme
   Canvas: #F5EFE6 · Surfaces: #ffffff · Accent: #DD7A28
   ============================================ */

.hotel-details-page {
    max-width: 100%;
    min-height: calc(100vh - 80px);
    padding: 1.5rem clamp(1.25rem, 2.5vw, 2.5rem);
    background: #F5EFE6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    animation: hdFadeIn 0.3s ease;
}

@keyframes hdFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Breadcrumb
   ============================================ */

.breadcrumb-container {
    margin-bottom: 1.25rem;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
}

.breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
}

.breadcrumb-link:hover {
    color: #DD7A28;
}

.breadcrumb-separator {
    color: #9ca3af;
    font-size: 0.65rem;
}

.breadcrumb-current {
    color: #18181b;
    font-weight: 700;
}

/* ============================================
   Hotel Header
   ============================================ */

.hotel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.hotel-header-content {
    flex: 1;
}

.hotel-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #18181b;
    letter-spacing: -0.025em;
    margin-bottom: 0.35rem;
}

.hotel-location {
    font-size: 0.85rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hotel-location i {
    color: #DD7A28;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    background: #ecfdf5;
    border-radius: 20px;
    color: #065f46;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #a7f3d0;
}

.verified-badge i {
    font-size: 0.85rem;
}

/* ============================================
   Hotel Content Layout
   ============================================ */

.hotel-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
}

.content-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

/* ============================================
   Gallery Section
   ============================================ */

.gallery-section {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #FAFAFA;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.image-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(24, 24, 27, 0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.thumbnail-grid {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    overflow-x: auto;
    background: #FAFAFA;
}

.thumbnail-item {
    width: 72px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumbnail-item.active {
    border-color: #DD7A28;
    box-shadow: 0 2px 8px rgba(221, 122, 40, 0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    width: 100%;
    height: 420px;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-placeholder i {
    font-size: 4.5rem;
    color: #DD7A28;
    opacity: 0.35;
}

/* ============================================
   Info Sections
   ============================================ */

.info-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #18181b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: #DD7A28;
}

.section-text {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.7;
}

/* ============================================
   Detail Tabs
   ============================================ */

.hd-tabs {
    display: flex;
    gap: 0.4rem;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.35rem;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.hd-tab {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.hd-tab:hover {
    color: #18181b;
    background: #FAFAFA;
}

.hd-tab.active {
    background: #DD7A28;
    color: #fff;
    box-shadow: 0 2px 8px rgba(221, 122, 40, 0.25);
}

.hd-tab i {
    font-size: 0.82rem;
}

.hd-tab-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #E5E7EB;
    animation: hdFadeIn 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.hd-tab-empty {
    text-align: center;
    padding: 2.5rem 1rem;
}

.hd-tab-empty i {
    font-size: 2.5rem;
    color: #d1c7b7;
    display: block;
    margin-bottom: 0.5rem;
}

.hd-tab-empty p {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0;
}

/* ============================================
   Amenities Grid
   ============================================ */

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    background: #FAFAFA;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    border: 1px solid #E5E7EB;
}

.amenity-item i {
    color: #10b981;
    font-size: 0.95rem;
}

/* ============================================
   Location Component
   ============================================ */

.location-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    margin-top: 0.75rem;
}

.location-map-wrapper {
    min-height: 450px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.location-info-panel {
    background: #FAFAFA;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.location-panel-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #18181b;
    margin: 0;
    letter-spacing: -0.01em;
}

.location-info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: all 0.2s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border-color: #DD7A28;
}

.info-card i {
    width: 40px;
    height: 40px;
    background: rgba(221, 122, 40, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #DD7A28;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.info-card.highlight {
    background: #18181b;
    border-color: #18181b;
}

.info-card.highlight i {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.info-card.highlight .info-label {
    color: rgba(255, 255, 255, 0.65);
}

.info-card.highlight .info-value {
    color: #fff;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.info-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #6b7280;
}

.info-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: #18181b;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .location-container {
        grid-template-columns: 1fr;
    }
    .location-info-panel {
        order: -1;
    }
}

/* ============================================
   Booking Card (Sidebar)
   ============================================ */

.booking-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.booking-price {
    margin-bottom: 1.25rem;
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: #18181b;
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 500;
}

.booking-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: #4b5563;
}

.info-item i {
    font-size: 0.95rem;
    color: #DD7A28;
}

.booking-divider {
    height: 1px;
    background: #E5E7EB;
    margin: 1.25rem 0;
}

.booking-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.booking-actions .btn {
    font-size: 0.82rem;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.booking-actions .btn-primary {
    background: #DD7A28;
    border-color: #DD7A28;
    color: #fff;
    box-shadow: 0 4px 12px rgba(221, 122, 40, 0.25);
}

.booking-actions .btn-primary:hover {
    background: #c56820;
    border-color: #c56820;
    color: #fff;
}

.booking-actions .btn-outline-primary {
    background: transparent;
    border: 1px solid #E5E7EB;
    color: #18181b;
}

.booking-actions .btn-outline-primary:hover {
    background: #FAFAFA;
    border-color: #DD7A28;
    color: #DD7A28;
}

/* ============================================
   Booking Form
   ============================================ */

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.booking-form-container {
    animation: slideDown 0.3s ease;
}

.booking-form-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #18181b;
    margin-bottom: 1.15rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-label-modern {
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-label-modern i {
    color: #DD7A28;
    font-size: 0.72rem;
}

.form-input-modern {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 0.82rem;
    color: #18181b;
    transition: all 0.2s ease;
    background: #ffffff;
}

.form-input-modern:focus {
    outline: none;
    border-color: #DD7A28;
    box-shadow: 0 0 0 3px rgba(221, 122, 40, 0.12);
}

.validation-message {
    font-size: 0.72rem;
    color: #dc2626;
    margin-top: 0.25rem;
    font-weight: 600;
}

.alert-modern {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.alert-modern.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-modern.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.booking-form .btn-modern {
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: none;
}

.btn-gradient-primary {
    background: #DD7A28;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(221, 122, 40, 0.25);
}

.btn-gradient-primary:hover {
    background: #c56820;
    color: #fff;
}

.btn-outline-secondary {
    background: #FAFAFA;
    border: 1px solid #E5E7EB !important;
    color: #6b7280;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-outline-secondary:hover {
    background: #ffffff;
    border-color: #DD7A28 !important;
    color: #18181b;
}

/* ============================================
   Specifications Grid
   ============================================ */

.specifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-top: 0.75rem;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: #FAFAFA;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: all 0.2s;
}

.spec-item:hover {
    background: #ffffff;
    border-color: #DD7A28;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.spec-item i {
    font-size: 1.15rem;
    color: #DD7A28;
    margin-top: 0.15rem;
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.spec-label {
    font-size: 0.68rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.spec-value {
    font-size: 0.88rem;
    color: #18181b;
    font-weight: 700;
}

/* ============================================
   Policies List
   ============================================ */

.policies-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.policy-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: #FAFAFA;
    border-left: 3px solid #DD7A28;
    border-radius: 8px;
    border-top: 1px solid #E5E7EB;
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.policy-item i {
    font-size: 1rem;
    color: #DD7A28;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.policy-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.policy-content strong {
    color: #18181b;
    font-size: 0.82rem;
    font-weight: 700;
}

.policy-content span {
    color: #6b7280;
    font-size: 0.78rem;
    line-height: 1.5;
}

/* ============================================
   Reviews Section
   ============================================ */

.reviews-summary {
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
}

.rating-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: #18181b;
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(24, 24, 27, 0.15);
}

.rating-score {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: #fff;
}

.rating-stars {
    display: flex;
    gap: 0.35rem;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.rating-stars i {
    color: #fbbf24;
}

.rating-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.review-item {
    padding: 1rem 1.25rem;
    background: #FAFAFA;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.review-item:hover {
    border-color: #DD7A28;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.65rem;
}

.reviewer-info {
    display: flex;
    gap: 0.65rem;
    align-items: center;
}

.reviewer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #DD7A28, #c56820);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    box-shadow: 0 2px 6px rgba(221, 122, 40, 0.25);
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.reviewer-details strong {
    color: #18181b;
    font-size: 0.85rem;
    font-weight: 700;
}

.review-date {
    font-size: 0.72rem;
    color: #6b7280;
}

.review-rating {
    display: flex;
    gap: 0.2rem;
    color: #fbbf24;
    font-size: 0.78rem;
}

.review-text {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    font-size: 0.82rem;
}

/* ============================================
   Loading & Error States
   ============================================ */

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.spinner-modern {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(221, 122, 40, 0.2);
    border-top-color: #DD7A28;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 600;
}

.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    text-align: center;
}

.error-icon {
    font-size: 3.5rem;
    color: #DD7A28;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #18181b;
    margin-bottom: 0.35rem;
}

.error-text {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1200px) {
    .hotel-content {
        grid-template-columns: 1fr;
    }
    .content-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hotel-details-page {
        padding: 1rem;
    }
    .hotel-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    .hotel-title {
        font-size: 1.35rem;
    }
    .main-image-container {
        height: 260px;
    }
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    .specifications-grid {
        grid-template-columns: 1fr;
    }
    .review-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}
