/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header & Navigation */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #34495e;
    border-radius: 5px;
}

/* Main Content */
main {
    padding-bottom: 50px;
}

.hero {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-images img.active {
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.btn {
    background-color: #f39c12;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e67e22;
}

.intro, .featured-project, .content-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.intro h2, .featured-project h2, .content-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

.project-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.project-gallery img {
    width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Contact Page Form */
.contact-form {
    margin-top: 30px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    font-weight: 700;
}

.contact-form input, .contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: center;
}

.contact-info li {
    margin-bottom: 10px;
}


/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}
/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745; /* A standard green for a call button */
    color: #fff;
    font-size: 2rem;
    padding: 15px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.floating-call-btn:hover {
    background-color: #218838;
    transform: scale(1.05);
}
/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    /* Header and Navigation */
    header {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .logo {
        margin-bottom: 10px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2rem;
        padding: 0 10px;
    }

    /* General Content Sections */
    .intro, .featured-project, .content-section {
        margin: 20px auto;
        padding: 15px;
    }

    /* Project Gallery */
    .project-gallery {
        flex-direction: column;
        align-items: center;
    }

    .project-gallery img {
        width: 100%;
        max-width: 300px;
    }

    /* Project Details Page Table */
    .plot-table, .plot-table thead, .plot-table tbody, .plot-table th, .plot-table td, .plot-table tr {
        display: block;
    }

    .plot-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .plot-table tr {
        border: 1px solid #ccc;
        margin-bottom: 15px;
        border-radius: 8px;
    }

    .plot-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    .plot-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 6px;
        font-weight: bold;
        text-align: left;
    }

    .plot-table td:last-child {
        border-bottom: 0;
    }

    /* Contact Form */
    .contact-form form {
        width: 100%;
    }

    .contact-info li {
        text-align: left;
    }

    /* Floating Call Button */
    .floating-call-btn {
        bottom: 10px;
        right: 10px;
        font-size: 1.5rem;
        padding: 10px;
    }

    /* Footer */
    footer {
        font-size: 0.8rem;
    }
}
/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    /* Header and Navigation */
    header {
        flex-direction: row; /* Keep logo and menu on one line */
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Initially hidden off-screen to the right */
        width: 70%;
        height: 100%;
        background-color: #2c3e50;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .nav-menu.active {
        right: 0; /* Slide into view */
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .nav-menu ul li {
        margin: 15px 0;
    }

    .nav-menu ul li a {
        font-size: 1.2rem;
    }

    /* Hamburger Button */
    .hamburger {
        display: block; /* Show the button only on mobile */
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
        z-index: 1000;
        position: relative;
    }

    .hamburger .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: #fff;
        transition: all 0.3s ease-in-out;
    }

    /* Animate Hamburger to an "X" when active */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* The rest of the responsive CSS from the previous turn goes here... */
}

/* Initially hide the hamburger on larger screens */
.hamburger {
    display: none;
}
/* Hamburger Button - Initially Hidden on Large Screens */
.hamburger {
    display: none; /* Hide the button by default */
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1000; /* Ensure it's on top of other content */
    position: relative;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

/* --- Media Query for Mobile --- */
@media screen and (max-width: 768px) {
    /* Show the hamburger button only on mobile */
    .hamburger {
        display: block;
    }

    /* Animate Hamburger to an "X" when active */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
/* Pop-up Overlay */
.plot-info-popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
}
.site-plan-img {
    max-width: 100%; /* Ensures the image never exceeds the width of its container */
    height: auto;     /* Maintains the aspect ratio of the image */
}
.features, .featured-project, .content-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.features h2, .featured-project h2, .content-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}
.why-us, .featured-project, .content-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.why-us h2, .featured-project h2, .content-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}
.location, .featured-project, .content-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.location h2, .featured-project h2, .content-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}
.legal, .featured-project, .content-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.legal h2, .featured-project h2, .content-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}
/* Google Map Fix */
.map-container {
  width: 100%;
  height: 400px;
  margin: 30px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 768px) {
  .map-container {
    height: 280px;
  }
}
/* Career Form */
.career-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: auto;
}

.career-form input,
.career-form select,
.career-form textarea {
  padding: 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.career-form textarea {
  min-height: 100px;
}

.career-form button {
  margin-top: 15px;
  cursor: pointer;
}
