/* =====================================================
   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;
}

/* ===== 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;
    }
}

@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;
    }
}