/* ==========================================================
   KEJAHUB PROPERTY PAGE
   property.css
========================================================== */

/* ==========================================================
   GOOGLE FONT
========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* ==========================================================
   VARIABLES
========================================================== */

:root{

    --primary:#1E7D4C;
    --primary-dark:#17653D;

    --secondary:#FFC107;

    --dark:#1D1D1D;

    --text:#555;

    --border:#EAEAEA;

    --light:#F8F9FA;

    --white:#FFFFFF;

    --shadow:
    0 10px 35px rgba(0,0,0,.08);

    --radius:18px;

    --transition:.35s ease;

}


/* ==========================================================
   RESET
========================================================== */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}


html{

    scroll-behavior:smooth;

}


body{

    font-family:'Poppins',sans-serif;

    background:#f7f8fa;

    color:var(--dark);

    line-height:1.7;

}


img{

    display:block;

    max-width:100%;

}


a{

    text-decoration:none;

    color:inherit;

}


button{

    border:none;

    outline:none;

    cursor:pointer;

    transition:var(--transition);

}


.container{

    max-width:1320px;

}


/* ==========================================================
   BUTTONS
========================================================== */

.btn{

    border-radius:12px;

    font-weight:600;

    padding:12px 22px;

}


.btn-warning{

    background:var(--secondary);

    color:#000;

}


.btn-warning:hover{

    transform:translateY(-2px);

}


.btn-success{

    background:#25D366;

}


.btn-dark{

    background:#222;

}


.btn-outline-dark{

    border:2px solid #ddd;

    background:#fff;

}


.btn-outline-dark:hover{

    background:var(--primary);

    border-color:var(--primary);

    color:#fff;

}


/* ==========================================================
   HERO
========================================================== */

.property-hero{

    padding:40px 0;

    background:#fff;

}


/* ==========================================================
   BREADCRUMB
========================================================== */

.breadcrumb-nav{

    display:flex;

    align-items:center;

    gap:12px;

    color:#888;

    font-size:.95rem;

    margin-bottom:30px;

}


.breadcrumb-nav a{

    color:var(--primary);

    font-weight:500;

}


/* ==========================================================
   PROPERTY HEADER
========================================================== */

.property-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:30px;

    margin-bottom:35px;

}


.property-header h1{

    font-size:2.6rem;

    font-weight:700;

    margin:12px 0;

}


/* ==========================================================
   BADGES
========================================================== */

.property-badges{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

}


.property-badges .badge{

    padding:8px 16px;

    border-radius:30px;

    font-weight:600;

    font-size:.8rem;

}


.badge.verified{

    background:#E7F7EE;

    color:var(--primary);

}


.badge.featured{

    background:#FFF6DD;

    color:#C78B00;

}


.badge.category{

    background:#ECECEC;

    color:#555;

}


/* ==========================================================
   META
========================================================== */

.property-meta{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

    color:#777;

    font-size:.95rem;

}


.property-meta i{

    color:#FFC107;

}


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

.property-price-box{

    text-align:right;

}


.property-price-box h2{

    color:var(--primary);

    font-size:2rem;

    font-weight:700;

}


.property-price-box small{

    color:#888;

}


/* ==========================================================
   ACTIONS
========================================================== */

.property-actions{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:35px;

}


.property-actions .btn{

    border-radius:12px;

}


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

.gallery{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:20px;

}


.gallery-main{

    border-radius:18px;

    overflow:hidden;

    height:600px;

    box-shadow:var(--shadow);

}


.gallery-main img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}


.gallery-main img:hover{

    transform:scale(1.04);

}


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

.gallery-thumbnails{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

}


.gallery-thumb{

    width:100%;

    height:140px;

    object-fit:cover;

    border-radius:14px;

    cursor:pointer;

    transition:var(--transition);

    border:3px solid transparent;

}


.gallery-thumb:hover{

    transform:scale(1.04);

}


.gallery-thumb.active{

    border-color:var(--primary);

}


.gallery-last{

    position:relative;

}


.gallery-last button{

    position:absolute;

    inset:auto 15px 15px 15px;

    background:rgba(0,0,0,.7);

    color:#fff;

    padding:12px;

    border-radius:12px;

    font-weight:600;

    width:calc(100% - 30px);

}


.gallery-last button:hover{

    background:var(--primary);

}
/* ==========================================================
   PROPERTY CONTENT
========================================================== */

.property-content{

    padding:70px 0;

}


/* ==========================================================
   PROPERTY CARD
========================================================== */

.property-card{

    background:#fff;

    border-radius:18px;

    padding:30px;

    margin-bottom:30px;

    box-shadow:0 8px 30px rgba(0,0,0,.06);

    border:1px solid #ECECEC;

}


/* ==========================================================
   SECTION TITLE
========================================================== */

.section-title{

    margin-bottom:25px;

}

.section-title h2,
.section-title h3{

    font-size:1.5rem;

    font-weight:700;

    margin-bottom:8px;

    color:#222;

}

.section-title p{

    color:#777;

    margin:0;

}


/* ==========================================================
   OVERVIEW GRID
========================================================== */

.overview-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}


.overview-grid div{

    background:#F8F9FA;

    border-radius:16px;

    padding:25px;

    text-align:center;

    transition:.3s;

}


.overview-grid div:hover{

    transform:translateY(-5px);

    background:#fff;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}


.overview-grid strong{

    display:block;

    font-size:1.6rem;

    color:var(--primary);

    margin-bottom:6px;

}


/* ==========================================================
   QUICK FACTS
========================================================== */

.quick-facts{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:16px;

}


.quick-facts .fact{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 18px;

    border:1px solid #ECECEC;

    border-radius:12px;

    background:#FAFAFA;

}


.quick-facts strong{

    color:#333;

}


.quick-facts span{

    color:#666;

    font-weight:500;

}


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

#propertyDescription{

    color:#666;

    line-height:1.9;

    font-size:1rem;

}


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

.amenities-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:18px;

}


.amenity{

    display:flex;

    align-items:center;

    gap:12px;

    padding:16px;

    border-radius:14px;

    background:#F8F9FA;

    transition:.3s;

}


.amenity:hover{

    background:#EAF8F0;

    transform:translateY(-4px);

}


.amenity i{

    color:var(--primary);

    font-size:1.2rem;

}


/* ==========================================================
   PROPERTY FEATURES
========================================================== */

.feature-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

}


.feature{

    display:flex;

    align-items:center;

    gap:12px;

    background:#F8F9FA;

    padding:16px;

    border-radius:14px;

}


.feature i{

    color:var(--primary);

}


/* ==========================================================
   STICKY SIDEBAR
========================================================== */

.contact-wrapper{

    top:100px;

}


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

.booking-card{

    background:#fff;

    border-radius:20px;

    padding:28px;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    margin-bottom:25px;

}


.booking-card .btn{

    margin-top:14px;

}


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

.price-box{

    text-align:center;

    margin-bottom:20px;

}


.price-box h2{

    color:var(--primary);

    font-size:2rem;

    font-weight:700;

}


.price-box span{

    color:#777;

}


/* ==========================================================
   AVAILABILITY BADGE
========================================================== */

.availability{

    background:#E8F8EE;

    color:var(--primary);

    text-align:center;

    font-weight:600;

    padding:12px;

    border-radius:12px;

    margin-bottom:20px;

}


/* ==========================================================
   LANDLORD CARD
========================================================== */

.landlord-card{

    background:#fff;

    text-align:center;

    padding:30px;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.07);

    margin-bottom:30px;

}


.landlord-card img{

    width:110px;

    height:110px;

    border-radius:50%;

    object-fit:cover;

    margin:0 auto 18px;

    border:5px solid #F3F3F3;

}


.landlord-card h4{

    font-weight:700;

    margin-bottom:10px;

}


.landlord-card p{

    color:var(--primary);

    font-weight:600;

    margin-bottom:10px;

}


.landlord-card small{

    display:block;

    color:#666;

    margin-bottom:6px;

}


/* ==========================================================
   SAFETY TIPS
========================================================== */

.safety-list{

    list-style:none;

    padding:0;

    margin:0;

}


.safety-list li{

    display:flex;

    align-items:flex-start;

    gap:12px;

    margin-bottom:16px;

    color:#555;

}


.safety-list i{

    color:var(--primary);

    margin-top:3px;

}


/* ==========================================================
   PROPERTY STATS
========================================================== */

.property-stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:15px;

    text-align:center;

}


.property-stats div{

    padding:18px;

    background:#F8F9FA;

    border-radius:14px;

    transition:.3s;

}


.property-stats div:hover{

    transform:translateY(-5px);

    background:#fff;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}


.property-stats i{

    color:var(--primary);

    font-size:1.4rem;

    margin-bottom:10px;

}


.property-stats h4{

    margin:0;

    font-weight:700;

    color:#222;

}


.property-stats span{

    color:#777;

    font-size:.9rem;

}


/* ==========================================================
   REPORT BUTTON
========================================================== */

#reportProperty{

    margin-top:15px;

    border-radius:14px;

    font-weight:600;

}

/* ==========================================================
   NEARBY PLACES
========================================================== */

.nearby-section,
.map-section,
.reviews-section,
.similar-section{

    padding:80px 0;

    background:#fff;

}

.nearby-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:22px;

    margin-top:35px;

}

.nearby-item{

    display:flex;

    align-items:center;

    gap:18px;

    background:#fff;

    border:1px solid #ECECEC;

    border-radius:18px;

    padding:22px;

    transition:.3s;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.nearby-item:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(0,0,0,.10);

}

.nearby-item i{

    width:60px;

    height:60px;

    border-radius:50%;

    background:#EAF8F0;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.5rem;

    color:var(--primary);

}


/* ==========================================================
   MAP
========================================================== */

.map-card{

    overflow:hidden;

    border-radius:20px;

    box-shadow:var(--shadow);

}

.map-card iframe{

    width:100%;

    height:450px;

    border:none;

}


/* ==========================================================
   REVIEWS
========================================================== */

.reviews-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:25px;

}

.review-card{

    background:#fff;

    border-radius:20px;

    padding:28px;

    border:1px solid #ECECEC;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

    transition:.3s;

}

.review-card:hover{

    transform:translateY(-6px);

}

.review-stars{

    color:#FFC107;

    font-size:1.1rem;

    margin-bottom:12px;

}

.review-card p{

    color:#666;

    margin-bottom:18px;

}

.review-user{

    display:flex;

    align-items:center;

    gap:15px;

}

.review-user img{

    width:55px;

    height:55px;

    border-radius:50%;

    object-fit:cover;

}

.review-user h5{

    margin:0;

    font-size:1rem;

}


/* ==========================================================
   SIMILAR PROPERTIES
========================================================== */

.property-item{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.35s;

    height:100%;

}

.property-item:hover{

    transform:translateY(-8px);

}

.property-item img{

    width:100%;

    height:240px;

    object-fit:cover;

}

.property-body{

    padding:22px;

}

.property-body h4{

    font-size:1.2rem;

    margin-bottom:10px;

}

.property-body p{

    color:#666;

    margin-bottom:12px;

}

.property-price{

    color:var(--primary);

    font-size:1.3rem;

    font-weight:700;

}


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

.modal-content{

    border:none;

    border-radius:22px;

}

.modal-header{

    border-bottom:1px solid #ECECEC;

}

.modal-title{

    font-weight:700;

}

.form-control{

    border-radius:12px;

    padding:12px 15px;

}

.form-control:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 .15rem rgba(30,125,76,.15);

}


/* ==========================================================
   LIGHTBOX
========================================================== */

.lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:none;

    align-items:center;

    justify-content:center;

    z-index:9999;

}

.lightbox.active{

    display:flex;

}

#lightboxImage{

    max-width:88%;

    max-height:88vh;

    border-radius:12px;

}

.lightbox-close,

.lightbox-arrow{

    position:absolute;

    background:rgba(255,255,255,.12);

    color:#fff;

    width:56px;

    height:56px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.4rem;

    transition:.3s;

}

.lightbox-close:hover,

.lightbox-arrow:hover{

    background:var(--primary);

}

.lightbox-close{

    top:30px;

    right:30px;

}

.lightbox-arrow.left{

    left:35px;

}

.lightbox-arrow.right{

    right:35px;

}


/* ==========================================================
   TOAST
========================================================== */

.toast-notification{

    position:fixed;

    bottom:30px;

    right:30px;

    background:var(--primary);

    color:#fff;

    padding:18px 24px;

    border-radius:14px;

    display:flex;

    align-items:center;

    gap:12px;

    transform:translateY(120px);

    opacity:0;

    transition:.4s;

    z-index:9999;

}

.toast-notification.show{

    transform:translateY(0);

    opacity:1;

}


/* ==========================================================
   FLOATING WHATSAPP
========================================================== */

.floating-whatsapp{

    position:fixed;

    bottom:105px;

    right:30px;

    width:62px;

    height:62px;

    background:#25D366;

    color:#fff;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.8rem;

    box-shadow:0 12px 30px rgba(0,0,0,.25);

    z-index:999;

    transition:.3s;

}

.floating-whatsapp:hover{

    transform:scale(1.1);

}


/* ==========================================================
   SCROLL TOP
========================================================== */

.scroll-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:58px;

    height:58px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.3rem;

    box-shadow:0 12px 30px rgba(0,0,0,.25);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:999;

}

.scroll-top.show{

    opacity:1;

    visibility:visible;

}


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

@media (max-width:1200px){

    .gallery{

        grid-template-columns:1fr;

    }

    .gallery-main{

        height:500px;

    }

}

@media (max-width:992px){

    .property-header{

        flex-direction:column;

    }

    .property-price-box{

        text-align:left;

    }

    .overview-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .amenities-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .feature-list{

        grid-template-columns:1fr;

    }

    .contact-wrapper{

        position:relative !important;

        top:0 !important;

    }

}

@media (max-width:768px){

    .property-header h1{

        font-size:2rem;

    }

    .gallery-main{

        height:330px;

    }

    .gallery-thumbnails{

        grid-template-columns:repeat(2,1fr);

    }

    .gallery-thumb{

        height:100px;

    }

    .overview-grid{

        grid-template-columns:1fr;

    }

    .quick-facts{

        grid-template-columns:1fr;

    }

    .amenities-grid{

        grid-template-columns:1fr;

    }

    .property-actions{

        flex-direction:column;

    }

    .property-actions .btn{

        width:100%;

    }

    .floating-whatsapp{

        bottom:95px;

        width:55px;

        height:55px;

    }

    .scroll-top{

        width:52px;

        height:52px;

    }

}

@media (max-width:576px){

    .property-card{

        padding:22px;

    }

    .property-header h1{

        font-size:1.6rem;

    }

    .price-box h2{

        font-size:1.7rem;

    }

    .gallery-main{

        height:260px;

    }

    .review-card{

        padding:22px;

    }

}