/* CSS Reset and Variables */
:root {
    --bg-dark: #0a0503;
    --gold-primary: #d4af37;
    --gold-secondary: #aa8421;
    --gold-light: #f9df9f;
    --text-light: #f5f5f5;
    --text-muted: #b3b3b3;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --card-bg: rgba(25, 15, 10, 0.7);
    --border-gold: 1px solid rgba(212, 175, 55, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Image Overlay */
.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('images/temple_bg_vibrant.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.site-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 5, 3, 0.45); /* Further reduced for more vibrancy */
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold-primary) !important;
}

.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-5 { margin-bottom: 3rem; }
.font-bold { font-weight: 600; }

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold-light);
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.divider {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 0 0 20px 0;
}

.divider.center {
    margin: 0 auto 30px auto;
}

.gold-divider {
    background: var(--gold-primary);
    width: 150px;
}

/* Typography */
.eng-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.telugu-text {
    font-size: 1.05rem;
    color: var(--gold-primary);
    line-height: 1.8;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.7);
}

.call-btn {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: #111;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

/* Hero Section */
.hero-section {
    padding-top: 60px;
    text-align: center;
}

.logo-container {
    margin-bottom: 40px;
}

.logo {
    width: 280px; /* Increased size to make the embedded text readable */
    height: auto;
    margin-bottom: 20px;
    border: 2px solid var(--gold-primary); /* Added a gold border to make the black box look intentional */
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--gold-primary);
    letter-spacing: 3px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
    margin-bottom: 10px;
}

.brand-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.brand-subtitle-telugu {
    font-size: 1.1rem;
    color: var(--text-light);
}

.hero-image-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border: var(--border-gold);
    aspect-ratio: 16 / 9;
}

.hero-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}


.hero-img.active {
    opacity: 1;
}

.book-consultation-bar, .speak-to-pandit-bar {
    background: linear-gradient(90deg, #b8860b, #ffd700, #b8860b);
    padding: 18px 10px;
    text-align: center;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    margin-top: -20px;
    position: relative;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.cta-banner {
    font-family: var(--font-heading);
    color: #111;
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 2px;
    display: inline-block;
    transition: transform 0.3s ease;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.4);
}

.cta-banner:hover {
    transform: scale(1.05);
    color: #000;
}

/* Meet Pandit Section */
.meet-pandit {
    background: url('https://www.transparenttextures.com/patterns/aged-paper.webp');
    background-color: rgba(226, 199, 146, 0.95);
    color: #333;
    position: relative;
    border-top: 4px solid var(--gold-primary);
    border-bottom: 4px solid var(--gold-primary);
}

.pandit-content {
    display: flex;
    align-items: center;
    gap: 40px;
    background: url('https://www.transparenttextures.com/patterns/aged-paper.webp');
    background-color: #dcb37b;
    padding: 30px;
    border-radius: 15px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5), 0 10px 30px rgba(0,0,0,0.3);
    border: 2px solid #8c6020;
}

.pandit-image-box {
    flex: 0 0 350px;
}

.pandit-portrait {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.6);
    border: 3px solid #8c6020;
}

.pandit-text-box {
    flex: 1;
}

.pandit-text-box .section-title {
    color: #3e2723;
    text-shadow: none;
}

.pandit-text-box .divider {
    background: linear-gradient(90deg, #3e2723, transparent);
}

.pandit-text-box .eng-text {
    color: #2c1a14;
    font-weight: 500;
    font-size: 1.2rem;
}

.pandit-text-box .telugu-text {
    color: #5d4037;
    font-weight: 600;
}

/* 4 Pillars Section */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pillar-card {
    background: var(--card-bg);
    border: var(--border-gold);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    text-align: center;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-primary);
}

.pillar-title {
    font-family: var(--font-heading);
    color: var(--gold-light);
    font-size: 1.5rem;
    margin-bottom: 15px;
    min-height: 60px;
}

.pillar-subtitle {
    font-size: 1rem;
    color: var(--gold-primary);
}

.pillar-img-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.pillar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-img {
    transform: scale(1.1);
}

.pillar-text {
    margin-top: 15px;
}

.pillar-text .eng-text {
    font-size: 0.95rem;
}

.pillar-text .telugu-text {
    font-size: 0.9rem;
}

/* Silent Battles Section */
.silent-battles {
    background: transparent;
    padding-bottom: 20px;
}

.battles-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.battle-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

.battle-row.reverse {
    flex-direction: row-reverse;
}

.battle-img-box {
    flex: 0 0 35%;
    max-width: 35%;
}

.battle-pic {
    width: 100%;
    border-radius: 15px;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: cover;
}

.battle-text-box {
    flex: 0 0 65%;
    max-width: 65%;
    text-align: left;
}

.battle-row.reverse .battle-text-box {
    text-align: right;
}

.battle-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.battle-desc-eng {
    font-size: 1.05rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.battle-desc-tel {
    font-size: 1.05rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
/* Section Dividers */
.section-divider-top {
    border-top: 4px solid var(--gold-primary);
}

.section-divider-bottom {
    border-bottom: 4px solid var(--gold-primary);
}

/* Protect Section */
.protect-header-section {
    padding-top: 60px;
    padding-bottom: 40px;
}

.protect-section {
    background: url('https://www.transparenttextures.com/patterns/aged-paper.webp');
    background-color: #dcb37b;
    color: #333;
    padding-top: 60px;
    box-shadow: inset 0 0 50px rgba(100,50,0,0.2);
    border-top: 4px solid var(--gold-primary);
    border-bottom: 4px solid var(--gold-primary);
}

.protect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: start;
}

.protect-item {
    text-align: center;
}

.protect-eng-title {
    color: #2c1a14;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    min-height: 60px;
}

.protect-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    object-fit: cover;
    height: 320px;
    border: 2px solid #8c6020;
}

.protect-telugu-text {
    color: #2c1a14;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    background: url('images/temple_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    border-top: 4px solid var(--gold-primary);
    border-bottom: 4px solid var(--gold-primary);
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 5, 3, 0.85); /* Dark overlay */
    z-index: 0;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

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

.testimonial-card {
    background: linear-gradient(180deg, rgba(30, 15, 5, 0.95), rgba(15, 8, 3, 0.95));
    border: 1px solid var(--gold-secondary);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
    border-color: var(--gold-primary);
}

.testimonial-header {
    margin-bottom: 20px;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-primary);
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold-light);
    font-style: italic;
    margin-bottom: 10px;
}

.stars {
    color: var(--gold-primary);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-body {
    font-size: 0.95rem;
    line-height: 1.8;
}

.testimonial-body p {
    margin-bottom: 15px;
}

.highlight-text {
    color: var(--gold-primary);
    font-weight: 500;
}

/* Destiny Section */
.destiny-section {
    background: url('https://www.transparenttextures.com/patterns/aged-paper.webp');
    background-color: #e6c998;
    color: #333;
}

.destiny-section .section-title {
    color: #3e2723;
    text-shadow: none;
}

.destiny-section .section-subtitle-telugu {
    color: #8c6020;
    font-size: 1.5rem;
}

.destiny-section .divider {
    background: linear-gradient(90deg, transparent, #3e2723, transparent);
}

.destiny-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.destiny-text {
    flex: 1;
}

.destiny-text .eng-text {
    color: #2c1a14;
    font-size: 1.3rem;
}

.destiny-text .telugu-text {
    color: #5d4037;
    font-size: 1.1rem;
}

.destiny-image {
    flex: 0 0 450px;
}

.destiny-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border: 3px solid #8c6020;
}

/* Footer */
.site-footer {
    background: transparent;
    padding: 30px 0;
    border-top: 4px solid var(--gold-primary);
}

.site-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .brand-title {
        font-size: 2.5rem;
    }
    
    .pandit-content, .destiny-content {
        flex-direction: column;
    }
    
    .pandit-image-box, .destiny-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .brand-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .book-consultation-bar, .speak-to-pandit-bar {
        padding: 12px 10px;
    }

    .cta-banner {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .testimonials-section {
        background-attachment: scroll;
    }

    .battle-row, .battle-row.reverse {
        flex-direction: column;
        gap: 20px;
    }
    
    .battle-text-box, .battle-row.reverse .battle-text-box {
        text-align: center;
        max-width: 100%;
        flex: 1 1 100%;
    }

    .battle-img-box {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

/* Decorative Guru Illustration */
.meet-pandit {
    position: relative;
    overflow: hidden;
}

.meet-pandit::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background-image: url('images/guru_illustration_large.webp');
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    opacity: 0.15;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

.pandit-content {
    position: relative;
    z-index: 1;
}
