/* =========================================================
   Sasthra Online Ashram — Stylesheet
   ========================================================= */

:root{
  --gold: #c9a24b;
  --gold-light: #e8d3a0;
  --cream: #fdf8ef;
  --ink: #2a1f14;
  --maroon: #4a1212;
  --green-wa: #25d366;
  --font-serif: 'Cormorant Garamond', serif;
  --font-display: 'Marcellus', serif;
  --font-body: 'Mukta', sans-serif;
}

*{ margin:0; padding:0; box-sizing:border-box; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  background: var(--cream);
}

img{ max-width:100%; display:block; }

a{ text-decoration:none; color:inherit; }



h1,h2,h3,h4{ font-family: var(--font-display); }

.btn{
  display:inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: all 0.25s ease;
}
.btn-primary{
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover{ background: var(--gold-light); color: var(--ink); }

.btn-whatsapp{
  background: var(--green-wa);
  color: #fff;
  margin-left: 1rem;
}
.btn-whatsapp:hover{ background: #1ebe5b; }

.section-head{
  text-align:center;
  margin-bottom: 3rem;
}
.section-head h2{
  font-size: 2.2rem;
  color: var(--ink);
}
.rule{
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
}

.inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
header{
  position: sticky;
  top: 0;
  z-index: 100;
  
  background:
    var(--ink)
    url('images/landing.png') center/cover no-repeat;
}

.nav{
  max-width: 1180px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  z-index: 150;
}

.logo-wrap{ display:flex; align-items:center; gap: 0.8rem; }
.logo-wrap img{ height: 48px; width:auto; }
.logo-text{ display:flex; flex-direction:column; line-height:1.1; }
.logo-text .brand{
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}
.logo-text .tag{
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: #cfc6b8;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav ul{
  list-style:none;
  display:flex;
  gap: 2rem;
}
.nav ul a{
  color: #f1ead9;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nav ul a:hover{ color: var(--gold); }

.menu-toggle{
  display:none;
  background:none;
  border:none;
  font-size: 1.8rem;
  color: var(--gold-light);
  cursor:pointer;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
  }

  .hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
  }

  .hero-slide.active {
    opacity: 1;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(135deg, rgba(100, 68, 165, 0.75), rgba(10,5,30,0.55)); */
  }

  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 4rem 2rem;
    align-items: center;
  }

  .eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 1rem;
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin: 0 0 1.5rem;
  }

  .hero h1 em {
    color: #f0c36d;
    font-style: normal;
  }

  .hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .btn {
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .btn:hover {
    transform: translateY(-2px);
  }

  .btn-primary {
    background: #f0c36d;
    color: #2a1a40;
  }

  .btn-whatsapp {
    background: #25D366;
    color: #fff;
  }

/* =========================================================
   SERVICES
   ========================================================= */
.services{
  position: relative;
  background:
    linear-gradient(rgba(253,248,239,0.92), rgba(253,248,239,0.92)),
    url('https://source.unsplash.com/1920x1080/?mandala,sacred-geometry') center/cover no-repeat;
  background-attachment: fixed;
}

.service-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card{
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(201,162,75,0.25);
  border-radius: 8px;
  padding: 2.2rem 1.6rem;
  text-align:center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.service-card .num{
  display:inline-block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  width: 48px; height: 48px;
  line-height: 46px;
  margin-bottom: 1rem;
}
.service-card h3{
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.service-card p{ font-size: 0.95rem; color: #5c4f3e; }

/* =========================================================
   ABOUT / ASTROLOGER
   ========================================================= */
#astrologer {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Eyebrow --- */
#astrologer .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 3.5rem;
}

#astrologer .eyebrow h2 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #854F0B;
  border-bottom: 1.5px solid #EF9F27;
  display: inline-block;
  padding-bottom: 6px;
}

/* --- About grid --- */
.inner.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.inner.about img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.about-text h2 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  color: #2c2c2a;
  margin-bottom: 1.25rem;
}

.about-text p {
  font-size: 15px;
  line-height: 1.75;
  color: #5f5e5a;
  margin-bottom: 1rem;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  border-top: 0.5px solid #d3d1c7;
  padding-top: 2rem;
}

.credentials > div {
  text-align: center;
}

.credentials .big {
  font-size: 32px;
  font-weight: 400;
  color: #854f0b;
  line-height: 1;
}

.credentials .small {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888780;
  margin-top: 4px;
}

/* --- Astrologer grid --- */
.astro {
  display: grid;
  grid-template-columns: auto 280px 1fr;
  grid-template-rows: 1fr auto;
  gap: 0 2rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: end;
}

.astro > h2 {
  grid-column: 1;
  grid-row: 1 / 3;
  /* writing-mode: vertical-rl; */
  /* transform: rotate(180deg); */
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #854f0b;
  align-self: center;
}

.astro > img {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  align-self: end;
}

.astro-details {
  grid-column: 3;
  /* grid-row: 2; */
}

.astro-details h2 {
  font-size: 32px;
  font-weight: 400;
  color: #2c2c2a;
  margin-bottom: 0.5rem;
}

.astro-details p {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #888780;
  text-transform: uppercase;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .inner.about {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .astro {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .astro > h2 {
    grid-column: 1;
    grid-row: 1;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .astro > img {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: 300px;
  }

  .astro-details {
    grid-column: 1;
    grid-row: 3;
  }
}

/* =========================================================
   SYMBOLS CAROUSEL (Chakras, Breath, Alpha, Communication,
   Cyber, Physiology, Angelic Light)
   ========================================================= */
.symbols{
  padding: 5rem 0;
  background: linear-gradient(180deg, #fdf8ef 0%, #f5ead4 100%);
}
.symbols .section-head{ padding: 0 1.5rem; }

.carousel{
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.carousel-track{
  display:flex;
  width: max-content;
  animation: scrollSymbols 45s linear infinite;
}
.carousel:hover .carousel-track{ animation-play-state: paused; }

.carousel-item{
  flex: 0 0 auto;
  width: 280px;
  margin: 0 12px;
  position: relative;
  border-radius: 10px;
  overflow:hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.carousel-item img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: saturate(1.05);
}
.carousel-item span{
  position:absolute;
  bottom:0; left:0; right:0;
  padding: 0.7rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(20,12,5,0.75));
  color: #fdf8ef;
  font-family: var(--font-display);
  letter-spacing: 1px;
  font-size: 1rem;
}

@keyframes scrollSymbols{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   CONSULTATION
   ========================================================= */
.consult{
  background:
    linear-gradient(rgba(20,12,5,0.78), rgba(20,12,5,0.85)),
    url('https://source.unsplash.com/1920x1080/?flute,bansuri,music') center/cover no-repeat;
  background-attachment: fixed;
}
.consult .section-head h2,
.consult .eyebrow{ color: var(--gold-light); }
.consult .section-head h2{ color: #fff; }

.form-wrap{
  background: rgba(253,248,239,0.96);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.form-grid .full{ grid-column: 1 / -1; }

.form-grid label{
  display:block;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.form-grid input{
  width:100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d8c9a8;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
}
.form-grid input:focus{
  outline:none;
  border-color: var(--gold);
}
.form-grid .full .btn{
  width:100%;
  text-align:center;
  border:none;
  cursor:pointer;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer{
  background:
    linear-gradient(rgba(10,5,20,0.88), rgba(10,5,20,0.92)),
    url('https://source.unsplash.com/1920x600/?night-sky,stars') center/cover no-repeat;
  color: #e6ded0;
}
.foot-inner{
  max-width: 1180px;
  margin:0 auto;
  padding: 4rem 1.5rem 2rem;
  display:grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.foot-inner h4{
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.foot-inner p{ font-size: 0.9rem; color: #cfc6b8; }
.foot-inner ul{ list-style:none; }
.foot-inner ul li{ margin-bottom: 0.5rem; font-size: 0.9rem; color: #cfc6b8; }

.social{ display:flex; gap: 1rem; margin-top: 1rem; }
.social a{
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  color: var(--gold-light);
  font-size: 1rem;
  transition: background 0.2s;
}
.social a:hover{ background: var(--gold); color:#1a1208; }

.bottom-bar{
  text-align:center;
  padding: 1.2rem;
  font-size: 0.8rem;
  color: #9b8f7c;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */
.fab{
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px; height: 56px;
  background: var(--green-wa);
  color:#fff;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 90;
  transition: transform 0.2s;
}
.fab:hover{ transform: scale(1.08); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px){
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
  #astrologer .inner.about{ grid-template-columns: 1fr; }
  .foot-inner{ grid-template-columns: 1fr 1fr; }
  .hero h1{ font-size: 2.4rem; }
}

@media (max-width: 640px){
  .menu-toggle{ display:block; }
  .nav ul{
    position:absolute;
    top: 100%;
    left:0; right:0;
    background: rgba(10,8,25,0.97);
    flex-direction:column;
    padding: 1rem 1.5rem;
    gap: 1rem;
    display:none;
  }
  .nav.open ul{ display:flex; }

  .service-grid{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .foot-inner{ grid-template-columns: 1fr; text-align:center; }
  .social{ justify-content:center; }
  .hero h1{ font-size: 1.9rem; }
  .hero-actions{ flex-direction:column; }
  .btn-whatsapp{ margin-left:0; }
}
