/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
header {
    background: #162440;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 100px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* Project Container Layout */
.project-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

/* Project Details Styles */
.project-details {
    padding-right: 2rem;
}

.project-header {
    margin-bottom: 2rem;
}

.project-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.location {
    color: #666;
    margin-bottom: 0.5rem;
}

.price-range {
    font-size: 1.5rem;
    color: #2196F3;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.rera-tag {
    background: #4CAF50;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.developer {
    color: #666;
    font-style: italic;
}

/* Project Banner */
.project-banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Project Sections */
.project-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.project-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
    padding-bottom: 0.5rem;
}

.project-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #4CAF50, #2196F3);
}

/* Overview Section */
.overview-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.overview-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.overview-item:hover {
    transform: translateY(-5px);
}

.overview-item .material-icons {
    font-size: 2.5rem;
    color: #2196F3;
    margin-bottom: 1rem;
}

.overview-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.overview-item p {
    color: #666;
}

.overview-description {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.overview-description p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.highlights h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.highlights ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    list-style: none;
}

.highlights li {
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
}

@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlights ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
}

/* Floor Plans */
.floor-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.floor-plan-item img {
    width: 100%; /* Make images responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Add some rounding to the corners */
    margin-top: 1rem; /* Add some space above the images */
}

.floor-plan-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.floor-plan-item h3 {
    margin-bottom: 1rem;
}

.area, .price {
    display: block;
    margin: 0.5rem 0;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Location Advantages */
.location-advantages {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0;
}

.location-advantages li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.location-advantages li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.amenity {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.amenity .material-icons {
    font-size: 2rem;
    color: #2196F3;
    margin-bottom: 0.5rem;
}

/* FAQs */
.faq-item {
    margin-bottom: 1rem;
}

.faq-item h3 {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

.faq-item h3:after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.faq-item h3.active:after {
    content: "-";
}

.faq-item p {
    display: none;
    padding: 1rem;
    color: #666;
}

/* Lead Form Styles */
.lead-form-container {
    position: sticky;
    top: 80px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    height: fit-content;
    align-self: start;
    transition: all 0.3s ease;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.lead-form-container:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border-color: rgba(33, 150, 243, 0.2);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lead-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.6rem;
    position: relative;
    padding-bottom: 1rem;
}

.lead-form h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #4CAF50, #2196F3);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #666;
    font-size: 0.9rem;
    margin-left: 0.2rem;
}

.form-group input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    background-color: white;
}

.phone-input {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0.5rem;
}

.phone-input select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.submit-btn {
    background: #162440;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-btn:focus {
    outline: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .project-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .project-details {
        padding-right: 0;
    }

    .lead-form-container {
        position: static;
        margin-top: 2rem;
        width: 100%;
    }

    .project-banner img {
        height: 250px;
    }

    nav {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 768px) {
    header {
        position: relative;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        padding: 4rem 1rem;
        text-align: center;
        z-index: 1000;
        justify-content: center;
        gap: 2rem;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .project-header h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .project-section {
        margin-bottom: 2.5rem;
    }

    .gallery-grid img {
        border-radius: 4px;
    }

    .lead-form-container {
        border-radius: 0;
        box-shadow: none;
        background: #f8f9fa;
    }

    .price-range {
        font-size: 1.2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .floor-plans {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-advantages {
        grid-template-columns: 1fr;
    }

    .project-banner img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .project-container {
        padding: 0.5rem;
    }

    .project-header h1 {
        font-size: 1.5rem;
    }
    .project-header {
        text-align: center;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .phone-input {
        grid-template-columns: 80px 1fr;
    }

    .lead-form-container {
        padding: 1rem;
    }

    .gallery-grid img {
        height: 180px;
    }

    .form-group input,
    .phone-input select {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}
