/* GLOBAL */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
	height: 100%;
    margin: 0;
    overflow-x: hidden;
}

/* ===== LOGIN PAGE ===== */

/* BACKGROUND */
.login-page {
    background:
        linear-gradient(rgba(255,140,0,0.4), rgba(255,200,150,0.5)),
        url('../img/Temple_bg.png');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-template-page-login {
    background:
        linear-gradient(
            rgba(255,140,0,0.4),
            rgba(255,200,150,0.5)
        ),
        url('../img/Temple_bg.png');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* OVERLAY (Blur Effect) */
.login-page .overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background: rgba(0,0,0,0.3);

    display: flex;
    justify-content: center;
    align-items: center;
}

/* MODAL CARD */
.login-page .auth-card {
    background: #fffaf5;
    padding: 2rem;
    border-radius: 1rem;
    width: 25rem;
    text-align: center;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.4);
    position: relative;
}

/* CLOSE BUTTON */
.login-page .close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* TITLE COLOR */
.login-page .auth-card h2 span {
    color: #e67e22;
}

/* INPUT */
.login-page .auth-card input {
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 0.3rem;
}

/* BUTTON */
.login-page .btn-primary {
    width: 100%;
    margin-top: 1rem;
}

/* LINK */
.login-page .auth-link {
    margin-top: 1rem;
}

.login-page .auth-link a {
    color: #e67e22;
    text-decoration: none;
}


/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 2.5rem;
    background: #fff;
    border-bottom: 1px solid #eee;
	height: 4rem;
    flex-shrink: 0;
}
/* LOGO (FIXED - no underline) */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo img {
    width: 5rem;
}

.logo-text h2 {
    margin: 0;
    font-size: 1.25rem;
}

.logo-text span {
    color: #e67e22;
}

.logo-text p {
    margin: 0;
    font-size: 0.6rem;
    color: #888;
}

/* NAV */
.nav {
    display: flex;
    align-items: center;
}

/* FIX: WordPress UL */
.nav-menu {
    display: flex;
    gap: 1.2rem;

    list-style: none;
    margin: 0;
    padding: 0;
}

/* FIX: remove bullets */
.nav-menu li {
    list-style: none;
}

.nav-menu li a{
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
}

.nav-menu li a:hover,
.nav-menu .current-menu-item a {
    color: #e67e22;
}

/* RIGHT */
.right-section {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.phone {
    display: flex;
    gap: 0.5rem;
    color: #e67e22;
}

/* BUTTON */
.login-btn {
    background: #e67e22;
    color: white;
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 0.4rem;
}

/* TOOLTIP */
.tooltip {
    position: relative;
}

.tooltiptext {
    visibility: hidden;
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    background: black;
    color: white;
    padding: 0.3rem;
    font-size: 0.7rem;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* Scrollable content */
.main-content {
    height: calc(100vh - 4rem); /* minus header height */
    overflow-y: auto;
}

/* HERO */
.hero {
    height: 28rem;
    display: flex;
    align-items: center;
    padding: 0 4rem;

    /* BACKGROUND IMAGE */
    background: 
        linear-gradient(
            to right,
            rgba(255, 248, 235, 0.95) 40%,
            rgba(255, 255, 255, 0.1) 100%
        ),
        url('../img/hero-pooja.png');

    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

/* HERO TEXT */
.hero-content {
    max-width: 35rem;
}

.hero-content h1 {
    font-size: 2.2rem;
}

.hero-content span {
    color: #e67e22;
}

.hero-content p {
    color: #555;
    margin: 1rem 0;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: #e67e22;
    color: white;
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 0.4rem;
}

.btn-outline {
    border: 1px solid #aaa;
    padding: 0.6rem 1.4rem;
    background: transparent;
	border-radius: 0.5rem;
}

/* FEATURES */
.features-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -3rem;
}

.features {
    background: white;
    width: 85%;
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    border-radius: 0.7rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}

/* FEATURE ITEM */
.feature {
    text-align: center;
    width: 18%;
    border-right: 1px solid #eee;
}

.feature:last-child {
    border-right: none;
}

.feature i {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.feature h4 {
    margin: 0.3rem 0;
}

.feature p {
    font-size: 0.75rem;
    color: #777;
}

/* POOJA SECTION */
.pooja-section {
    padding: 3rem 2rem;
    text-align: center;
    background: white;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

/* CARDS CONTAINER */
.pooja-cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* SINGLE CARD */
.pooja-card {
    background: #fff;
    flex: 1 1 220px;
    max-width: 260px;
    border-radius: 0.6rem;
    box-shadow: 0 0.3rem 0.8rem rgba(0,0,0,0.1);
    padding-bottom: 1rem;
    transition: 0.3s;
}

.pooja-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.pooja-card img {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    border-top-left-radius: 0.6rem;
    border-top-right-radius: 0.6rem;
}

/* TEXT */
.pooja-card h4 {
    margin: 0.5rem 0;
    font-size: 0.85rem;
}

.price {
    color: #e67e22;
    font-weight: 600;
}

.duration {
    font-size: 0.7rem;
    color: #777;
}

.rating {
    font-size: 0.7rem;
    color: #f39c12;
}

/* BUTTON */
.pooja-card button {
    margin-top: 0.5rem;
    background: #e67e22;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 0.3rem;
    cursor: pointer;
    font-size: 0.75rem;
}

/* VIEW ALL */
.view-all {
    margin-top: 1.5rem;
}

/* HOW IT WORKS */
.how-section {
    padding: 3rem 2rem;
    text-align: center;
    background: #fff7f0;
}

.steps {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.step {
    width: 20%;
    text-align: center;
}

.step i {
    font-size: 1.5rem;
    background: #fff;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 0.3rem 0.6rem rgba(0,0,0,0.1);
    margin-bottom: 0.5rem;
}

.step h4 {
    margin: 0.5rem 0;
}

.step p {
    font-size: 0.75rem;
    color: #666;
}

/* MIDDLE SECTION (CENTERED + NOT FULL WIDTH) */
.middle-section {
    width: 80%;              /* control width */
    margin: 3rem auto;       /* center horizontally */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* EACH BLOCK */
.packages,
.testimonial {
    width: 48%;
}

/* VERTICAL SEPARATOR LINE */
.middle-section::after {
    content: "";
    position: absolute;
}

/* BETTER APPROACH (cleaner line) */
.packages {
    border-right: 1px solid #ddd;
    padding-right: 2rem;
}

.testimonial {
    padding-left: 2rem;
}

/* TEXT STYLING */
.quote {
    font-style: italic;
    color: #555;
}

/* FOOTER */
.footer {
    background: #f9f9f9;
    padding: 1rem 2rem; /* reduced from 2rem */
}

/* TOP SECTION */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* EACH ITEM */
.footer-item {
    width: 22%;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* less spacing */
}

/* ICON */
.footer-item i {
    font-size: 1.2rem; /* reduced */
    color: #e67e22;
}

/* TEXT */
.footer-item p {
    font-size: 0.7rem; /* smaller text */
    margin: 0;
    line-height: 1.2;
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.65rem;
    color: #888;
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 1024px) {

    /* NAV spacing */
    .nav {
        gap: 0.8rem;
    }

    .nav a {
        font-size: 0.8rem;
    }

    /* HERO */
    .hero {
        padding: 0 2rem;
        height: 24rem;
    }

    /* FEATURES */
    .features {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .feature {
        width: 45%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 1rem;
    }

    .feature:nth-child(odd) {
        border-right: 1px solid #eee;
    }

    /* CARDS */
    .pooja-card {
        width: 45%;
    }

    /* MIDDLE SECTION */
    .middle-section {
        flex-direction: column;
        text-align: center;
    }

    .packages {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 0 0 1.5rem 0;
        width: 100%;
    }

    .testimonial {
        padding: 1.5rem 0 0 0;
        width: 100%;
    }

    /* FOOTER */
    .footer-item {
        width: 45%;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    /* HEADER */
    .header {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 1rem;
        gap: 0.5rem;
    }

    /* NAV → stack */
    .nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav a {
        font-size: 0.75rem;
    }

    /* RIGHT SECTION */
    .right-section {
        width: 100%;
        justify-content: space-between;
    }

    /* HERO */
    .hero {
        height: auto;
        padding: 2rem 1rem;
        text-align: center;
        background-position: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* FEATURES */
    .features {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        width: 100%;
        border: none;
    }

    /* CARDS */
    .pooja-card {
        width: 90%;
    }

    /* FOOTER */
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-item {
        width: 100%;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {

    .logo img {
        width: 3.5rem;
    }

    .logo-text h2 {
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }
}