/* --- GLOBAL STYLES FOR PROPERTY DETAIL PAGE --- */

#main-content {
    margin-top: 92px;
}

.property-detail-hero {
    position: relative;
    text-align: center;
    padding: 0 28px 0;
    color: var(--text-color);
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.property-detail-hero h1 {
    font-size: 3rem;
    margin-bottom: 3px;
    color: #1a202c;
}

.property-detail-hero p {
    font-size: 1.3rem;
    margin-bottom: 12px;
    /* Reduced from 25px */
    color: #4a5568;
}

/* --- Main Property Image Slider --- */
.property-main-slider {
    width: 100%;
    height: 470px;
    /* Increased to accommodate pagination */
    margin-bottom: 10px;
    /* Reduced from 20px */
}

.property-main-slider .swiper-slide img {
    width: 100%;
    height: calc(100% - 15px);
    /* Leave space for pagination */
    object-fit: cover;
    border-radius: 12px;
}

/* Common Section Styling */
.property-about,
.property-facilities,
.property-amenities,
.property-rooms,
.property-experiences,
.property-reviews {
    padding: 10px 25px;
    max-width: 1440px;
    margin: 0 auto;
    border-bottom: 1px solid #edf2f7;
}

.property-reviews:last-of-type {
    border-bottom: none;
}

/* Property About - reduced top padding */
.property-about {
    padding-top: 5px;
    /* Reduced from 9px */
}

/* Common Section Heading Styling */
.property-about h2,
.property-facilities h2,
.property-amenities h2,
.property-rooms h2,
.property-experiences h2,
.property-reviews h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-top: 0;
    /* Ensure no extra gap */
    margin-bottom: 12px;
    text-align: center;
}

/* Common Paragraph Styling */
.property-about p,
.property-facilities p,
.property-amenities p,
.property-rooms p,
.property-experiences p,
.property-reviews p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
}

/* Utility Classes */
.hidden {
    display: none;
}

.tooltip-hidden {
    display: none;
}

.popup-hidden {
    display: none;
}

.map-legend-hidden {
    display: none;
}

.map-placeholder-hidden {
    display: none;
}

.flex-display {
    display: flex;
}

.block-display {
    display: block;
}


/* ============================================
   RESPONSIVE BREAKPOINTS:
   - Laptop: 1441px and above (MacBook Air 13-inch and larger)
   - Tablet: 441px - 1440px
   - Mobile: 440px and below (Pixel 10 Pro XL and smaller)
   ============================================ */

/* Tablet styles (441px - 1440px) */
@media (max-width: 1440px) and (min-width: 511px) {
    .property-detail-hero h1 {
        font-size: 2.8rem;
    }

    .property-detail-hero p {
        font-size: 1.2rem;
    }

    .property-main-slider {
        height: 415px;
        /* Increased for tablet */
    }

    .property-about,
    .property-facilities,
    .property-amenities,
    .property-rooms,
    .property-experiences,
    .property-reviews {
        padding: 18px 10px;
    }

    .property-about h2,
    .property-facilities h2,
    .property-amenities h2,
    .property-rooms h2,
    .property-experiences h2,
    .property-reviews h2 {
        font-size: 1.9rem;
    }
}

/* Mobile styles (440px and below (Pixel 10 Pro XL and smaller)) */
@media (max-width: 510px) {
    #main-content {
        margin-top: 60px;
    }

    .property-detail-hero {
        padding: 7px 15px 0;
        /* Removed bottom padding */
        min-height: 40vh;
    }

    .property-detail-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 5px;
    }

    .property-detail-hero p {
        font-size: 1.1rem;
    }

    /* Hide short description on mobile */
    #property-short-description {
        display: none;
    }

    #property-long-description {
        margin-bottom: 5px;
    }

    .property-main-slider {
        height: 300px;
        /* Increased for mobile */
    }

    .property-about,
    .property-facilities,
    .property-amenities,
    .property-rooms,
    .property-experiences,
    .property-reviews {
        padding: 15px 10px;
    }

    /* Property About - reduced top padding */
    .property-about {
        padding-top: 9px;
    }

    .property-about h2,
    .property-facilities h2,
    .property-amenities h2,
    .property-rooms h2,
    .property-experiences h2,
    .property-reviews h2 {
        font-size: 1.7rem;
        margin-bottom: 12px;
        text-align: center;
    }

    .property-about p,
    .property-facilities p,
    .property-amenities p,
    .property-rooms p,
    .property-experiences p,
    .property-reviews p {
        font-size: 1rem;
    }

    .cta-button-small {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}