/* --- 1. Setup & Variables --- */
:root {
    --primary: #d35400;     /* Spiritual Orange */
    --gold: #ffcc00;        /* Baglamukhi Yellow */
    --dark: #0f0f0f;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
}

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

body, html { 
    height: 100%; 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--dark); 
    color: var(--white);
    overflow: hidden; /* Faltu scroll band */
}

/* --- 2. Main Wrapper Background --- */
.main-wrapper {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)), 
                url('assets/mata-baglamukhi.jpg') center/cover;
    display: flex;
    flex-direction: column;
}

/* --- 3. Sleek Header --- */
.top-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 25px 5%;
}
.logo { font-size: 1.4rem; font-weight: 900; letter-spacing: 1px; }
.logo span { color: var(--gold); }
.support { font-size: 0.85rem; margin-right: 20px; opacity: 0.8; }
.btn-consult { 
    background: var(--white); color: var(--dark); text-decoration: none;
    padding: 10px 20px; border-radius: 5px; font-weight: bold; font-size: 0.8rem;
}

/* --- 4. Content Layout --- */
.hero-container {
    flex: 1; display: flex; align-items: center; 
    padding: 0 5% 40px 5%; gap: 50px;
}

/* Text Side */
.text-side { flex: 0.8; }
.text-side h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 15px; }
.text-side p { font-size: 1.1rem; opacity: 0.8; margin-bottom: 25px; max-width: 500px; }
.trust-badges { display: flex; gap: 15px; font-size: 0.8rem; color: var(--gold); font-weight: bold; }

/* --- 5. The "Rich" Asymmetric Grid --- */
.rich-grid {
    flex: 1.2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    height: 80%;
}

/* Card Styling */
.rich-card {
    position: relative; border-radius: 15px; overflow: hidden;
    text-decoration: none; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
}

.h-large { grid-row: span 2; } /* Havan card takes full height */

.card-bg {
    position: absolute; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: 0.6s; z-index: 1;
}

.card-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 2;
}

.card-content {
    position: absolute; bottom: 20px; left: 20px; z-index: 3;
}

.card-content h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 4px; }
.card-content span { color: var(--gold); font-size: 0.75rem; font-weight: bold; text-transform: uppercase; }

/* --- 6. Animations --- */
.rich-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.rich-card:hover .card-bg { transform: scale(1.1); }

/* --- 7. Mobile Responsive --- */
@media (max-width: 1024px) {
    body, html { overflow-y: auto; }
    .hero-container { flex-direction: column; padding-top: 40px; }
    .text-side { text-align: center; margin-bottom: 30px; }
    .text-side h1 { font-size: 2.5rem; }
    .rich-grid { width: 100%; grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
    .h-large { grid-row: span 1; height: 300px; }
    .rich-card { height: 200px; }
}