/*
Theme Name: OPBang Astro Guidance
Theme URI: https://cosmicraah.com/
Author: Om
Description: Gradient wave WordPress theme for astrology services
Version: 1.0
*/
/* ==== Desktop and Mobile Menu === */

/* Reset styles for all menus */
.main-menu,
.mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Desktop styles */
@media (min-width: 769px) {
  .desktop-only {
    display: block;
  }

  .mobile-only {
    display: none;
  }

  .main-menu {
    display: flex;
    gap: 24px;
  }

  .main-menu li a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s ease;
  }

  .main-menu li a:hover {
    color: gold;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  #mobile-menu-toggle {
    font-size: 26px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-bottom: 10px;
  }

  .mobile-menu {
    display: none;
    background-color: #222;
    padding: 15px;
  }

  .mobile-menu.open {
    display: block;
  }

  .mobile-nav li {
    border-bottom: 1px solid #444;
  }

  .mobile-nav a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
  }

  .mobile-nav a:hover {
    color: gold;
  }
}

/* ===== Fall back Menu =====*/

.fallback-menu {
  background-color: #111;
  padding: 15px;
  border-top: 2px solid gold;
}

.fallback-label {
  color: gold;
  font-weight: bold;
  margin-bottom: 10px;
}

.fallback-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fallback-nav-list li {
  border-bottom: 1px solid #333;
}

.fallback-nav-list a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px;
}

.fallback-nav-list a:hover {
  color: gold;
}



/* === Header === */

.site-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Aligns content to the left */
  gap: 20px; /* Space between logo and menu */
  padding: 10px 20px;
}

.header-logo img {
  max-height: 90px; /* or any size you prefer */
}


/* === Footer === */
.site-footer {
  background: linear-gradient(to right, #001a33, #002b2b);
  color: #ffcc00;
  font-family: 'Cinzel', serif;
  padding: 40px 20px 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 30px 20px;
  align-items: start;
}

.footer-section {
  min-width: 0;
  word-wrap: break-word;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #fff8dc;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #ffcc00;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: #fff8dc;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 204, 0, 0.2);
  padding-top: 10px;
  margin-top: 20px;
}

.footer-logo {
  text-align: center;
}

.footer-logo img {
  max-width: 160px;
  margin: 0 auto 10px;
  display: block;
}

.footer-tagline p {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: #ffcc00;
  margin: 4px 0;
  letter-spacing: 1px;
}

.footer-tag {
  list-style: none;
  padding: 0;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav li a {
  color: #ffcc00;
  text-decoration: none;
}

.footer-contact a {
  color: #ffcc00;
  text-decoration: none;
}


/* === Home Page === */

img {
  max-width: 100%;
  height: auto;
}

.services-preview {
  padding: 30px 20px;
  text-align: center;
  background: linear-gradient(to bottom right, #003300, #000033); /* Matches your main hero style */
  color: #f8f8f8;
}

.services-preview h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.card-grid.four-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 20px;
  margin: 10px 0;
}

.card-grid a.card {
  background: #eef5f2;
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  color: #003300;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card-grid a.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background: #f0f8f5;
}

.card-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.card-content {
  background: radial-gradient(circle at top, #002b2b, #000033);
  padding: 20px;
  transition: transform 0.3s ease;
}

.card-content p {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  color: #ffd700;
  line-height: 1.6;
}

.card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ffcc00;
}

.card-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.2);
}

.card-content:hover {
  transform: scale(1.03);
  box-shadow: 0 0 16px rgba(255, 204, 0, 0.5);
}

.card-content .btn {
  background: #ffcc00;
  color: #001a33;
  padding: 10px 20px;
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.4);
  transition: all 0.3s ease;
}

.card-content .btn:hover {
  background: linear-gradient(to right, #fffacd, #ffcc00);
  color: #000033;
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.6);
}

.overview-card {
  background: linear-gradient(to bottom right, #003300, #000033);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #f8f8f8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.overview-card img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.card-grid > div {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInCard 0.8s ease forwards;
}

@keyframes fadeInCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Buttons === */

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffcc00;
  color: #000;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #e6b800;
}

.btn.secondary {
  background-color: #003300;
  color: #fff;
}

.btn.whatsapp {
  background-color: #25D366;
  color: #fff;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #6c4de6;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #573ac4;
}


/* === Body === */

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background: linear-gradient(to bottom right, #003300, #000033);
  color: #f8f8f8;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

}

/* === Contact === */


.contact-section {
  background: linear-gradient(to right, #0c2f2e, #1b435f);
  color: #fff;
  padding: 20px 20px;
}

.contact-section h2 {
  color: gold;
  text-align: center;
  margin-top: 10px
 }

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-around;
}

.contact-form, .contact-info {
  flex: 1 1 300px;
  /*background-color: #000033;*/
  background: linear-gradient(to bottom right, #003300, #000033);
  color: #f8f8f8;

  padding: 20px;
  border-radius: 12px;
}

.about-connect-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  background: radial-gradient(circle at center, #001a33, #002b2b);
  padding: 60px 30px;
  color: #fff8dc;
  text-align: left;
}

.about-column h2,
.connect-column h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ffcc00;
}

.about-column p,
.connect-column p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  margin-right: 15px;
}

.whatsapp {
  background: #25D366;
  color: white;
}

.secondary {
  background: #fff8dc;
  color: #001a33;
}

.btn:hover {
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
}



/* === Common in sub pages === */

:root {
  --primary-green: #003300;
  --dark-navy: #000033;
  --accent-yellow: #ffcc00;
  --neutral-light: #eef5f2;
}


.hero-astro, 
.hero-occult,
.hero-crystals,
.hero-vastu,
.hero-contact,
.hero-opbang,
.hero-blog  {
  background: linear-gradient(to bottom right, #003300, #000033); /* Matches your main hero style */
  color: gold;
  padding: 30px 20px;
  text-align: center;
}


.overlay {
  padding: 20px 20px; /* Reduce padding if needed */
  }

.hero-astro h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.5rem;
  text-shadow: 0 0 6px #ffcc00;
  color: #ffffff;
  background: linear-gradient(to right, #ffcc00, #fffacd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.astro-cards, 
.occult-cards,
.crystal-cards,
.vastu-cards {
  padding: 30px 15px;
  background: #0b1d12;
  color: #000;
}

.astro-card {
  border: 3px solid #ffcc00;
  border-radius: 16px;
  background: radial-gradient(circle at top, #001a33, #002b2b);
  padding: 20px;
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
}

.astro-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
}


/* === Contact form in Astrology Services === */
.astro-intake-form {
  padding: 20px 20px;
  background: radial-gradient(circle at top, #001a33, #002b2b);
  color: #fff8dc;
  text-align: center;
}

astro-intake-form h2 {
  text-align: center;
  font-size: 24px;
  color: goldenrod;
  margin-bottom: 20px;
}

.astro-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: auto;
}

.form-row {
  width: 100%;
}

.form-row.dual {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-row.dual input {
  flex: 1;
  min-width: 140px;
}

.astro-form input,
.astro-form select {
  padding: 10px 12px;
  border: 1px solid #ffcc00;
  border-radius: 8px;
  background: #000033;
  color: #ffcc00;
  font-family: 'Cinzel', serif;
  width: 100%;
  box-sizing: border-box;
}

.astro-form input::placeholder {
  color: #ffd700;
}

.astro-form .btn {
  background: #ffcc00;
  color: #001a33;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
  cursor: pointer;
}

.astro-form .btn:hover {
  background: #fff8dc;
  color: #000033;
}

.astro-intake-form input, {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.astro-intake-form button {
  background-color: #ffcc00;
  color: #000;
  border: none;
  font-weight: bold;
}

.astro-intake-form form {
  display: flex;
  flex-direction: column;
  gap: 12px; /* Adds space between fields */
  max-width: 500px;
  margin: 0 auto;
}

.astro-intake-form form input,
.astro-intake-form form select,
.astro-intake-form form button {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 4px;
}


/* 🌿 Add space below the dropdowns */
#service-category,
#specific-service {
  margin-bottom: 10px; /* Adjust value to your liking */
}

.hero-home-static {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(to bottom, #0b2b2f, #064a48); /* Dark green/navy gradient */
  color: #f3f3e9; /* Cream/light gold accent */
}

.logo-static {
  max-width: 90px;
  margin-bottom: 20px;
}

.logo {
  max-width: 90px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.logo-container img {
  max-width: 90px;
  height: auto;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.tagline {
  font-size: 1.4rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.8px;
}

.crystal-card {
  flex: 1 1 calc(25% - 30px); /* 4 cards across with gap */
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.crystal-card:hover {
  transform: translateY(-4px);
}

.crystal-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.card-description {
  margin: 15px 0;
  font-size: 16px;
  color: #333;
  line-height: 1.4;
}

.card-text {
  padding: 20px;
}

.card-text h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #ffcc00; /* Accent gold */
}

.card-text p {
  font-size: 1rem;
  color: #f3f3e9;
  margin-bottom: 15px;
}

.card-text .btn {
  background-color: #ffcc00;
  color: #000;
}

.overview-card:nth-child(even) {
  background: linear-gradient(to bottom right, #0b2b2f, #064a48);
}


/* ----  Astro Services ------*/
.card {
  background: #eef5f2;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background: #eef5f2;
}

.card h3 {
  margin-top: 0;
  color: #003300;
}

.chakra-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px 20px;
}

.chakra-card, .product-card {
  background: #eef5f2;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  border-radius: 8px;
}

.crystal-showcase {
  padding: 20px 20px;
  background: #fdfdfd;
  color: #222;
  text-align: center;
}

.crystal-showcase h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  font-family: 'Playfair Display', serif;
}

.product-card h3 {
  font-size: 1.3rem;
  color: #004020;
  margin-top: 15px;
}

.product-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 10px 0 0;
  color: #444;
}

.vastu-intro, .astro-vastu {
  padding: 20px 20px;
  background: #000033;
  color:#ffcc00;
}

.element-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 1.5rem;
  margin-top: 10px;
}

.hero {
  background: linear-gradient(to bottom right, #003300, #000033);
  text-align: center;
  padding: 100px 20px;
  color: #fff;
}

.testimonials blockquote {
  font-style: italic;
  margin-bottom: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px 20px;
}

.hero-single, .hero-archive {
  background: linear-gradient(to right, #003300, #000033);
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

/* ==== Blogs =======*/

/* Cosmic Titles */
h2, h3 {
  background: linear-gradient(to right, #d4af37, #fff8dc);
  -webkit-background-clip: text;
  font-weight: bold;
  color: #f3f3e9;
}

/* Blog Layout */
.blog-posts {
  padding: 2rem;
}
.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
  transition: transform 0.3s ease;
  color: #000033;
}

.blog-card:hover {
  transform: translateY(-5px);
}

/* Thumbnail */
.post-thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Read More Button */
.btn.secondary {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #d4af37;
  color: #1a1a1a;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* Pagination */
.pagination {
  margin-top: 3rem;
  text-align: center;
}
.pagination a {
  margin: 0 5px;
  padding: 0.5rem 1rem;
  background: #fff8dc;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
}
.pagination .current {
  background: #d4af37;
  color: white;
}

.post-navigation {
  text-align: center;
  margin-top: 20px;
}

.nav-links span {
  display: inline-block;
  margin: 0 10px;
}

.post-meta, .meta {
  font-size: 1.2rem;
  color: #25D366;
}

/* === Mobile Optimization (Below 768px) === */

@media (max-width: 768px) {

  .hero-blog h1 {
    font-size: 1.6rem;
  }
  .blog-card {
    padding: 1rem;
    font-size: 0.95rem;
    color: #000033;
  }
  .btn.secondary {
    font-size: 0.85rem;
  } 

 .card-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .footer-top > div {
    margin-bottom: 25px;
  }

  .footer-logo img {
    max-width: 140px;
  }

  .footer-tag p {
    font-size: 1rem;
    font-family: 'Cinzel', serif;
    color: #ffcc00;
  }

  .footer-nav ul li a,
  .footer-contact a {
    color: #ffcc00;
    text-decoration: none;
  }

  .footer-nav ul li a:hover {
    text-decoration: underline;
  }

  .card-image img {
    max-width: 100%;
  }

  .astro-card {
    width: 100%;
  }

  .card-content p,
  .card-content .btn {
    font-size: 0.95rem;
  }

  .card-content {
    text-align: center;
    padding-top: 15px;
  }


  h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .tagline {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
  }

  .logo-static {
    max-width: 140px;
    margin-bottom: 15px;
  }

  .hero-home-static {
    padding: 60px 15px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

   .chakra-grid
  {
    grid-template-columns: 1fr;
    padding: 30px 15px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    padding: 30px 15px;
  }

 .services-preview {
  padding: 30px 15px;
}

  .hero-astro,
  .hero-occult,
  .hero-crystals,
  .hero-vastu,
  .hero-opbang,
  .hero-blog
{
    padding: 30px 15px;
  }

  .hero-astro h1 {
    font-size: 2rem;
  }

  .hero-astro p {
    font-size: 1rem;
  }

  .astro-form {
    gap: 12px;
  }

  .astro-intake-form h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  .form-row.dual {
    flex-direction: column;
  }

}

@media (max-width: 600px) {
  .card-grid.four-cards {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 25px;
  }
}

/* === Tablet Optimization (Below 992px) === */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  .tagline {
    font-size: 1.25rem;
    letter-spacing: 0.6px;
  }

  .logo-static {
    max-width: 160px;
    margin-bottom: 18px;
  }

  .hero-home-static {
    padding: 70px 20px;
  }

  .btn {
    padding: 9px 18px;
    font-size: 1rem;
  }

  .card-grid,
  .chakra-grid,
  .product-grid,
  .contact-grid,
  .footer-top {
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    gap: 25px;
    padding: 35px 20px;
  }

  .card-grid.four-cards {
    grid-template-columns: repeat(2, 1fr);
  }

.services-preview {
  padding: 30px 15px;
}

  .astro-intake-form {
    padding: 40px 20px;
  }

}

