/* Design Tokens & Variables */
:root {
    --primary-color: #6b2d2d; /* Maroon from logo */
    --primary-dark: #4a1f1f;
    --gold: #e88f1d; /* Orange-gold from logo */
    --gold-light: #f5d9a8;
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --text-main: #f5f5f5;
    --text-muted: #aaaaaa;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --glass-bg: rgba(30, 30, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
}

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

.section-subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.text-gold { color: var(--gold); }
.text-white { color: #fff; }
.text-center { text-align: center; }

/* Buttons */
.primary-btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
    border: 2px solid transparent;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(211, 47, 47, 0.4);
    border-color: var(--gold);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.03);
}

.navbar.scrolled .logo-img {
    height: 44px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

.cta-btn {
    background: var(--gold);
    color: var(--dark-bg);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
}

.cta-btn:hover {
    background: white;
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-main);
    padding: 4px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.heroSwiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.heroSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 10s ease;
}

.heroSwiper .swiper-slide-active img {
    transform: scale(1);
}

.heroSwiper .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #eee;
    max-width: 600px;
}

/* Swiper Controls */
.swiper-button-next, .swiper-button-prev {
    color: var(--gold);
}
.swiper-pagination-bullet-active {
    background: var(--gold);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50 0L100 50L50 100L0 50Z" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="2"/></svg>') repeat;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-visuals {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-image-wrap {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.about-image-wrap figcaption {
    padding: 12px 16px;
    background: var(--glass-bg);
    text-align: center;
    font-size: 0.95rem;
    color: var(--gold-light);
    letter-spacing: 0.5px;
}

.bilingual-text {
    margin-bottom: 30px;
}

.hindi-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gold-light);
    margin-bottom: 15px;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
}

.about-features {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: rgba(211, 47, 47, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.feature-item span {
    font-weight: 600;
    font-size: 1.1rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold));
}

.pandit-info h3 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.pandit-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.pandit-info .desc {
    margin-top: 20px;
    color: var(--text-muted);
    font-style: italic;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: var(--dark-surface);
}

.gallery-intro {
    max-width: 720px;
    margin: 0 auto 50px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-item figcaption {
    padding: 14px 16px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gold-light);
    background: rgba(0, 0, 0, 0.35);
}

/* Pujas Section (Parallax) */
.pujas-section {
    padding: 120px 0;
    position: relative;
    background-image: url('images/mangal-nath-mandir-1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.pujas-section .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(18, 18, 18, 0.78);
    backdrop-filter: blur(2px);
}

.relative-z {
    position: relative;
    z-index: 10;
}

.puja-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.puja-card {
    background: linear-gradient(145deg, rgba(40,40,40,0.8), rgba(20,20,20,0.9));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.puja-card:hover {
    transform: translateY(-15px);
    border-color: rgba(255, 179, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.puja-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 0;
    background: var(--primary-color);
    transition: height 0.4s ease;
    z-index: 0;
    opacity: 0.1;
}

.puja-card:hover::after {
    height: 100%;
}

.card-inner {
    position: relative;
    z-index: 1;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 179, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--gold);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.puja-card:hover .icon-wrapper {
    background: var(--gold);
    color: var(--dark-bg);
    transform: rotate(10deg);
}

.puja-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.puja-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.card-btn {
    color: var(--gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.card-btn i {
    transition: transform 0.3s ease;
}

.card-btn:hover i {
    transform: translateX(5px);
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: var(--dark-surface);
}

.testSwiper {
    padding: 50px 0;
}

.review-card {
    background: var(--dark-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(255, 179, 0, 0.2);
    margin-bottom: 20px;
}

.review-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-main);
}

.stars {
    color: var(--gold);
    font-size: 1.2rem;
}

/* Footer / Contact */
.footer {
    background: #0a0a0a;
    padding: 100px 0 0 0;
    position: relative;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.footer-bottom a {
    color: var(--gold);
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-info > p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item span, .contact-item a {
    color: #ddd;
    font-size: 1.1rem;
}

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

.glass-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.glass-form h3 {
    margin-bottom: 30px;
    color: var(--gold);
    font-size: 1.8rem;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.8);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #1ebe57;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slide-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .cta-btn {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(18, 18, 18, 0.98);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--glass-border);
        z-index: 999;
    }

    .nav-container {
        position: relative;
    }
    
    .menu-toggle {
        display: block;
    }

    .logo-img {
        height: 40px;
    }

    .footer-logo-img {
        height: 70px;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-features {
        flex-direction: column;
    }

    .about-image {
        height: 220px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 200px;
    }

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