/* =====================================================
   RAMSONS TRENDSQUARES - MAIN WEBSITE CSS
   ===================================================== */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #3d6b2f;
    --secondary-color: #a89050;
    --dark-green: #2d5016;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #ddd;
}

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    max-height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin: 20px 0;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-button:hover {
    background: #8b7035;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    margin-top: 20px;
    opacity: 0.9;
}

/* ===== INFO CARDS ===== */
.info-cards-wrapper {
    background: var(--light-bg);
    padding: 60px 20px;
}

.info-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-light);
    font-size: 16px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 40px;
    text-align: center;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 40px;
    margin-bottom: 20px;
}

.about-button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 35px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.about-button:hover {
    background: #8b7035;
    transform: translateY(-2px);
}

.about-tagline {
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 30px;
}

.about-content {
    text-align: left;
    line-height: 1.8;
}

.about-paragraph {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 16px;
}

.about-section-title {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 600;
    margin: 30px 0 20px;
}

/* ===== PRICE SECTION ===== */
.price-section {
    background: var(--light-bg);
    padding: 80px 40px;
}

.price-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 40px;
    margin-bottom: 50px;
}

.price-cards {
    max-width: 1200px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.price-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card h3 {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.price-card-title {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.price-card-size {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 20px;
}

.price-card-label {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 5px;
}

.price-card-price {
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.price-button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.price-button:hover {
    background: #8b7035;
}

.costing-section {
    max-width: 800px;
    margin: 50px auto 0;
    text-align: center;
}

.costing-section h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 30px;
}

.costing-image {
    background: var(--white);
    padding: 60px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    color: var(--text-light);
}

.download-button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.download-button:hover {
    background: #8b7035;
    transform: translateY(-2px);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
    text-align: center;
}

.gallery-section h2 {
    color: var(--primary-color);
    font-size: 40px;
    margin-bottom: 50px;
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.gallery-image {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.gallery-image img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-button:hover {
    background: #8b7035;
    transform: translateY(-2px);
}

/* ===== AMENITIES SECTION ===== */
.amenities-section {
    background: var(--light-bg);
    padding: 80px 40px;
}

.amenities-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 40px;
    margin-bottom: 20px;
}

.amenities-tagline {
    text-align: center;
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.amenities-description {
    max-width: 1000px;
    margin: 0 auto 50px;
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.amenities-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.amenity-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.amenity-card:hover {
    transform: translateY(-5px);
}

.amenity-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.amenity-card h3 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
}

/* ===== FLOOR PLAN SECTION ===== */
.floorplan-section {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
    text-align: center;
}

.floorplan-section h2 {
    color: var(--primary-color);
    font-size: 40px;
    margin-bottom: 20px;
}

.floorplan-subtitle {
    font-size: 22px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 50px;
}

.floorplan-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* ===== LOCATION SECTION ===== */
.location-section {
    background: var(--light-bg);
    padding: 80px 40px;
    text-align: center;
}

.location-section h2 {
    color: var(--primary-color);
    font-size: 40px;
    margin-bottom: 20px;
}

.location-tagline {
    font-size: 22px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.location-description {
    max-width: 1000px;
    margin: 0 auto 40px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto 40px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.location-button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.location-button:hover {
    background: #8b7035;
    transform: translateY(-2px);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 40px;
}

.faq-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 40px;
    margin-bottom: 50px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item h3 {
    padding: 20px;
    color: var(--primary-color);
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-bg);
}

.faq-item h3 span {
    color: var(--secondary-color);
    font-size: 16px;
}

.faq-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item.active .faq-content {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ===== BANGALORE SECTION (FOOTER ABOUT) ===== */
.bangalore-section {
    background: var(--light-bg);
    padding: 80px 40px;
}

.bangalore-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 40px;
    margin-bottom: 40px;
}

.bangalore-content {
    max-width: 1000px;
    margin: 0 auto;
}

.bangalore-paragraph {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

/* ===== FOOTER SECTION ===== */
.footer-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 60px 40px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    text-align: center;
    margin-bottom: 40px;
}

.footer-text {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.6;
}

.footer-links-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    padding: 8px 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 15px;
    transition: color 0.3s;
}

.footer-link:last-child {
    border-right: none;
}

.footer-link:hover {
    color: var(--secondary-color);
}

.footer-cta-button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    margin-top: 20px;
}

.footer-cta-button:hover {
    background: #8b7035;
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 30px 0;
}

.footer-copyright {
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-disclaimer {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

.footer-contact-info {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-contact-info a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-contact-info a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    opacity: 0.8;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .info-cards,
    .price-cards,
    .amenities-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-images,
    .floorplan-images {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: var(--primary-color);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transition: right 0.3s;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .about-section,
    .gallery-section,
    .floorplan-section,
    .faq-section,
    .bangalore-section {
        padding: 60px 20px;
        margin: 40px auto;
    }
    
    .about-section h2,
    .gallery-section h2,
    .floorplan-section h2,
    .location-section h2,
    .faq-section h2,
    .bangalore-section h2 {
        font-size: 28px;
    }
    
    .info-cards,
    .price-cards,
    .amenities-grid,
    .gallery-images,
    .floorplan-images {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .footer-section {
        padding: 40px 20px 20px;
    }
    
    .footer-links-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .footer-link {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 10px;
    }
    
    .footer-link:last-child {
        border-bottom: none;
    }
    
    .footer-disclaimer {
        text-align: left;
        padding: 20px;
        font-size: 12px;
    }
    
    .footer-contact-info a {
        display: block;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .hero-button,
    .gallery-button,
    .location-button,
    .download-button {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .price-card-title {
        font-size: 22px;
    }
    
    .price-card-price {
        font-size: 20px;
    }
}
 .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            z-index: 200;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            overflow-y: auto;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: linear-gradient(135deg, var(--primary-color) 0%, #2d5016 100%);
            border-radius: 12px;
            padding: 0;
            max-width: 700px;
            width: 100%;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            border: 3px solid white;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
        }

        .modal-left {
            padding: 2.5rem 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: white;
            min-height: 100%;
        }

        .modal-logo {
            margin-bottom: 1.5rem;
        }

        .modal-logo img {
            height: 50px;
            width: auto;
        }

        .modal-h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.8rem;
            line-height: 1.2;
        }

        .modal-subtitle {
            background-color: var(--secondary-color);
            color: #2d5016;
            padding: 0.7rem 0.8rem;
            border-radius: 4px;
            margin-bottom: 1.5rem;
            font-weight: 600;
            text-align: center;
            font-size: 0.85rem;
        }

        .modal-footer {
            margin-top: auto;
            text-align: center;
            border-top: 2px solid rgba(255, 255, 255, 0.3);
            padding-top: 1rem;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .modal-right {
            background-color: white;
            padding: 2.5rem 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .form-group {
            margin-bottom: 1.2rem;
        }

        .form-group input {
            width: 100%;
            padding: 0.9rem;
            border: 2px solid #ddd;
            border-radius: 6px;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 8px rgba(168, 144, 80, 0.3);
        }

        .modal-button {
            background-color: var(--secondary-color);
            color: white;
            padding: 0.9rem;
            border: none;
            border-radius: 6px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            margin-top: 0.5rem;
        }

        .modal-button:hover {
            background-color: #8b7035;
            transform: translateY(-2px);
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.8rem;
            color: white;
            cursor: pointer;
            background: none;
            border: none;
            z-index: 201;
            transition: color 0.3s ease;
        }

        @media (max-width: 768px) {
            .modal-content {
                grid-template-columns: 1fr;
                max-width: 500px;
            }
        }