/* BAGAVATHY JANAVASAM CAR - FINAL SEO OPTIMIZED CSS */
/* Theme: Luxury Wedding Green & Gold */

:root {
    --primary: #155e37;
    --secondary: #c5a059;
    --accent: #f0f7f2;
    --bg-cream: #faf7f2;
    --bg-section: #f4f1eb;
    --text-dark: #121212;
    --text-muted: #666;
    --transition: all 0.3s ease;
    --border-light: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

/* ================= NAVIGATION ================= */

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
}

/* logo */

.nav-logo {
    font-weight: bold;
    font-size: 20px;
    color: white;
    margin-left: 10px;
}

/* desktop menu */

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: white;
}

/* hamburger icon */

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

/* MOBILE NAV */

@media(max-width:768px) {
    
    nav {
        justify-content: flex-start;
    }

    .menu-toggle {
        display: block;
        margin-right: 15px;
    }

                                .nav-links {
                                    position: absolute;
                                    top: 65px;
                                    left: 0;
                                    width: 100%;
                                    background: linear-gradient(135deg, var(--primary), var(--secondary));
            /* soft wedding cream */
            flex-direction: column;
            display: none;
            text-align: center;
            padding: 20px 0;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

    .nav-links li {
        padding: 12px 0;
    }

    .nav-links a {
        color: white;
    }

    .nav-links.active {
        display: flex;
    }

}

/* ================= HERO ================= */

.hero {
    min-height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
        url('images/home-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: white;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    color: var(--secondary);
    max-width: 900px;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 750px;
    margin-bottom: 1.5rem;
}

/* ================= BUTTONS ================= */

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* ================= SECTIONS ================= */

section {
    padding: 5rem 8%;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3vw, 36px);
    color: var(--primary);
    margin-bottom: 3rem;
}

/* ================= GRID ================= */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ================= FOOTER ================= */

footer {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 4rem 5%;
    text-align: center;
}

footer h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px) {
    .grid {
            grid-template-columns: 1fr;
        }
    section {
        padding: 4rem 5%;
    }

        .hero {
            min-height: 60vh;
            padding: 80px 20px;
    
            background-position: center top;
            background-size: cover;
        }

    .btn {
        width: 100%;
        text-align: center;
    }

}

@media(max-width:480px) {

    .hero h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

}

/* ================= CONTACT FORM ================= */

.contact-form-wrapper form {
    display: flex;
    flex-direction: column;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.contact-form-wrapper button {
    background: var(--primary);
    color: white;
    padding: 12px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.contact-form-wrapper button:hover {
    background: var(--secondary);
}