/* ============================================
   Varanasi Astrologer - Design as per Reference
   Primary: Red (#b71c1c) - Spiritual, traditional
   Secondary: Dark Brown (#5d4037) - Warmth
   Accent: Orange (#e65100) - CTAs
   ============================================ */

:root {
    --red: #b71c1c;
    --red-dark: #8b0000;
    --red-light: #d32f2f;
    --brown: #5d4037;
    --brown-dark: #3e2723;
    --orange: #e65100;
    --orange-dark: #bf360c;
    
    --white: #ffffff;
    --cream: #fafafa;
    --text: #212121;
    --text-light: #616161;
    
    --gradient-dark: linear-gradient(135deg, #5d4037 0%, #3e2723 50%, #4e342e 100%);
    --gradient-hero: linear-gradient(135deg, #1a0a0a 0%, #3d1f1f 40%, #2d1515 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', -apple-system, sans-serif; color: var(--text); line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; }
a { text-decoration: none; color: inherit; transition: all 0.3s; }

/* ========== Top Bar - Red ========== */
.top-bar {
    background: var(--red);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar a {
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar .wa-icon { color: #25D366; }
.top-bar .top-links { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }

/* ========== Header - White with Black nav ========== */
header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

nav ul li a {
    padding: 8px 16px;
    display: block;
    font-weight: 500;
    color: var(--text);
    border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(183, 28, 28, 0.1);
    color: var(--red);
}

.header-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.header-phone {
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
}

.btn-call {
    padding: 10px 22px;
    background: var(--red);
    color: var(--white) !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}

.btn-call:hover {
    background: var(--red-dark);
}

/* ========== Hero - Gemstones ========== */
.hero-banner {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: var(--gradient-hero);
    background-image: 
        linear-gradient(90deg, rgba(26,10,10,0.92) 0%, rgba(61,31,31,0.7) 45%, rgba(45,21,21,0.4) 100%),
        url('https://images.unsplash.com/photo-1611945212123-299a3a93b5de?w=1200');
    background-size: cover;
    background-position: center;
    padding: 60px 20px 80px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    text-align: right;
}

.hero-content h1 {
    font-size: clamp(26px, 3.5vw, 38px);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-cta-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--red);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-cta-bar .contact-no {
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.hero-cta-bar .talk-now {
    background: #1565c0;
    color: var(--white);
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
}

/* ========== Section Styles ========== */
section {
    padding: 70px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 14px;
    color: var(--red);
    text-transform: lowercase;
    margin-bottom: 5px;
    font-weight: 600;
}

.section-title h2 {
    font-size: clamp(26px, 3vw, 34px);
    color: var(--text);
    margin-bottom: 35px;
}

/* ========== About Us ========== */
.about-section {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text .section-subtitle { margin-bottom: 8px; }
.about-text h2 { color: var(--text); margin-bottom: 22px; font-size: 28px; }
.about-text p { color: var(--text-light); margin-bottom: 16px; }
.about-text .phone-large { font-size: 22px; font-weight: 700; color: var(--red); margin: 15px 0; display: block; }

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.about-image.placeholder {
    background: var(--gradient-dark);
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255,255,255,0.3);
}

.about-caption {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 12px;
}

/* ========== CTA Banner ========== */
.contact-cta {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
}

.contact-cta .section-subtitle { color: rgba(255,255,255,0.9); }
.contact-cta h3 { font-size: 22px; margin-bottom: 15px; }
.contact-cta .phone {
    font-size: 32px;
    font-weight: 700;
    display: block;
    margin: 15px 0;
}

/* ========== Services ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(183, 28, 28, 0.15);
}

.service-card .offer-tag {
    font-size: 12px;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card .icon {
    width: 65px;
    height: 65px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--white);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
}

.service-card .btn {
    display: inline-block;
    padding: 11px 22px;
    background: var(--red);
    color: var(--white) !important;
    font-weight: 600;
    border-radius: 6px;
    font-size: 14px;
}

.service-card .btn:hover {
    background: var(--red-dark);
}

/* ========== Hindi Banner ========== */
.hindi-banner {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 55px 20px;
    text-align: center;
}

.hindi-banner p {
    font-size: 18px;
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto;
}

/* ========== Pitra Dosh ========== */
.pitra-section { background: var(--white); }
.pitra-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.pitra-image {
    background: var(--gradient-dark);
    height: 300px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: rgba(255,255,255,0.3);
}

.pitra-text p { color: var(--text-light); }

/* ========== Products ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card .product-img {
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--red);
}

.product-card .product-img.kundali {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

.product-card .product-info { padding: 25px; }
.product-card h3 { font-size: 18px; margin-bottom: 10px; }
.product-card p { color: var(--text-light); font-size: 14px; }

/* ========== Testimonials ========== */
.testimonials-section {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 80px 20px;
}

.testimonials-section .section-subtitle { color: rgba(255,255,255,0.9); }
.testimonials-section .section-title h2 { color: var(--white); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    color: var(--text);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-card p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card .author { font-weight: 600; color: var(--text); }
.testimonial-card .role { font-size: 13px; color: var(--red); }

/* ========== Awards ========== */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 28px;
}

.award-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.award-card:hover { transform: translateY(-5px); }

.award-card .award-img {
    height: 180px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--red);
}

.award-card .award-info { padding: 20px; }
.award-card h3 { font-size: 15px; }

/* ========== Footer ========== */
footer {
    background: var(--brown-dark);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a:hover { color: #ffab91; }

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    opacity: 0.95;
}

.footer-contact i {
    color: var(--red);
    margin-top: 4px;
    min-width: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 14px;
    opacity: 0.9;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--red);
    color: var(--white) !important;
    font-weight: 600;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover { background: var(--red-dark); }

.btn-green {
    background: #2e7d32;
}
.btn-green:hover { background: #1b5e20; }

/* ========== Mobile ========== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* ========== Page Hero (for sub-pages) ========== */
.page-hero {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 70px 20px;
    text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(28px, 4vw, 38px); }
.page-hero p { opacity: 0.95; margin-top: 10px; }

/* ========== Contact page ========== */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info-card { background: var(--cream); padding: 40px; border-radius: 12px; border-left: 5px solid var(--red); }
.contact-info-card h3 { color: var(--text); margin-bottom: 25px; font-size: 22px; }
.contact-item { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 25px; }
.contact-item i { width: 50px; height: 50px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 20px; flex-shrink: 0; }
.contact-item h4 { font-size: 16px; color: var(--text); margin-bottom: 5px; }
.contact-item p, .contact-item a { color: var(--text-light); }
.contact-form { background: var(--white); padding: 45px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.contact-form h3 { color: var(--text); margin-bottom: 25px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text); }
.form-group input, .form-group textarea { width: 100%; padding: 14px 18px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; font-size: 15px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--red); }
.form-group textarea { min-height: 120px; resize: vertical; }
.consultation-hours { background: rgba(183, 28, 28, 0.08); padding: 25px; border-radius: 12px; margin-top: 30px; }
.consultation-hours strong { color: var(--red); }
.contact-buttons { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }
.accent-line { width: 80px; height: 4px; background: var(--red); margin: 15px 0; border-radius: 2px; }

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav ul, .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
    }
    nav ul.active, .nav-menu.active { display: flex; }
    .about-content, .pitra-content, .contact-wrapper { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
}

/* WordPress menu compatibility */
.nav-menu, nav .nav-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 5px; flex-wrap: wrap; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.top-bar a.top-bar-brand { display: flex; align-items: center; gap: 10px; color: white; }
.elementor-page .site-header { margin: 0; }
