/* ==========================================================================
   PUJA PAGE STYLES - PREMIUM DESIGN
   ========================================================================== */

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
    --saffron: #FF6B35;
    --saffron-dark: #E55A2B;
    --orange: #FF8C42;
    --maroon: #C92E3F;
    --maroon-dark: #8B1538;
    --gold: #FFB627;
    --gold-light: #FFD93D;
    --cream: #FFF8E7;
    --brown: #2C1810;
    --brown-light: #4A3228;
    --white: #FFFFFF;
    --whatsapp: #25D366;
}

/* ==========================================================================
   PUJA HERO SECTION
   ========================================================================== */
.puja-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a0a0a 0%, #2C1810 50%, #4A2020 100%);
    overflow: hidden;
    padding: 120px 20px 60px;
}

.puja-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    filter: blur(2px);
}

.puja-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26, 10, 10, 0.7) 0%, rgba(44, 24, 16, 0.9) 100%);
}

.puja-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.puja-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 182, 39, 0.2), rgba(255, 107, 53, 0.2));
    border: 1px solid rgba(255, 182, 39, 0.4);
    color: #FFB627;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.puja-hero-badge i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.puja-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.puja-hero h1 span {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    margin-top: 10px;
    opacity: 0.9;
}

.puja-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.8;
}

.puja-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.puja-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.puja-hero-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.puja-hero-btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

.puja-hero-btn-call {
    background: linear-gradient(135deg, #C92E3F, #8B1538);
    color: white;
    box-shadow: 0 8px 30px rgba(201, 46, 63, 0.4);
}

.puja-hero-btn-call:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201, 46, 63, 0.5);
}

/* Decorative Elements */
.puja-hero-decoration {
    position: absolute;
    z-index: 1;
}

.puja-hero-decoration-1 {
    top: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 182, 39, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.puja-hero-decoration-2 {
    bottom: 15%;
    right: 8%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201, 46, 63, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ==========================================================================
   PUJA GALLERY SECTION
   ========================================================================== */
.puja-gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFECD2 100%);
}

.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-center h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--maroon-dark);
    margin-bottom: 15px;
}

.section-header-center p {
    font-size: 1.1rem;
    color: var(--brown-light);
    max-width: 600px;
    margin: 0 auto;
}

.puja-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.puja-gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.puja-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(139, 21, 56, 0.2);
}

.puja-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f5f5f5;
    transition: transform 0.5s ease;
    padding: 10px;
}

.puja-gallery-item:hover img {
    transform: scale(1.05);
}

.puja-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(139, 21, 56, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.puja-gallery-item:hover .puja-gallery-overlay {
    opacity: 1;
}

.puja-gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.puja-gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--maroon);
    font-size: 1.5rem;
    transition: transform 0.4s ease;
}

.puja-gallery-item:hover .puja-gallery-zoom {
    transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   PUJA DETAILS SECTION
   ========================================================================== */
.puja-details-section {
    padding: 80px 0;
    background: white;
}

.puja-details-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.puja-details-main h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--maroon-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.puja-details-main h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--saffron));
    border-radius: 2px;
}

.puja-details-main p {
    font-size: 1.05rem;
    color: var(--brown-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.puja-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.puja-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.puja-details-list li:last-child {
    border-bottom: none;
}

.puja-details-list .list-icon {
    width: 35px;
    height: 35px;
    min-width: 35px;
    background: linear-gradient(135deg, var(--gold), var(--saffron));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.puja-details-list .list-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 4px;
}

.puja-details-list .list-content p {
    font-size: 0.9rem;
    color: var(--brown-light);
    margin: 0;
    line-height: 1.5;
}

/* Sidebar */
.puja-details-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.puja-info-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.puja-info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--maroon-dark);
    margin-bottom: 25px;
    text-align: center;
}

.puja-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.puja-info-item:last-child {
    border-bottom: none;
}

.puja-info-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 182, 39, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--saffron);
    font-size: 1rem;
}

.puja-info-item span {
    flex: 1;
    font-size: 0.95rem;
    color: var(--brown);
}

.puja-info-item strong {
    color: var(--maroon-dark);
    font-weight: 600;
}

.puja-info-card .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.puja-info-card .cta-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.puja-info-card .cta-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.puja-info-card .cta-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.puja-info-card .cta-call {
    background: linear-gradient(135deg, #C92E3F, #8B1538);
    color: white;
}

.puja-info-card .cta-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 46, 63, 0.4);
}

/* ==========================================================================
   PUJA FEATURES SECTION
   ========================================================================== */
.puja-features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #8B1538 0%, #C92E3F 50%, #FF6B35 100%);
    position: relative;
    overflow: hidden;
}

.puja-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.puja-features-section .section-header-center h2 {
    color: white;
}

.puja-features-section .section-header-center p {
    color: rgba(255, 255, 255, 0.8);
}

.puja-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.puja-feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
}

.puja-feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.puja-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFB627, #FF8C42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 182, 39, 0.4);
}

.puja-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.puja-feature-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ==========================================================================
   PUJA PRICING SECTION
   ========================================================================== */
.puja-pricing-section {
    padding: 80px 0;
    background: white;
}

.puja-pricing-container {
    max-width: 900px;
    margin: 0 auto;
}

.puja-pricing-card {
    background: linear-gradient(135deg, #FFF8E7 0%, #FFECD2 100%);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 182, 39, 0.3);
    position: relative;
    overflow: hidden;
}

.puja-pricing-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(255, 182, 39, 0.2), rgba(255, 107, 53, 0.2));
    border-radius: 50%;
}

.puja-pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--maroon-dark);
    margin-bottom: 15px;
}

.puja-pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--saffron);
    margin-bottom: 10px;
}

.puja-pricing-card .price-note {
    font-size: 1rem;
    color: var(--brown-light);
    margin-bottom: 30px;
}

.puja-pricing-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    text-align: left;
    margin-bottom: 30px;
}

.puja-pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--brown);
}

.puja-pricing-feature i {
    color: var(--whatsapp);
    font-size: 1.1rem;
}

.puja-pricing-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.puja-pricing-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.puja-pricing-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.puja-pricing-btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

.puja-pricing-btn-call {
    background: linear-gradient(135deg, #FFB627, #FF8C42);
    color: var(--brown);
    box-shadow: 0 8px 30px rgba(255, 182, 39, 0.4);
}

.puja-pricing-btn-call:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 182, 39, 0.5);
}

/* ==========================================================================
   PUJA FAQ SECTION
   ========================================================================== */
.puja-faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFECD2 100%);
}

.puja-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.puja-faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.puja-faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.puja-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.puja-faq-question:hover {
    background: rgba(255, 182, 39, 0.05);
}

.puja-faq-question h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brown);
    flex: 1;
}

.puja-faq-question i {
    color: var(--saffron);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.puja-faq-item.active .puja-faq-question i {
    transform: rotate(180deg);
}

.puja-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.puja-faq-item.active .puja-faq-answer {
    max-height: 500px;
}

.puja-faq-answer-content {
    padding: 0 25px 20px;
    font-size: 0.95rem;
    color: var(--brown-light);
    line-height: 1.7;
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 1024px) {
    .puja-hero h1 {
        font-size: 2.8rem;
    }

    .puja-hero h1 span {
        font-size: 1.6rem;
    }

    .puja-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .puja-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .puja-details-container {
        grid-template-columns: 1fr;
    }

    .puja-details-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .puja-hero {
        min-height: auto;
        padding: 100px 20px 50px;
    }

    .puja-hero h1 {
        font-size: 2.2rem;
    }

    .puja-hero h1 span {
        font-size: 1.4rem;
    }

    .puja-hero-subtitle {
        font-size: 1rem;
    }

    .puja-hero-buttons {
        flex-direction: column;
    }

    .puja-hero-btn {
        width: 100%;
        justify-content: center;
    }

    .puja-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .puja-gallery-item {
        aspect-ratio: 16/10;
    }

    .puja-features-grid {
        grid-template-columns: 1fr;
    }

    .puja-feature-card {
        padding: 25px 20px;
    }

    .puja-pricing-card {
        padding: 35px 25px;
    }

    .puja-pricing-card .price {
        font-size: 2.5rem;
    }

    .puja-pricing-features {
        grid-template-columns: 1fr;
    }

    .puja-pricing-buttons {
        flex-direction: column;
    }

    .puja-pricing-btn {
        width: 100%;
        justify-content: center;
    }

    .section-header-center h2 {
        font-size: 1.8rem;
    }

    .puja-details-main h2 {
        font-size: 1.6rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .puja-hero h1 {
        font-size: 1.8rem;
    }

    .puja-hero h1 span {
        font-size: 1.2rem;
    }

    .puja-hero-badge {
        font-size: 0.8rem;
        padding: 8px 18px;
    }

    .puja-gallery-item {
        aspect-ratio: 4/3;
    }

    .puja-feature-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   MOBILE BOTTOM NAV OVERRIDES FOR PUJA PAGES
   ========================================================================== */
@media (max-width: 768px) {
    body {
        padding-bottom: 85px !important;
    }
}
