/* Hotel Details Page Styles */

.hotel-details-container {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 2rem;
    align-items: flex-start;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

.hotel-details-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    min-width: 0;
}

.booking-card {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    height: fit-content;
}

/* Custom scrollbar for booking card */
.booking-card::-webkit-scrollbar {
    width: 8px;
}

.booking-card::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.booking-card::-webkit-scrollbar-thumb {
    background: #17a697;
    border-radius: 10px;
}

.booking-card::-webkit-scrollbar-thumb:hover {
    background: #129980;
}

.map-image-container {
    width: 100%;
    margin: 0.8rem 0 0 0;
    border-radius: 8px;
    overflow: hidden;
}

.map-image-container a {
    display: block;
}

.map-image-container img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 200px;
}

/* Professional Image Gallery Grid */
.image-gallery {
    width: 100%;
    margin-bottom: 0.6rem;
}

.property-images-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.gallery-image {
    aspect-ratio: 1.2 / 1;
    overflow: hidden;
    border-radius: 5px;
    background: #f5f5f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.gallery-image-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

/* Old main-image styles (keep for compatibility) */
.main-image {
    width: 100%;
    position: relative;
}



.fake-review-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    max-width: 50%;
    font-size: 0.9rem;
    z-index: 3; /* Ensure review overlay is above blur overlay and button */
}

.review-text {
    margin: 0 0 0.5rem 0;
    font-style: italic;
}

.review-author {
    margin: 0;
    font-weight: bold;
    text-align: right;
}

/* Nearby Airports Section */
.nearby-airports {
    margin-top: 0.8rem;
}

#airports-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.airport-item {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.airport-item.hidden {
    display: none;
}

.airport-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #007bff;
}

.airport-details {
    display: flex;
    flex-direction: column;
}

.airport-name {
    font-weight: bold;
    color: #333;
}

.airport-meta {
    font-size: 0.9rem;
    color: #666;
}

#toggle-airports-btn {
    margin-top: 1rem;
}

.main-image .view-all-photos-btn {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.view-all-photos-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); /* More responsive thumbnails */
    gap: 0.5rem; /* Reduce gap for smaller screens */
    margin-top: 1rem;
    width: 100%;
}

.thumbnail-images a {
    display: block;
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.thumbnail-images a:hover {
    border-color: #17a697;
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.thumbnail-images img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.property-highlights h2,
.property-description h2,
.amenities h2,
.guest-reviews h2 {
    margin-bottom: 1.5rem;
}

/* Key Features Section - Professional Look */
.property-overview {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* 8 columns for desktop */
    gap: 0.75rem;
    margin-top: -1rem;
}

.overview-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px; /* Sharper radius */
    padding: 0.75rem 0.5rem; /* More compact padding */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.overview-item .feature-icon {
    font-size: 1.75rem; /* Smaller icon */
    color: #007bff;
    display: block;
    margin-bottom: 0.5rem; /* Reduced margin */
}

.overview-item .feature-title {
    font-size: 0.8rem; /* Smaller title */
    font-weight: 600;
    color: #333;
    margin: 0 0 0.15rem 0;
}

.overview-item .feature-text {
    font-size: 0.75rem; /* Smaller text */
    font-weight: 400;
    color: #666;
    margin: 0;
}

.section-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 1rem 0;
}

.property-description .btn-link {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    padding: 0;
    font-weight: bold;
}

.hidden {
    display: none;
}

/* Professional Elegant Amenities Section */
.amenities-section {
    margin: 0;
    padding: 0;
}

.amenities-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.8rem 0;
    padding-bottom: 0;
    border-bottom: none;
}

.amenities-wrapper {
    background: transparent;
    padding: 0;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.amenity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: default;
}

.amenity-badge:hover {
    background: white;
    border-color: #17a697;
    box-shadow: 0 2px 6px rgba(240, 173, 78, 0.2);
    color: #17a697;
}

.badge-icon {
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .amenities-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }

    .amenities-list {
        gap: 0.5rem;
    }

    .amenity-badge {
        padding: 0.45rem 0.85rem;
        font-size: 0.8rem;
    }

    .badge-icon {
        font-size: 0.9rem;
    }

    .badge-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .amenities-section h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .amenities-list {
        gap: 0.4rem;
    }

    .amenity-badge {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    .badge-icon {
        font-size: 0.85rem;
    }

    .badge-text {
        font-size: 0.75rem;
    }
}

/* Old h3 style - now replaced with .price-header */
/* .booking-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
} */

.booking-card .date-fields {
    display: flex;
    gap: 1rem;
}

.booking-card .form-group {
    margin-bottom: 0.8rem;
}

.booking-card label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.booking-card input,
.booking-card select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.booking-card .btn-book {
    width: 100%;
    padding: 0.8rem;
    background-color: #17a697;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.booking-card .btn-book:hover {
    background-color: #129980;
}

.price-details {
    margin-top: 1rem;
}

.price-details p {
    display: flex;
    justify-content: space-between;
    margin: 0.4rem 0;
}

.price-details hr {
    margin: 0.8rem 0;
    border: 0;
    border-top: 1px solid #eee;
}

.review {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Tourist Attractions Slider */
.tourist-attractions {
    position: relative;
    min-width: 0; /* The critical fix for the slider width issue */
}

.attractions-slider {
    width: 100%;
    padding: 20px 0;
    position: relative;
    overflow: visible; /* Allow navigation buttons to show */
}

.attractions-slider .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap; /* Prevent slides from wrapping to the next line */
}

.swiper-slide {
    height: auto; /* Allow slides to have natural height */
    display: flex;
    justify-content: center;
}

/* Professional Compact Attractions List */
.attractions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.attraction-badge {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 200px;
}

.attraction-badge:hover {
    background: white;
    border-color: #17a697;
    box-shadow: 0 2px 8px rgba(240, 173, 78, 0.15);
}

.attraction-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.attraction-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex-grow: 1;
    min-width: 0;
}

.attraction-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.3;
    word-break: break-word;
}

.attraction-distance {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* Custom Swiper Navigation */
.swiper-button-next, .swiper-button-prev {
    color: #17a697;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    top: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    transform: translateY(-50%);
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: #17a697;
    color: white;
    box-shadow: 0 4px 12px rgba(240, 173, 78, 0.4);
}

@media (max-width: 767px) {
    .map-image-container {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .map-image-container {
        width: 100%;
        margin: 0.8rem 0 0 0;
    }

    .map-image-container img {
        max-height: 180px;
    }
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

@media (max-width: 1400px) {
    .hotel-details-container {
        max-width: 100%;
        padding: 1rem 1.5rem;
        gap: 1.2rem;
    }

    .booking-card {
        width: 300px;
    }

    .map-image-container img {
        max-height: 200px;
    }

    .property-overview {
        grid-template-columns: repeat(6, 1fr);
    }

    /* Gallery Grid - 5 columns on 1400px and below */
    .property-images-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 1200px) {
    .hotel-details-container {
        padding: 1rem 1.5rem;
        gap: 1.2rem;
    }

    .booking-card {
        width: 280px;
        position: sticky;
        top: 80px;
    }

    .map-image-container img {
        max-height: 180px;
    }

    .property-overview {
        grid-template-columns: repeat(5, 1fr);
    }

    .highlight-badge {
        flex: 0 1 calc(33.333% - 0.75rem);
    }

    /* Gallery Grid - 4 columns on 1200px and below */
    .property-images-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .gallery-image-featured {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 992px) {
    .hotel-details-container {
        flex-direction: column;
        padding: 0.8rem;
    }

    .booking-card {
        width: 100%;
        position: static;
        margin-top: 0.8rem;
        height: auto;
    }

    .property-overview {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on tablets */
    }

    /* Gallery Grid - 3 columns on 992px and below */
    .property-images-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .gallery-image-featured {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    .hotel-details-container {
        padding: 0.8rem 1rem;
    }

    .highlight-badge {
        flex: 0 1 calc(50% - 0.5rem);
    }

    .property-overview {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .hotel-details-container {
        padding: 1rem;
    }

    .booking-card {
        width: 100%;
    }

    .booking-card .date-fields {
        flex-direction: column;
        gap: 0;
    }

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

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

    .highlight-badge {
        flex: 0 1 calc(50% - 0.5rem);
    }

    /* Gallery Grid - 2 columns on mobile */
    .property-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }

    .gallery-image-featured {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-image {
        border-radius: 4px;
        aspect-ratio: 1.2 / 1;
    }
}

/* New Hotel Hero Section Styles - Optimized for Compact View */
.hotel-hero-section {
    background-color: #f8f8f8;
    padding: 8px 20px 6px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.hotel-hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb-rating-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 8px;
    flex-wrap: nowrap;
}

.breadcrumb {
    font-size: 0.75em;
    color: #777;
    margin-bottom: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.breadcrumb a {
    color: #555;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.hotel-title {
    font-size: 1.6rem;
    margin-top: 4px;
    margin-bottom: 4px;
    color: #333;
    font-weight: 700;
    line-height: 1.1;
}

.hotel-hero-section h1 {
    margin-top: 0;
    margin-bottom: 4px;
    color: #333;
    font-size: 1.6rem;
}

.hotel-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.star-rating-display {
    color: gold; /* Color for filled stars */
    font-size: 0.9em; /* Adjust size as needed */
    display: flex;
    flex-shrink: 0;
    white-space: nowrap;
}

.breadcrumb-rating-wrapper .star-rating-display {
    margin-bottom: 0;
    margin-left: auto;
}

.star-rating-display .star-icon {
    margin-right: 1px;
}

.star-rating-display .empty {
    color: lightgray; /* Color for empty stars */
}

.location-text {
    color: #666;
    font-size: 0.85em;
}

/* Booking Popup Styles */
.booking-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s;
}

.booking-popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

.booking-popup-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.popup-icon {
    font-size: 2rem;
    color: #007bff;
    margin-right: 0.5rem;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
}

.popup-description {
    color: #666;
    margin-bottom: 1.5rem;
}

.popup-date-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.popup-date-fields .form-group {
    text-align: left;
}

.popup-date-fields label {
    font-weight: bold;
    color: #555;
    margin-bottom: 0.5rem;
    display: block;
}

.popup-date-fields input[type="text"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; /* Include padding in width */
}

.popup-btn-search {
    width: 100%;
    padding: 1rem;
    background-color: #28a745; /* Green for action */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.popup-btn-search:hover {
    background-color: #218838;
}

/* Popular Areas Section */
.popular-areas {
    margin-top: 0.8rem;
}

.popular-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.popular-area-item {
    display: flex;
    align-items: center;
    background-color: #f0f8ff; /* Light blue background */
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.popular-area-item:hover {
    background-color: #e0f0ff; /* Slightly darker blue on hover */
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.popular-area-item .icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    color: #007bff; /* Primary color for icon */
}

/* FAQ Section */
.faq-section {
    margin-top: 0.8rem;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 0.8rem 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-answer {
    display: none;
    padding-top: 1rem;
    color: #555;
}

/* Similar Properties Section */
.similar-properties {
    margin-top: 1rem;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.similar-properties h2 {
    text-align: center;
    margin-bottom: 1.2rem;
    color: #333;
    font-size: 2em;
}

.similar-hotels-slider .hotel-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in slider have consistent height */
    display: flex;
    flex-direction: column;
}

.similar-hotels-slider .hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.similar-hotels-slider .hotel-card img {
    width: 100%;
    height: 180px; /* Fixed height for images in similar properties */
    object-fit: cover;
}

.similar-hotels-slider .hotel-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push price/rating to bottom */
}

.similar-hotels-slider .hotel-info h3 {
    margin-top: 0;
    font-size: 1.2em;
}

.similar-hotels-slider .hotel-info h3 a {
    text-decoration: none;
    color: #333;
}

.similar-hotels-slider .hotel-info h3 a:hover {
    color: #007bff;
}

.similar-hotels-slider .hotel-info .price {
    font-weight: bold;
    color: #007bff;
    margin-top: 0.5rem;
}

.similar-hotels-slider .hotel-info .rating {
    font-size: 0.9em;
    color: #666;
}

/* Swiper Navigation and Pagination for Similar Properties */
.similar-hotels-slider .swiper-button-next,
.similar-hotels-slider .swiper-button-prev {
    color: #007bff;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.similar-hotels-slider .swiper-button-next:after,
.similar-hotels-slider .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.similar-hotels-slider .swiper-pagination-bullet-active {
    background-color: #007bff;
}

@media (max-width: 768px) {
    .similar-properties {
        padding: 1rem;
        margin-top: 0.8rem;
    }
    .similar-properties h2 {
        font-size: 1.5em;
        margin-bottom: 1rem;
    }
}

/* Similar Hotels Grid Section */
.similar-hotels-section {
    margin-top: 1rem;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.section-header-with-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header-with-button h2 {
    text-align: left;
    margin-bottom: 0;
    color: #333;
    font-size: 2em;
    flex: 1;
}

.compare-top-hotels-btn {
    background-color: #17a697;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.compare-top-hotels-btn:hover {
    background-color: #129980;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.similar-hotels-section h2 {
    text-align: center;
    margin-bottom: 1.2rem;
    color: #333;
    font-size: 2em;
}

.similar-hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid, min 280px wide cards */
    gap: 1.2rem; /* Space between cards */
    justify-content: center; /* Center grid items if they don't fill the row */
}

.similar-hotels-grid .hotel-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit text color */
    display: flex;
    flex-direction: column;
}

.similar-hotels-grid .hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.similar-hotels-grid .hotel-card img {
    width: 100%;
    height: 180px; /* Fixed height for images */
    object-fit: cover;
}

.similar-hotels-grid .hotel-info {
    padding: 0.5rem;
    flex-grow: 1; /* Allow info to take up remaining space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: visible;
}

.hotel-header {
    display: flex;
    gap: 0.3rem;
    align-items: flex-start;
    margin-bottom: 0.3rem;
    width: 100%;
    min-height: 20px;
}

.hotel-header-content {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.agoda-logo {
    height: 24px !important;
    width: auto !important;
    max-width: 80px !important;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.2s ease-in-out;
}

.similar-hotels-grid .hotel-info h3 {
    margin-top: 0;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 0.15rem;
    font-weight: 600;
    line-height: 1.2;
}

.hotel-title-link {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    cursor: pointer;
}

.hotel-title-link:hover {
    color: #007bff;
}

.breadcrumb-link {
    text-decoration: none;
    color: #888;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #007bff;
    text-decoration: underline;
}

.hotel-breadcrumb {
    font-size: 0.75rem;
    color: #888;
    margin: 0.05rem 0 0.15rem 0;
    padding: 0;
}

.similar-hotels-grid .hotel-info .hotel-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.1rem;
    font-size: 0.8rem;
}

.similar-hotels-grid .hotel-info .stars {
    color: gold;
    font-size: 0.85rem;
    line-height: 1;
    letter-spacing: -0.05rem;
}

.rating-value {
    font-weight: 600;
    color: #333;
    font-size: 0.8rem;
}

.similar-hotels-grid .hotel-info .reviews {
    font-size: 0.75rem;
    color: #999;
}

.hotel-card-image {
    display: block;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
    border-radius: 10px 10px 0 0;
}

.hotel-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.hotel-price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e0e0e0;
}

.hotel-price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.price-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.price-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #17a697;
}

.price-unit {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.view-details-btn {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    background-color: #17a697;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.view-details-btn:hover {
    background-color: #129980;
    box-shadow: 0 4px 12px rgba(23, 166, 151, 0.3);
    transform: translateY(-2px);
}

/* Responsive adjustments for similar hotels grid */
@media (max-width: 768px) {
    .similar-hotels-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 0.9rem;
    }
    .similar-hotels-section {
        padding: 1rem;
        margin-top: 0.8rem;
    }
    .similar-hotels-section h2 {
        font-size: 1.8em;
        margin-bottom: 1rem;
    }

    .hotel-header {
        gap: 0.3rem;
        margin-bottom: 0.3rem;
        min-height: 20px;
        align-items: flex-start;
    }

    .agoda-logo {
        height: 20px !important;
        width: auto !important;
        max-width: 70px !important;
    }

    .hotel-price-section {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        margin-top: 0.4rem;
        padding-top: 0.4rem;
    }

    .hotel-price {
        justify-content: center;
    }

    .view-details-btn {
        width: 100%;
        text-align: center;
        padding: 0.4rem 0.7rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .section-header-with-button {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-header-with-button h2 {
        font-size: 1.5rem;
    }

    .compare-top-hotels-btn {
        width: 100%;
        text-align: center;
        white-space: normal;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

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

    .amenity-card {
        padding: 0.8rem;
    }

    .hotel-overview,
    .amenities,
    .popular-areas {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .similar-hotels-grid {
        grid-template-columns: 1fr;
    }

    .section-header-with-button h2 {
        font-size: 1.3rem;
    }

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

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

    .amenity-card {
        padding: 0.7rem;
        font-size: 0.85rem;
    }

    .view-all-photos-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

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

.main-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.view-all-photos-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
}

/* ========================================
   NEW PROFESSIONAL IMPROVEMENTS
   ======================================== */

/* Sticky Section Navigation - Optimized for Compact View */
.section-navigation {
    position: sticky;
    top: 60px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    padding: 0.5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.nav-link {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    padding: 0.35rem 0.7rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #17a697;
    background: rgba(240, 173, 78, 0.1);
}

.nav-link.active {
    color: #17a697;
    background: rgba(240, 173, 78, 0.15);
    font-weight: 600;
}

/* Quick Highlights Section - Optimized for Compact View */
.quick-highlights {
    display: flex;
    gap: 0.6rem;
    padding: 0.6rem 1.5rem;
    flex-wrap: nowrap;
    justify-content: space-between;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 6px;
    margin-bottom: 1rem;
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow-x: auto;
}

.highlight-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.highlight-badge:hover {
    border-color: #17a697;
    box-shadow: 0 4px 12px rgba(240, 173, 78, 0.2);
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 15px;
    color: #17a697;
}

/* Enhanced Booking Card */
.price-header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.8rem;
    margin-bottom: 0.8rem;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

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

.price-per {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
}

.rating-stars {
    color: #17a697;
    font-size: 16px;
}

.rating-text {
    color: #666;
}

.urgency-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.urgency-banner i {
    font-size: 18px;
}

.trust-badges {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 13px;
    color: #555;
}

.trust-badge i {
    color: #4caf50;
    font-size: 16px;
}

/* Location Section */
.location-section {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 8px;
    margin: 0;
}

.location-section > h2 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
    color: #333;
}

.location-subsection {
    margin-bottom: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.location-subsection:last-child {
    margin-bottom: 0;
}

.location-subsection h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    color: #333;
    border-bottom: 2px solid #17a697;
    padding-bottom: 0.4rem;
}

.airports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.6rem;
}

.attractions-grid {
    width: 100%;
    min-width: 0;
    position: relative;
}

.airport-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.airport-item.hidden {
    display: none;
}

.airport-icon {
    font-size: 24px;
    color: #17a697;
}

.airport-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.airport-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.airport-meta {
    font-size: 12px;
    color: #666;
}

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

.popular-area-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}

.popular-area-item:hover {
    background: white;
    border-color: #17a697;
    box-shadow: 0 2px 8px rgba(240, 173, 78, 0.2);
}

.popular-area-item .icon {
    color: #17a697;
    font-size: 16px;
}

/* Rotating Review Quote Overlay */
.review-quote-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    z-index: 5;
    min-height: 120px;
    display: flex;
    align-items: flex-end;
    border-radius: 0 0 8px 8px;
}

.review-quote {
    display: none;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    animation: fadeInReview 0.6s ease-in-out;
}

.review-quote.active {
    display: flex;
}

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

.quote-icon {
    font-size: 2rem;
    color: #17a697;
    flex-shrink: 0;
    line-height: 1;
}

.quote-text {
    color: white;
    font-size: 0.95rem;
    font-style: italic;
    margin: 0;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Grid-based Review Quote Overlay */
.review-quote-container-grid {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    padding: 1rem;
    z-index: 5;
    min-height: 60px;
    display: flex;
    align-items: flex-end;
    border-radius: 0 0 5px 5px;
}

.review-quote-grid {
    display: none;
    align-items: flex-start;
    gap: 0.6rem;
    width: 100%;
    animation: fadeInReview 0.6s ease-in-out;
}

.review-quote-grid.active {
    display: flex;
}

.review-quote-grid .quote-icon {
    font-size: 1.2rem;
    color: #17a697;
    flex-shrink: 0;
}

.review-quote-grid .quote-text {
    color: white;
    font-size: 0.75rem;
    font-style: italic;
    margin: 0;
    line-height: 1.2;
}

/* Improved Section Spacing */
/* Professional Section Styling */
.hotel-details-main section {
    width: 100%;
    margin: 0;
}

section {
    margin-bottom: 1rem;
}

section h2 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #17a697;
    display: inline-block;
}

/* Quick Highlights - Full Width Professional */
.quick-highlights {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.highlight-badge {
    flex: 0 1 calc(25% - 0.75rem);
    min-width: 150px;
}

/* Responsive Updates */
@media (max-width: 992px) {
    .section-navigation {
        top: 50px;
    }

    .nav-container {
        gap: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .nav-link {
        font-size: 12px;
        padding: 0.3rem 0.6rem;
    }

    .quick-highlights {
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }

    .highlight-badge {
        padding: 0.35rem 0.7rem;
        font-size: 11px;
    }

    .hotel-hero-section {
        padding: 6px 15px 5px 15px;
    }

    .hotel-title {
        font-size: 1.4rem;
        margin-top: 3px;
        margin-bottom: 3px;
    }

    .hotel-details-container {
        padding: 0.8rem 1.5rem;
    }

    .location-section {
        padding: 1.5rem;
    }

    .trust-badges {
        margin-bottom: 1rem;
    }

    /* Compact Attractions on Tablet */
    .attraction-badge {
        flex: 1 1 calc(50% - 0.4rem);
    }
}

@media (max-width: 576px) {
    .quick-highlights {
        gap: 0.4rem;
        padding: 0.5rem;
        margin-bottom: 0.8rem;
    }

    .highlight-badge {
        padding: 0.35rem 0.6rem;
        font-size: 10px;
        gap: 0.25rem;
    }

    .badge-icon {
        font-size: 13px;
    }

    .hotel-hero-section {
        padding: 5px 10px 4px 10px;
    }

    .hotel-title {
        font-size: 1.2rem;
        margin-top: 2px;
        margin-bottom: 2px;
        line-height: 1.1;
    }

    .breadcrumb-rating-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .breadcrumb-rating-wrapper .breadcrumb {
        flex-basis: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 0.3rem;
    }

    .breadcrumb-rating-wrapper .star-rating-display {
        margin-left: 0;
    }

    .breadcrumb {
        font-size: 0.7em;
        margin-bottom: 3px;
    }

    .nav-container {
        justify-content: flex-start;
        padding: 0.35rem 0.8rem;
    }

    .nav-link {
        font-size: 11px;
        padding: 0.25rem 0.5rem;
    }

    .hotel-details-container {
        padding: 0.8rem 1rem;
    }

    .hotel-details-main {
        gap: 1rem;
    }

    .price-amount {
        font-size: 1.75rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    /* Compact Attractions on Mobile */
    .attractions-list {
        gap: 0.6rem;
    }

    .attraction-badge {
        flex: 1 1 100%;
        padding: 0.7rem 0.9rem;
    }

    .attraction-name {
        font-size: 0.9rem;
    }

    .attraction-distance {
        font-size: 0.75rem;
    }
}

/* ============================================
   Weather & Climate Section Styles
   ============================================ */

.weather-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.weather-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.weather-section h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: #444;
}

.seasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.season-card {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.2s;
}

.season-card:hover {
    transform: translateY(-5px);
}

.season-card.dry {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.season-card.wet {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.season-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.season-card .months {
    font-size: 0.9rem;
    margin: 8px 0;
    opacity: 0.8;
    color: #555;
}

.season-card .temp {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 15px 0;
    color: #333;
}

.month-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.month-btn {
    padding: 8px 16px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.month-btn:hover,
.month-btn.active {
    background: #667eea;
    color: white;
}

.month-details {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.month-details h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.stat-box {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin: 5px 0;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.packing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 20px 0;
}

.packing-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.packing-section h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
}

.packing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.packing-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    color: #555;
}

.packing-list li:last-child {
    border-bottom: none;
}

.packing-list li:before {
    content: "✓ ";
    color: #667eea;
    font-weight: bold;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .weather-section {
        padding: 20px 15px;
    }
    
    .seasons-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .packing-grid {
        grid-template-columns: 1fr;
    }
    
    .month-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}
