:root {
    --primary-color: #d4a017; /* Gold */
    --secondary-color: #ff9933; /* Saffron */
    --accent-color: #8b0000; /* Dark Red */
    --bg-light: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --dark-bg: #121212;
    --dark-card: #1e1e1e;
    --transition-speed: 0.3s;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --gold-gradient: linear-gradient(45deg, #d4a017, #f1c40f);
    --saffron-gradient: linear-gradient(45deg, #ff9933, #ffcc33);
}

[data-theme="dark"] {
    --bg-light: #121212;
    --text-dark: #f5f5f5;
    --text-light: #1a1a1a;
    --dark-bg: #ffffff;
    --dark-card: #2d2d2d;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Header & Navbar */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: color var(--transition-speed);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--accent-color);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-speed);
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-top: 3px solid var(--primary-color);
    max-height: 400px;
    overflow-y: auto;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: background 0.3s;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 10%;
}

.slide-overlay h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease forwards;
}

.slide-overlay p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease forwards 0.6s;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--gold-gradient);
    color: #000;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-transform: uppercase;
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary-color);
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 160, 23, 0.4);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #000;
}

/* Quick Services */
.quick-services {
    padding: 5rem 5%;
    background-color: var(--bg-light);
    text-align: center;
}

.quick-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quick-btn {
    background: var(--dark-card);
    color: var(--text-dark);
    padding: 2rem 1rem;
    border-radius: 15px;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.quick-btn i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.quick-btn:hover {
    transform: translateY(-10px);
    background: var(--saffron-gradient);
    color: #fff;
}

.quick-btn:hover i {
    color: #fff;
}

/* Why Choose Us */
.why-choose-us {
    padding: 6rem 5%;
    background: #fdf5e6; /* Cream/Saffron tint */
}

[data-theme="dark"] .why-choose-us {
    background: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #000;
}

/* Puja Cards */
.puja-section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.puja-card {
    background: var(--dark-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid rgba(212, 160, 23, 0.1);
}

.puja-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.puja-card-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

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

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

.puja-rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.puja-card-content {
    padding: 2rem;
}

.puja-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.puja-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 1rem 0;
}

/* Reviews Section */
.reviews-section {
    padding: 6rem 5%;
    background: #fff;
}

.review-card {
    background: var(--dark-card);
    padding: 3rem 2rem;
    border-radius: 25px;
    position: relative;
    text-align: center;
}

.review-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: rgba(212, 160, 23, 0.2);
}

/* Blog Section */
.blog-section {
    padding: 6rem 5%;
    background: #f9f9f9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-card {
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-img {
    height: 250px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 5%;
}

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

.faq-item {
    background: var(--dark-card);
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.05);
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem;
    max-height: 300px;
}

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

/* Footer */
footer {
    background: #1a0a00; /* Very dark saffron/black */
    color: #fff;
    padding: 6rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ccc;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* Sticky Elements */
.whatsapp-sticky {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
}

/* Theme Toggle */
.theme-toggle {
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .slide-overlay h2 { font-size: 3rem; }
    .nav-menu { gap: 1rem; }
}

@media (max-width: 768px) {
    .navbar { padding: 1rem 5%; }
    .hamburger { display: block; color: #fff; font-size: 1.8rem; cursor: pointer; }
    
    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        flex-direction: column;
        background-color: var(--accent-color);
        width: 100%;
        text-align: center;
        transition: 0.4s;
        padding: 3rem 0;
        height: calc(100vh - 75px);
        overflow-y: auto;
    }

    .nav-menu.active { left: 0; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; max-height: none; }
    .slide-overlay h2 { font-size: 2.2rem; }
    .slide-overlay p { font-size: 1.1rem; }
}
