/* General Body and Typography */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: #e63946; /* Updated: New primary red */
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ffd700; /* Gold accent - kept */
    border-radius: 2px;
}

.gold-text {
    color: #ffd700; /* For headings that should be gold */
}

/* Header Section */
.header-section {
    background-color: #e63946; /* Updated: New primary red */
    color: #fff;
    text-align: center;
    padding: 30px 20px;
}

.header-logo {
    max-width: 250px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px; /* Rounded corners for the logo background */
}

.header-title {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    margin: 0;
    line-height: 1.1;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.header-subtitle {
    font-size: 1.3em;
    font-weight: 500;
    margin-top: 10px;
}

/* Hero Section with Form */
.hero-section {
    background-color: #f1faee; /* Updated: Very light, almost white pastel */
    color: #333; /* Keep text color for contrast with light background */
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Updated: Changed to stretch to make children same height */
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.project-summary {
    flex: 2; /* Takes more space */
    min-width: 300px; /* Minimum width before wrapping */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7); /* Lighter overlay for readability on light background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project-summary .tagline {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555; /* Darker color for readability */
}

.project-summary .section-heading {
    color: #e63946; /* Updated: New primary red */
    font-size: 2.2em;
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.project-summary .section-heading::after {
    left: 0;
    transform: translateX(0);
    background-color: #e63946; /* Updated: Match heading color with new primary red */
}

.highlight-box {
    background-color: #ffd700; /* Gold background - kept */
    color: #333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.highlight-box p {
    margin: 5px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.highlight-box .price-old {
    text-decoration: line-through;
    color: #888;
    font-size: 1em;
}

.highlight-box .price-new {
    color: #e63946; /* Updated: New primary red for the new price */
    font-size: 1.8em;
    font-weight: 700;
}

.highlight-box .savings-note {
    font-size: 0.7em;
    font-weight: 500;
    color: #333;
    display: block; /* New line for savings note */
}

.visit-cta {
    color: #e63946; /* Updated: New primary red for CTA text */
    font-size: 1.4em;
    font-weight: 600;
    text-align: center;
    margin-top: 40px;
}

/* Lead Form Styling */
.lead-form-container {
    flex: 1; /* Takes remaining space */
    min-width: 300px; /* Minimum width before wrapping */
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.lead-form h3 {
    text-align: center;
    color: #e63946; /* Updated: New primary red */
    margin-bottom: 30px;
    font-size: 1.8em;
    font-family: 'Playfair Display', serif;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 0.95em;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: calc(100% - 24px); /* Account for padding */
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #e63946; /* Updated: New primary red */
    outline: none;
    box-shadow: 0 0 5px rgba(230, 57, 70, 0.3); /* Updated: Shadow color matches new primary red */
}

.submit-btn {
    width: 100%;
    background-color: #e63946; /* Updated: New primary red */
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.3em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.submit-btn:hover {
    background-color: #cf333f; /* Darker shade of new primary red for hover */
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.mandatory {
    color: #e63946; /* Updated: New primary red */
    font-weight: 700;
}

.form-disclaimer {
    font-size: 0.8em;
    color: #777;
    text-align: center;
    margin-top: 20px;
}


/* Sizes & Savings Section */
.sizes-savings-section {
    display: none; /* Added: This will hide the entire section */
	background-color: #1d3557; /* Updated: Dark, rich blue - matches Premium Specifications */
    padding: 80px 0;
    color: #fff; /* Updated: Text color changed to white for contrast */
    text-align: center;
}

.sizes-savings-section .section-heading {
    color: #fff; /* Updated: Heading color changed to white for contrast */
}

.sizes-savings-section .section-heading::after {
    background-color: #ffd700; /* Gold accent for line - kept */
}

.size-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.size-card {
    background-color: rgba(255, 255, 255, 0.2); /* Slightly transparent white for cards on dark background */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle white border */
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1); /* Lighter shadow */
    transition: transform 0.3s ease;
}

.size-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.3); /* More opaque on hover */
}

.size-card .sqft {
    font-size: 1.8em;
    font-weight: 700;
    color: #e63946; /* Updated: New primary red for square footage - still contrasts well */
    margin-bottom: 10px;
}

.size-card .launch-price {
    font-size: 1.1em;
    text-decoration: line-through;
    color: #bbb; /* Lighter grey for better contrast on dark background */
    margin-bottom: 5px;
}

.size-card .offer-price {
    font-size: 1.5em;
    font-weight: 700;
    color: #fff; /* Updated: White for offer price on dark background */
    margin-bottom: 15px;
}

.size-card .save-amount {
    font-size: 1.6em;
    font-weight: 800;
    color: #e63946; /* Updated: New primary red for savings amount */
    padding: 8px 15px;
    background-color: #ffd700; /* Gold background for savings - kept */
    border-radius: 5px;
    display: inline-block;
}

/* Amenities Section */
.amenities-section {
    background-color: #f1faee; /* Updated: Very light, almost white pastel */
    padding: 80px 0;
    color: #333;
}

.amenities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.amenity-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 280px;
    max-width: 500px; /* Limit width of list for readability */
}

.amenity-list li {
    font-size: 1.2em;
    margin-bottom: 15px;
    text-align: left;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.amenity-list li i {
    color: #e63946; /* Updated: New primary red checkmark */
    margin-right: 15px;
    font-size: 1.4em;
}

.plus-more-text {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e63946; /* Updated: New primary red */
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    font-size: 1.6em;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}


/* Premium Specifications Section */
.specifications-section {
    background-color: #1d3557; /* Updated: Dark, rich blue */
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.spec-list li {
    font-size: 1.2em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly more opaque background for specs cards */
    padding: 15px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.spec-list li:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.spec-list li i {
    color: #ffd700; /* Gold star icon - kept */
    margin-right: 15px;
    font-size: 1.3em;
}

/* Call to Action Section */
.cta-section {
    background-color: #e63946; /* Updated: New primary red */
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.cta-section .section-heading {
    color: #fff;
}

.cta-section .section-heading::after {
    background-color: #fff; /* White line for contrast - kept */
}

.cta-text {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background-color: #ffd700; /* Gold button - kept */
    color: #e63946; /* Updated: New primary red text on gold */
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.cta-button:hover {
    background-color: #ffc400; /* Darker gold for hover - kept */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Video Section */
.video-section {
    background-color: #f0f0f0; /* Kept light grey for video section */
    padding: 80px 0;
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    background-color: #000; /* Black background for video area */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.video-caption {
    margin-top: 25px;
    font-size: 1.1em;
    color: #555;
}

/* Footer Section */
.footer-section {
    background-color: #1d3557; /* Updated: Dark, rich blue */
    color: #bbb;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9em;
}

.footer-section p {
    margin: 5px 0;
}

.footer-section a {
    color: #ffd700; /* Gold links - kept */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.footer-section .rera-info {
    font-size: 0.85em;
    margin-top: 15px;
    color: #a8dadc; /* Light teal for RERA info */
}

.footer-section .disclaimer {
    font-size: 0.75em;
    color: #457b9d; /* Medium blue for disclaimer */
    margin-top: 10px;
}

/* Modal for Messages */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%; /* Could be more specific */
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.4);
    animation: fadeIn 0.3s ease-out;
}

.modal-content #modalMessage {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 20px;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
}

.close-button:hover,
.close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .project-summary, .lead-form-container {
        width: 90%;
        max-width: 600px;
    }

    .project-summary .section-heading {
        text-align: center;
    }

    .project-summary .section-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .header-title {
        font-size: 2.2em;
    }

    .header-subtitle {
        font-size: 1em;
    }

    .section-heading {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .hero-section {
        padding: 50px 0;
    }

    .highlight-box p {
        font-size: 1em;
    }
    .highlight-box .price-new {
        font-size: 1.5em;
    }

    .lead-form h3 {
        font-size: 1.5em;
    }

    .submit-btn {
        font-size: 1.1em;
        padding: 12px;
    }

    .sizes-savings-section,
    .amenities-section,
    .specifications-section,
    .cta-section,
    .video-section {
        padding: 60px 0;
    }

    .size-card .sqft {
        font-size: 1.5em;
    }

    .size-card .save-amount {
        font-size: 1.4em;
    }

    .amenity-list li, .spec-list li {
        font-size: 1em;
    }

    .amenity-list li i, .spec-list li i {
        font-size: 1.2em;
    }

    .plus-more-text {
        font-size: 1.3em;
    }

    .cta-text {
        font-size: 1.1em;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1.2em;
    }

    .video-wrapper {
        padding-bottom: 65%; /* Adjust aspect ratio for smaller screens if needed */
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 1.8em;
    }

    .header-logo {
        max-width: 200px;
    }

    .section-heading {
        font-size: 1.6em;
    }

    .hero-section {
        padding: 40px 0;
    }

    .project-summary, .lead-form-container {
        padding: 20px;
    }

    .project-summary .section-heading {
        font-size: 1.8em;
    }

    .highlight-box p {
        font-size: 0.9em;
    }
    .highlight-box .price-new {
        font-size: 1.3em;
    }

    .visit-cta {
        font-size: 1.2em;
    }

    .form-group label {
        font-size: 0.9em;
    }

    .form-group input, .form-group select {
        padding: 10px;
        font-size: 0.9em;
    }

    .submit-btn {
        font-size: 1em;
        padding: 10px;
    }

    .sizes-savings-section,
    .amenities-section,
    .specifications-section,
    .cta-section,
    .video-section {
        padding: 40px 0;
    }

    .size-card {
        padding: 20px;
    }

    .size-card .sqft {
        font-size: 1.3em;
    }

    .size-card .save-amount {
        font-size: 1.2em;
        padding: 5px 10px;
    }

    .amenity-list li, .spec-list li {
        font-size: 0.9em;
    }

    .plus-more-text {
        font-size: 1.1em;
        padding: 20px;
    }

    .cta-text {
        font-size: 1em;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .video-caption {
        font-size: 0.9em;
    }

    .footer-section {
        padding: 20px;
        font-size: 0.8em;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }
}
