/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #b6bd99;
    color: #000;
    letter-spacing: 1.5;
}

/* Header */
header {
    background: #99a07e;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    color: #fff;
    font-family: 'Overpass', sans-serif;
}
a{
    text-decoration: none;
    display: flex;
    color:#fff;
}
.logo img{
    max-width:6rem;
}
a:hover{
    color: #3b552b;
}
.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 1rem;
}

nav ul li a {
    text-decoration: none;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    font-size: 1rem;
}

/* Hero */
.hero {
    display: flex;
    flex-wrap: nowrap;
    /* no wrapping */
    align-items: stretch;
    /* make them same height */
    justify-content: center;
    height: 90vh;
}

.hero img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    /* remove rounded corners so they connect */
    display: block;
    /* remove inline spacing */
}

.hero div {
    flex: 1 1 50%;
    /* each takes 50% width */
    padding: 0;
    /* remove inner spacing */
    margin: 0;
}

/*sections */
section .container {
    max-width: 1200px;
    margin: auto;
}

.about-section,
.highlights-section,
.floor-plan-section,
.video-gallery-section,
.location-section {
    padding: 60px 20px;
}

.about-text h2,
.highlights-section h2,
.amenities-section h2,
.floor-plan-section h2,
.video-gallery-section h2,
.location-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #000000;
}

.about-section {
    padding: 60px 10%;
    background: #b6bd99;
    font-family: 'Libertinus Sans', serif;
}

.about-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.about-text,
.about-img {
    flex: 1 1 45%;
    min-width: 280px;
}

.about-text h2 {
    font-family: "Libertinus Sans", sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    font-weight: 650;
}

.about-img img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    display: block;
    margin: auto;
}

/* Highlights Section */
.highlights-section {
    padding: 60px 10%;
    background: #f8f8f0;
}

.highlights-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.highlight-card {
    flex: 1 1 45%;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
}

.highlight-card h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a1a1a;
    border-left: 6px solid #4CAF50;
    padding-left: 10px;
}

.highlight-card ul {
    list-style: none;
    padding: 0;
}

.highlight-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #333;
}

.highlight-card ul li::before {
    content: "✔";
    color: #4CAF50;
    font-weight: bold;
}


.amenities-section {
    text-align: center;
    padding: 40px 20px;
}

.slider-wrapper {
    margin: auto;
    overflow: hidden;
    position: relative;
}

.slider-container {
    overflow: hidden;

}

.cards {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease-in-out;
}


.card {
    flex: 0 0 350px;
    width: 350px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Floor Plan Section */
.floor-plan-section {
    text-align: center;
    padding: 40px 20px;
}

.floor-plan {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floor-plan img {
    width: 60%;
    max-width: 500px;
    cursor: zoom-in;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: block;
    margin: auto;
}

.floor-plan img:hover {
    transform: scale(1.05);
}

/* Modal */
.modal {
    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;
    overflow: auto;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-content-wrapper {
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

.modal-content {
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}
.configuration {
  background: #f6f6f6;
  text-align: center;
  padding: 50px 20px;
}

.configuration h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #222;
}

.price-tags {
  margin-bottom: 30px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.market-price {
  background: #ddd;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 16px;
  color: #444;
}

.offer-price {
  background: #333;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 16px;
  color: #fff;
  font-weight: bold;
}

.config-table-wrapper {
  overflow-x: auto; /* responsive scroll for mobile */
  margin-top: 20px;
}

.config-table {
  width: 100%;
  max-width: 900px;
  margin: auto;
  border-collapse: collapse;
  font-size: 16px;
}

.config-table th,
.config-table td {
  border: 1px solid #c7861d;
  padding: 12px 15px;
  text-align: center;
}

.config-table th {
  background: #fafafa;
  color: #333;
  font-weight: 600;
}

.config-table td {
  background: #fff;
}

.note {
  margin-top: 15px;
  font-size: 14px;
  color: #555;
}
.status.available {
  color: #0f5132;
  background: #d1e7dd;
}

.status.sold {
  color: #842029;
  background: #f8d7da;
}
.config-table {
  width: 100%;
  border-collapse: collapse;
}

.config-table th,
.config-table td {
  border: 1px solid #c68c2c;
  padding: 10px;
  text-align: center;
}

.config-table th {
  background: #f5f5f5;
  font-weight: bold;
}

/* Video Gallery */
.video-gallery-section {
    text-align: center;
    padding: 40px 20px;
    background: #f8f8f0;
}

.video-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.video-gallery-section h2 {
    color: black;
}

.video-card {
    flex: 1 1 calc(30% - 20px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: scale(1.05);
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*current status*/
.current-status {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 40px 10%;
    align-items: center;
}

.current-status h2 {
    margin-bottom: 30px;
    font-size: 32px;
    color: #000;
}

.status-images {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    justify-content: center;

}

.status-img {
    flex: 1 1 calc(40% - 20px);
    /* each takes roughly 50% minus gap */
}

.status-img img {
    width: 100%;
    height: 100%;
    /* maintain aspect ratio */
    border-radius: 8px;
    /* optional: rounded corners */
    display: block;
    object-fit: cover;
    /* cover the div nicely */
}

/* Location */
.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

/* Floating Button */
.enquire-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #c7c6c6;
    color: #4e3c3c;
    padding: 15px 10px;
    writing-mode: vertical-rl;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

/* Footer */
.footer {
    background: #0e121a;
    color: #ddd;
    padding: 60px 20px 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: auto;
}

.footer-logo {
    width: 70px;
    margin-bottom: 15px;
}

.footer-about p,
.footer-contact p {
    font-size: 14px;
    line-height: 1.6;
    color: #bbb;
}

.social-icons a {
    display: inline-block;
    margin-right: 8px;
    background: #1c1f27;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #fff;
    color: #1c1f27;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #222;
    padding-top: 15px;
    font-size: 13px;
    color: #999;
}

/* Enquiry Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #333;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.submit-btn {
    background: #334428;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    width: 100%;
}

.submit-btn:hover {
    background: #24321b;
}

/* Floating WhatsApp & Call */
.whatsapp-float,
.call-float {
    position: fixed;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float {
    bottom: 180px;
}

.call-float {
    bottom: 100px;
}

.whatsapp-icon,
.call-icon {
    width: 60px;
    height: 60px;
    cursor: pointer;
}

.whatsapp-popup,
.call-popup {
    display: none;
    flex-direction: column;
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-popup a,
.call-popup a {
    color: #333;
    text-decoration: none;
    margin: 5px 0;
    width: 150px;
}

.whatsapp-popup a:hover,
.call-popup a:hover {
    color: #258dd3;
}

/* Responsive */
@media (max-width: 768px) {
    header a h1{
        font-size: 1rem;
    }
    header a img {
        max-width: 4.5rem;
        max-height: 4rem;
    }
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        flex-direction: column;
        width: 200px;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    nav ul li a {
        color: #887475;
    }

    nav ul.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        flex-direction: column;
        height: 30vh;
    }

    .hero div img {
        height: 100%;
    }

    .highlight-card {
        flex: 1 1 100%;
    }

    .floor-plan img {
        width: 90%;
    }

    .about-section .container {
        flex-direction: column;
        text-align: center;
    }

    .about-text,
    .about-img {
        flex: 1 1 100%;
    }

    .about-img img {
        max-width: 80%;
    }

    .status-images {
        flex-direction: column;
    }
    .video-gallery{
        flex-direction: column;
    }
    .config-table,
    .config-table thead,
    .config-table tbody,
    .config-table th,
    .config-table td,
    .config-table tr {
        display: block;
    }

    .config-table thead {
        display: none;
        /* hide header row */
    }

    .config-table tr {
        margin-bottom: 20px;
        border: 1px solid #c68c2c;
        border-radius: 6px;
        background: #fff;
        overflow: hidden;
    }

    .config-table td {
        display: flex;
        justify-content: left;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #c68c2c;
        text-align: left;
    }

    .config-table td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #333;
        flex-basis: 50%;
    }

    .config-table td:last-child {
        border-bottom: none;
    }
}