/* =========================================================
   ShivPooja — Design tokens & shared styles
   Fonts: Cormorant Garamond (display) + Jost (body/UI)
   ========================================================= */

:root{
  /* Palette — drawn from the mark: deep basalt shivling, saffron flame, tulsi leaf */
  --ink-950: #1c1210;
  --ink-900: #241713;
  --maroon-900: #3a1512;
  --maroon-800: #4d1d16;
  --saffron-700: #c85a1d;
  --saffron-600: #e07b2c;
  --saffron-500: #ef9640;
  --saffron-300: #f6c384;
  --leaf-600: #45703a;
  --leaf-500: #588a4b;
  --cream-100: #fbf4e8;
  --cream-200: #f4e9d8;
  --paper: #fffaf2;
  --ink: #241713;
  --ink-soft: #5c4a41;
  --line: #e6d7c2;

  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 22px;
  --shadow-soft: 0 18px 40px -22px rgba(36,23,19,.35);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-100);
  font-size: 16px;
  line-height: 1.6;
}

h1,h2,h3,h4,.display-serif{
  font-family: var(--font-display);
  color: var(--ink-950);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .2px;
}

h1{ font-weight: 700; }

p{ color: var(--ink-soft); }

a{ text-decoration: none; }

::selection{ background: var(--saffron-300); color: var(--ink-950); }

:focus-visible{
  outline: 2px solid var(--saffron-600);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

.container-narrow{ max-width: 760px; margin: 0 auto; }

.section{ padding: 5.5rem 0; }
.section-tight{ padding: 3.25rem 0; }
@media (max-width: 767.98px){
  .section{ padding: 3.5rem 0; }
  .section-tight{ padding: 2.25rem 0; }
}

.section-head{ margin-bottom: 2.75rem; }
.section-head .kicker{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--saffron-700);
  display: block;
  margin-bottom: .35rem;
}
.section-head h2{ font-size: clamp(1.9rem, 3vw, 2.7rem); margin-bottom: .5rem; }
.section-head p{ max-width: 46ch; }

.bg-paper{ background: var(--paper); }
.bg-cream{ background: var(--cream-100); }
.bg-dusk{
  background: radial-gradient(120% 140% at 10% 0%, var(--maroon-800), var(--ink-950) 65%);
  color: #f4e6d6;
}
.bg-dusk h1, .bg-dusk h2, .bg-dusk h3{ color: #fbf1e3; }
.bg-dusk p{ color: #d9c3ae; }

/* ---------- Buttons ---------- */
.btn{
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 999px;
  padding: .68rem 1.55rem;
  font-size: .96rem;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn-flame{
  background: linear-gradient(135deg, var(--saffron-600), var(--saffron-700));
  border: none;
  color: #fff8ee;
  box-shadow: 0 12px 26px -12px rgba(200,90,29,.65);
}
.btn-flame:hover, .btn-flame:focus{
  background: linear-gradient(135deg, var(--saffron-500), var(--saffron-600));
  color: #fff8ee;
  transform: translateY(-1px);
}
.btn-outline-ink{
  border: 1.5px solid var(--ink-950);
  color: var(--ink-950);
  background: transparent;
}
.btn-outline-ink:hover{ background: var(--ink-950); color: #fbf1e3; }
.btn-ghost-light{
  border: 1.5px solid rgba(251,241,227,.55);
  color: #fbf1e3;
  background: transparent;
}
.btn-ghost-light:hover{ background: rgba(251,241,227,.12); color:#fff; }
.btn-sm-pill{ padding: .4rem 1.1rem; font-size: .84rem; border-radius: 999px; }

/* ---------- Navbar ---------- */
.site-header{
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,250,242,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled{ box-shadow: 0 10px 24px -18px rgba(36,23,19,.5); }

.brand{
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
}
.brand-mark{
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.brand-name{ font-size: 1.4rem; font-weight: 700; color: var(--ink-950); line-height: 1; }
.brand-name em{ font-style: normal; color: var(--saffron-700); }
.brand-sub{ display:block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .11em; color: var(--ink-soft); text-transform: uppercase; }

.nav-link{
  font-size: .93rem;
  color: var(--ink) !important;
  font-weight: 500;
  padding: .5rem .9rem !important;
  position: relative;
}
.nav-link.active, .nav-link:hover{ color: var(--saffron-700) !important; }
.nav-link.active::after{
  content:"";
  position:absolute; left: .9rem; right: .9rem; bottom: .2rem;
  height: 2px; background: var(--saffron-600); border-radius: 2px;
}
.nav-icon-btn{
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--ink);
  background: #fff;
}
.nav-icon-btn:hover{ border-color: var(--saffron-600); color: var(--saffron-700); }

/* ---------- Hero (flame motif) ---------- */
.hero{
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 160% at 85% -10%, #5a241c 0%, var(--ink-950) 55%);
  color: #f7ead9;
}
.hero .flame-orbit{
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
}
.hero-eyebrow{
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; letter-spacing: .08em; color: var(--saffron-300);
  border: 1px solid rgba(246,195,132,.35); border-radius: 999px;
  padding: .3rem .9rem; margin-bottom: 1.1rem;
}
.hero h1{
  color: #fdf3e5;
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  max-width: 12ch;
}
.hero p.lead{ color: #dcc4ac; max-width: 46ch; font-size: 1.08rem; }

.trust-strip{
  border-top: 1px solid rgba(246,195,132,.18);
  margin-top: 3rem; padding-top: 1.75rem;
}
.trust-item{ display:flex; align-items:center; gap:.6rem; color:#e7d3bd; font-size:.86rem; }
.trust-item i{ color: var(--saffron-400); font-size: 1.2rem; }

/* diya svg */
.diya-graphic{ width: 100%; max-width: 380px; }

/* ---------- Cards ---------- */
.service-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: transform .22s ease, box-shadow .22s ease;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.service-card .thumb{
  height: 150px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--maroon-800), var(--ink-950));
}
.service-card .thumb i{ font-size: 2.6rem; color: var(--saffron-400); }
.service-card .badge-tag{
  position: absolute; top: .7rem; left: .7rem;
  font-size: .66rem; letter-spacing: .04em;
  padding: .3rem .6rem; border-radius: 999px;
  background: rgba(251,241,227,.92); color: var(--ink-950); font-weight: 600;
}
.service-card .body{ padding: 1.2rem 1.3rem 1.4rem; }
.service-card h3{ font-size: 1.28rem; margin-bottom: .25rem; }
.service-card .timing{ font-size: .82rem; color: var(--saffron-700); margin-bottom: .55rem; }
.service-card .timing i{ margin-right: .3rem; }
.service-card p{ font-size: .9rem; margin-bottom: 1rem; }
.service-card .actions{ display: flex; gap: .55rem; }
.service-card .actions .btn{ flex: 1; font-size: .82rem; padding: .5rem .8rem; }

.feature-card{
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.7rem 1.5rem;
  background: var(--paper);
  height: 100%;
}
.feature-card .icon{
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--cream-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--saffron-700); font-size: 1.4rem; margin-bottom: 1rem;
}
.feature-card h3{ font-size: 1.15rem; margin-bottom: .4rem; }
.feature-card p{ font-size: .89rem; margin: 0; }

.step-card{ position: relative; padding-left: 3.6rem; }
.step-num{
  position: absolute; left: 0; top: 0;
  width: 2.7rem; height: 2.7rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron-600), var(--saffron-700));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}
.step-card h3{ font-size: 1.1rem; margin-bottom: .35rem; }
.step-card p{ font-size: .88rem; margin: 0; }

/* schedule list */
.schedule-item{
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .95rem 0; border-bottom: 1px dashed var(--line);
}
.schedule-item:last-child{ border-bottom: none; }
.schedule-time{
  font-family: var(--font-display); font-weight: 700; color: var(--saffron-700);
  min-width: 78px; font-size: 1.05rem;
}
.schedule-name{ font-weight: 500; font-size: .96rem; }
.schedule-place{ font-size: .8rem; color: var(--ink-soft); }

/* testimonial */
.testimonial-card{
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 1.8rem;
  height: 100%;
}
.testimonial-card .stars{ color: var(--saffron-600); font-size: .85rem; margin-bottom: .7rem; }
.testimonial-card p.quote{ font-family: var(--font-display); font-size: 1.12rem; color: var(--ink-950); font-style: italic; }
.testimonial-card .who{ font-size: .84rem; font-weight: 600; color: var(--ink); margin-top: .9rem; }

/* stats band */
.stat{ text-align: center; }
.stat .num{ font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; color: var(--saffron-300); }
.stat .label{ font-size: .82rem; color: #d9c3ae; letter-spacing: .03em; }

/* CTA banner */
.cta-banner{
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--maroon-900), var(--ink-950) 70%);
  color: #f8ead9;
  padding: 3rem;
  position: relative; overflow: hidden;
}
.cta-banner h2{ color: #fbf1e3; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.cta-banner p{ color: #d9c3ae; }

/* ---------- Page header (inner pages) ---------- */
.page-header{
  background: linear-gradient(120deg, var(--cream-200), var(--cream-100));
  padding: 3.2rem 0 3rem;
  border-bottom: 1px solid var(--line);
}
.page-header .quote-side{
  font-family: var(--font-display); font-style: italic; color: var(--saffron-700);
  font-size: 1.1rem; text-align: right;
}
.breadcrumb-row a{ color: var(--ink-soft); font-size: .85rem; }
.breadcrumb-row a:hover{ color: var(--saffron-700); }
.breadcrumb-row .sep{ color: var(--line); margin: 0 .4rem; }

/* ---------- Filter tabs (services page) ---------- */
.filter-tabs{ display: flex; flex-wrap: wrap; gap: .6rem; }
.filter-tab{
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: .5rem 1.15rem;
  font-size: .87rem;
  font-weight: 500;
}
.filter-tab.active, .filter-tab:hover{
  background: var(--ink-950); color: #fbf1e3; border-color: var(--ink-950);
}
.search-box{
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: .35rem .5rem .35rem 1.1rem;
  display: flex; align-items: center; gap: .5rem;
  max-width: 280px;
}
.search-box input{ border: none; outline: none; background: transparent; font-size: .88rem; width: 100%; }

/* pricing tiers */
.tier-card{
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 2rem 1.6rem; background: var(--paper); height: 100%;
  position: relative;
}
.tier-card.tier-featured{
  border-color: var(--saffron-600);
  box-shadow: var(--shadow-soft);
}
.tier-card .tier-price{ font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--ink-950); }
.tier-card .tier-price small{ font-family: var(--font-body); font-size: .8rem; color: var(--ink-soft); font-weight: 400; }
.tier-card ul{ list-style: none; padding: 0; margin: 1.3rem 0; font-size: .89rem; }
.tier-card ul li{ padding: .38rem 0; display: flex; gap: .55rem; color: var(--ink-soft); }
.tier-card ul li i{ color: var(--leaf-600); margin-top: .2rem; }

/* ---------- Details page ---------- */
.detail-gallery-main{
  border-radius: var(--radius-lg);
  height: 340px;
  background: linear-gradient(150deg, var(--maroon-800), var(--ink-950));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.detail-gallery-main i{ font-size: 4rem; color: var(--saffron-400); }
.play-chip{
  position: absolute; bottom: 1rem; left: 1rem;
  background: rgba(251,241,227,.92); color: var(--ink-950);
  font-size: .78rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .4rem;
}
.thumb-strip{ display: flex; gap: .6rem; margin-top: .7rem; }
.thumb-strip .t{
  flex: 1; height: 64px; border-radius: var(--radius-sm);
  background: var(--cream-200); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--saffron-700);
  cursor: pointer;
}
.thumb-strip .t.active{ outline: 2px solid var(--saffron-600); }

.detail-meta{ display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 1rem 0 1.4rem; }
.detail-meta div{ font-size: .86rem; }
.detail-meta i{ color: var(--saffron-700); margin-right: .4rem; }
.detail-meta strong{ display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink-950); }

.quote-banner{
  border-left: 3px solid var(--saffron-600);
  background: var(--cream-200);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.3rem;
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem;
  color: var(--maroon-900); margin: 1.4rem 0;
}

.info-box{
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--paper); padding: 1.5rem;
}
.info-box h4{ font-size: 1.1rem; margin-bottom: .9rem; }
.info-box .row-item{ display: flex; justify-content: space-between; font-size: .87rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.info-box .row-item:last-child{ border-bottom: none; }
.info-box .row-item span:first-child{ color: var(--ink-soft); }
.info-box .row-item span:last-child{ font-weight: 500; }

.benefit-box{
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--cream-200); padding: 1.5rem; margin-top: 1.3rem;
}
.benefit-box h4{ font-size: 1.1rem; margin-bottom: .8rem; }
.benefit-box li{ font-size: .89rem; color: var(--ink-soft); display: flex; gap: .5rem; padding: .3rem 0; }
.benefit-box li i{ color: var(--leaf-600); margin-top: .2rem; }

.social-row{ display: flex; gap: .55rem; margin-top: .8rem; }
.social-row a{
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.social-row a:hover{ background: var(--ink-950); color: #fff; border-color: var(--ink-950); }

.review-card{ border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); padding: 1.4rem; height: 100%; }
.review-card .stars{ color: var(--saffron-600); font-size: .82rem; }
.review-card p{ font-size: .9rem; margin: .6rem 0; }
.review-card .who{ font-size: .82rem; font-weight: 600; color: var(--ink); }

/* ---------- Booking page ---------- */
.form-card{
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper); padding: 2.2rem;
}
.form-label{ font-size: .86rem; font-weight: 500; color: var(--ink); }
.form-control, .form-select{
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .65rem .85rem;
  font-size: .92rem;
  background: #fff;
}
.form-control:focus, .form-select:focus{
  border-color: var(--saffron-600);
  box-shadow: 0 0 0 .18rem rgba(224,123,44,.18);
}

.summary-card{
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--cream-200); padding: 1.5rem;
}
.summary-card .thumb-sm{
  width: 64px; height: 64px; border-radius: var(--radius-sm);
  background: linear-gradient(140deg, var(--maroon-800), var(--ink-950));
  display: flex; align-items: center; justify-content: center; color: var(--saffron-400); font-size: 1.5rem;
  flex-shrink: 0;
}
.help-card{
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--paper); padding: 1.2rem 1.3rem;
  display: flex; gap: .9rem; align-items: flex-start; margin-top: 1rem;
}
.help-card i{ color: var(--saffron-700); font-size: 1.3rem; }
.help-card h5{ font-size: .95rem; margin-bottom: .15rem; font-family: var(--font-body); font-weight: 600; }
.help-card p{ font-size: .83rem; margin: 0; }

.accordion-item{ border: 1px solid var(--line); border-radius: var(--radius-sm) !important; margin-bottom: .6rem; overflow: hidden; }
.accordion-button{ font-weight: 500; font-size: .95rem; background: var(--paper); }
.accordion-button:not(.collapsed){ background: var(--cream-200); color: var(--saffron-700); box-shadow: none; }
.accordion-button:focus{ box-shadow: none; border-color: var(--saffron-600); }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--ink-950);
  color: #d9c3ae;
  padding: 4rem 0 0;
}
.site-footer h5{ color: #fbf1e3; font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 1.1rem; }
.site-footer a{ color: #d9c3ae; font-size: .89rem; }
.site-footer a:hover{ color: var(--saffron-400); }
.site-footer .brand-mark-wrap{
  width: 52px; height: 52px; border-radius: 50%; background: #fbf1e3;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border: 2px solid rgba(251,241,227,.25);
}
.site-footer .brand-mark-wrap img{ width: 100%; height: 100%; object-fit: cover; }
.footer-links li{ margin-bottom: .6rem; }
.footer-contact li{ display: flex; gap: .6rem; margin-bottom: .85rem; font-size: .89rem; }
.footer-contact i{ color: var(--saffron-400); margin-top: .2rem; }
.footer-social{ display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a{
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(217,195,174,.3);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover{ background: var(--saffron-600); border-color: var(--saffron-600); color: #fff; }
.newsletter-row .form-control{
  background: rgba(251,241,227,.06); border: 1px solid rgba(217,195,174,.3); color: #fbf1e3;
}
.newsletter-row .form-control::placeholder{ color: #a9927f; }
.footer-bottom{
  border-top: 1px solid rgba(217,195,174,.15);
  margin-top: 3rem; padding: 1.3rem 0; font-size: .82rem; color: #a9927f;
}
.footer-bottom a{ color: #a9927f; }

/* back to top */
.back-to-top{
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 1040;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink-950); color: #fbf1e3;
  display: flex; align-items: center; justify-content: center;
  border: none; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  box-shadow: 0 12px 24px -10px rgba(0,0,0,.4);
}
.back-to-top.show{ opacity: 1; visibility: visible; transform: translateY(0); }

/* misc */
.divider-om{ color: var(--saffron-600); font-size: 1.4rem; text-align: center; margin: 0 auto 1rem; }
hr.hr-soft{ border-color: var(--line); opacity: 1; }
