﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    padding-top:10px;
}

body {
    font-family: Arial, sans-serif;
}

.hotel-page {
    background: #f8f9fa;
}

.header {
    background: #f8f9fa;
    color: white;
    padding: 15px 30px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0px;
}

.breadcrumb {
    color: #777;
    margin-bottom: 10px;
}

.hotel-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.hotel-address {
    color: #666;
    margin-bottom: 20px;
}

.gallery-wrapper {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.main-image {
    position: relative;
    width: 68%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 10px;
}

    .main-image img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 10px;
    }

.thumbnail-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
}

.thumb {
    width: 100px;
    height: 70px;
    flex-shrink: 0;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    border: 2px solid transparent;
}

    .thumb.active {
        border-color: #1565c0;
    }

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

    .card h2 {
        margin-bottom: 15px;
    }

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f7fa;
    border-radius: 10px;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .amenity-item:hover {
        transform: translateY(-2px);
    }

.amenity-icon {
    width: 22px;
    height: 22px;
    border: 1px solid #1e6fff;
    border-radius: 50%;
    color: #1e6fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.hotel-about {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

@media (max-width: 992px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .amenities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:992px) {

    .hotel-title {
        font-size: 28px;
    }

    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-map-row {
        gap: 15px;
    }

    .main-image {
        width: 65%;
    }

    .hotel-map {
        width: 40%;
    }

    .gallery-section {
        width: 60%;
    }

    .main-image img {
        height: 260px;
    }

    .thumb {
        width: 85px;
        height: 60px;
    }
}

.footer {
    background: #1565c0;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.availability-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

    .availability-card h3 {
        margin-bottom: 5px;
        font-size: 18px;
    }

    .availability-card p {
        color: #666;
        margin-bottom: 15px;
    }

.availability-row {
    display: flex;
    gap: 15px;
    align-items: end;
}

.date-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .date-field label {
        margin-bottom: 5px;
        font-size: 14px;
        font-weight: 600;
    }

    .date-field input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
    }

.check-btn {
    background: #1565C0;
    color: white;
    border: none;
    padding: 11px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

    .check-btn:hover {
        background: #0d47a1;
    }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

    .slider-btn.left {
        left: 15px;
    }

    .slider-btn.right {
        right: 15px;
    }

    .slider-btn:hover {
        background: rgba(0, 0, 0, 0.8);
    }

.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 60px;
    height: 60px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.gallery-map-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: stretch;
}

/* LEFT SIDE WRAPPER */
.gallery-section {
    width: 68%;
    display: flex;
    flex-direction: column;
}

.main-image {
    width: 100%;
    position: relative;
}

.hotel-map {
    width: 32%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    display: flex;
    flex-direction: column;
}

    .hotel-map iframe {
        flex: 1;
        width: 100%;
        height: 100%;
        border: 0;
    }

.hotel-rating {
    font-size: 18px;
    color: #f5b50a;
    font-weight: 600;
    margin-bottom: 15px;
}

@media (max-width: 768px) {

    .gallery-map-row {
        flex-direction: column;
    }

    .main-image,
    .hotel-map {
        width: 100%;
    }

    .open-map-btn {
        display: inline-block;
        margin: 10px auto 0;
        text-align: center;
    }

    .hotel-map {
        text-align: center;
    }
}

@media (max-width:768px) {

    .container {
        padding: 15px;
    }

    .hotel-title {
        font-size: 24px;
    }

    .hotel-rating {
        font-size: 16px;
    }

    .availability-row {
        flex-direction: column;
        align-items: stretch;
    }

    .check-btn {
        width: 100%;
    }

    .gallery-map-row {
        flex-direction: column;
    }

    .gallery-section {
        width: 100%;
    }

    .gallery-section,
    .hotel-map {
        width: 100%;
    }

    .main-image {
        height: auto;
    }

    .main-image {
        width: 100% !important;
    }

    .main-image {
        width: 100% !important;
    }

        .main-image img {
            height: 220px;
        }

        .main-image img {
            height: 220px;
        }


    .hotel-map {
        height: 250px;
    }

        .hotel-map iframe {
            min-height: 250px;
        }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .modal-prev,
    .modal-next {
        width: 50px;
        height: 50px;
    }

    .navbar {
        padding: 20px 0;
    }

    .navbar-container {
        padding: 0 15px;
    }

    .navbar-links {
        gap: 15px;
    }

    .thumbnail-row {
        gap: 8px;
    }

    .thumb {
        width: 80px;
        height: 55px;
    }
}

@media (max-width:768px) {

    .navbar-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .navbar-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width:1200px) {

    .container {
        max-width: 100%;
        padding: 20px;
    }

    .navbar-container {
        padding: 0 20px;
    }
}



@media (max-width:576px) {

    .hotel-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .hotel-address {
        font-size: 14px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 15px;
    }

        .card h2 {
            font-size: 20px;
        }
}

@media (max-width:400px) {

    .container {
        padding: 10px;
    }

    .hotel-title {
        font-size: 20px;
    }


    .check-btn {
        padding: 12px;
    }

    .modal-close {
        font-size: 30px;
    }
}

.policy-section {
    margin-top: 20px;
}

    .policy-section h3 {
        margin-bottom: 10px;
    }

    .policy-section p {
        line-height: 1.8;
    }

.hotel-about h2 {
    margin-bottom: 25px;
    font-size: 28px;
    color: #1565C0;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.about-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f1f1;
}

    .about-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .about-section h3 {
        font-size: 18px;
        margin-bottom: 10px;
        color: #333;
        font-weight: 600;
    }

    .about-section p {
        line-height: 1.8;
        color: #555;
        font-size: 15px;
        text-align: justify;
    }

.hotel-policies {
    padding: 25px;
}

    .hotel-policies h2 {
        color: #1565C0;
        margin-bottom: 20px;
        border-bottom: 2px solid #e5e7eb;
        padding-bottom: 10px;
    }

.policy-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.policy-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.policy-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.policy-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1565C0;
}

.policy-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

    .policy-section h3 {
        font-size: 20px;
        margin-bottom: 12px;
        color: #333;
    }

    .policy-section p {
        line-height: 1.8;
        color: #555;
        text-align: justify;
        margin-bottom: 12px;
    }

.open-map-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 16px;
    background: #1565c0;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

    .open-map-btn:hover {
        opacity: 0.9;
    }

.loader-container {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.loader {
    width: 60px;
    height: 60px;
    border: 6px solid #e5e7eb;
    border-top: 6px solid #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-container p {
    font-size: 18px;
    color: #555;
    font-weight: 500;
}

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

@media (max-width: 480px) {

    .main-image img {
        height: 180px;
    }

    .thumb {
        width: 70px;
        height: 55px;
    }
}
