/*
Theme Name: Spiritual Healer Baba
Theme URI: https://indianastrologerinusa.com/
Author: Spiritual Healer Baba
Author URI: https://indianastrologerinusa.com/
Description: A premium WordPress theme for Spiritual Healers, Astrologers, and Psychics. Fully customizable with hero sliders, services grid, testimonials, locations, blog, and contact forms. All sections editable via WordPress Customizer. Includes custom post types for services and locations, menu support, widget areas, and responsive design.
Version: 1.0.2
Requires at least: 5.5
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spiritual-healer-baba
Tags: one-column, two-columns, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, portfolio, e-commerce
*/

/* ============================================
   CSS VARIABLES & RESET
============================================ */
:root {
    --saffron: #ff7e00;
    --saffron-dark: #d64500;
    --gold: #ffa500;
    --gold-light: #ffcc33;
    --bg: #ffffff;
    --bg-dark: #0d0d0d;
    --text: #141414;
    --text-muted: #666666;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --card-bg: #ffffff;
    --section-bg: #fafafa;
    --footer-bg: #0d0d0d;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
    --radius: 12px;
    --radius-sm: 8px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--saffron); text-decoration: none; transition: color .2s; }
a:hover { color: var(--saffron-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text); margin: 0 0 .6em; line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
p { margin: 0 0 1rem; color: var(--text-muted); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.section-title { text-align: center; margin-bottom: 16px; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 720px; margin: 0 auto 48px; font-size: 1.1rem; }
.accent { color: var(--saffron); }

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    font-family: var(--font-body);
}
.btn-primary { background: var(--saffron); color: #fff; border-color: var(--saffron); }
.btn-primary:hover { background: var(--saffron-dark); border-color: var(--saffron-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--saffron); color: var(--saffron); }
.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }
.btn-lg { padding: 16px 40px; font-size: 17px; }

/* ============================================
   HEADER & NAV
============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-logo { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--saffron), var(--gold)); display: grid; place-items: center; color: #fff; font-size: 26px; }
.site-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.site-title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--text); line-height: 1.1; margin: 0; }
.site-description { font-size: .85rem; color: var(--text-muted); margin: 0; }
.main-navigation ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.main-navigation li { position: relative; }
.main-navigation a { color: var(--text); font-weight: 500; font-size: 15px; padding: 8px 0; display: inline-block; position: relative; }
.main-navigation a:hover, .main-navigation .current-menu-item > a, .main-navigation .current_page_item > a { color: var(--saffron); }
.main-navigation .current-menu-item > a::after, .main-navigation .current_page_item > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--saffron); }
.main-navigation ul ul { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 12px; min-width: 220px; flex-direction: column; gap: 4px; z-index: 10; }
.main-navigation li:hover > ul { display: flex; }
.main-navigation ul ul a { padding: 8px 12px; border-radius: 6px; }
.main-navigation ul ul a:hover { background: #fff5ec; }
.menu-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--text); padding: 8px; }

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
    .main-navigation.toggled { display: block; }
    .main-navigation ul { flex-direction: column; gap: 0; padding: 16px 20px; }
    .main-navigation ul ul { position: static; display: flex; box-shadow: none; border: 0; padding: 8px 0 8px 16px; }
    .main-navigation li:hover > ul { display: flex; }
}

/* ============================================
   HERO SLIDER
============================================ */
.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: #0a0a0a;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
    background-size: cover;
    background-position: center;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 50%, rgba(255,126,0,.35) 100%);
}
.hero-slide.active { opacity: 1; }
.hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.hero-slides-content { position: relative; }
.hero-content { display: none; max-width: 760px; }
.hero-content.active { display: block; animation: shbFadeIn .6s ease; }
@keyframes shbFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: rgba(255,126,0,.2); border: 1px solid rgba(255,126,0,.5); color: var(--gold-light); border-radius: 999px; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.hero-title { font-size: clamp(2.4rem, 6vw, 5rem); color: #fff; margin-bottom: 24px; max-width: 700px; }
.hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,.85); max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 22px; transition: background .2s; }
.hero-nav:hover { background: rgba(255,255,255,.25); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-dots { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.35); border: 0; cursor: pointer; padding: 0; transition: all .2s; }
.hero-dot.active { background: var(--saffron); width: 32px; }
.hero-scroll { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: 12px; text-align: center; z-index: 3; }

/* ============================================
   INTRO & FEATURES
============================================ */
.intro { background: #fff; }
.intro-lead { max-width: 860px; margin: 0 auto 48px; text-align: center; font-size: 1.15rem; line-height: 1.7; color: var(--text-muted); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.feature-card { padding: 32px 24px; text-align: center; background: var(--section-bg); border-radius: var(--radius); border: 1px solid var(--border); transition: all .3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--saffron); }
.feature-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 16px; background: linear-gradient(135deg, #fff5ec, #ffe4c9); display: grid; place-items: center; font-size: 28px; color: var(--saffron); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { font-size: .95rem; margin: 0; }

/* ============================================
   SERVICES GRID
============================================ */
.services { background: var(--section-bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: all .3s; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-image { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-image img { transform: scale(1.05); }
.service-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-icon { width: 48px; height: 48px; border-radius: 12px; background: #fff5ec; color: var(--saffron); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { flex: 1; font-size: .95rem; }
.service-link { display: inline-flex; align-items: center; gap: 6px; color: var(--saffron); font-weight: 600; margin-top: 12px; }
.service-link:hover { gap: 10px; }

/* ============================================
   ABOUT SECTION
============================================ */
.about { background: #fff; position: relative; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(135deg, var(--saffron), var(--gold)); display: grid; place-items: center; color: #fff; font-size: 8rem; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 { margin-bottom: 20px; }
.about-content .lead { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 24px; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.stat { padding: 20px; background: var(--section-bg); border-radius: var(--radius-sm); border-left: 3px solid var(--saffron); }
.stat-num { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--saffron); line-height: 1; }
.stat-label { font-size: .9rem; color: var(--text-muted); margin-top: 4px; }

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials { background: var(--section-bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.testimonial { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); position: relative; }
.testimonial::before { content: '"'; position: absolute; top: -10px; left: 24px; font-size: 5rem; font-family: var(--font-heading); color: var(--saffron); line-height: 1; }
.testimonial-text { font-style: italic; color: var(--text); margin-bottom: 20px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--saffron), var(--gold)); display: grid; place-items: center; color: #fff; font-weight: 600; }
.testimonial-name { font-weight: 600; color: var(--text); }
.testimonial-location { font-size: .85rem; color: var(--text-muted); }
.testimonial-stars { color: var(--gold); margin-bottom: 12px; font-size: 18px; }

/* ============================================
   LOCATIONS
============================================ */
.locations { background: #fff; }
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.location-card { padding: 20px; background: var(--section-bg); border-radius: var(--radius-sm); border: 1px solid var(--border); text-align: center; color: var(--text); font-weight: 500; transition: all .2s; }
.location-card:hover { border-color: var(--saffron); color: var(--saffron); transform: translateY(-2px); }

/* ============================================
   CTA BANNER
============================================ */
.cta-banner { background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-dark) 100%); color: #fff; text-align: center; padding: 72px 20px; }
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-banner .btn-primary { background: #fff; color: var(--saffron); border-color: #fff; }
.cta-banner .btn-primary:hover { background: #f9f9f9; color: var(--saffron-dark); }

/* ============================================
   FAQ
============================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 16px; overflow: hidden; }
.faq-question { width: 100%; padding: 20px 24px; background: none; border: 0; text-align: left; font-size: 1.05rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text); font-family: var(--font-body); }
.faq-question:hover { color: var(--saffron); }
.faq-icon { transition: transform .3s; color: var(--saffron); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s; padding: 0 24px; }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }

/* ============================================
   BLOG
============================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: all .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-thumbnail img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-body { padding: 24px; }
.post-meta { display: flex; gap: 12px; font-size: .85rem; color: var(--text-muted); margin-bottom: 12px; }
.post-title { font-size: 1.25rem; margin-bottom: 12px; }
.post-title a { color: var(--text); }
.post-title a:hover { color: var(--saffron); }
.post-excerpt { font-size: .95rem; }
.single-post-content { max-width: 820px; margin: 0 auto; padding: 60px 20px; }
.single-post-content .entry-title { font-size: 2.5rem; margin-bottom: 16px; }
.single-post-content .post-meta { margin-bottom: 32px; }
.single-post-content p, .single-post-content ul, .single-post-content ol { font-size: 1.08rem; line-height: 1.8; color: var(--text); margin-bottom: 1.2em; }
.single-post-content h2, .single-post-content h3 { margin-top: 2rem; }

/* ============================================
   CONTACT
============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info { padding: 40px; background: var(--section-bg); border-radius: var(--radius); border: 1px solid var(--border); }
.contact-info h3 { margin-bottom: 24px; }
.contact-method { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-method:last-child { border-bottom: 0; }
.contact-icon { width: 44px; height: 44px; border-radius: 12px; background: #fff5ec; color: var(--saffron); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.contact-method-label { font-size: .85rem; color: var(--text-muted); }
.contact-method-value { font-weight: 600; color: var(--text); font-size: 1.05rem; }
.contact-form { padding: 40px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    background: #fff;
    color: var(--text);
    transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(255,126,0,.15); }
.form-group textarea { resize: vertical; min-height: 120px; }

@media (max-width: 820px) { .contact-grid, .form-row { grid-template-columns: 1fr; } }

/* ============================================
   FOOTER
============================================ */
.site-footer { background: var(--footer-bg); color: #d4d4d4; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-widget h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; font-family: var(--font-body); font-weight: 600; }
.footer-widget p { color: #9ca3af; font-size: .95rem; }
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget ul li { margin-bottom: 10px; }
.footer-widget a { color: #d4d4d4; font-size: .95rem; }
.footer-widget a:hover { color: var(--saffron); }
.footer-brand .site-title { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; font-size: 16px; transition: all .2s; }
.footer-social a:hover { background: var(--saffron); color: #fff; }
.site-info { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; text-align: center; color: #9ca3af; font-size: .9rem; }
.footer-disclaimer { max-width: 860px; margin: 0 auto 16px; text-align: center; font-size: .82rem; color: #777; padding: 0 20px; }

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================
   FLOATING CONTACT BUTTONS
============================================ */
.floating-contact { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 95; }
.floating-contact a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 22px; box-shadow: var(--shadow-lg); transition: transform .2s; }
.floating-contact a:hover { transform: scale(1.08); }
.floating-whatsapp { background: #25D366; }
.floating-call { background: var(--saffron); }

/* ============================================
   PAGE HEADER
============================================ */
.page-hero { background: linear-gradient(135deg, #141414 0%, #2a1810 100%); color: #fff; padding: 100px 0 72px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 50%, rgba(255,126,0,.15), transparent 50%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 700px; margin: 0 auto; }

/* ============================================
   WIDGETS / SIDEBAR
============================================ */
.widget { margin-bottom: 32px; }
.widget-title { font-size: 1.2rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--saffron); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.widget ul li:last-child { border-bottom: 0; }

/* ============================================
   COMMENTS
============================================ */
.comments-area { max-width: 820px; margin: 48px auto; padding: 40px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); }
.comments-title { margin-bottom: 24px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-body { padding: 20px; background: var(--section-bg); border-radius: var(--radius-sm); margin-bottom: 16px; }

/* ============================================
   UTILITIES
============================================ */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.aligncenter { display: block; margin: 0 auto; }
.sticky { background: #fff5ec; border-left: 3px solid var(--saffron); padding: 16px; }
.bypostauthor {}

/* Responsive */
@media (max-width: 900px) {
    .section { padding: 60px 0; }
    .hero { min-height: 560px; }
    .services-grid, .features-grid { grid-template-columns: 1fr; }
}
