/* --------------------- */
/* Global / Reset Styles */
/* --------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* --------------------- */
/* Header Video / Banner */
/* --------------------- */
.header-video {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.header-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-video .header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.header-video h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.header-video p {
    font-size: 1.2rem;
}

/* --------------------- */
/* Search Filters */
/* --------------------- */
form input, form select, form button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.95rem;
}

form button {
    background-color: #0d6efd;
    color: #fff;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

form button:hover {
    background-color: #094bb5;
}

/* --------------------- */
/* Property Grid */
/* --------------------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.property-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: 0.3s;
    position: relative;
}

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

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: 0.3s;
}

.property-card .info {
    padding: 15px;
}

.property-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #0d6efd;
}

.property-card p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.property-card .property-features {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.property-card .property-features div {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

.property-card .view-btn,
.property-card .whatsapp-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    margin-right: 5px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.view-btn {
    background-color: #0d6efd;
}

.view-btn:hover {
    background-color: #094bb5;
}

.whatsapp-btn {
    background-color: #25d366;
}

.whatsapp-btn:hover {
    background-color: #1ebe57;
}

/* Featured badge */
.featured-badge, .featured-ribbon {
    position: absolute;
    top: 10px;
    left: -5px;
    background-color: #ff5722;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    transform: rotate(-15deg);
    z-index: 2;
}

/* WhatsApp float button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.whatsapp-float:hover {
    background-color: #1ebe57;
}

.whatsapp-count {
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* --------------------- */
/* Property Detail Page */
/* --------------------- */
.property-detail h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #0d6efd;
}

.price-highlight {
    color: #ff5722;
    font-weight: bold;
}

.property-detail p {
    margin-bottom: 8px;
}

/* Gallery / Lightbox */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.gallery img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.gallery img:hover {
    opacity: 0.8;
}

.lightbox {
    display: none;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
    padding: 20px;
}

.lightbox img {
    max-width: 90%;
    max-height: 70%;
    border-radius: 5px;
}

.lightbox .thumbs {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.lightbox .thumbs img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 3px;
    border: 2px solid transparent;
    transition: 0.3s;
}

.lightbox .thumbs img.active {
    border-color: #0d6efd;
}

.lightbox .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    background: rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
    padding: 10px;
}

.lightbox .prev { left: 10px; }
.lightbox .next { right: 10px; }

.lightbox .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* Floor plan & Virtual tour */
.floor-plan img,
.virtual-tour iframe,
.virtual-tour video {
    width: 100%;
    margin: 15px 0;
    border-radius: 5px;
}

/* Contact form */
.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%;
    margin-bottom: 10px;
}

.contact-form button {
    background-color: #0d6efd;
    color: #fff;
    cursor: pointer;
    border: none;
    border-radius: 5px;
}

.contact-form button:hover {
    background-color: #094bb5;
}

/* Responsive */
@media (max-width: 768px){
    .header-video h1 { font-size: 2rem; }
    .header-video p { font-size: 1rem; }
    .gallery img { width: 100px; height: 70px; }
}
/* --------------------- */
/* Header Video / Banner */
/* --------------------- */
.header-video {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.header-video video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video fills container without distortion */
}

.header-video .header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.header-video h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.header-video p {
    font-size: 1.2rem;
}

/* --------------------- */
/* Property Features Icons Fix */
/* --------------------- */
.property-card .property-features,
.property-detail p.property-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.property-card .property-features div,
.property-detail p.property-features div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-card .property-features img,
.property-detail p.property-features img {
    width: 20px;   /* Fixed width */
    height: 20px;  /* Fixed height */
    object-fit: contain; /* Prevent stretching */
}

/* --------------------- */
/* Gallery Images */
/* --------------------- */
.gallery img {
    width: 150px;
    height: 100px;
    object-fit: cover; /* Prevent distortion */
}

/* --------------------- */
/* Floor plan & Virtual tour */
.floor-plan img,
.virtual-tour iframe,
.virtual-tour video {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    margin: 15px 0;
    border-radius: 5px;
}
/* ---------- HERO VIDEO & SEARCH OVERLAY ---------- */
.hero-video-container {
    position: relative;
    width: 100%;
    height: 80vh; /* adjust as needed */
    overflow: hidden;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensures full cover without stretching */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35); /* semi-transparent overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.hero-overlay h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-overlay p {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Hero search form */
.hero-search {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 1200px;
}

.hero-search input,
.hero-search button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.hero-search input {
    flex: 1 1 150px;
    min-width: 120px;
}

.hero-search button {
    background-color: #008C45; /* KeyFlex green */
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.hero-search button:hover {
    background-color: #006630;
}

/* ---------- PROPERTY CARD ICON FIXES ---------- */
.property-features {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.property-features div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-features img.icon {
    width: 20px; /* fixed size to prevent stretching */
    height: 20px;
    object-fit: contain;
}

/* ---------- MARQUEE ---------- */
.marquee {
    background: #008C45;
    color: #fff;
    padding: 8px 0;
    text-align: center;
    font-weight: bold;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .hero-overlay h1 { font-size: 2rem; }
    .hero-overlay p { font-size: 1rem; }
    .hero-search input { flex: 1 1 100px; }
    .hero-search button { width: 100%; }
}
/* Hero Video with Background */
.hero-video-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero-overlay h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-overlay p {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Hero Search Form */
.hero-search {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 1200px;
}

.hero-search input,
.hero-search button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.hero-search input {
    flex: 1 1 150px;
    min-width: 120px;
}

.hero-search button {
    background-color: #008C45;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.hero-search button:hover {
    background-color: #006630;
}

/* Property card features icons */
.property-features {
    display: flex;
    gap: 15px;
    margin: 10px 0;
}

.property-features div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-features img {
    width: 20px; /* fixed size */
    height: 20px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-overlay h1 { font-size: 2rem; }
    .hero-overlay p { font-size: 1rem; }
    .hero-search input { flex: 1 1 100px; }
    .hero-search button { width: 100%; }
    .property-features { gap: 10px; }
}
body { font-family: Arial, sans-serif; margin:0; padding:0; background:#f5f5f5; color:#333; }
.container { max-width:1200px; margin:0 auto; padding:20px; }
h1,h2,h3 { color:#0b3d91; }

/* Hero video */
.hero-video-container { position:relative; height:500px; overflow:hidden; }
.hero-video-container video { width:100%; height:100%; object-fit:cover; }
.hero-overlay { position:absolute; top:0; left:0; width:100%; height:100%; display:flex; flex-direction:column; justify-content:center; align-items:center; background:rgba(0,0,0,0.4); color:#fff; text-align:center; padding:20px; }
.hero-overlay h1 { font-size:48px; margin-bottom:10px; }
.hero-overlay p { font-size:18px; margin-bottom:20px; }
.hero-overlay form.hero-search { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }

/* Search inputs */
.hero-search input, .hero-search button { padding:10px; border-radius:5px; border:none; font-size:14px; }
.hero-search input { width:150px; }
.hero-search button { background:#0b3d91; color:#fff; cursor:pointer; }
.hero-search button:hover { background:#0652c5; }

/* Grid */
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; margin-top:20px; }
.property-card { background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 0 10px rgba(0,0,0,0.1); transition:0.3s; }
.property-card:hover { transform:translateY(-5px); box-shadow:0 10px 20px rgba(0,0,0,0.2); }
.property-card img { width:100%; height:200px; object-fit:cover; display:block; }
.property-card .info { padding:15px; }
.featured-badge { position:absolute; top:10px; left:10px; background:#ff6f61; color:#fff; padding:5px 10px; border-radius:5px; font-size:12px; }
.price-highlight { color:#0b3d91; font-weight:bold; }
.property-features { display:flex; gap:15px; margin-top:10px; }
.property-features div { display:flex; align-items:center; gap:5px; font-size:14px; }
.icon-feature { width:18px; height:18px; object-fit:contain; }

/* Buttons */
.view-btn, .whatsapp-btn { display:inline-block; margin-top:10px; padding:8px 12px; border-radius:5px; text-decoration:none; color:#fff; }
.view-btn { background:#0b3d91; }
.view-btn:hover { background:#0652c5; }
.whatsapp-btn { background:#25D366; }
.whatsapp-btn:hover { background:#1ebe57; }

/* WhatsApp count */
.whatsapp-count { font-size:12px; margin-top:5px; color:#777; }