/* =========================
   RESET & BASE
========================= */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f7fa;
    color: #111;
    margin: 0;
    padding-top: 70px;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
  
}

h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

.section-title {
    margin-bottom: 25px;
    font-size: 28px;
}


/* =========================
   GRID (PROJECT LIST)
========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}


/* =========================
   CARD
========================= */
.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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


/* =========================
   IMAGE + OVERLAY
========================= */
.image-wrap {
    position: relative;
    overflow: hidden;
}

    .image-wrap img {
        width: 560px;
        height: 350px;
        object-fit: cover;
        transition: 0.4s;
        
    }

.card:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 12px;
    font-weight: 600;
}


/* =========================
   CARD BODY
========================= */
.card-body {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.location {
    color: #666;
    margin: 8px 0 15px;
}


/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: 0.2s;
}

    .btn.primary {
        background: #0077cc;
        color: white;
    }

        .btn.primary:hover {
            background: #005fa3;
        }

    .btn.outline {
        border: 1px solid #0077cc;
        color: #0077cc;
        background: transparent;
    }


/* BUTTON GROUP */
.hero-buttons,
.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}


/* =========================
   NAVBAR
========================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

    .nav-menu a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        position: relative;
    }

        .nav-menu a.active {
            color: #0077cc;
        }

            .nav-menu a.active::after {
                content: "";
                position: absolute;
                bottom: -6px;
                left: 0;
                width: 100%;
                height: 2px;
                background: #0077cc;
            }

        .nav-menu a:hover {
            color: #0077cc;
        }


/* =========================
   HERO
========================= */
.hero {
    background: linear-gradient(135deg, #eaf4ff, #f0fff6, #fff3f3);
    color: #111;
    text-align: center;
    padding: 100px 20px;
}


/* =========================
   FEATURED SECTION
========================= */
.featured-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.featured-image img {
    width: 100%;
    border-radius: 16px;
}

.tag {
    color: #d62828;
    font-weight: 600;
}

.featured-middle h2 {
    margin: 10px 0 20px;
}


/* ACCORDION ROW */
.accordion-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.accordion-item {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    cursor: pointer;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    color: #555;
    transition: all 0.3s ease;
}

.accordion-row.active .accordion-body {
    max-height: 200px;
    margin-top: 10px;
}


/* INFO BOX */
.info-box {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

    .info-box span {
        font-size: 13px;
        color: #777;
    }


/* =========================
   FOOTER
========================= */
footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 40px 20px;
}


/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

    /* GRID */
    .grid {
        grid-template-columns: 1fr;
    }

    /* HERO */
    .hero {
        padding: 70px 20px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    /* FEATURES */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* FEATURED */
    .featured-grid {
        display: block;
    }

    .accordion-row {
        display: block;
    }

    .info-box {
        margin-bottom: 15px;
    }

    /* BUTTONS */
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 90%;
    }

    /* SPACING */
    .container {
        padding: 30px 15px;
    }
}


/* CTA BUTTON */ .nav-cta .btn-small {
    background: #25D366;
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

.featured {
    background: linear-gradient(135deg, #eaf4ff, #f0fff6, #fff3f3);
    color: #111;
    border-radius: 16px;
    padding: 100px 20px;
}

/* HEADER */
.project-header {
    margin-bottom: 20px;
}

/* CTA */
.quick-cta {
    margin: 20px 0;
    text-align: center;
}

/* ROOM CARD */
.room-card img {
    width:100%;
    height: 350px;
    object-fit: cover;
    transition:0.4s;
}

/* BADGE */
.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    color: white;
    margin: 5px 0;
    font-size: 12px;
}

    .badge.available {
        background: green;
    }

    .badge.taken {
        background: red;
    }

/* URGENCY */
.urgent {
    background: linear-gradient(135deg, #ff4d4d, #d62828);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 10px;
    display: inline-block;
}

.urgent-banner {
    background: #d62828;
    color: white;
    padding: 12px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

/* MAP */
.map {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
}

/* FLOATING WHATSAPP */
.floating-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* SLIDER SIZE CONTROL */
.slider {
    position: relative;
    width: 100%;
    max-width: 900px; /* control overall width */
    margin: 20px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* IMAGE SIZE */
.slide {
    width: 100%;
    height: 350px; /* control height here */
    object-fit: cover; /* crop nicely */
}

@media (max-width: 768px) {
    .slide {
        height: 220px;
    }
}

/* ROOM CARD IMAGE FIX */
.room-card .image-wrap {
    width: 100%;
    max-width: 560px;
    height: 350px; /* control image height here */
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    margin: auto;
}

    .room-card .image-wrap img {
        width: 100%;
        height: 100%;
        object-fit:  cover; /* crop nicely, no distortion */
        display: block;
        transition: transform 0.4s ease;
        transform: scale(1.05);
    }


@media (max-width: 768px) {
    .room-card .image-wrap {
        height: 150px;
    }
}

.price-badge {
    display: inline-block;
    background: #0077cc;
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    margin-top: 10px;
}

/* STATUS BADGE ON IMAGE */
.status-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
    font-weight: 500;
}

    .status-badge.available {
        background: #28a745;
    }

    .status-badge.taken {
        background: #dc3545;
    }

    .status-badge.reserved {
        background: #f39c12;
    }

/* PRICE BLOCK */
.price-block {
    margin: 10px 0;
}

.price-main {
    font-size: 18px;
    font-weight: bold;
    color: #0077cc;
}

.price-sub {
    font-size: 13px;
    color: #666;
}

/* URGENCY */
.urgent {
    background: linear-gradient(135deg, #ff4d4d, #d62828);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin: 10px 0;
    display: inline-block;
}

/* NOT AVAILABLE */
.not-available {
    background: #999;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin: 10px 0;
    display: inline-block;
}