/*
Theme Name: Indian Nadi Astrology
Version: 3.8.0
*/

body {
    margin:0;
    font-family:'Poppins',sans-serif;
    background:#fffaf3;
    color:#2b2b2b;
}

.container {
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}

/* Header */
.site-header {
    background:linear-gradient(135deg,#4b0f0f,#7a1c1c,#c99a2e);
    color:#fff;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 6px 18px rgba(0,0,0,0.25);
}

.header-inner {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.site-header nav ul {
    display:flex;
    gap:28px;
    list-style:none;
    align-items:center;
}

.site-header nav a {
    color:#fff;
    font-weight:500;
    position:relative;
}

.site-header nav a:after {
    content:'';
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#d4a017;
    transition:width .3s ease;
}

.site-header nav a:hover:after {
    width:100%;
}

.header-cta {
    background:#d4a017;
    color:#000;
    padding:10px 22px;
    border-radius:24px;
    font-weight:600;
}

/* Hero */
.hero {
    position:relative;
    padding:120px 20px;
    text-align:center;
    overflow:hidden;
    background:#fff3d6;
}

.hero svg {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    opacity:0.18;
}

.chakra-inner {
    transform-origin:50% 50%;
    animation:slowRotate 180s linear infinite;
}

@keyframes slowRotate {
    from { transform:rotate(0deg); }
    to { transform:rotate(360deg); }
}

.hero-content {
    position:relative;
    z-index:2;
}

.hero h1 {
    font-size:44px;
    margin-bottom:14px;
}

.hero p {
    font-size:18px;
    max-width:680px;
    margin:0 auto;
}

.btn-primary {
    margin-top:26px;
    display:inline-block;
    background:#d4a017;
    color:#000;
    padding:14px 36px;
    border-radius:6px;
    font-weight:600;
}

/* Trust */
.trust {
    padding:90px 20px;
    background:#fff;
}

.trust-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:36px;
    align-items:center;
}

/* Consultation */
.consultation {
    padding:90px 20px;
    background:linear-gradient(180deg,#fffaf3,#fff);
}

.consultation-card {
    max-width:900px;
    margin:auto;
    background:#fff;
    border-radius:20px;
    box-shadow:0 10px 28px rgba(0,0,0,0.1);
    padding:40px;
}

.consultation h2 {
    text-align:center;
    margin-bottom:10px;
}

.consultation p {
    text-align:center;
    max-width:680px;
    margin:0 auto 30px;
}

.consultation-form {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.consultation-form label {
    font-size:14px;
    font-weight:500;
}

.consultation-form input,
.consultation-form select {
    width:100%;
    padding:12px 14px;
    border-radius:10px;
    border:1px solid #ddd;
}

.thumb-note {
    grid-column:1/-1;
    background:#fff8e6;
    padding:18px;
    border-radius:14px;
    font-size:14px;
}

.consult-cta {
    grid-column:1/-1;
    text-align:center;
    margin-top:10px;
}

.whatsapp-btn {
    display:inline-block;
    background:#25D366;
    color:#fff;
    padding:14px 36px;
    border-radius:28px;
    font-weight:600;
}

/* Services */
.services {
    padding:80px 20px;
}

.services-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:26px;
}

.service-card {
    background:#fff;
    border-radius:16px;
    padding:28px;
    box-shadow:0 8px 22px rgba(0,0,0,0.08);
    text-align:center;
}

/* Rasi */
.rasi-grid {
    padding:80px 20px;
}

.rasi-items {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:24px;
}

.rasi-item {
    background:#fff;
    border-radius:14px;
    padding:22px;
    text-align:center;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}


/* ===== v3.1.0 Mobile Hamburger Menu ===== */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .site-header nav {
    display: none;
    width: 100%;
    margin-top: 10px;
  }

  .site-header nav ul {
    flex-direction: column;
    gap: 12px;
    padding: 10px 0;
  }

  .site-header nav.active {
    display: block;
  }
}


/* ===== v3.2.0 Booking Flow Improvements ===== */
.booking-steps {
  max-width: 900px;
  margin: 0 auto 40px;
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.booking-steps h3 {
  margin-bottom: 16px;
  text-align: center;
}

.booking-steps ol {
  margin: 0;
  padding-left: 18px;
}

.booking-steps li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.booking-note {
  margin-top: 16px;
  font-size: 14px;
  color: #555;
}

.consultation-card h2 {
  text-align: center;
  margin-bottom: 8px;
}

.consultation-subtext {
  text-align: center;
  font-size: 15px;
  color: #555;
  margin-bottom: 28px;
}

.consultation-form label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.consultation-form small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #777;
}

.consultation-cta {
  text-align: center;
  margin-top: 20px;
}


/* ===== v3.3.0 Service Detail Pages ===== */
.service-detail {
  padding: 80px 20px;
}

.service-detail h1 {
  margin-bottom: 20px;
}

.service-content {
  max-width: 800px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.service-cta {
  text-align: center;
}


/* ===== v3.4.0 Service Cards with Images ===== */
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

.service-card h3 a {
  color: inherit;
  text-decoration: none;
}

.service-card h3 a:hover {
  text-decoration: underline;
}


/* ===== v3.6.0 FAQ + WhatsApp CTA ===== */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
}

.faq-section {
  padding: 80px 20px;
  background: #fff;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-item {
  max-width: 900px;
  margin: 0 auto 24px;
}

.faq-item h4 {
  margin-bottom: 8px;
}

.faq-item p {
  line-height: 1.7;
  color: #444;
}


/* ===== v3.8.0 FAQ Accordion ===== */
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 16px 0;
  cursor: pointer;
}

.faq-item h4 {
  margin: 0;
  position: relative;
  padding-right: 24px;
}

.faq-item h4::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-weight: bold;
}

.faq-item.active h4::after {
  content: '–';
}

.faq-item p {
  display: none;
  margin-top: 10px;
}

.faq-item.active p {
  display: block;
}
/* Horoscope section enhancement */
.rasi-note {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 30px;
}

.rasi-item {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rasi-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.rasi-item small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #666;
}
/* ===== Horoscope Grid (Final Stable Version) ===== */

.rasi-note {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 30px;
}

/* Force grid layout */
.rasi-grid .rasi-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
}

/* Card style */
.rasi-grid .rasi-item {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rasi-grid .rasi-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

/* Small description */
.rasi-grid .rasi-item small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #666;
}

/* Make full card clickable */
.rasi-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.rasi-link:hover,
.rasi-link:focus {
  text-decoration: none;
  color: inherit;
}
/* ===== Remove ALL hyperlink visuals from Rasi cards ===== */
.rasi-link,
.rasi-link:link,
.rasi-link:visited,
.rasi-link:hover,
.rasi-link:active,
.rasi-link:focus {
  text-decoration: none !important;
  color: inherit !important;
  outline: none;
}

/* Prevent mobile tap highlight */
.rasi-link {
  -webkit-tap-highlight-color: transparent;
}
.rasi-grid .rasi-item {
  min-height: 74px;
}
/* ===== Horoscope Individual Pages ===== */

.horoscope-page {
  padding: 80px 20px;
}

.horoscope-title {
  text-align: center;
  margin-bottom: 30px;
}

.horoscope-content {
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
  color: #333;
}

.horoscope-cta {
  text-align: center;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.horoscope-cta p {
  margin-bottom: 20px;
  font-size: 15px;
  color: #555;
}
/* ===== What is Nadi Astrology – Card UI ===== */

.trust-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.trust-card h2 {
  text-align: center;
  margin-bottom: 24px;
}

.trust-card p {
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

/* Mobile spacing */
@media (max-width: 768px) {
  .trust-card {
    padding: 24px;
  }
}
/* ===== Hero Section – Temple Tower Background ===== */

.hero {
  position: relative;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url('/wp-content/uploads/2026/01/vaitheeswarankoil.jpg'); /* <-- change image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

/* Ensure content stays above background */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Improve text readability */
.hero h1 {
  color: #fff;
}

.hero p {
  color: rgba(255,255,255,0.9);
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .hero {
    background-position: center top;
  }
}
/* ===== Header Guru Section (FIXED & SAFE) ===== */

.guru-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;        /* prevent stretching */
}

.guru-photo {
  width: 44px;           /* FIXED size */
  height: 44px;
  min-width: 44px;       /* prevent flex expansion */
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #d4a017;
}

.guru-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.guru-title {
  font-size: 12px;
  color: #ffffff;
  opacity: 0.85;
}

.guru-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

/* Mobile safety */
@media (max-width: 768px) {
  .guru-photo {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
}
/* ===== About Our Guru – Front Page Section ===== */

.guru-about {
  padding: 80px 20px;
}

.guru-about-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  background: #fff;
  border-radius: 18px;
  padding: 40px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.guru-about-image img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #d4a017;
}

.guru-about-content h2 {
  margin-bottom: 6px;
}

.guru-about-content h3 {
  margin-bottom: 16px;
  font-weight: 600;
}

.guru-about-content p {
  line-height: 1.8;
  color: #444;
  margin-bottom: 12px;
}

/* Mobile layout */
@media (max-width: 768px) {
  .guru-about-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .guru-about-image img {
    margin: 0 auto;
  }
}
/* ===== Contact Bar Below Footer ===== */

.contact-bar {
  background: #111;
  color: #fff;
  padding: 40px 20px;
}

.contact-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.contact-item h4 {
  margin-bottom: 8px;
  font-size: 16px;
}

.contact-item p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.contact-item a {
  color: #d4a017;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}