/* Enhanced CSS Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #ff9900;
    --secondary-color: #0b3d91;
    --accent-color: #3c8dbc;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 6px 24px rgba(0, 0, 0, 0.12);
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #ff9900 0%, #ff6b00 100%);
}

body {
    line-height: 1.6;
    background: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-dark);
    padding: 8px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

header .logo {
    font-size: 1rem;
    font-weight: 600;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header .logo img {
    width: 100px;
    height: 60px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin: 0 15px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}



.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

#nav-icon {
    font-size: 28px;
    color: var(--text-dark);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid rgba(16, 14, 14, 0.2);
}

.mobile-nav button {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

nav .cta {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    margin-left: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

nav .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

/* Hero Section */
.hero {
    /* background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%); */
    color: white;
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'); */
    /* opacity: 0.3; */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
        url('/assets/mauli1.jpg') center/cover no-repeat;
    filter: blur(4px);
    /* Adjust blur here */
    z-index: -1;
    transform: scale(1.05);
    /* Prevent edge blur cut-off */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ff9900;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Loading Message */
.loading {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: #666;
}

/* Project Content */
.project-content {
    max-width: 1200px;
    margin: -60px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.project-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;

}

.project-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
}

.project-image {
    width: 100%;
    height: 500px;
    /* object-fit: cover; */
    border-radius: 0;
}

.project-location {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    margin: 20px 0;
}

.project-details {
    padding: 50px;
}

.project-title {
    font-size: 2.5rem;
    color: #ff6a00;
    margin: 30px 20px;
    position: relative;
    text-align: center;
}

.project-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 34%;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
    border-radius: 2px;
}

.brochure-download {
    text-align: center;
    margin: 20px 0;
}

.download-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
    color: white;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.download-btn:hover {
    background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
}

.rera-details-section {
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 20px;
    margin-top: 40px;
}

.rera-title {
    font-size: 1.8rem;
    color: #ee0979;
    text-align: center;
    margin-bottom: 20px;
}

.rera-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.rera-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.rera-card img {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.rera-card .rera-name {
    font-weight: bold;
    color: #333;
}

.project-details h1 {
    font-size: 2.5rem;
    color: #ff6a00;
    margin-bottom: 30px;
    text-align: center;
}


.project-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.info-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #ff6a00;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
    opacity: 0.1;
    border-radius: 0 15px 0 50px;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-label {
    font-weight: 600;
    color: #ff6a00;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.info-value {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.info-value a {
    color: #ff6a00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: #ee0979;
    text-decoration: underline;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-available {
    background: #d4edda;
    color: #155724;
}

.status-sold {
    background: #f8d7da;
    color: #721c24;
}

.status-upcoming {
    background: #fff3cd;
    color: #856404;
}

/* Price Highlight */
/* .price-highlight {
            background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
            color: white;
            padding: 15px 25px;
            border-radius: 25px;
            font-size: 1.3rem;
            font-weight: 700;
            text-align: center;
            box-shadow: 0 5px 15px rgba(255, 106, 0, 0.3);
        } */

/* Amenities Section */
.amenities-section {
    background: white;
    padding: 50px;
    border-top: 1px solid #e9ecef;
}

.amenities-title {
    font-size: 2rem;
    color: #ff6a00;
    margin-bottom: 30px;
    text-align: center;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.amenity-item {
    display: flex;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.amenity-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.amenity-item:hover {
    transform: translateY(-5px);
    border-color: #ff6a00;
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.1);
}

.amenity-item:hover::before {
    left: 100%;
}

.amenity-icon {
    font-size: 1.2rem;
    color: #ff6a00;
    padding: 0 10px;
}

.amenity-text {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}



.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.4);
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 60px 20px;
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 15px;
    margin: 20px;
}

/* Footer */
footer {
    background: #222;
    color: #ddd;
    text-align: center;
    padding: 40px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .project-details {
        padding: 30px 20px;
    }

    .project-title {
        font-size: 2rem;
    }

    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .amenities-section {
        padding: 30px 20px;
    }

    .amenities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .back-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .project-title {
        font-size: 1.7rem;
    }

    .project-info-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in animation for content load */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}