/* =========================================================
VISA TRAVEL EXPERT
PREMIUM OTA HOTEL DETAILS PAGE
FULL RESPONSIVE CSS
========================================================= */

/* =========================================================
GLOBAL RESET
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:#f4f7fb;
    color:#111827;
    overflow-x:hidden;
    line-height:1.5;
    font-size:14px;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

button,
input,
select,
textarea{
    font-family:inherit;
    outline:none;
}

.container{
    width:min(1400px,95%);
    margin:auto;
}

/* =========================================================
PAGE
========================================================= */

.hotel-details-page{
    padding:10px 0 40px;
    position:relative;
    z-index:1;
}

/* =========================================================
TOP GALLERY
========================================================= */

.hotel-top-gallery{
    display:grid;
    grid-template-columns:2fr 0.9fr;
    gap:14px;
    margin-bottom:18px;
    align-items:stretch;
}

/* =========================================================
MAIN HERO IMAGE
========================================================= */

.hotel-main-gallery{
    position:relative;
    height:360px;
    border-radius:20px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.main-slider{
    position:relative;
    width:100%;
    height:100%;
}

.main-slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:0.5s ease;
}

.main-slide.active{
    opacity:1;
    z-index:2;
}

.main-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* =========================================================
SIDE GALLERY
========================================================= */

.hotel-side-gallery{
    display:grid;
    grid-template-rows:1fr 1fr;
    gap:14px;
    height:360px;
}

.side-image-card{
    position:relative;
    overflow:hidden;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.side-image-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.4s ease;
}

.side-image-card:hover img{
    transform:scale(1.05);
}

/* =========================================================
SLIDER ARROWS
========================================================= */

.gallery-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,0.95);
    cursor:pointer;
    z-index:10;
    font-size:14px;
    box-shadow:0 5px 15px rgba(0,0,0,0.15);
    transition:0.3s ease;
}

.gallery-arrow:hover{
    background:#0057ff;
    color:#fff;
}

.gallery-arrow.left{
    left:14px;
}

.gallery-arrow.right{
    right:14px;
}

/* =========================================================
VIEW ALL PHOTOS
========================================================= */

.view-all-photos{
    position:absolute;
    right:14px;
    bottom:14px;
    border:none;
    background:rgba(0,0,0,0.78);
    color:#fff;
    padding:10px 14px;
    border-radius:12px;
    cursor:pointer;
    font-size:12px;
    font-weight:700;
    z-index:20;
    backdrop-filter:blur(10px);
    transition:0.3s ease;
}

.view-all-photos:hover{
    background:#0057ff;
}

/* =========================================================
INFO BAR
========================================================= */

.hotel-info-bar{
    background:#fff;
    border-radius:18px;
    padding:18px 20px;
    margin-bottom:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    box-shadow:0 8px 25px rgba(0,0,0,0.06);
}

.hotel-left-info{
    flex:1;
}

.hotel-left-info h1{
    font-size:32px;
    font-weight:800;
    margin-bottom:8px;
    line-height:1.2;
}

.hotel-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
}

.hotel-stars{
    display:flex;
    gap:3px;
    color:#ffb400;
    font-size:13px;
}

.hotel-location{
    color:#6b7280;
    font-size:13px;
}

.hotel-right-info{
    display:flex;
    align-items:center;
    gap:12px;
}

.hotel-rating-box{
    width:50px;
    height:50px;
    border-radius:14px;
    background:#0057ff;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:15px;
    font-weight:800;
}

.hotel-review-count{
    font-size:12px;
    color:#6b7280;
}

.share-btn{
    border:none;
    background:#111827;
    color:#fff;
    padding:10px 14px;
    border-radius:12px;
    cursor:pointer;
    font-size:12px;
    font-weight:700;
    transition:0.3s ease;
}

.share-btn:hover{
    background:#0057ff;
}

/* =========================================================
MAIN LAYOUT
========================================================= */

.hotel-main-layout{
    display:grid;
    grid-template-columns:1.6fr 0.75fr;
    gap:18px;
    align-items:start;
}

/* =========================================================
LEFT SIDE
========================================================= */

.hotel-content-side{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.hotel-section-card{
    background:#fff;
    border-radius:18px;
    padding:18px;
    box-shadow:0 8px 25px rgba(0,0,0,0.06);
}

.hotel-section-card h2{
    font-size:20px;
    margin-bottom:12px;
    font-weight:800;
}

.hotel-section-card p{
    font-size:13px;
    line-height:1.8;
    color:#4b5563;
}

/* =========================================================
ROOM FILTER BAR
========================================================= */

.room-filter-bar{
    display:flex;
    gap:8px;
    overflow:auto;
    padding-bottom:4px;
}

.room-filter{
    border:none;
    background:#fff;
    padding:10px 14px;
    border-radius:999px;
    cursor:pointer;
    white-space:nowrap;
    font-size:11px;
    font-weight:700;
    box-shadow:0 4px 12px rgba(0,0,0,0.05);
    transition:0.3s ease;
}

.room-filter.active{
    background:#0057ff;
    color:#fff;
}

/* =========================================================
ROOM LIST
========================================================= */

.hotel-room-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

/* =========================================================
ROOM CARD
========================================================= */

.room-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    display:grid;
    grid-template-columns:220px 1fr;
    box-shadow:0 8px 25px rgba(0,0,0,0.06);
}

.room-image-area{
    height:100%;
}

.room-image-area img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.room-content-area{
    padding:18px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.room-content-area h3{
    font-size:22px;
    font-weight:800;
}

.room-meta-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.room-meta-list span{
    background:#f3f4f6;
    padding:7px 10px;
    border-radius:8px;
    font-size:10px;
    color:#374151;
}

.room-benefits{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.benefit-item{
    padding:7px 10px;
    border-radius:8px;
    font-size:10px;
    font-weight:700;
}

.benefit-item.success{
    background:#dcfce7;
    color:#15803d;
}

.benefit-item.danger{
    background:#fee2e2;
    color:#dc2626;
}

.room-price-box{
    margin-top:auto;
}

.room-price{
    font-size:32px;
    font-weight:800;
    color:#ff5b00;
    line-height:1;
}

.room-tax-note{
    font-size:11px;
    color:#6b7280;
    margin-top:5px;
}

.reserve-btn{
    border:none;
    background:linear-gradient(135deg,#ff7b00,#ff0066);
    color:#fff;
    height:42px;
    border-radius:10px;
    cursor:pointer;
    font-size:12px;
    font-weight:700;
    transition:0.3s ease;
}

.reserve-btn:hover{
    transform:translateY(-2px);
}

/* =========================================================
POLICIES
========================================================= */

.hotel-policies{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.policy-accordion{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.06);
}

.policy-toggle{
    width:100%;
    border:none;
    background:#fff;
    padding:16px;
    text-align:left;
    cursor:pointer;
    font-size:14px;
    font-weight:800;
}

.policy-content{
    display:none;
    padding:0 16px 16px;
    font-size:12px;
    line-height:1.8;
    color:#4b5563;
}

.policy-accordion.active .policy-content{
    display:block;
}

/* =========================================================
BOOKING SIDEBAR
========================================================= */

.hotel-booking-sidebar{
    position:relative;
}

.booking-card{
    position:sticky;
    top:90px;
    background:#fff;
    border-radius:20px;
    padding:18px;
    box-shadow:0 10px 30px rgba(0,0,0,0.07);
}

.booking-card h3{
    font-size:22px;
    margin-bottom:18px;
    font-weight:800;
}

.booking-field{
    margin-bottom:12px;
}

.booking-field label{
    display:block;
    margin-bottom:6px;
    font-size:11px;
    font-weight:700;
    color:#374151;
}

.booking-field input,
.booking-field select{
    width:100%;
    height:42px;
    border:1px solid #d1d5db;
    border-radius:10px;
    padding:0 12px;
    font-size:12px;
    background:#fff;
}

.booking-field input:focus,
.booking-field select:focus{
    border-color:#0057ff;
}

.child-age-wrapper{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.booking-price-box{
    background:#f9fafb;
    border-radius:14px;
    padding:14px;
    margin:16px 0;
}

.price-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
    font-size:11px;
    color:#4b5563;
}

.price-row.total{
    border-top:1px solid #e5e7eb;
    margin-top:12px;
    padding-top:12px;
    font-size:18px;
    font-weight:800;
    color:#111827;
}

.booking-submit-btn{
    width:100%;
    height:46px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#0057ff,#00b7ff);
    color:#fff;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
    transition:0.3s ease;
}

.booking-submit-btn:hover{
    transform:translateY(-2px);
}

.secure-booking{
    margin-top:10px;
    text-align:center;
    color:#16a34a;
    font-size:10px;
    font-weight:700;
}

/* =========================================================
GALLERY MODAL
========================================================= */

.gallery-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.82);
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.gallery-modal.active{
    display:flex;
}

.gallery-modal-content{
    width:min(1200px,100%);
    max-height:92vh;
    overflow:auto;
    background:#fff;
    border-radius:22px;
    padding:20px;
}

.gallery-modal-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.gallery-modal-header h3{
    font-size:22px;
}

.close-gallery-modal{
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:#f3f4f6;
    cursor:pointer;
    font-size:15px;
}

.gallery-category-bar{
    display:flex;
    gap:8px;
    overflow:auto;
    margin-bottom:18px;
}

.gallery-category{
    border:none;
    background:#f3f4f6;
    padding:9px 14px;
    border-radius:999px;
    cursor:pointer;
    font-size:11px;
    font-weight:700;
}

.gallery-category.active{
    background:#0057ff;
    color:#fff;
}

.gallery-modal-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
    gap:14px;
}

.gallery-modal-item{
    position:relative;
    border-radius:16px;
    overflow:hidden;
    height:200px;
}

.gallery-modal-item img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.gallery-photo-tag{
    position:absolute;
    left:10px;
    bottom:10px;
    background:rgba(0,0,0,0.72);
    color:#fff;
    padding:5px 10px;
    border-radius:999px;
    font-size:10px;
}

/* =========================================================
ULTIMATE MOBILE RESPONSIVE FIX
ADD THIS AT THE VERY BOTTOM OF hotel-details.css
========================================================= */

@media screen and (max-width:1024px){

.hotel-main-layout{
    grid-template-columns:1fr;
    gap:16px;
}

.booking-card{
    position:relative;
    top:0;
}

.hotel-booking-sidebar{
    width:100%;
}

}

/* =========================================================
TABLET
========================================================= */

@media screen and (max-width:768px){

html,
body{
    overflow-x:hidden;
}

.container{
    width:94%;
    padding:0;
}

/* =========================================================
PAGE
========================================================= */

.hotel-details-page{
    padding:4px 0 25px;
}

/* =========================================================
GALLERY
========================================================= */

.hotel-top-gallery{
    grid-template-columns:1fr;
    gap:10px;
}

.hotel-main-gallery{
    width:100%;
    height:260px;
    border-radius:14px;
}

.main-slider{
    width:100%;
    height:100%;
}

.main-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* HIDE RIGHT SIDE IMAGES */

.hotel-side-gallery{
    display:none;
}

/* =========================================================
ARROWS
========================================================= */

.gallery-arrow{
    width:34px;
    height:34px;
    font-size:11px;
}

.gallery-arrow.left{
    left:10px;
}

.gallery-arrow.right{
    right:10px;
}

/* =========================================================
VIEW ALL
========================================================= */

.view-all-photos{
    right:10px;
    bottom:10px;
    padding:8px 10px;
    font-size:10px;
}

/* =========================================================
INFO BAR
========================================================= */

.hotel-info-bar{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding:14px;
    border-radius:14px;
}

.hotel-left-info{
    width:100%;
}

.hotel-left-info h1{
    font-size:22px;
    line-height:1.3;
    margin-bottom:8px;
}

.hotel-meta{
    gap:8px;
}

.hotel-location{
    font-size:11px;
}

.hotel-right-info{
    width:100%;
    justify-content:space-between;
    align-items:center;
}

.hotel-rating-box{
    width:42px;
    height:42px;
    font-size:13px;
    border-radius:10px;
}

.hotel-review-count{
    font-size:10px;
}

.share-btn{
    padding:8px 10px;
    font-size:10px;
    border-radius:8px;
}

/* =========================================================
LAYOUT
========================================================= */

.hotel-main-layout{
    grid-template-columns:1fr;
    gap:14px;
}

/* =========================================================
SECTION CARDS
========================================================= */

.hotel-section-card{
    padding:14px;
    border-radius:14px;
}

.hotel-section-card h2{
    font-size:17px;
    margin-bottom:10px;
}

.hotel-section-card p{
    font-size:12px;
    line-height:1.7;
}

/* =========================================================
FILTERS
========================================================= */

.room-filter-bar{
    overflow-x:auto;
    flex-wrap:nowrap;
    padding-bottom:4px;
    scrollbar-width:none;
}

.room-filter-bar::-webkit-scrollbar{
    display:none;
}

.room-filter{
    flex:none;
    white-space:nowrap;
    padding:8px 12px;
    font-size:10px;
}

/* =========================================================
ROOM CARD
========================================================= */

.room-card{
    grid-template-columns:1fr;
    border-radius:14px;
}

.room-image-area{
    width:100%;
    height:190px;
}

.room-image-area img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.room-content-area{
    padding:14px;
    gap:10px;
}

.room-content-area h3{
    font-size:18px;
}

.room-meta-list{
    flex-direction:column;
    gap:6px;
}

.room-meta-list span{
    width:100%;
    font-size:10px;
}

.room-benefits{
    gap:6px;
}

.benefit-item{
    font-size:10px;
    padding:6px 8px;
}

.room-price{
    font-size:26px;
}

.room-tax-note{
    font-size:10px;
}

.reserve-btn{
    width:100%;
    height:42px;
    font-size:12px;
}

/* =========================================================
POLICIES
========================================================= */

.policy-toggle{
    padding:14px;
    font-size:13px;
}

.policy-content{
    padding:0 14px 14px;
    font-size:11px;
}

/* =========================================================
BOOKING CARD
========================================================= */

.hotel-booking-sidebar{
    width:100%;
}

.booking-card{
    position:relative;
    top:0;
    width:100%;
    padding:14px;
    border-radius:14px;
}

.booking-card h3{
    font-size:18px;
    margin-bottom:14px;
}

.booking-field{
    margin-bottom:10px;
}

.booking-field label{
    font-size:10px;
    margin-bottom:5px;
}

.booking-field input,
.booking-field select{
    height:40px;
    font-size:11px;
    border-radius:8px;
}

.child-age-wrapper{
    gap:8px;
}

.booking-price-box{
    padding:12px;
    border-radius:10px;
    margin:14px 0;
}

.price-row{
    font-size:10px;
    margin-bottom:8px;
}

.price-row.total{
    font-size:16px;
}

.booking-submit-btn{
    height:42px;
    border-radius:10px;
    font-size:12px;
}

.secure-booking{
    font-size:10px;
}

/* =========================================================
GALLERY MODAL
========================================================= */

.gallery-modal{
    padding:10px;
}

.gallery-modal-content{
    padding:14px;
    border-radius:14px;
    max-height:94vh;
}

.gallery-modal-header{
    margin-bottom:14px;
}

.gallery-modal-header h3{
    font-size:18px;
}

.close-gallery-modal{
    width:36px;
    height:36px;
    font-size:12px;
}

.gallery-category-bar{
    gap:6px;
    margin-bottom:14px;
}

.gallery-category{
    padding:7px 10px;
    font-size:10px;
}

.gallery-modal-grid{
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.gallery-modal-item{
    height:140px;
    border-radius:10px;
}

.gallery-photo-tag{
    font-size:9px;
    padding:4px 8px;
}

}

/* =========================================================
SMALL MOBILE
========================================================= */

@media screen and (max-width:480px){

.container{
    width:95%;
}

.hotel-main-gallery{
    height:220px;
}

.hotel-left-info h1{
    font-size:20px;
}

.hotel-rating-box{
    width:38px;
    height:38px;
    font-size:12px;
}

.room-image-area{
    height:170px;
}

.room-price{
    font-size:22px;
}

.gallery-modal-grid{
    grid-template-columns:1fr;
}

.booking-card{
    padding:12px;
}

.booking-submit-btn{
    height:40px;
}

}