/* ============================================================
   ASTROCHANT - MODERN REDESIGN
   Clean, Spiritual, Modern Theme
   ============================================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --gold-dark: #a8872e;
  --saffron: #f7af06;
  --saffron-light: #ffd966;
  --deep-sacred: #1a1a2e;
  --dark-purple: #2d1b4e;
  --warm-brown: #3d2c2c;
  --cream: #fdf8f0;
  --cream-light: #fffcf5;
  --white: #ffffff;
  --text-dark: #1e1e2a;
  --text-muted: #6b6b80;
  --text-light: #a0a0b8;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Source Sans Pro', sans-serif;
}

/* --- Base Reset & Typography --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

a {
  color: var(--gold);
  transition: var(--transition);
}
a:hover {
  color: var(--gold-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* --- Section Headings --- */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: 2.5rem;
  color: var(--deep-sacred);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-heading .heading-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.section-heading .heading-ornament span {
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.section-heading .heading-ornament i {
  color: var(--gold);
  font-size: 18px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 16px auto 0;
}

@media (max-width: 768px) {
  .section-heading h2 {
    font-size: 1.8rem;
  }
}

/* --- Buttons --- */
.btn-astro {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white) !important;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn-astro:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
  color: var(--white);
}

.btn-astro-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold) !important;
  box-shadow: none;
}

.btn-astro-outline:hover {
  background: var(--gold);
  color: var(--white) !important;
  box-shadow: var(--shadow-gold);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.top-bar {
  background: var(--deep-sacred);
  color: var(--gold-light);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.main-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.main-header .logo img {
  height: 48px;
  width: auto;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu > li {
  position: relative;
  list-style: none;
}

.nav-menu > li > a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--gold);
}
.nav-menu > li > a:hover::after {
  width: 100%;
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}

.hamburger span {
  width: 28px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: var(--transition);
    overflow-y: auto;
  }
  
  .nav-menu.open {
    transform: translateX(0);
  }
  
  .nav-menu > li > a {
    font-size: 1.2rem;
  }
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--deep-sacred);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slider .swiper-slide {
  position: relative;
}

.hero-slider .swiper-slide img {
  width: 100%;
  height: 85vh;
  object-fit: cover;
}

.hero-slider .swiper-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(26, 26, 46, 0.85) 0%, 
    rgba(26, 26, 46, 0.4) 50%, 
    rgba(26, 26, 46, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  padding: 40px 24px;
  color: var(--white);
}

.hero-content .hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-content .hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-search {
  position: relative;
  z-index: 10;
  margin-top: 40px;
  padding: 32px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  max-width: 900px;
}

.hero-search .search-label {
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-search .search-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-search select,
.hero-search input[type="text"] {
  flex: 1;
  min-width: 160px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition);
}

.hero-search select option {
  color: var(--text-dark);
}

.hero-search select:focus,
.hero-search input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}

.hero-search .search-btn {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-search .search-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-search {
    padding: 20px;
  }
  .hero-search select,
  .hero-search input[type="text"] {
    min-width: 100%;
  }
  .hero-search .search-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   TOP RATED POOJA
   ============================================================ */
.top-rated-section {
  background: var(--white);
}

.pooja-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 168, 76, 0.08);
  height: 100%;
}

.pooja-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 168, 76, 0.2);
}

.pooja-card .card-img {
  height: 240px;
  overflow: hidden;
}

.pooja-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.pooja-card:hover .card-img img {
  transform: scale(1.08);
}

.pooja-card .card-body {
  padding: 24px;
  text-align: center;
}

.pooja-card .card-body h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.pooja-card .card-body .price {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}

.pooja-card .card-body .card-link-overlay {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================================
   UPCOMING EVENTS
   ============================================================ */
.events-section {
  background: linear-gradient(135deg, var(--deep-sacred) 0%, var(--dark-purple) 100%);
  color: var(--white);
}

.events-section .section-heading h2 {
  color: var(--white);
}

.event-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  backdrop-filter: blur(8px);
}

.event-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(201, 168, 76, 0.3);
}

.event-card .event-img {
  height: 200px;
  overflow: hidden;
}

.event-card .event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.event-card:hover .event-img img {
  transform: scale(1.05);
}

.event-card .event-body {
  padding: 20px;
}

.event-card .event-body .event-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.event-card .event-body h3 {
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600;
}

.event-card .event-body p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.view-more-wrap {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   TESTIMONIALS / HAPPY CUSTOMERS
   ============================================================ */
.testimonials-section {
  background: var(--cream-light);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 168, 76, 0.06);
  margin: 16px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-card .client-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--gold-light);
}

.testimonial-card h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.testimonial-card .client-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.testimonial-card .rating {
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 1rem;
}

.testimonial-card p {
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ============================================================
   ABOUT US
   ============================================================ */
.about-section {
  background: var(--white);
}

.about-section .about-content h3 {
  font-size: 2rem;
  color: var(--deep-sacred);
  margin-bottom: 20px;
}

.about-section .about-content p {
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 1.05rem;
}

.about-section .about-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works-section {
  background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
}

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

.step-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step-card .step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 16px;
  font-family: var(--font-display);
}

.step-card .step-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.step-card h4 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section {
  background: var(--white);
}

.blog-card-modern {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(201, 168, 76, 0.06);
  height: 100%;
}

.blog-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-modern .blog-img {
  height: 220px;
  overflow: hidden;
}

.blog-card-modern .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card-modern:hover .blog-img img {
  transform: scale(1.05);
}

.blog-card-modern .blog-body {
  padding: 24px;
}

.blog-card-modern .blog-body .blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-modern .blog-body h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-modern .blog-body h3 a {
  color: var(--text-dark);
}
.blog-card-modern .blog-body h3 a:hover {
  color: var(--gold);
}

.blog-card-modern .blog-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.blog-card-modern .blog-body .read-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

/* ============================================================
   WHY CHOOSE ASTROCHANT
   ============================================================ */
.why-choose-section {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 100%);
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 16px;
}

.why-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.why-item .why-icon {
  flex-shrink: 0;
}

.why-item .why-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-light);
}

.why-item .why-text h4 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.why-item .why-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--deep-sacred);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.site-footer .footer-brand img {
  height: 48px;
  margin-bottom: 16px;
}

.site-footer .footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.site-footer h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer ul li a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.site-footer .footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.site-footer .footer-contact i {
  color: var(--gold);
  width: 20px;
}

.site-footer .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.site-footer .footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  font-size: 1.1rem;
}

.site-footer .footer-social a:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

.site-footer .footer-bottom {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 992px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

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

/* ============================================================
   CARDS GRID HELPERS
   ============================================================ */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SELECT2 OVERRIDES (for search form)
   ============================================================ */
.hero-search .select2-container--default .select2-selection--single {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  height: 50px;
  line-height: 50px;
  color: var(--white);
}

.hero-search .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--white);
  line-height: 50px;
  padding: 0 18px;
}

.hero-search .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px;
}

.hero-search .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   MOBILE OVERRIDES FOR SELECT2 IN HERO
   ============================================================ */
@media (max-width: 768px) {
  .hero-search .select2-container {
    width: 100% !important;
  }
}

/* ============================================================
   BOOTSTRAP RESET OVERRIDES
   ============================================================ */
.container {
  max-width: 1280px;
}
