* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:'Times New Roman', Times, serif;
    line-height: 1.6;
    background: #7c90aa;
    color: #000;
}

/* Header */
header {
    background: white;
    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;
    color: #5e7491;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 0;
    margin: 0;
}
a{
    text-decoration: none;
    display: flex;
    color: #1f2d49;
}
.logo img{
    max-width:6rem;
}
a:hover{
    color: #1b2435;
}
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;
    text-transform: uppercase;
    font-size: 1rem;
    color: #1f2d49;
}

/* Hero */
.hero {
    display: flex;
    flex-wrap: nowrap;
    /* no wrapping */
    align-items: stretch;
    /* make them same height */
    justify-content: center;
}

.hero img {
    width: 100%;
    max-height: 84vh;
    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%;
}

.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: 16px;
    line-height: 1.6;
    color: #333;
}

.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;
}


.slider-section {
    padding: 40px 20px;
    text-align: center;
}

.slider-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
}

/* Slider wrapper */
.slider-wrapper {
    position: relative;
}

.slider-container {
    overflow: hidden;
    width: 100%;
}

.cards {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 15px;
}

.card {
    flex: 0 0 90%;

    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
}

.card p {
    font-size: 1rem;
    color: #000000;
    margin-bottom: 8px;
    font-weight: 600;
}

.card-content {
    padding: 15px;
    text-align: left;
}

.card-content p {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;

}

.more-text {
    display: none;
    font-size: 13px;
    color: #3d3d3d;
    line-height: 1.4;
    text-align: left;
}

/* Read More button */
.read-more {
    color: #000000;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    margin-top: 8px;
}

.read-more:hover {
    background: #24321b;
}

/* Navigation buttons */
.slider-btn {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    z-index: 2;
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}


/* Floor Plan Section */
.floor-plan-section {
    text-align: center;
    padding: 40px 20px;
    background: #f6f6f6;
}

.floor-plan {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floor-plan img {
    width: 80%;
    max-width: 800px;
    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 {

  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-section h2 {
  color: black;
  margin-bottom: 20px;
}

.video-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Video Card Styling */
.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;
  position: relative;
  aspect-ratio: 16 / 9; /* Keeps the video size consistent */
}

.video-card:hover {
  transform: scale(1.05);
}

/* Video Styling */
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Makes video fill the card neatly */
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.video-card video:hover {
  transform: scale(1.02);
}

/*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 */
.location-section {
    background: #f6f6f6;
}
.location-section p{
    text-align: center;
    font-size: large;
}
.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: 100px;
    max-width: 1000px;
    margin: auto;
}

.footer-logo {
    width: 100px;
    margin-bottom: 15px;
}

.footer-about p,
.footer-contact p {
    font-size: 14px;
    line-height: 1.6;
    color: #bbb;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;        /* Equal width */
  height: 40px;       /* Equal height -> makes it a perfect circle */
  margin-right: 8px;
  background: #1c1f27;
  color: #fff;
  border-radius: 50%; /* Ensures circular shape */
  transition: 0.3s;
  font-size: 18px;    /* Adjust icon size */
  text-decoration: none;
}

.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) {
    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;
    }

    .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;
    }
}
@media (min-width: 769px) {
    .cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .card {
        flex: none;
    }

    .slider-btn {
        display: none;
    }
}