/* ============================================
   Hotel Details - Beige/Charcoal/Bronze Theme
   ============================================ */

.hotel-details-page {
    max-width: 100%;
    min-height: calc(100vh - 80px);
    padding: 1.5rem 2rem;
    animation: hdFadeIn 0.3s ease;
}

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

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

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

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

.breadcrumb-link {
    color: #8a8177;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.breadcrumb-link:hover {
    color: #9E8B63;
}

.breadcrumb-separator {
    color: #c5bfb6;
    font-size: 0.5rem;
}

.breadcrumb-current {
    color: #2A2A2A;
    font-weight: 600;
}

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

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

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

.hotel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2A2A2A;
    margin-bottom: 0.25rem;
}

.hotel-location {
    font-size: 0.75rem;
    color: #8a8177;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.hotel-location i {
    color: #9E8B63;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: rgba(5, 150, 105, 0.08);
    border-radius: 20px;
    color: #059669;
    font-size: 0.6875rem;
    font-weight: 600;
}

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

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

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

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

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

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

.gallery-section {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(158, 139, 99, 0.1);
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
}

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

.image-counter {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(42, 42, 42, 0.75);
    color: #fff;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.thumbnail-grid {
    display: flex;
    gap: 0.375rem;
    padding: 0.5rem;
    overflow-x: auto;
}

.thumbnail-item {
    width: 64px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.thumbnail-item.active {
    border-color: #9E8B63;
}

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

.gallery-placeholder {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, #9E8B63, #b8a584);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
}

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

.info-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(158, 139, 99, 0.1);
}

.section-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2A2A2A;
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
}

.section-title i {
    color: #9E8B63;
}

.section-text {
    font-size: 0.75rem;
    color: #5a5550;
    line-height: 1.7;
}

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

.hd-tabs {
    display: flex;
    gap: 0.25rem;
    background: #fff;
    border-radius: 10px;
    padding: 0.25rem;
    border: 1px solid rgba(158, 139, 99, 0.1);
}

.hd-tab {
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #8a8177;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
}

.hd-tab:hover {
    color: #2A2A2A;
    background: #f5f3ef;
}

.hd-tab.active {
    background: #2A2A2A;
    color: #fff;
}

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

.hd-tab-content {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(158, 139, 99, 0.1);
    animation: hdFadeIn 0.2s ease;
}

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

.hd-tab-empty i {
    font-size: 2rem;
    color: #c5bfb6;
    display: block;
    margin-bottom: 0.375rem;
}

.hd-tab-empty p {
    font-size: 0.75rem;
    color: #8a8177;
    margin: 0;
}

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

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

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #faf9f7;
    border-radius: 8px;
    font-size: 0.6875rem;
    color: #5a5550;
}

.amenity-item i {
    color: #059669;
    font-size: 0.75rem;
}

/* ============================================
   Location Component (New Flex Layout)
   ============================================ */

.location-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.location-map-wrapper {
    min-height: 450px;
}

.location-info-panel {
    background: #faf9f7;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(158, 139, 99, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.location-panel-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2A2A2A;
    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: #fff;
    border-radius: 12px;
    border: 1px solid rgba(158, 139, 99, 0.08);
    transition: all 0.2s ease;
}

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

.info-card i {
    width: 36px;
    height: 36px;
    background: rgba(158, 139, 99, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9E8B63;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-card.highlight {
    background: #2A2A2A;
    border-color: #2A2A2A;
}

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

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

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

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

.info-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: #8a8177;
}

.info-value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2A2A2A;
    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: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(158, 139, 99, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

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

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2A2A2A;
}

.price-period {
    font-size: 0.6875rem;
    color: #8a8177;
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    color: #5a5550;
}

.info-item i {
    font-size: 0.875rem;
    color: #9E8B63;
}

.booking-divider {
    height: 1px;
    background: rgba(158, 139, 99, 0.1);
    margin: 1rem 0;
}

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

.booking-actions .btn {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    transition: all 0.2s;
}

.booking-actions .btn-primary {
    background: #2A2A2A;
    border-color: #2A2A2A;
    color: #fff;
}

.booking-actions .btn-primary:hover {
    background: #9E8B63;
    border-color: #9E8B63;
}

.booking-actions .btn-outline-primary {
    background: transparent;
    border: 1px solid rgba(158, 139, 99, 0.2);
    color: #2A2A2A;
}

.booking-actions .btn-outline-primary:hover {
    background: #faf9f7;
    border-color: #9E8B63;
    color: #9E8B63;
}

/* ============================================
   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.875rem;
    font-weight: 600;
    color: #2A2A2A;
    margin-bottom: 1rem;
}

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

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

.form-label-modern {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #5a5550;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.form-label-modern i {
    color: #9E8B63;
    font-size: 0.625rem;
}

.form-input-modern {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(158, 139, 99, 0.15);
    border-radius: 8px;
    font-size: 0.6875rem;
    color: #2A2A2A;
    transition: all 0.2s;
    background: #faf9f7;
}

.form-input-modern:focus {
    outline: none;
    border-color: #9E8B63;
    box-shadow: 0 0 0 2px rgba(158, 139, 99, 0.1);
    background: #fff;
}

.validation-message {
    font-size: 0.5625rem;
    color: #dc2626;
    margin-top: 0.125rem;
}

.alert-modern {
    padding: 0.625rem 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.6875rem;
}

.alert-modern.alert-success {
    background: rgba(5, 150, 105, 0.08);
    color: #059669;
}

.alert-modern.alert-danger {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

.alert-modern i {
    font-size: 0.875rem;
}

.booking-form .btn-modern {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    border: none;
}

.btn-gradient-primary {
    background: #2A2A2A;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: background 0.2s;
}

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

.btn-outline-secondary {
    background: transparent;
    border: 1px solid rgba(158, 139, 99, 0.15) !important;
    color: #8a8177;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.btn-outline-secondary:hover {
    background: #faf9f7;
    border-color: #9E8B63 !important;
    color: #9E8B63;
}

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

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

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.75rem;
    background: #faf9f7;
    border-radius: 10px;
    border: 1px solid rgba(158, 139, 99, 0.06);
    transition: all 0.2s;
}

.spec-item:hover {
    background: #fff;
    border-color: rgba(158, 139, 99, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.spec-item i {
    font-size: 1rem;
    color: #9E8B63;
    margin-top: 0.125rem;
}

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

.spec-label {
    font-size: 0.625rem;
    color: #8a8177;
    font-weight: 500;
}

.spec-value {
    font-size: 0.8125rem;
    color: #2A2A2A;
    font-weight: 700;
}

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

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

.policy-item {
    display: flex;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    background: #faf9f7;
    border-left: 3px solid #9E8B63;
    border-radius: 6px;
}

.policy-item i {
    font-size: 0.875rem;
    color: #9E8B63;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

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

.policy-content strong {
    color: #2A2A2A;
    font-size: 0.6875rem;
}

.policy-content span {
    color: #8a8177;
    font-size: 0.625rem;
    line-height: 1.5;
}

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

.reviews-summary {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.rating-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, #2A2A2A, #4a4a4a);
    border-radius: 12px;
    color: #fff;
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
    font-size: 1rem;
    margin-bottom: 0.375rem;
}

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

.rating-count {
    font-size: 0.625rem;
    opacity: 0.8;
}

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

.review-item {
    padding: 0.875rem;
    background: #faf9f7;
    border: 1px solid rgba(158, 139, 99, 0.08);
    border-radius: 10px;
    transition: all 0.2s;
}

.review-item:hover {
    border-color: rgba(158, 139, 99, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

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

.reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9E8B63, #b8a584);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.625rem;
}

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

.reviewer-details strong {
    color: #2A2A2A;
    font-size: 0.75rem;
}

.review-date {
    font-size: 0.5625rem;
    color: #a09a93;
}

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

.review-text {
    color: #5a5550;
    line-height: 1.5;
    margin: 0;
    font-size: 0.6875rem;
}

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

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

.spinner-modern {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(158, 139, 99, 0.15);
    border-top-color: #9E8B63;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #8a8177;
}

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

.error-icon {
    font-size: 3rem;
    color: #d97706;
    margin-bottom: 0.75rem;
}

.error-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2A2A2A;
    margin-bottom: 0.25rem;
}

.error-text {
    font-size: 0.75rem;
    color: #8a8177;
    margin-bottom: 1.25rem;
}

/* ============================================
   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.5rem;
    }
    .hotel-title {
        font-size: 1.25rem;
    }
    .main-image-container {
        height: 240px;
    }
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    .specifications-grid {
        grid-template-columns: 1fr;
    }
    .review-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}
