/* =========================
   PROPERTY PAGE (MATCH INDEX)
========================= */
 
/* SPACE BELOW HEADER */
.container:first-of-type {
    margin-top: 25px;
}

/* CARD LIKE INDEX FEATURES */
.card {
    background: white;
    border-radius: 18px;

    box-shadow:
    0 10px 25px rgba(0,0,0,0.08),
    0 2px 6px rgba(0,0,0,0.05);

    padding: 25px;
    transition: 0.3s ease;
}

/* ADD SPACE BETWEEN BLOCKS */
.container .card {
    margin-bottom: 25px;
}

/* GRID */
.property-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* TITLE */
.property-details h1,
.property-details h2 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #2e7d32;
    line-height: 1.3;
}

/* =========================
   PRICE BOX
========================= */

.price-box-large {
    display: inline-block;
    margin: 10px 0 15px 0;
    background: #2e7d32;
    color: #fff;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
}

.check-time {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.95;
}

/* =========================
   TABLE
========================= */

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}

.info-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.info-table td:first-child {
    font-weight: 600;
    color: #555;
    width: 140px;
}

/* LINKS */
.info-table a {
    color: #2e7d32;
    text-decoration: none;
}

.info-table a:hover {
    text-decoration: underline;
}

/* =========================
   DESCRIPTION
========================= */

.description {
    margin-top: 20px;
}

.description h3 {
    margin-bottom: 8px;
    color: #2e7d32;
}

.description p {
    line-height: 1.7;
    color: #444;
}

/* =========================
   GALLERY
========================= */

.property-gallery {
    width: 100%;
}

.main-image {
    width: 100%;
    background: #000;
    border-radius: 14px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 350px;
}

.main-image img {
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
    display: block;

    border-radius: 14px;

    box-shadow:
    0 6px 18px rgba(0,0,0,0.08);
}

/* =========================
   THUMBNAILS
========================= */

.thumbnail-row {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumb {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;

    border: 2px solid transparent;
    transition: 0.25s ease;

    background: #f5f5f5;
}

.thumb:hover {
    border-color: #2e7d32;
    transform: translateY(-2px);
}

/* =========================
   CARD HOVER
========================= */

.card:hover {
    transform: translateY(-4px);

    box-shadow:
    0 18px 40px rgba(0,0,0,0.12),
    0 6px 12px rgba(0,0,0,0.08);
}

/* =========================
   AMENITIES
========================= */

.amenities-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 15px;
}

.amenity {
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 500;
    position: relative;
}

/* DOT SEPARATOR */
.amenity:not(:last-child)::after {
    content: "\2022";
    margin-left: 10px;
    color: #bbb;
}

/* COLORS */
.amenity.yes {
    color: #2e7d32;
}

.amenity.no {
    color: #c62828;
}

/* =========================
   COMBINED BLOCK
========================= */

.combined-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-top: 10px;
}

/* MAP */
.combined-grid iframe {
    width: 100%;
    min-height: 280px;
    border-radius: 12px;
    border: 0;
}

/* BOOKING */
.booking-box p {
    margin-bottom: 12px;
}

/* BUTTONS */
.book-btn {
    display: inline-block;
    margin: 6px 8px 0 0;
    padding: 8px 14px;
    background: #2e7d32;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s ease;
}

.book-btn:hover {
    background: #3fa046;
}

/* =========================
   SOCIAL
========================= */

.social-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.social-link {
    background: #f5f5f5;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    color: #333;
    transition: 0.2s ease;
}

.social-link:hover {
    background: #e8f5e9;
    color: #2e7d32;
}

/* =========================
   HOST SECTION
========================= */

.host-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 10px;
}

.host-img {
    width: 130px;
    height: 130px;
    min-width: 130px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.host-bio {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

/* =========================
   BACK BUTTON
========================= */

.back-btn {
    display: inline-block;
    margin: 15px 0;
    padding: 8px 14px;
    background: #2e7d32;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    transition: 0.2s ease;
}

.back-btn:hover {
    background: #3fa046;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

    .card {
        padding: 18px;
        border-radius: 14px;
    }

    .property-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .property-details h1,
    .property-details h2 {
        font-size: 24px;
        line-height: 1.4;
    }

    .price-box-large {
        font-size: 16px;
        padding: 10px 16px;
    }

    .info-table {
        font-size: 13px;
    }

    .info-table td:first-child {
        width: 110px;
    }

    /* MOBILE GALLERY */

    .main-image {
        min-height: 240px;
    }

    .main-image img {
        width: 100%;
        height: auto;
        max-height: 320px;
        object-fit: contain;
    }

    .thumbnail-row {
        gap: 8px;
    }

    .thumb {
        width: 58px;
        height: 58px;
    }

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

    .combined-grid iframe {
        min-height: 240px;
    }

    .host-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .host-img {
        width: 110px;
        height: 110px;
        min-width: 110px;
        margin-bottom: 10px;
    }

    .amenities-row {
        gap: 5px;
    }

    .amenity {
        font-size: 12px;
        padding: 5px 8px;
    }

    .back-btn {
        font-size: 12px;
        padding: 7px 12px;
    }

}

/* =========================
   REQUEST BOOKING CARD
========================= */

.booking-request-card{

    border:2px solid #dcefdc;
}

.booking-mini-title{

    color:#2e7d32;

    font-size:22px;

    margin-bottom:5px;
}

.booking-mini-subtitle{

    font-size:13px;

    color:#666;

    margin-bottom:15px;
}

.booking-mini-grid{

    display:grid;

    grid-template-columns:1fr 1fr 1fr;

    gap:15px;

    margin-bottom:15px;
}

.booking-mini-field label{

    display:block;

    margin-bottom:5px;

    font-size:13px;

    font-weight:600;

    color:#555;
}

.booking-mini-field input{

    width:100%;

    padding:10px;

    border:1px solid #ddd;

    border-radius:8px;

    font-size:14px;

    box-sizing:border-box;
}

.booking-mini-field input:focus{

    outline:none;

    border-color:#2e7d32;

    box-shadow:
    0 0 0 3px rgba(46,125,50,0.10);
}

.booking-request-btn{

    width:100%;

    background:#2e7d32;

    color:#fff;

    border:none;

    border-radius:8px;

    padding:12px;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:0.2s ease;
}

.booking-request-btn:hover{

    background:#3fa046;
}

@media(max-width:768px){

    .booking-mini-grid{

        grid-template-columns:1fr;
    }

}


/* =========================
   BOOKING MODAL
========================= */

.booking-modal{

    display:none;

    position:fixed;

    z-index:99999;

    left:0;

    top:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,0.6);

    overflow:auto;
}

.booking-modal-content{

    background:#fff;

    width:90%;

    max-width:550px;

    margin:60px auto;

    border-radius:16px;

    padding:25px;

    position:relative;

    box-shadow:
    0 20px 50px rgba(0,0,0,0.25);
}

.booking-modal-title{

    color:#2e7d32;

    margin-bottom:15px;
}

.booking-modal-close{

    position:absolute;

    right:18px;

    top:12px;

    font-size:28px;

    cursor:pointer;

    color:#777;
}

.booking-modal-close:hover{

    color:#000;
}

.booking-notice{

    background:#f1f8f2;

    border-left:5px solid #2e7d32;

    padding:15px;

    border-radius:8px;

    margin-bottom:20px;

    line-height:1.7;

    font-size:14px;

    color:#333;
}

.modal-field{

    margin-bottom:15px;
}

.modal-field label{

    display:block;

    margin-bottom:6px;

    font-size:14px;

    font-weight:600;

    color:#444;
}

.modal-field input,
.modal-field select{

    width:100%;

    padding:12px;

    border:1px solid #ddd;

    border-radius:8px;

    font-size:14px;

    box-sizing:border-box;
}

.modal-field input:focus,
.modal-field select:focus{

    outline:none;

    border-color:#2e7d32;

    box-shadow:
    0 0 0 3px rgba(46,125,50,0.10);
}

.consent-box{

    margin-top:10px;

    margin-bottom:15px;

    font-size:14px;

    line-height:1.6;
}

.privacy-note{

    font-size:12px;

    color:#666;

    margin-bottom:20px;

    line-height:1.6;
}

.modal-buttons{

    display:flex;

    gap:10px;
}

.cancel-btn{

    flex:1;

    background:#ececec;

    border:none;

    padding:12px;

    border-radius:8px;

    cursor:pointer;

    font-weight:600;
}

.submit-booking-btn{

    flex:2;

    background:#2e7d32;

    color:#fff;

    border:none;

    padding:12px;

    border-radius:8px;

    cursor:pointer;

    font-weight:600;
}

.submit-booking-btn:hover{

    background:#3fa046;
}

@media(max-width:768px){

    .booking-modal-content{

        width:95%;

        margin:30px auto;

        padding:18px;
    }

    .modal-buttons{

        flex-direction:column;
    }
}


