/* ==========================================================================
   Bhavani Peetham - Premium Styling
   Design Theme: Cream & Gold (Logo Inspired)
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Outfit:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --bg-primary: #FDFCF7;      /* Serene Warm Ivory */
    --bg-secondary: #F6F3EB;    /* Rich Cream Background */
    --bg-card: #FFFFFF;         /* White Card Base */
    --accent-gold: #C5A059;     /* Deep Metallic Gold */
    --accent-gold-light: #DFBA73;/* Bright Highlight Gold */
    --accent-gold-dark: #A37E3B; /* Shadow Gold */
    --text-primary: #2C2A29;    /* Dark Charcoal for high contrast readability */
    --text-secondary: #5A5754;  /* Muted Charcoal for sub-information */
    --text-light: #FDFCF7;       /* Light text on dark buttons */
    --border-color: rgba(197, 160, 89, 0.25); /* Elegant gold line */
    --glow-color: rgba(223, 186, 115, 0.15);  /* Warm ambient gold glow */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 15px 40px rgba(44, 42, 41, 0.04);
    --shadow-hover: 0 25px 50px rgba(197, 160, 89, 0.1);
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Utility Classes & General Styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

p {
    font-weight: 300;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.gold-text {
    background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 1rem auto 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

/* Hero CTA Layout */
.hero-ctas {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Button Components */
.btn-premium {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.35);
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-whatsapp-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2.2rem;
    background-color: transparent;
    color: var(--whatsapp-dark);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border: 2px solid var(--whatsapp-green);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-whatsapp-hero:hover {
    background-color: var(--whatsapp-green);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2);
}

/* Header & Navigation */
header {
    background-color: rgba(253, 252, 247, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-soft);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition);
}

header.scrolled .nav-wrapper {
    height: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    object-fit: cover;
    box-shadow: 0 0 15px var(--glow-color);
    transition: var(--transition);
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent-gold-dark);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background: radial-gradient(circle at 80% 20%, var(--glow-color) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(197, 160, 89, 0.05) 0%, transparent 40%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
    line-height: 1.7;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow-ring {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 1px dashed var(--accent-gold);
    animation: rotate 60s linear infinite;
    opacity: 0.5;
}

.hero-glow-ring-inner {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.15);
    box-shadow: 0 0 40px var(--glow-color);
}

.hero-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(44, 42, 41, 0.08);
    background-color: var(--bg-card);
    transition: var(--transition);
}

.hero-image:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 45px rgba(197, 160, 89, 0.2);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: center;
}

.about-img-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-round-border {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    opacity: 0.3;
    animation: scaleUpDown 6s ease-in-out infinite;
}

.about-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    box-shadow: var(--shadow-soft), 0 0 0 2px var(--accent-gold);
    object-fit: cover;
    z-index: 2;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.about-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
    margin-top: 0.5rem;
}

.about-content h4 {
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--accent-gold-dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-filter {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.8rem;
    border: 1px solid var(--accent-gold);
    border-radius: 30px;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--text-light);
    border-color: transparent;
}

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

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold-light), var(--accent-gold-dark));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: center;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    width: 70px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid rgba(197, 160, 89, 0.15);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
    background-color: var(--bg-primary);
    box-shadow: 0 0 15px var(--glow-color);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Callout Section (Scripture Parayana Details) */
.scripture-highlight {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(253, 252, 247, 0.9), rgba(246, 243, 235, 0.95)),
                url('assets/logo.png') no-repeat center right / contain;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.scripture-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-soft);
}

.scripture-content .icon-wrap {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.scripture-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.scripture-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.scripture-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-gold-dark);
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--accent-gold);
}

/* Contact & Booking Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-item-icon {
    font-size: 1.4rem;
    color: var(--accent-gold-light);
    background-color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.contact-item-text p, .contact-item-text a {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.contact-item-text a:hover {
    color: var(--accent-gold-dark);
}

.whatsapp-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--whatsapp-dark) !important;
    font-weight: 600;
}

.whatsapp-text-link:hover {
    color: var(--whatsapp-green) !important;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
}

.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--glow-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 1.5rem;
    padding: 1.2rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    display: none;
    line-height: 1.5;
}

.form-status.success {
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--accent-gold-dark);
    border: 1px solid var(--accent-gold);
    display: block;
}

.form-status.error {
    background-color: rgba(220, 53, 69, 0.08);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
    display: block;
}

/* Footer */
footer {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 5rem 0 2rem;
    border-top: 2px solid var(--accent-gold);
}

.footer-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand .brand {
    gap: 1rem;
}

.footer-brand .brand-logo {
    border-color: var(--accent-gold-light);
}

.footer-brand p {
    color: #A9A7A5;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold-light);
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #A9A7A5;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-gold-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(253, 252, 247, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #8C8A88;
    font-size: 0.85rem;
}

.biznexus-link {
    color: var(--accent-gold-light);
    font-weight: 600;
}

.biznexus-link:hover {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(223, 186, 115, 0.4);
}

/* WhatsApp Floating Action Button */
.whatsapp-float-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-green);
    color: #FFFFFF;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float-btn:hover {
    background-color: var(--whatsapp-dark);
    transform: scale(1.1) rotate(10deg);
}

/* Keyframe Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scaleUpDown {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

/* Scroll Entrance Animations (Controlled by JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Web Design (RWD) */
@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-ctas {
        justify-content: center;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-content h2::after {
        margin: 0.5rem auto 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .footer-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .whatsapp-float-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .services-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }
}
