/* Minimal, Elegant, Traditional Tamil Style */
:root {
    --bg-light: #faf8f5;        /* Jasmine White / Warm off-white */
    --bg-card: #ffffff;
    --text-main: #3e2723;       /* Deep dark brown (traditional) */
    --text-muted: #5d4037;
    --accent-terracotta: #d35400; /* Rich orange-red / Terracotta clay */
    --accent-terracotta-hover: #e67e22;
    --accent-green: #27ae60;    /* Banana leaf green */
    --glass-border: rgba(62, 39, 35, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Elegant Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--accent-terracotta);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--accent-terracotta);
}

.btn-primary {
    background: var(--accent-terracotta);
    padding: 0.6rem 1.5rem;
    border-radius: 4px; /* Minimal, less rounded */
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-terracotta-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    color: var(--accent-terracotta) !important;
    border: 2px solid var(--accent-terracotta);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-terracotta);
    color: #fff !important;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: var(--text-main);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-light);
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--text-muted) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    background: rgba(250, 248, 245, 0.8);
    padding: 40px;
    border-radius: 12px;
}

.tamil-sub {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-terracotta);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-main);
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-btns {
    animation: fadeInUp 1s ease 0.6s both;
}

/* Products Section */
.products {
    padding: 100px 5%;
    text-align: center;
    background: #fff;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--bg-light);
    border: 1px solid var(--glass-border);
    border-radius: 8px; /* Classic sharp corners */
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(62, 39, 35, 0.08);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    background-color: #eee; 
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    color: var(--text-main);
}

.tamil-title {
    font-size: 0.9rem;
    color: var(--accent-terracotta);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Service Areas */
.service-areas {
    padding: 80px 5%;
    background: var(--bg-light);
    text-align: center;
    position: relative;
}

.service-areas::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-terracotta), transparent);
    opacity: 0.3;
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.tag {
    background: #fff;
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: var(--accent-green);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--accent-green);
    color: #fff;
    border-color: var(--accent-green);
}

/* Call to Action */
.cta-section {
    padding: 100px 5%;
    background: #fff;
    text-align: center;
}

/* Footer / SEO Keywords */
footer {
    background: var(--text-main);
    padding: 60px 5% 30px;
    text-align: center;
    color: #fff;
}

footer h2 {
    color: var(--accent-terracotta);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.seo-text {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4); 
    text-align: justify;
    line-height: 1.8;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@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); }
}

/* Media Queries */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(250, 248, 245, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    .nav-links.active { left: 0; }
    .hero h1 { font-size: 2.5rem; }
    .hero-content { padding: 20px; }
}

/* --- New Additions: WhatsApp & Popup --- */

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: #ffffff;
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}
.popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.popup-overlay.show .popup-content {
    transform: translateY(0);
}
