/* ══════════════════════════════════════════════════
   PURA VIDA CASAS — airbnb-details.css
   Modern Airbnb-style Detail Page Layout
   ══════════════════════════════════════════════════ */

:root {
    --primary: #ff385c;
    /* Airbnb-style rose color */
    --text-dark: #222222;
    --text-mid: #717171;
    --border-light: #dddddd;
    --shadow-soft: 0 6px 16px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
}

h1,
h2,
h3,
h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

/* --- Hero/Breadcrumb Header --- */
.property-hero-header {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.property-hero-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.property-hero-content {
    position: relative;
    z-index: 2;
}

/* --- Image Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 8px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-grid img:hover {
    opacity: 0.9;
}

.gallery-main {
    grid-row: span 2;
}

/* --- Property Info Sections --- */
.property-title-row {
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.property-specs {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.highlight-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.highlight-icon {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.highlight-text h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.highlight-text p {
    font-size: 0.9rem;
    color: var(--text-mid);
    margin: 0;
}

/* --- Sticky Booking Card --- */
.sticky-top {
    top: 100px;
}

.booking-card {
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    background: white;
}

.booking-price {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.booking-price span {
    font-weight: 700;
}

.booking-form .input-group {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.booking-form .form-control {
    border: none;
    padding: 12px;
    font-size: 0.9rem;
}

.btn-reserve {
    background: var(--primary);
    color: white;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 10px;
    transition: opacity 0.3s ease;
}

.btn-reserve:hover {
    opacity: 0.9;
    color: white;
}

/* --- Where you'll sleep --- */
.sleep-card {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
}

.sleep-card img {
    border-radius: 8px;
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* --- Amenities Grid --- */
.amenity-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.amenity-item i {
    font-size: 1.2rem;
    width: 24px;
}

/* --- Review Cards --- */
.review-card {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    width: 100%;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--teal);
}

/* --- Section Dividers --- */
section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-light);
}

section:last-of-type {
    border-bottom: none;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    background: #e9ecef;
    margin-top: 20px;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }

    .gallery-main {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 767px) {
    .gallery-grid {
        display: block;
    }

    .gallery-grid img {
        margin-bottom: 8px;
        height: 300px;
    }
}