* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fdf497 !important;
    color: #000;
    line-height: 1.6;
}

/* ================= HEADER ================= */

.site-header {
    background: radial-gradient(circle at center, #fbf89c 39%, #d8a335);
    position: relative;
    z-index: 10;

}
header.site-header {
    position: relative;
    z-index: 1;
}
.top-nav {
    display: flex;
    flex-wrap: nowrap;       
    justify-content: center; 
    gap: 10px;
    padding: 15px 5px 15px 5px; 
    background: #a43400;
   min-height: 60px;

}
.top-nav a {
    background: #fff3c4;
    padding: 8px 14px;
    border-radius: 8px;
    color: #000;
    
    font-weight: bold;
    height:60px;
    text-decoration: none;
    border: 1px solid #8b2e00;
    font-size: 14px;
    white-space: normal;   
    text-align: center;     
    flex-shrink: 0;         
    max-width: 250px;       
    box-sizing: border-box; 
}



/* HERO */

.hero {
    text-align: center;
    padding: 30px 15px;
    
}

.hero img {
    max-width: 50%;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 26px;
    font-weight: bold;
}

/* ================= MAIN ================= */

.site-main {
    padding: 20px;
}

/* ================= FOOTER ================= */

.site-footer {
    background: #a43400;
    color: #fff;
    text-align: center;
    padding: 25px 15px;
    position: relative;

    border-top: 6px solid transparent;   /* Required */
    /*border-image: linear-gradient(to right, #daa83b, #fbf89c, #d8a335, #fbf89c) 1;*/
}

.site-footer a {
    color: rgb(252, 208, 10);
    text-decoration: none;
}

.footer-links {
    margin-bottom: 10px;

}

.footer-text {
    margin: 5px 0;
}

.footer-copy {
    margin-top: 10px;
    font-size: 14px;
}

.social-icons {
    margin-top: 15px;
}

.social-icons img {
    width: 34px;
    height: 34px;        /* make it square */
    border-radius: 50%;  /* circular shape */
    object-fit: cover;   /* fills the circle properly */
    margin: 0 6px;
}

/*content*/
.content-block {
    margin: 10px auto;       /* centers content */
    padding: 10px 30px;       /* 15px top/bottom, 5px left/right */
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #1f0b0b;
    text-align: justify;     /* aligns text on both left and right */
}

.content-block p {
    margin-bottom: 10px;
}

.content {
    font-weight: bold;
    font-size: 18px;
    color: #a43400;
}

.content-block ol {
    list-style-position: inside;  /* numbers stay inside padding */
     margin-bottom: 10px;
}
/*contact form*/
/* Contact Form Styles */
.contact-section {
    max-width: 600px;
    margin: 20px auto;
    padding: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f0b0b;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007acc; /* you can change to match your theme */
}

.contact-form button {
    margin-top: 20px;
    padding: 12px;
    background: #218d51ff; /* change color to your theme */
    color: white;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
    width: 150px;   
    align-self: center; 
}

.contact-form button:hover {
    background: #005fa3;
}
/*search*/
.search-container {
    text-align: right;
    margin: 10px 20px;
}
.search-container input {
    padding: 6px 10px;
    width: 200px;
    border: 1px solid;
    border-radius: 5px;
    background-color: #a43400;
    color: #ffffff;
}
#searchInput::placeholder {
    color: white;   /* Change to any color you want */
    opacity: 1;
}
/* ================= MOBILE SIDEBAR ================= */

.mobile-toggle {
    display: none;
}

/* Hide close button initially */
.close-btn {
    display: none;
}
.faq-container {
    width: 100%;
    margin: 20px auto;
    padding: 0 20px; /* 20px space from left and right edges */
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.faq-section-title {
    font-size: 24px;
    font-weight: bold;
    color: #d62121;
    margin-bottom: 30px;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px; 
}

.faq-item {
    display: flex;
    flex-direction: column;
}

.faq-question {
    font-weight: 500;
    padding: 10px 15px; 
    /*border: 2px solid #ffd54f;*/
    /*border-radius: 20px;*/
    background: #a43400;
    color: #fff;
    /*margin-bottom: 8px;*/
}

.faq-answer {
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    background: #fff8f8;
    color: #852828;
    line-height: 1.5; 
}
/* Container */
.gallery-container {
    margin: 40px auto;
    padding: 0 20px; /* 20px from browser edges */
    box-sizing: border-box;
}

/* Grid */
.gallery-grid {
    display: grid;
    max-width: 1200px;  /* Reduce overall width */
    margin: 0 auto;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;          /* Proper spacing */
}


/* Card */
.gallery-item {
    border-radius: 12px;
    text-align: center;
    display: block;
}

/* Image Styling */
.gallery-item img {
    width: 100%;
    height: auto;        /* Important */
    max-width: 100%;
    display: block;
    border-radius: 8px;
}
.back-button-wrapper {
    max-width: 1100px;
    padding: 5 15px;
    margin-left: 15px;
    margin-top: 15px;
}

.back-button {
    display: inline-block;
    font-size: 18px;
    text-decoration: none;
     padding: 6px 14px; 
    color: white;
    background-color: #008000;
    border-radius: 20px;
}
@media (max-width: 768px) {

    .mobile-toggle {
        display: flex;
        justify-content: flex-end; /* 👈 hamburger left */
        padding: 10px 15px;
        background: #a43400;
    }

    .hamburger {
        font-size: 28px;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
    }

     /*SIDEBAR */
    /*.top-nav {*/
    /*    position: fixed;*/
    /*    top: 0;*/
    /*   left: -100%;*/
    /*    width: 100%;*/
    /*    height: 100vh;*/
    /*    display: flex !important;*/
    /*    flex-direction: column;*/
    /*    padding: 20px;*/
    /*    padding-top: 60px;*/
    /*    gap: 15px;*/
    /*    overflow-y: auto;*/
        /*background: linear-gradient(*/
        /*    to bottom,*/
        /*    #fbf89c,*/
        /*    #fddf73,*/
        /*    #d8a335,*/
        /*    #a43400*/
        /*);*/
    /*      background-color: #a43400;*/
    /*    transition: left 0.3s ease;*/
    /*     z-index: 999999 !important;  */
    /*}*/
    
    /* SIDEBAR */

.site-header {
    position: static !important;
}
    .top-nav.active {
        left: 0;
    }
.hero {
        position: relative;          /* required for z-index to work */
        z-index: 1;                  /* lower than sidebar */
    }
    /*.top-nav a {*/
    /*    width: 100%;*/
    /*    max-width: 100%;*/
    /*    border-radius: 0;*/
    /*    height: auto;*/
    /*    padding: 12px 15px;*/
    /*}*/
    
    .top-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;

    /* KEEP YOUR GRADIENT */
    background: linear-gradient(to bottom, #b65c00, #7a2d00);

    display: flex;
    flex-direction: column;

    padding-top:55px;
    margin: 0 !important;

    gap: 0 !important;                     /* remove desktop gap */
    justify-content: flex-start !important;

    z-index: 999999;
    
}
.top-nav a {

    /* REMOVE desktop button styles */
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    flex-shrink: 1 !important;

    width: 100%;
    display: block;

    padding: 5px 18px;
    margin: 0;
    color:white;
    text-align: left !important;

    /* Fix text breaking */
    white-space: normal !important;
    word-break: normal !important;

    /* Full width bottom line */
    border-bottom: 1.5px solid #e6e453 !important;

    font-size: 15px;
    line-height: 1.4;

    box-sizing: border-box;
}

    /* CLOSE BUTTON INSIDE SIDEBAR */
    .close-btn {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 30px;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        display: none;
    }

    .top-nav.active .close-btn {
        display: block;
    }
     /* ================= MAIN ================= */

    .site-main {
        padding: 15px;
    }

    /* ================= HEADINGS ================= */

    h1 {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .content {   /* Your H2 */
        font-size: 16px;
        font-weight: bold;
        color: #a43400;
    }

    /* ================= CONTENT BLOCK ================= */

    .content-block {
        margin: 10px auto;
        padding: 10px 20px;
        font-size: 15px;
        line-height: 1.6;
    }

    .content-block p {
        margin-bottom: 8px;
    }

    .content-block ol {
        list-style-position: inside;
        padding-left: 0;
    }

    /* ================= FOOTER ================= */

    .site-footer {
        padding: 20px 10px;
    }

    .footer-copy {
        font-size: 12px;
    }

    .footer-links {
        margin-bottom: 8px;
    }

    .social-icons img {
        width: 28px;
        height: 28px;
        margin: 0 4px;
    }

    /* ================= CONTACT FORM ================= */

    .contact-section {
        max-width: 100%;
        padding: 0 20px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
    }

    .contact-form button {
        border-radius: 8px;
        padding: 10px;
    width: 120px;
    margin: 20px auto;
    display: block;
    }

    /* ================= SEARCH ================= */

    .search-container {
        text-align: center;
        margin: 10px 0;
    }

    .search-container input {
        width: 100%;
        max-width: 250px;
        font-size: 14px;
    }

   /* OUTER YELLOW SECTION SPACING */
    .pandit-detail-container {
        width: 92%;              /* gives side spacing */
        margin: 20px auto;       /* center horizontally */
        padding: 15px;
        box-sizing: border-box;
        border-radius: 14px;
    }

    /* INNER CARD */
    .detail-content {
        flex-direction: column;
        gap: 18px;
        padding: 20px 15px;
        border-radius: 12px;
        text-align: center;      /* center all inner content */
    }

    /* LEFT & RIGHT FULL WIDTH */
    .detail-left,
    .detail-right {
        width: 100%;
    }

    /* USER CODE TITLE */
    .detail-usercode {
        font-size: 20px;
        margin-bottom: 15px;
        text-align: center;
        font-weight: 600;
    }

    /* IMAGE */
    .pandit-detail-image {
        width: 100%;
        height: auto;
        max-height: 220px;
        object-fit: contain;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    /* NAME + EXPERIENCE CENTERED */
    .detail-info {
        text-align: center;
    }

    .detail-info p {
        font-size: 15px;
        /*margin: 6px 0;*/
    }

    .detail-info h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    /* PUJA LIST CENTER */
    .detail-box {
        text-align: center;
    }

    .detail-box h3 {
        font-size: 16px;
        /*margin-bottom: 8px;*/
    }

    .detail-box ul {
        list-style: none;       /* remove bullets */
        padding: 0;
        margin: 0;
    }

    .detail-box ul li {
        font-size: 15px;
        /*margin: 6px 0;*/
    }

    /* ADDRESS CENTER */
    .detail-address {
        text-align: center;
    }

    .detail-address p {
        font-size: 14px;
        margin: 6px 0;
    }

    /* BUTTON ROW STACK */
    .bottom-action-row {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        margin-top: 15px;
    }

    .contact-btn {
        width: 85%;
        padding: 12px;
        font-size: 16px;
        border-radius: 8px;
    }

    .book-now-btn {
        width: 85%;
        padding: 12px;
        font-size: 15px;
        border-radius: 8px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /* ========================= */
    /* Tambrapatra Outside Section */
    /* ========================= */

    .tambrapatra-outside {
        flex-direction: column;
        width: 95%;
         margin-left: auto;      /* Center horizontally */
        margin-right: auto;
        gap: 20px;
        text-align: center;
         box-sizing: border-box;
          padding-left: 20px;     /* Add space from left */
        padding-right: 20px;    /* Add space from right */
    }
    .tambrapatra-left,
    .tambrapatra-right {
        width: 100%;
    }

    .tambrapatra-image {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }
    .tambrapatra-right p {
        font-size: 14px;
        line-height: 1.6;
        text-align: justify;
    }
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px; /* smaller gap for mobile */
    }
    .gallery-grid {
        grid-template-columns: 1fr; /* 2 columns for tablets */
        gap: 15px; /* slightly smaller gap */
    }
     .back-button-wrapper {
        padding: 0 15px;
        margin: 10px auto 0;
    }

    .back-button {
        font-size: 13px;
    }
.pandits-container {
        grid-template-columns: 1fr !important;
    }
}
/*cards*/
.pandits-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* exactly 4 horizontal */
    gap: 20px;
    width: 90%;
    margin: 40px auto;
}
.pandit-card {
    position: relative;             
    /*background: linear-gradient(to right, #b8881f, #eee085);*/
    background-color:white;
    padding: 40px 20px 9px 20px;  /* space for User Code */
    border-radius: 12px;
    /*box-shadow: 0 4px 10px rgba(0,0,0,0.1);*/
    border: 3px solid #eed12f;
}

/* User Code top-left */
.usercode-label {
    position: absolute;
    top: 10px;
    left: 10px;
    /*background-color: #fbf89c;*/
    color: maroon;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 5px;
    z-index: 10;
}

/* Row: photo + details */
.card-row {
    display: flex;
    align-items: flex-start;
}

/* LEFT PHOTO */
.pandit-photo {
    width: 120px;
    height: 120px;
    margin-right: 15px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.pandit-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT DETAILS */
.pandit-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    color:black;
}

.pandit-details h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: maroon;;
}

.pandit-details p {
    margin: 2px 0;
    font-size: 14px;
}

/* BUTTON ROW */
.card-button {
    width: 100%;
    display: flex;
    justify-content: center;   /* center the button horizontally */
    margin-top: 12px;
}

/* View More Button */
.view-btn {
    padding: 10px 20px;
    background-color: #3d7c1b;
    color: white;
    font-weight: bold;
    font-size: 14px;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
}
/* ===================================
   PANDIT DETAIL – FULL THEME STYLE
=================================== */
/* MAIN CONTAINER SMALL */
.pandit-detail-container {
    max-width: 563px;
    margin: 30px auto;
    padding: 20px;
    border: 2px solid darkorange;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* FLEX LAYOUT */
.detail-content {
    display: flex;
    gap: 4px;
}

/* LEFT + RIGHT */
.detail-left,
.detail-right {
    flex: 1;
}

/* IMAGE */
.pandit-detail-image {
    width: 65%;
    height: 158px;
    object-fit: cover;
    border-radius: 12px;
}

/* USER CODE */
.detail-usercode {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #bf360c;
}

/* DETAIL BOX */
.detail-box {
    margin-bottom: 15px;
}
.detail-box h3{
    text-align: center;
}
/* PUJA SCROLL */
.puja-scroll {
    max-height: 120px;
    overflow-y: auto;
    padding-right: 5px;
}

.puja-scroll ul {
    padding-left: 18px;
    list-style: none;
    text-align: center;
}

/* MAP */
.map-btn {
    color: #008000;        /* Green text */
    font-weight: 600;
    text-decoration: none;
    background: none;      /* No background */
}

.map-btn:hover {
    text-decoration: underline;
}

.map-box {
    display: none;
    margin-top: 10px;
}

.map-box iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 10px;
}

/* LAST ROW */
.bottom-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*margin-top: 20px;*/
    border-top: 1px solid #ddd;
    padding-top: 7px;
}

/* WHATSAPP IMAGE */
.whatsapp-btn {
    background: #25D366;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    transition: 0.3s;
}



/* BOOK BUTTON */
.book-btn {
    background: green;
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}
/* OUTSIDE SECTION */
.tambrapatra-outside {
    max-width: 1300px;
    margin: 30px auto;
    display: flex;
    gap: 15px;
    /* reduced gap */
    align-items: flex-start;
    padding: 15px 0;
}

/* LEFT IMAGE */
.tambrapatra-left {
    flex: 0 0 auto;
    /* only as big as image */
    margin-right: 12px;
}

.tambrapatra-image {
    width: 110px;
    /* slightly bigger but compact */
    /*height: auto;*/ 
    height: 110px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* RIGHT TEXT */
.tambrapatra-right {
    flex: 1;
    /* text takes rest */
}

.tambrapatra-right p {
    font-size: 16px;
    color: black;
    line-height: 1.6;
}
