* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', 'Poppins', sans-serif; background-color: #F0F2F5; }

/* ── Hero ─────────────────────────────────────────── */
.hotel-hero {
    position: relative;
    width: 100%;
    height: 420px;
    background: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920&h=1080&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 36px 48px;
    overflow: hidden;
}
.hotel-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,30,60,0.88) 0%, rgba(5,30,60,0.45) 55%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}
.hero-content {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    position: relative;
    z-index: 2;
}
.hotel-rating-badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.6);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
    backdrop-filter: blur(8px);
}
.hotel-rating-badge-hero svg { width: 16px; height: 16px; fill: #40E0D0; }
.hotel-name-hero { font-size: 40px; font-weight: 700; color: #FFFFFF; margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hotel-location-hero { font-size: 15px; color: rgba(255,255,255,0.9); }
.book-now-btn {
    padding: 14px 36px;
    background: #0F3D68;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}
.book-now-btn:hover { background: #0a2d4d; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15,61,104,0.4); }

/* ── Main Wrapper ─────────────────────────────────── */
.hotel-main-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* ── Overview (3 cols) ────────────────────────────── */
.overview-section {
    display: grid;
    grid-template-columns: 220px 1fr 280px;
    grid-template-rows: auto auto;
    gap: 20px;
    margin-bottom: 32px;
    align-items: start;
}

/* Description card */
.description-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.description-title { font-size: 16px; font-weight: 700; color: #1F2A37; margin-bottom: 12px; }
.description-text {
    font-size: 13px; line-height: 1.65; color: #6B7280; margin-bottom: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.description-text.expanded {
    display: block;
    -webkit-line-clamp: unset;
}
.see-more-link { color: #3FE0D0; text-decoration: none; font-size: 13px; font-weight: 600; cursor: pointer; }
.see-more-link:hover { opacity: 0.8; }

/* Facilities inside overview left col */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Images grid */
.images-section {
    display: grid;
    grid-template-columns: 1fr 110px;
    gap: 10px;
    border-radius: 16px;
    overflow: hidden;
}
.main-image { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; border-radius: 12px; }
.thumbnails { display: flex; flex-direction: column; gap: 10px; }
.thumbnail-wrap { position: relative; flex: 1; border-radius: 10px; overflow: hidden; cursor: pointer; }
.thumbnail { width: 100%; height: 100%; min-height: 90px; object-fit: cover; display: block; transition: transform 0.2s; }
.thumbnail:hover { transform: scale(1.05); }
.more-images-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,30,60,0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    gap: 4px;
    cursor: pointer;
}
.more-images-overlay svg { width: 20px; height: 20px; }

/* Map card */
.map-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 320px;
}
.map-preview {
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: #d1e8f0;
    position: relative;
    overflow: hidden;
}
.map-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }

.map-preview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gallery-photo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(15, 61, 104, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}
.gallery-photo-badge:hover {
    background: rgba(15, 61, 104, 0.9);
    transform: scale(1.05);
}
[dir="rtl"] .gallery-photo-badge {
    right: auto;
    left: 15px;
}
.show-map-btn {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 24px;
    background: #0F3D68;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    z-index: 10;
    transition: background 0.2s;
}
.show-map-btn:hover { background: #0a2d4d; }

/* ── Facilities ───────────────────────────────────── */
.facilities-section {
    margin-bottom: 32px;
    margin-left: calc(220px + 20px);
}
.section-title { font-size: 20px; font-weight: 700; color: #1F2A37; margin-bottom: 16px; }
.facilities-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.facility-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid #E5E7EB;
    font-size: 13px;
    color: #374151;
    font-family: inherit;
    cursor: default;
    transition: background 0.2s;
}
.facility-badge svg { width: 20px; height: 20px; flex-shrink: 0; }
.facility-badge img { width: 20px; height: 20px; flex-shrink: 0; object-fit: contain; display: block; }

/* ── Hotel Rooms ──────────────────────────────────── */
.rooms-section { margin-bottom: 32px; }
.rooms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.room-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}
.room-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); transform: translateY(-2px); }
.room-icon {
    width: 42px;
    height: 42px;
    background: #0F3D68;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #FFFFFF;
}
.room-icon svg { width: 22px; height: 22px; }
.room-title { font-size: 13px; font-weight: 600; color: #1F2A37; margin-bottom: 3px; }
.room-subtitle { font-size: 11px; color: #6B7280; }

/* Room hover tooltip */
.room-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 20px 24px 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.16);
    z-index: 100;
    pointer-events: auto;
}
/* Bridge to prevent losing hover when moving mouse to tooltip */
.room-card::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    display: none;
    z-index: 90;
}
.room-card:hover::after { display: block; }
.room-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 9px solid transparent;
    border-top-color: #FFFFFF;
}
.room-card:hover .room-tooltip { display: block; }

/* Tooltip header: icon + name + subtitle */
.room-tooltip-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.room-tooltip-icon {
    width: 56px;
    height: 56px;
    background: #0F3D68;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.room-tooltip-icon svg { width: 28px; height: 28px; stroke: #fff; fill: none; }
.room-tooltip-name { font-size: 18px; font-weight: 700; color: #1F2A37; line-height: 1.2; margin-bottom: 4px; }
.room-tooltip-sub  { font-size: 13px; color: #6B7280; }

/* ── Meals ────────────────────────────────────────── */
.meals-section { margin-bottom: 32px; }
.meals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.meal-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-inline-start: 4px solid #0F3D68;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.meal-name { font-size: 15px; font-weight: 700; color: #1F2A37; }
.meal-desc { font-size: 12px; color: #6B7280; line-height: 1.4; }
.meal-price { font-size: 14px; font-weight: 600; color: #0F3D68; margin-top: 4px; }

.room-tooltip ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
    padding-inline-end: 8px;
}
.room-tooltip ul::-webkit-scrollbar { width: 4px; }
.room-tooltip ul::-webkit-scrollbar-thumb { background: #E5E7EB; border-radius: 4px; }
.room-tooltip ul::-webkit-scrollbar-thumb:hover { background: #0F3D68; }
.room-tooltip ul li {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    padding-inline-start: 16px;
    position: relative;
}
.room-tooltip ul li::before {
    content: '•';
    position: absolute;
    inset-inline-start: 0;
    color: #0F3D68;
    font-weight: 700;
}

/* ── Policy & Info ────────────────────────────────── */
.policy-info-section { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.card-title { font-size: 18px; font-weight: 700; color: #1F2A37; margin-bottom: 14px; }
.card-text { font-size: 13px; line-height: 1.8; color: #4B5563; }

/* ── Contact ──────────────────────────────────────── */
.contact-section { margin-bottom: 32px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 20px 20px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}
.contact-header { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.contact-icon-wrap { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.contact-icon-wrap svg { width: 22px; height: 22px; stroke: #0F3D68; fill: none; stroke-width: 1.8; }
.contact-label { font-size: 14px; font-weight: 700; color: #1F2A37; }
.contact-subtitle { font-size: 12px; color: #9CA3AF; margin-bottom: 16px; padding-inline-start: 46px; }
.contact-btn {
    margin-top: auto;
    width: 100%;
    padding: 12px;
    background: #0F3D68;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    text-align: center;
}
.contact-btn:hover { background: #0a2d4d; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1100px) {
    .overview-section { grid-template-columns: 1fr 280px; }
    .left-column { grid-column: 1 / 2; }
    .map-card { grid-column: 2 / 3; grid-row: 1; min-height: 320px; }
    .map-card { min-height: 260px; }
    .map-preview { min-height: 260px;}
    .map-preview iframe {position: relative;}
    .facilities-section { margin-inline-start: 0; }
}
@media (max-width: 900px) {
    .overview-section { grid-template-columns: 1fr; }
    .map-card { min-height: 240px; }
    .map-preview { min-height: 240px; }
    .map-preview iframe {position: relative;}
    .facilities-section { margin-inline-start: 0; }
    .images-section { grid-template-columns: 1fr 90px; }
}
@media (max-width: 768px) {
    .hotel-hero { height: 260px; padding: 16px; }
    .hotel-name-hero { font-size: 22px; line-height: 1.3; }
    .book-now-btn { width: 100%; text-align: center; }
    .map-preview iframe {position: relative;}
    .overview-section {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .images-section {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 8px;
    }
    .left-column {
        order: 2;
        margin-bottom: 8px;
    }
    .map-card {
        order: 3;
        min-height: 250px;
        height: 250px;
    }
    .map-preview {
        min-height: 250px;
        height: 250px;
    }
    .thumbnails {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        width: 100%;
    }
    .thumbnail-wrap {
        height: 75px;
        min-height: 75px;
    }
    .main-image { min-height: 240px; }
    .facilities-section { margin-inline-start: 0; }
    .facilities-grid { gap: 8px; }
    .facility-badge { font-size: 12px; padding: 6px 12px; }
    .rooms-grid { grid-template-columns: repeat(2, 1fr); }
    .room-tooltip { display: none !important; }
    .policy-info-section { grid-template-columns: 1fr; gap: 16px; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hotel-hero { height: 220px; }
    .hotel-name-hero { font-size: 18px; }
    .rooms-grid { grid-template-columns: 1fr; }
    .hero-content { flex-direction: column; align-items: flex-start; }
    .hotel-rating-badge-hero { font-size: 11px; }
    .map-preview iframe {position: relative;}
    .images-section { gap: 6px; }
    .thumbnail-wrap { height: 60px; min-height: 60px; }
    .main-image { min-height: 180px; }
    .hero-actions { width: 100%; justify-content: space-between; }
    .hero-actions .share-btn, .hero-actions .book-now-btn { flex: 1; text-align: center; justify-content: center; padding: 12px 16px !important; }
}

/* ── Auth Modal ──────────────────────────────────── */
.auth-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(5, 30, 60, 0.7);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.auth-modal.active { display: flex; opacity: 1; }
.auth-card {
    background: #FFFFFF;
    width: 100%;
    max-width: 450px;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.auth-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 28px;
    color: #9CA3AF;
    cursor: pointer;
    line-height: 1;
}
.auth-title { font-size: 24px; font-weight: 700; color: #1F2A37; margin-bottom: 8px; text-align: center; }
.auth-subtitle { font-size: 14px; color: #6B7280; margin-bottom: 24px; text-align: center; }
.auth-form-group { margin-bottom: 16px; }
.auth-label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.auth-input {
    width: 100%;
    padding: 12px 16px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-size: 14px;
    color: #111827;
    transition: all 0.2s;
}
.auth-input:focus { outline: none; border-color: #0F3D68; box-shadow: 0 0 0 3px rgba(15, 61, 104, 0.1); }
.auth-submit {
    width: 100%;
    padding: 14px;
    background: #0F3D68;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}
.auth-submit:hover { background: #0a2d4d; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 14px; color: #6B7280; }
.auth-switch-link { color: #0F3D68; font-weight: 700; cursor: pointer; text-decoration: none; }
.auth-error { color: #EF4444; font-size: 12px; margin-top: 4px; display: none; }
.otp-inputs { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
.otp-field {
    width: 45px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    background: #F9FAFB;
}
.otp-field:focus { border-color: #0F3D68; outline: none; }

/* ── Gallery Modal ───────────────────────────────── */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background: rgba(5, 30, 60, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-modal.active {
    display: block;
    opacity: 1;
}
.gallery-modal-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.close-gallery {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.2s;
}
.close-gallery:hover { transform: scale(1.1); }
.gallery-title {
    color: #fff;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.gallery-item {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
