/* Nirala Estate Phase 2 Custom Styles */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Lato:wght@300;400;700&display=swap');

/* CSS Variables for Colors */
:root {
    --primary-color: #106EBE;
    --secondary-color: #0FFCBE;
    --accent-color: #FF6B35;
    --dark-color: #212529;
    --light-color: #F8F9FA;
    --white: #FFFFFF;
    --gray: #6C757D;
    --success: #28A745;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 110, 190, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 110, 190, 0.4);
    color: var(--white);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
}

.navbar-brand .brand-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(16, 110, 190, 0.9), rgba(15, 252, 190, 0.1)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f0f0f0" width="1200" height="800"/><path fill="%23e0e0e0" d="M0 400L50 416.7C100 433 200 467 300 475C400 483 500 467 600 441.7C700 417 800 383 900 375C1000 367 1100 383 1150 391.7L1200 400V800H1150C1100 800 1000 800 900 800C800 800 700 800 600 800C500 800 400 800 300 800C200 800 100 800 50 800H0V400Z"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 110, 190, 0.1);
} 

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--dark-color);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
	margin-top: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--success);
    font-size: 1.2rem;
}

/* Hero Form */
.hero-form-container {
    position: relative;
    z-index: 2;
}

.form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(16, 110, 190, 0.1);
}

.form-title {
    text-align: center;
	margin-top: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.lead-form .form-control,
.lead-form .form-select {
    padding: 15px;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.lead-form .form-control:focus,
.lead-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(16, 110, 190, 0.25);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 1rem;
    margin-bottom: 0;
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.key-points {
    margin-top: 2rem;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.point-item i {
    font-size: 1.2rem;
}

.project-highlights {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.highlight-item {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.highlight-label {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-value {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Amenities Section */
.amenities-section {
    padding: 5rem 0;
}

.amenity-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.amenity-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.amenity-card h5 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.amenity-card p {
    color: var(--gray);
    margin-bottom: 0;
}

/* Floor Plans Section */
.floorplans-section {
    padding: 5rem 0;
}

.floor-plan-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.floor-plan-card:hover {
    transform: translateY(-5px);
}

.floor-plan-card.featured {
    border: 3px solid var(--primary-color);
    position: relative;
}

.plan-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-header h4 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.plan-area {
    font-size: 1.1rem;
    opacity: 0.9;
}

.plan-image {
    padding: 2rem;
    text-align: center;
    background: var(--light-color);
    color: var(--gray);
}

.plan-details {
    padding: 2rem;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    padding: 0;
}

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #E9ECEF;
    position: relative;
    padding-left: 1.5rem;
}

.plan-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.plan-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    font-style: italic;
    color: var(--gray);
    margin-top: 2rem;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
}

.gallery-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 250px;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-image {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    color: var(--gray);
}

/* Location Section */
.location-section {
    padding: 5rem 0;
}

.location-map {
    height: 400px;
}

.map-placeholder {
    height: 100%;
    background: var(--light-color);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    border: 2px dashed #DEE2E6;
}

.location-highlights h4 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.location-list {
    space-y: 1.5rem;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.location-item:hover {
    background: rgba(16, 110, 190, 0.05);
}

.location-item i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.location-info {
    display: flex;
    flex-direction: column;
}

.location-info strong {
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.location-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Developer Section */
.developer-section {
    padding: 5rem 0;
}

.developer-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.developer-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.developer-image {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 15px;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 5rem 0;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.final-form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    color: var(--dark-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--dark-color) !important;
    padding: 2rem 0;
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer p {
    margin-bottom: 0.5rem;
    color: #ADB5BD;
}

/* Gallery Image Styles - Add this to your CSS */
.gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}


/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
}

.whatsapp-btn a:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    .developer-stats {
        justify-content: center;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 100px; /* Add top padding for fixed navbar */
        min-height: 100vh;
    }
    
    .hero-content {
        padding-top: 2rem; /* Additional padding for content */
    }
    
    .hero-title {
        font-size: 2rem;
        margin-top: 1rem; /* Add top margin */
        line-height: 1.3; /* Adjust line height */
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .final-form-card {
        padding: 1.5rem;
    }
    
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding-top: 120px; /* More padding for very small screens */
    }
    
    .hero-title {
        font-size: 1.8rem; /* Even smaller font for tiny screens */
        margin-top: 1.5rem;
    }
    
    .hero-content {
        padding-top: 1rem;
        text-align: center; /* Center align on very small screens */
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Form Validation Styles */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #DC3545;
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--success);
}

.invalid-feedback {
    display: block;
    color: #DC3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    display: block;
    color: var(--success);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
