/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    background: #f5f5f5;
    color: #333;
}
/* RESET */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    padding-top: 110px; /* header height */
}

/* HEADER FIXED */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #8b0000, #b22222);
    color: #fff;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    transition: 0.3s ease;
}

/* HEADER CONTAINER */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
}

/* LOGO */
.logo h1 {
    margin: 0;
    font-size: 22px;
}

.logo p {
    margin: 3px 0 0;
    font-size: 12px;
    opacity: 0.9;
}

/* NAV LINKS */
.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    position: relative;
    transition: 0.3s;
}

/* Hover underline animation */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #d4af37;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #ffd700;
}

/* MOBILE MENU BUTTON */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

.main-header.shrink {
    padding: 5px 0;
    background: #7a0000;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: #8b0000;
        flex-direction: column;
        width: 220px;
        padding: 20px;
        transform: translateX(100%);
        transition: 0.4s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
    }
}
/* ===== HERO SECTION ===== */
.hero {
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeUp 1.2s ease-in-out;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #ffcc00;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    padding: 14px 35px;
    background: #ffcc00;
    color: #000;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: orange;
    transform: scale(1.05);
}

/* ===== SECTION COMMON ===== */
section {
    padding: 70px 10%;
}

section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
    color: #8B0000;
}

/* ===== ABOUT SECTION ===== */

.about-section {
    padding: 90px 8%;
    background: linear-gradient(135deg, #fffdf7, #ffeede);
}

.about-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    align-items: center;
}

/* Image */
.about-image img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    animation: floatImage 4s ease-in-out infinite;
}

/* Content */
.about-content h2 {
    font-size: 36px;
    color: #8B0000;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 18px;
    color: #555;
    line-height: 1.7;
}

.about-highlights {
    margin: 25px 0;
}

.about-highlights div {
    margin-bottom: 10px;
    font-weight: 500;
}

/* Button */
.about-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #8B0000;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.about-btn:hover {
    background: #ffcc00;
    color: black;
}

/* Scroll Animation */
.about-image,
.about-content {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s ease;
}

.about-image.show,
.about-content.show {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Image Animation */
@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media(max-width:768px){
    .about-section {
        text-align: center;
    }
}

/* ===== POPULAR POOJA ===== */
.pooja-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.pooja-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: 0.4s;
    text-align: center;
    padding-bottom: 20px;
}

.pooja-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pooja-card h3 {
    margin: 15px 0 5px;
}

.price {
    color: #8B0000;
    font-weight: bold;
    margin-bottom: 10px;
}

.pooja-card button {
    padding: 10px 20px;
    border: none;
    background: #8B0000;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.pooja-card button:hover {
    background: #ffcc00;
    color: black;
}

.pooja-card:hover {
    transform: translateY(-10px);
}
.services {
    padding: 90px 10%;
    background: linear-gradient(135deg, #f8f1df, #f1e0b8);
    text-align: center;
}

.section-title {
    font-size: 38px;
    color: #8b0000;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #555;
    margin-bottom: 50px;
}

/* GRID LAYOUT */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* SERVICE CARD */
.service-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Decorative top border */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #8b0000, #d4af37);
}

/* Hover animation */
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* Title */
.service-card h3 {
    font-size: 20px;
    color: #8b0000;
    margin-bottom: 12px;
}

/* Description */
.service-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* Hidden services initially */
.extra-service {
    display: none;
}

/* See More Button */
.see-more-btn {
    margin-top: 50px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #8b0000, #b22222);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.4s;
}

.see-more-btn:hover {
    background: linear-gradient(135deg, #d4af37, #c19a2b);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
}
/* ===== WHY SECTION ===== */

.why-section {
    background: linear-gradient(135deg, #fff5e6, #ffe6cc);
    padding: 80px 8%;
    text-align: center;
}

.why-title {
    font-size: 36px;
    margin-bottom: 50px;
    color: #8B0000;
}

.why-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    opacity: 0;
    transform: translateY(50px);
}

.why-card span {
    font-size: 30px;
    display: block;
    margin-bottom: 15px;
}

.why-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.why-card p {
    font-size: 14px;
    color: #666;
}

.why-card:hover {
    transform: translateY(-10px);
    background: #fff0d9;
}

/* animation active class */
.why-card.show {
    opacity: 1;
    transform: translateY(0);
    transition: 0.8s ease;
}
/* SECTION BACKGROUND */
.contact-section {
    padding: 80px 10%;
    background: linear-gradient(135deg, #f6e5c3, #e8d3a4);
    text-align: center;
}

/* TITLE */
.contact-title {
    font-size: 40px;
    color: #8b0000;
    margin-bottom: 50px;
    position: relative;
}

.contact-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #d4af37;
    display: block;
    margin: 10px auto 0;
    border-radius: 5px;
}

/* CONTAINER SIDE BY SIDE */
.contact-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

/* COMMON CARD STYLE */
.contact-info,
.contact-form {
    flex: 1;
    min-width: 320px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: 0.4s ease;
}

/* HOVER EFFECT */
.contact-info:hover,
.contact-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

/* SUB HEADINGS */
.contact-info h3,
.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #8b0000;
}

/* CONTACT ITEMS */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 10px;
    transition: 0.3s;
}

.contact-item span {
    font-size: 20px;
    margin-right: 15px;
    background: #8b0000;
    color: #fff;
    padding: 8px;
    border-radius: 50%;
    min-width: 35px;
    text-align: center;
}

.contact-item:hover {
    background: rgba(139, 0, 0, 0.08);
    transform: translateX(6px);
}

/* FORM INPUTS */
.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    transition: 0.3s;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #8b0000;
    box-shadow: 0 0 8px rgba(139, 0, 0, 0.2);
}

/* BUTTON STYLE */
.contact-form button {
    padding: 14px;
    background: linear-gradient(135deg, #8b0000, #b22222);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.4s;
}

.contact-form button:hover {
    background: linear-gradient(135deg, #d4af37, #c19a2b);
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
}

/* ===== FOOTER ===== */

.footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer h3 {
    margin-bottom: 10px;
}

.footer p {
    margin-bottom: 15px;
    font-size: 14px;
}

.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ffcc00;
    transform: scale(1.2);
}

/* Scroll Animation */
.contact-info,
.contact-form {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.contact-info.show,
.contact-form.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ANIMATION ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px) {

    nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero h2 {
        font-size: 28px;
    }

    section {
        padding: 50px 5%;
    }
}