@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Playfair+Display:wght@700&family=Montserrat:wght@500;600;700&display=swap');

:root {
  --bg: #f5f3ef;
  --card: #ffffff;
  --text: #111;
  --muted: #555;
  --accent: #C9A96E;
  --border: #e0d9d0;
  --radius: 1rem;

  /* new palette */
  --teal-dark: #0f3b3b;
  --teal-mid: #245c5c;
  --teal-light: #97cdca;
  --teal-lighter: #e7f6f5;
}

/* ============= GLOBAL ============= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* ============= HEADER (DESKTOP) ============= */
.site-header {
  background: #fbfbfa;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.4rem 1rem 1rem; /* reduced top padding */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 150px;
  column-gap: 1.25rem;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-left .main-nav {
  margin-left: auto;
  margin-right: auto;
}

.header-right .main-nav {
  margin-left: auto;
  margin-right: auto;
}

/* desktop nav spacing + font-size */
@media (min-width: 1101px) {
  .main-nav {
    gap: 1.7rem;
  }
  .nav-item,
  .main-nav > a {
    font-size: 1.02rem;
  }
}

/* hide mobile-only on desktop */
.hamburger,
.mobile-menu {
  display: none;
}

/* logo */
.logo {
  display: flex;
  align-items: center;
}
.logo a {
  display: inline-flex;
  align-items: center;
}
.site-logo--desktop {
  display: block;
  width: 123px;
  height: auto;
  max-height: 91px;
  object-fit: contain;
}
.site-logo--mobile {
  display: none;
}

/* nav items */
.nav-item,
.main-nav > a,
.header-left > a,
.header-right > a {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0;
  white-space: nowrap;
}

/* unify color */
.header-bar .nav-item,
.header-bar .main-nav > a {
  color: #111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main-nav a:visited {
  color: var(--text);
}

/* desktop hover in new color */
.nav-item:hover,
.main-nav > a:hover,
.header-left > a:hover,
.header-right > a:hover {
  color: var(--teal-dark);
}

/* dropdowns */
.dropdown {
  position: relative;
}

/* teal dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid rgba(151, 205, 202, 0.28);
  border-radius: 0.6rem;
  min-width: 210px;
  display: block;
  overflow: hidden;
  z-index: 999;
  border-top: 3px solid var(--teal-dark);
  box-shadow: 0 14px 35px rgba(0,0,0,.12);
  transform-origin: top;
  opacity: 0;
  transform: translateY(6px);
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* dropdown links */
.dropdown-menu a {
  display: block;
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-dark);
  text-decoration: none;
  background: #fff;
}
.dropdown-menu a:hover {
  background: rgba(151, 205, 202, 0.12);
  color: var(--teal-dark);
  border-radius: 0.4rem;
}

/* active parent underline */
.dropdown:hover > .nav-item,
.dropdown:hover > button.nav-item {
  color: var(--teal-dark);
  position: relative;
}
.dropdown:hover > .nav-item::after,
.dropdown:hover > button.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.7rem;
  width: 100%;
  height: 3px;

  background: var(--teal-dark);
  border-radius: 999px;
}

/* wide layout still supported */
.dropdown-menu--wide {
  width: 320px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0.25rem;
}
.dropdown-menu--wide a {
  padding-right: 0.5rem;
}






/* OTHERS */

/* END OTHERS */




/* ============= MOBILE HEADER (≤1100px) ============= */
@media (max-width: 1100px) {
  .header-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "logo logo logo"
      "hamburger moon energy"
      "mobilemenu mobilemenu mobilemenu";
    align-items: center;
    justify-items: stretch;
    row-gap: 0.15rem;
    min-height: auto;
    padding: 1rem 1rem 0.1rem;
  }

  .header-left {
    grid-area: logo;
    justify-content: center;
    max-height: 70px;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
  }
  .header-left.is-scrolled {
    max-height: 0;
    opacity: 0;
  }

  .site-logo--desktop { display: none; }
  .site-logo--mobile {
    display: block;
    width: 260px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
  }

  .header-left .main-nav,
  .header-right .main-nav {
    display: none;
  }

  .hamburger {
    grid-area: hamburger;
    display: flex;
    width: 74px;
    height: 34px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    align-items: center;
    justify-self: start;
  }
  .hamburger span {
    display: block;
    height: 6px;
    background: var(--teal-dark);
    border-radius: 999px;
    width: 100%;
  }
	
	/* Smooth centered Apple-style X */


.hamburger span {
  transition:
    transform 0.24s ease,
    opacity 0.18s ease,
    background-color 0.18s ease;
  transform-origin: center;
}

/* When open, bars overlap in the center BEFORE rotating */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* open: bars move into center to form the X */
.hamburger.is-open {
  justify-content: center;
}	


	
/* header placement – keep moon centering, just no fixed box size */
.header-center {
  grid-area: moon;
  grid-column: 1 / -1;
  justify-self: center;
  align-items: center;
  text-align: center;
}

.header-right {
  grid-area: energy;
  justify-self: end;
}

	
	
	

  /* UPDATED: smoother mobile menu, no flash block */
  .mobile-menu {
    grid-area: mobilemenu;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(15, 59, 59, 0.05);
    border-radius: 0.6rem;
    padding: 5px; 

    display: flex;                  /* always flex */
    flex-direction: column;
    gap: 0.35rem;

    max-height: 0;                  /* collapsed by default */
    opacity: 0;
    overflow: hidden;
    pointer-events: none;

    transition:
      max-height 0.28s ease,
      opacity 0.22s ease;
  }

  .mobile-menu.open {
    max-height: 900px;              /* big enough for all links */
    opacity: 1;
    pointer-events: auto;
	padding: 0.6rem 0.75rem 0.9rem;  
  }

  .mobile-menu .mobile-parent,
  .mobile-menu .mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.55rem 0.6rem;
    min-height: 44px;
    font-weight: 600;
    color: var(--teal-dark);
    font-size: 0.9rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(15, 59, 59, 0.04);
  }
  .mobile-menu .mobile-link:last-child {
    border-bottom: none;
  }

 /* Bigger, clearer dropdown arrow */
.mobile-menu .mobile-parent::after {
    content: "+";
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--teal-dark);
    margin-left: 0.75rem;
    transition: transform 0.25s ease, opacity 0.2s ease, content 0.2s ease;
    line-height: 0;
    opacity: 0.9;
}

/* Rotate when active */
.mobile-menu .mobile-parent.active-mobile-parent::after {
    content: "–";   /* en dash, cleaner than hyphen */
    font-size: 1.7rem;  /* looks visually equal to + */
    opacity: 1;
}

  .mobile-menu .mobile-link,
  .mobile-menu .mobile-sublinks a {
    text-decoration: none;
  }

  .mobile-menu .active-mobile-parent {
    background: rgba(151, 205, 202, 0.22);
    border: 1px solid rgba(151, 205, 202, 0.5);
    border-radius: 0.5rem;
    color: var(--teal-dark);
  }

  .mobile-sublinks {
    overflow: hidden;
    max-height: 0;
    transition: max-height .28s ease;
    background: rgba(151, 205, 202, 0.05);
    border-left: 3px solid rgba(151, 205, 202, 0.5);
    margin-left: 0.35rem;
    border-radius: 0 0 0.45rem 0.45rem;
  }
  .mobile-sublinks a {
    display: block;
    width: 100%;
    padding: 0.28rem 0 0.28rem 1.4rem;
    text-decoration: none;
    color: #244;
    font-size: 0.85rem;
  }
  .mobile-sublinks a + a {
    border-top: 1px solid rgba(15, 59, 59, 0.02);
  }
  /* Remove tap flash / dark box on mobile hamburger */
  .hamburger {
   -webkit-tap-highlight-color: transparent; /* iOS / Safari */
  }

  .hamburger:focus,
  .hamburger:active {
  background: transparent;
  outline: none;
  box-shadow: none;
  }

}




/* ============= MAIN PAGE ============= */
.page {
  max-width: 1200px;
  margin: 1.5rem auto 4rem;
  padding: 0 1rem;
}

.section {
  margin-bottom: 2.5rem;
}

/* ============= HERO (new split version) ============= */
.hero-split {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 2rem auto;
  background: #f5f3ef;
  border-radius: 1rem;
  overflow: hidden;
  gap: 3rem;
  padding: 1rem 2rem;
}

.hero-split .hero-image {
  flex-shrink: 0;
  margin-left: 0;
}

.hero-split .hero-image img {
  width: 500px;
  height: 480px;
  object-fit: cover;
  border-radius: 1rem;
  display: block;
}

.hero-split .hero-content {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-split .hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

/* intro line above paragraph */
.hero-split .intro-line {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  color: var(--teal-mid);
  font-weight: 550;
  letter-spacing: 0.015em;
  margin-top: 0;  
  margin-bottom: 0.4rem;
  line-height: 1.4;
  margin-bottom: 0;
}

.hero-split .hero-content p:not(.intro-line) {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  max-width: 520px;
}

/* CTA button */
.hero-split .btn-cta {
  display: inline-block;
  margin-top: 1.75rem;
  background: var(--teal-dark);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(15, 59, 59, 0.15);
  text-align: center;
  animation: fadeLift 0.7s ease 0.25s both;
}

.hero-split .btn-cta:hover {
  background: var(--teal-mid);
  box-shadow: 0 6px 18px rgba(15, 59, 59, 0.25);
  transform: translateY(-2px);
}

@keyframes fadeLift {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-split .btn-cta {
    animation: none;
  }
}

/* medium screens: scale image gradually */
@media (max-width: 1100px) {
  .hero-split {
    gap: 2rem;
    padding: 1rem 1.5rem;
  }
  .hero-split .hero-image img {
    width: 420px;
    height: 400px;
  }
}

/* tablets: stack + keep text left-aligned */
@media (max-width: 900px) {
  .hero-split {
    flex-direction: column;
    align-items: center;
    justify-content: center;
	text-align: left;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
	
  }

  .hero-split .hero-content {
    order: 1;
    width: 100%;
    max-width: 550px;
    text-align: left;
    margin: 0 auto;
  }

  .hero-split .hero-image {
    order: 2;
    margin-left: 0;
  }

  .hero-split .hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
  }

  .hero-split .intro-line {
    font-size: 1.1rem;
    text-align: left;
    width: 100%;
  }

  .hero-split .hero-content p:not(.intro-line) {
    margin-top: 1.5rem;
    text-align: left;
  }

  .hero-split .btn-cta {
    width: 100%;
    max-width: 280px;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
    align-self: center;
  }
}

@media (max-width: 600px) {
  .hero-split {
    gap: 1rem;
    padding: 0.75rem;
  }

  .hero-split .hero-content {
    padding: 0 0.5rem;
  }

  .hero-split .hero-content p:not(.intro-line) {
    font-size: 0.95rem;
  }
}

/* OLD hero kept in case you still use it somewhere else */
.hero {
  background: linear-gradient(135deg, rgba(25,17,33,.8), rgba(25,17,33,.55)),
    url('https://images.unsplash.com/photo-1523983302122-73e869e1f850?auto=format&fit=crop&w=1300&q=60') center/cover no-repeat;
  border-radius: 1.5rem;
  padding: 4rem 2rem;
  color: #fff;
  text-align: center;
  margin-bottom: 2.5rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  margin-bottom: 0.5rem;
}
.hero p {
  max-width: 540px;
  margin: 0 auto 1.5rem;
  color: rgba(255,255,255,.95);
}
.btn-primary {
  display: inline-block;
  background: var(--teal-dark);
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
}

/* section headings */
h2,
.section-head h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: 0.02em;
  color: var(--teal-dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.section-head p {
  color: #343434;
  margin-bottom: 1rem;
}

/* ============= HOROSCOPE GRID ============= */
.sign-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
@media (max-width: 1200px) {
  .sign-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .sign-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .sign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  .sign-grid {
    grid-template-columns: 1fr;
  }
}

/* base sign card */
.sign-card {
  background: var(--card);
  border: 1px solid rgba(0,0,0,.03);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 16px 30px rgba(0,0,0,.02);
  text-align: center;
  text-decoration: none;
  display: block;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.sign-card:hover {
  background: rgba(151, 205, 202, 0.1);
  border: 1px solid rgba(151, 205, 202, 0.28);
  transform: translateY(-2px);
  cursor: pointer;
}
.sign-icon {
  font-size: 2rem;
  background: linear-gradient(90deg, #C9A96E, #FFD700, #C9A96E);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldshine 4s linear infinite;
}
@keyframes goldshine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.sign-card h3 {
  margin: 0 0 0.25rem;
  font-weight: 600;
  font-size: 1.25rem;
  color: #320505;
}
.sign-dates {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-dark);
}

/* ============= FEATURED TOOLS (Numerology + Tarot) ============= */
.featured-tools {
  background: rgba(151, 205, 202, 0.12);
  border-radius: 1.25rem;
  padding: 2.5rem 1.5rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.feature-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  display: flex;
  background: #fff;
  border: 1px solid rgba(15, 59, 59, 0.05);
  border-radius: 1rem;
  overflow: hidden;
  min-height: 240px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.03);
}

/* left image panel */
.feature-card__media {
  width: 42%;
  min-height: 240px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* right text panel */
.feature-card__body {
  flex: 1;
  padding: 1.1rem 1.2rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.feature-card__body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: var(--teal-dark);
  margin: 0;
}

.feature-card__body p {
  margin: 0;
  color: #374444;
  line-height: 1.55;
  font-size: 0.9rem;
}

/* plug your images */
.numerology-card .feature-card__media {
  background-image: url('../images/home-numerology.jpg');
  background-color: rgba(151, 205, 202, 0.35);
  background-blend-mode: multiply;
}
.tarot-card .feature-card__media {
  background-image: url('../images/home-tarot.jpg');
  background-color: rgba(15, 59, 59, 0.05);
  background-blend-mode: multiply;
}

/* buttons inside feature cards – light teal inverted */
.feature-card .btn-secondary {
  background: #97cdca;
  color: #0f3b3b;
  border: 1px solid rgba(15,59,59,0.25);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(15,59,59,0.12);
  margin: 1rem auto 0;
  display: block;
  text-align: center;
}
.feature-card .btn-secondary:hover {
  background: linear-gradient(135deg, #97cdca 0%, #cbeae7 100%);
  color: #093131;
  box-shadow: 0 6px 14px rgba(15,59,59,0.2);
  transform: translateY(-2px);
}

/* mobile split cards */
@media (max-width: 650px) {
  .feature-card {
    flex-direction: column;
  }
  .feature-card__media {
    width: 100%;
    min-height: 190px;
  }
  .feature-card__body {
    padding: 1rem 1rem 1.15rem;
  }
}

/* ============= SOFT DIVIDER ============= */
.soft-divider {
  width: 100%;
  height: 1px;
  background: rgba(15, 59, 59, 0.08);
  margin: 3rem auto;
  border-radius: 999px;
}

/* ============= INFO CARDS (original) ============= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.info-card {
  background: var(--card);
  border: 1px solid rgba(0,0,0,.03);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}
.info-card h3 {
  font-family: 'Playfair Display', serif;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.info-card p {
  color: var(--muted);
}
.btn-secondary {
  display: inline-block;
  margin-top: 0.75rem;
  background: #fff;
  border: 1px solid rgba(15, 59, 59, 0.4);
  color: var(--teal-dark);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8rem;
}

/* ============= TABLE (original) ============= */
.table-wrapper {
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.03);
}
table {
  width: 100%;
  border-collapse: collapse;
}
thead {
  background: rgba(151, 205, 202, 0.15);
}
th,
td {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.85rem;
}
tbody tr + tr {
  border-top: 1px solid rgba(0,0,0,.03);
}

/* mobile tweaks for nav wrapping */
@media (max-width: 992px) {
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============= CURRENT PLANETARY POSITIONS ============= */
.planetary-section {
  background: #f5f3ef;
  padding: 3rem 1.5rem;
}

.planetary-block {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px; /* table | image */
  gap: 2.5rem;
  align-items: start;
}

.planetary-panel {
  background: #fff;
  border: 1px solid rgba(15, 59, 59, 0.06);
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.02);
  height: 100%;
}

.planetary-panel h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem; /* match Today’s Horoscope */
  color: var(--teal-dark);
  margin-bottom: 0.35rem;
}

.planetary-sub {
  margin: 0 0 1.25rem;
  color: rgba(15, 59, 59, 0.65);
  font-size: 0.9rem;
}

.planetary-table-wrap {
  overflow-x: auto;
}

.planetary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.planetary-table thead {
  background: rgba(151, 205, 202, 0.15);
}
.planetary-table th,
.planetary-table td {
  padding: 0.55rem 0.6rem;
  text-align: left;
}
.planetary-table th {
  font-weight: 600;
  color: #0f3b3b;
  border-bottom: 1px solid rgba(15, 59, 59, 0.05);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}
.planetary-table tbody tr {
  border-bottom: 1px solid rgba(15, 59, 59, 0.03);
}
.planetary-table tbody tr:nth-child(even) {
  background: rgba(231, 246, 245, 0.35);
}
.planetary-table tbody tr:hover {
  background: rgba(151, 205, 202, 0.12);
}
.planetary-table .planet-icon {
  width: 1.9rem;
  text-align: center;
  font-size: 1.15rem;
  color: #0f3b3b;
}
.planetary-table th:first-child,
.planetary-table td:first-child {
  width: 2.2rem;
}

/* image on right */
.planetary-image {
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 1.5rem; /* matches panel padding so tops line up */
}
.planetary-image img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* mobile: stack + swap image */
@media (max-width: 900px) {
  .planetary-block {
    display: block;
  }
  .planetary-panel {
    width: 100%;
  }
  .planetary-image {
    margin-top: 1rem;
    justify-content: center;
    padding-top: 0;
  }
  .planetary-image img {
    width: 100%;
    height: auto;
    content: url('../images/solar-system.jpg'); /* mobile version */
  }
}

/* ============= FOOTER (TEAL) ============= */
.site-footer {
  background: #97cdca;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(15, 59, 59, 0.08);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.75rem 1rem 2.25rem;
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(140px, 0.6fr));
  gap: 2.5rem;
  align-items: flex-start;
}

.footer-brand {
  max-width: 240px;
}

.footer-logo-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid rgba(15, 59, 59, 0.06);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  color: var(--teal-dark);
  font-weight: 600;
  line-height: 1.1;
}

.footer-tagline {
  margin: 0 0 1.25rem;
  color: rgba(15, 59, 59, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 600;
  transition: background .15s ease;
}
.footer-social a:hover {
  background: #fff;
  color: var(--teal-dark);
}

/* footer columns */
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--teal-dark);
  line-height: 1;
}
.footer-col a {
  display: block;
  text-decoration: none;
  color: rgba(15, 59, 59, 0.92);
  font-weight: 500;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: #063030;
}

.footer-bottom {
  border-top: 1px solid rgba(15, 59, 59, 0.08);
  text-align: center;
  padding: 1.05rem 1rem 1.4rem;
  color: rgba(15, 59, 59, 0.75);
  font-size: 0.8rem;
}

/* responsive footer */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    max-width: none;
  }
}
@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    text-align: center;
  }
}

/* ============= ELEMENTAL HOROSCOPE CARD VARIANTS ============= */
.sign-card.fire,
.sign-card.earth,
.sign-card.air,
.sign-card.water {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* Fire */
.sign-card.fire {
  background: linear-gradient(
    135deg,
    rgba(255, 87, 0, 0.25) 0%,
    rgba(255, 150, 50, 0.15) 55%,
    rgba(255, 230, 160, 0.1) 100%
  );
  border: 1px solid rgba(255, 122, 0, 0.2);
}
.sign-card.fire h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #6d270f;
}

/* Earth */
.sign-card.earth {
  background: linear-gradient(
    135deg,
    rgba(98, 136, 100, 0.25) 0%,
    rgba(157, 191, 158, 0.15) 55%,
    rgba(217, 235, 210, 0.1) 100%
  );
  border: 1px solid rgba(157, 191, 158, 0.2);
}
.sign-card.earth h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #4A3B2A;
}

/* Air */
.sign-card.air {
  background: linear-gradient(
    135deg,
    rgba(125, 104, 181, 0.25) 0%,
    rgba(187, 172, 224, 0.15) 55%,
    rgba(232, 226, 245, 0.1) 100%
  );
  border: 1px solid rgba(187, 172, 224, 0.2);
}
.sign-card.air h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #4C3A7E;
}

/* Water */
.sign-card.water {
  background: linear-gradient(
    135deg,
    rgba(41, 128, 185, 0.25) 0%,
    rgba(120, 177, 199, 0.15) 55%,
    rgba(182, 220, 234, 0.1) 100%
  );
  border: 1px solid rgba(146, 203, 223, 0.2);
}
.sign-card.water h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #24525A;
}

/* Hover lift */
.sign-card.fire:hover,
.sign-card.earth:hover,
.sign-card.air:hover,
.sign-card.water:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

/* dates with glow per element */
.sign-dates {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.015em;
  margin-top: 0.25rem;
  opacity: 0.9;
  transition: color 0.3s ease, opacity 0.3s ease, text-shadow 0.4s ease;
}

.sign-card.fire .sign-dates {
  color: #a64c28;
}
.sign-card.fire:hover .sign-dates {
  text-shadow: 0 0 10px rgba(255,140,80,0.55);
  opacity: 1;
}

.sign-card.earth .sign-dates {
  color: #5b452f;
}
.sign-card.earth:hover .sign-dates {
  text-shadow: 0 0 10px rgba(160,120,60,0.5);
  opacity: 1;
}

.sign-card.air .sign-dates {
  color: #6c5cb5;
}
.sign-card.air:hover .sign-dates {
  text-shadow: 0 0 10px rgba(150,130,255,0.5);
  opacity: 1;
}

.sign-card.water .sign-dates {
  color: #3c7c8a;
}
.sign-card.water:hover .sign-dates {
  text-shadow: 0 0 10px rgba(80,180,200,0.5);
  opacity: 1;
}









/* ensure hero CTA is centered on desktop */
.hero-split .hero-content .btn-cta {
  align-self: center;
}



/* tighten spacing between featured tools and planetary section */
.featured-tools {
  margin-bottom: 1.5rem; /* was 3rem */
}

.planetary-section {
  padding-top: 1.5rem;   /* was 3rem */
}

@media (max-width: 900px) {
  .featured-tools {
    margin-bottom: 1rem;
  }
  .planetary-section {
    padding-top: 1rem;
  }
}



/* MOBILE: swap energy + hamburger, and slim hamburger */
@media (max-width: 1100px) {
  /* change the mobile grid order */
  .header-bar {
    grid-template-areas:
      "logo logo logo"
      "energy moon hamburger"
      "mobilemenu mobilemenu mobilemenu";
  }

  /* put energy on the left */
  .header-right {
    grid-area: energy;
    justify-self: start;
  }

  /* put hamburger on the right */
  .hamburger {
    grid-area: hamburger;
    justify-self: end;
    width: 54px;   /* was 74px */
    height: 30px;  /* a bit shorter */
  }
  .hamburger span {
    height: 4px;          /* thinner lines */
    width: 100%;
  }
}



.footer-logo-icon {
  background: none;                /* remove circle */
  border: none;                    /* no border */
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-zodiac {
  font-size: 2.4rem;
  color: var(--teal-dark);
  line-height: 1;
  transition: all 0.35s ease;
  position: relative;
}

/* glowing hover effect */
.footer-zodiac:hover {
  color: #0f3b3b;
  text-shadow:
    0 0 8px rgba(151, 205, 202, 0.7),
    0 0 16px rgba(201, 169, 110, 0.5),
    0 0 24px rgba(151, 205, 202, 0.4);
  transform: scale(1.08);
}

/* gentle continuous pulse */
@keyframes subtlePulse {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 6px rgba(151, 205, 202, 0.5);
  }
  50% {
    transform: scale(1.06);
    text-shadow:
      0 0 10px rgba(201, 169, 110, 0.4),
      0 0 16px rgba(151, 205, 202, 0.6);
  }
}

/* optional: always-on slow pulse */
.footer-zodiac {
  animation: subtlePulse 5s ease-in-out infinite;
}



/* === CLEAN ELEMENT COLORS FOR SIGN ICONS (no bg, no glow) === */

/* wipe the old gold gradient + animation */
.sign-card .sign-icon {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  animation: none !important;
  font-size: 2rem;
}

/* fire signs: warm rust */
.sign-card.fire .sign-icon {
  color: #8b3418;
}

/* earth signs: earthy green-brown */
.sign-card.earth .sign-icon {
  color: #4a5f45;
}

/* air signs: muted indigo/lilac */
.sign-card.air .sign-icon {
  color: #5b4d92;
}

/* water signs: deep teal-blue */
.sign-card.water .sign-icon {
  color: #275a63;
}

/* keep horoscope icons big on small screens */
@media (max-width: 650px) {
  .sign-card .sign-icon {
    font-size: 2.1rem;
    line-height: 1;
    display: inline-block;
  }
}

/* iPhone / iOS bump: some glyphs render smaller there */
@media screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  .sign-card .sign-icon {
    font-size: 2.35rem;
    line-height: 1;
	   -webkit-text-stroke: 0.5px #0f3b3b; /* dark teal outline */
    text-shadow: 0 0 1px #0f3b3b;       /* fills micro gaps */
  }
}


/* iPhone: make fire icons warmer/richer */
@media screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  .sign-card.fire .sign-icon {
    color: #c94a1a;               /* deeper fire than desktop */
    -webkit-text-stroke: 0.6px #8a3412;
    text-shadow: 0 0 1px #8a3412;
  }
}


/* TEMP FIX: balance spacing inside featured-tools */
.featured-tools {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

/* remove extra bottom margin from inner elements */
.featured-tools .feature-pair,
.featured-tools .card-grid,
.featured-tools .feature-card {
  margin-bottom: 0 !important;
}

/* give a consistent small buffer between cards and bottom edge */
.featured-tools .feature-pair {
  padding-bottom: 0.5rem;
}





/* ==== Header Moon Widget (compact, site-wide) ==== */
#moon-phase-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  text-align: center;
}

/* Circle container for the SVG */
#moon-phase-svg {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  overflow: hidden;          /* hides any square edges from the SVG */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Make the inline SVG fill the circle cleanly */
#moon-phase-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

#moon-phase-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal-dark);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-top: -0.65rem;
}

#moon-phase-widget .moon-sub {
  display: flex;          /* was inline-flex */
  width: 100%;            /* take full width under the moon */
  justify-content: center;
  gap: 0.25rem;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(15,59,59,.85);
  line-height: 1.2;
  text-align: center;     /* keeps text itself centered */
}

#moon-phase-widget #moon-in-text {
  color: #5c3358;
}

/* iOS-only subtle clarity boost for "Moon in Virgo" */
@supports (-webkit-touch-callout: none) {
  #moon-in-text {
    color: #4f2c4c !important;    /* slightly deeper but same tone */
    font-weight: 600 !important;  /* minor bold bump */
    -webkit-text-stroke: 0px !important; /* remove outline entirely */
    text-shadow: none !important;        /* remove shadows */
  }
}

.moon-glyph {
  font-size: 1.25rem;
  line-height: 1;
  vertical-align: middle;
  text-shadow: 0 0 3px rgba(0,0,0,0.06);
}


@media (max-width: 780px) {
  #moon-in-text {
    font-size: 1rem;   /* bump slightly */
  }
}


/* Mobile sizing */
@media (max-width: 780px) {
  #moon-phase-svg { width: 105px; height: 105px; }
  #moon-phase-text { font-size: 1.02rem; }
  
	#moon-phase-widget .moon-sub { font-size: .88rem; }
  .moon-glyph { font-size: 1.35rem; }
}

/* Optional: color the glyph by element (JS sets data-element on #moon-sign-glyph) */
.moon-glyph[data-element="fire"]  { color: #c94a1a; }  /* Aries, Leo, Sag */
.moon-glyph[data-element="earth"] { color: #5e7b5e; }  /* Taurus, Virgo, Cap */
.moon-glyph[data-element="air"]   { color: #6c5cb5; }  /* Gemini, Libra, Aqu */
.moon-glyph[data-element="water"] { color: #2a7a88; }  /* Cancer, Scorpio, Pis */




/* Nudge the H1 closer to the header/moon on small screens */
@media (max-width: 700px) {
  .hero-split .hero-content h1 {
    margin-top: -0.6rem;  /* tweak this: -0.4rem, -0.8rem, etc. */
  }
}

#moon-sign-glyph {
  font-weight: 500; /* lighter */
}

/* iOS ONLY — deeper, richer moon glyph colors + fake bold */
@supports (-webkit-touch-callout: none) {
  #moon-sign-glyph.moon-glyph {
    font-weight: 500;
  }

  /* Fire: Aries, Leo, Sag */
  #moon-sign-glyph.moon-glyph[data-element="fire"] {
    /* main fill stays your original fire color */
    color: #c94a1a;
    -webkit-text-stroke: 0.4px #8a3412;
    text-shadow: 0 0 1px #8a3412;
  }

  /* Earth: Taurus, Virgo, Capricorn */
  #moon-sign-glyph.moon-glyph[data-element="earth"] {
    color: #5e7b5e;
    -webkit-text-stroke: 0.4px #394a37;
    text-shadow: 0 0 1px #394a37;
  }

  /* Air: Gemini, Libra, Aquarius */
  #moon-sign-glyph.moon-glyph[data-element="air"] {
    color: #6c5cb5;
    -webkit-text-stroke: 0.4px #43346e;
    text-shadow: 0 0 1px #43346e;
  }

  /* Water: Cancer, Scorpio, Pisces */
  #moon-sign-glyph.moon-glyph[data-element="water"] {
    color: #2a7a88;
    -webkit-text-stroke: 0.4px #1e4850;
    text-shadow: 0 0 1px #1e4850;
  }
}


#moon-sign-glyph {
  font-family: 'Inter', 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}





/* === FINAL: unify card glyph size on ALL pages (home + horoscopes) === */
.sign-card .sign-icon {
  font-family: 'Inter', 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  display: inline-block;

  /* kill earlier iOS outline tweaks for card icons */
  -webkit-text-stroke: 0;
  text-shadow: none;
}

/* Slight bump on phones so iOS and Android feel the same */
@media (max-width: 650px) {
  .sign-card .sign-icon {
    font-size: 2.6rem;
  }
}



/* energy box – base styles */
.energy-pill {
  background: linear-gradient(135deg, #97cdca 0%, #cbeae7 55%, #e7f6f5 100%);
  border: 1px solid rgba(15, 59, 59, 0.18);
  border-radius: 0.85rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  box-sizing: border-box;
  padding: 0.6rem 0.9rem;

  height: auto;
  min-height: 80px;
  min-width: 96px;
  max-width: 210px;

  white-space: normal;   /* allow wrapping */
  margin-left: auto;
}

/* label + vibe: same size & weight */
.energy-pill .label,
.energy-pill .vibe {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;      /* match label size */
  line-height: 1.25;
  color: #093131;
  font-weight: 700;       /* same boldness as label */
}

.energy-pill .number {
  font-size: 2.1rem;
  font-weight: 700;
  color: #0f3b3b;
  margin-top: 0.2rem;
  line-height: 1;
}

/* vibe line under the number */




/* lift the pill so it sits a bit higher away from "Waning Crescent" */
.header-right .energy-pill {
  margin-left: 0;
  margin-top: 0;   /* adjust this up/down if you want more/less gap */
}

/* small phones */
@media (max-width: 500px) {
  .energy-pill {
    max-width: 165px;     /* wider → label fits on one line, vibe ~2 lines */
    min-height: 92px;
    padding: 0.55rem 0.7rem;
  }

  /* "Today's Energy" stays on one line */
  .energy-pill .label {
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
  }

  /* vibe allowed to wrap, but not too narrow */
  .energy-pill .vibe {
    font-size: 0.8rem;
    font-weight: 700;
    max-width: 11ch;      /* usually 2 lines for "The Mystic Seeker" */
  }

  .energy-pill .number {
    font-size: 2rem;
  }
}


 
/* extra-tiny Android / small iPhones */
  @media (max-width: 380px) {
  .energy-pill {
    max-width: 150px;    /* a bit wider so we stay at 2 lines, not 3 */
    min-height: 100px;
    padding: 0.55rem 0.6rem;
  }

  .energy-pill .label {
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .energy-pill .vibe {
    font-size: 0.78rem;
    font-weight: 700;
    max-width: 10ch;     /* still ~2 lines on tiny phones */
  }

  .energy-pill .number {
    font-size: 1.9rem;
  }
}


