/* ============================================================
   SBTPS - Global Stylesheet
   Sompura Brahmin Tirth Purohit Somnath
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Hind:wght@300;400;500;600;700&family=Inter:wght@400;600;700&family=Anek+Devanagari:wght@400;600;700&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --primary:        #F47B20;
  --primary-dark:   #D96A10;
  --primary-light:  #FFF3E8;
  --topbar-bg:      #1a1a1a;
  --nav-bg:         #F47B20;
  --white:          #ffffff;
  --off-white:      #F9F5F0;
  --text-dark:      #1C1C1C;
  --text-mid:       #444444;
  --text-light:     #777777;
  --border:         #E6E6E6;
  --card-shadow:    0 2px 16px rgba(0,0,0,0.08);
  --radius:         10px;
  --radius-btn:     50px;
  --transition:     0.25s ease;
  --font-display:   'Cinzel', serif;
  --font-body:      'Inter', sans-serif;
  --max-width:      1110px;
  --section-pad:    80px 30px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
}

img {
  border-radius: 10px;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

h1 {
  font-size: 48px;
  line-height: 62px;
  font-weight: 700;
}

.hero-title {
  font-size: 48px;
  line-height: 62px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
}

h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: normal;
}
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 0.95rem; }
h6 { font-size: 0.85rem; }

p {
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
  color: var(--text-mid);
  color: #000000;
}

/* ── Utility ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad { padding: var(--section-pad); }

.section-header {
  text-align: center;
  margin-bottom: 30px;
}
.section-header h2 { margin-bottom: 0px; }
.section-header p  { color: black; font-size: 1rem; }

.text-center { text-align: center; }
.text-orange { color: var(--primary); }


/* Section description */
.vedic-section .section-header p {
  max-width: 560px;
  margin: 0 auto;
  line-height: 24px;
  margin-top: 12px;
  margin-bottom: 80px;
}

/* Card title */
.vedic-section .vedic-title {
  font-family: 'Anek Devanagari', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

/* Sanskrit text */
.vedic-section .vedic-sanskrit {
  font-family: 'Anek Devanagari', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #E53935;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Description */
.vedic-section .vedic-desc {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 34px;
  font-style: italic;
}


/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--text-dark);
  border: none;
}

.btn-white:hover {
  background: #f2f2f2;
}

/* ── Top Bar ──────────────────────────────────────────────── */
.topbar {
  background: var(--topbar-bg);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  padding: 8px 20px;
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
.topbar a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition);
}
.topbar a:hover { color: var(--primary); }
.topbar img { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Navigation ───────────────────────────────────────────── */
.navbar {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(244,123,32,0.25);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  max-width: 160px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: transparent;
  color: rgba(255,255,255,0.8);
}

.nav-cta {
  background: #EAEAEA !important;
  color: #000000 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 0 20px !important;
  height: 37px;
  display: flex;
  align-items: center;
  border-radius: 999px !important;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--off-white) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}


/* Toggle hidden desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  display: block;
  transition: 0.3s;
}

/* Mobile */
@media (max-width: 768px) {

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid #E6E6E6;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .nav-cta {
    display: none;
  }
}

/* Desktop button visible */
.nav-cta-mobile {
  display: none;
}

/* Mobile behavior */
@media (max-width: 768px) {

  /* Hide desktop button */
  .nav-cta:not(.nav-cta-mobile) {
    display: none;
  }

  /* Show mobile button inside menu */
  .nav-cta-mobile {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

}


/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  background: #333 center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 490px;
}
.hero::after {
  content: none;
}

.hero-overlay-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-overlay-dark .hero-content h1 {
  color: #ffffff;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 115px 24px;
  max-width: 800px;
}
.hero-content h1 {
  color: #000000;
  margin-bottom: 30px;
}

.hero-content p {
  color: rgba(255,255,255,0.92);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 620px;
  margin: 0 auto 20px;
}

/* Hero with share icons (room booking / palkhi yatra) */
.hero-share {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.hero-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--text-dark);
  transition: background var(--transition), transform var(--transition);
}
.hero-share a:hover { background: var(--primary); color: var(--white); transform: scale(1.1); }
.hero-share svg    { width: 18px; height: 18px; }

/* ── Contact / Reach-out Cards ────────────────────────────── */
.contact-section {
  background: var(--off-white);
  padding: var(--section-pad);
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;

  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-card .icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.contact-card .icon-wrap img,
.contact-card .icon-wrap svg {
  width: 60px;
  height: 60px;
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-card p  { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 20px; }
.contact-card .btn { 
  margin-top: auto; 
}

.contact-cards {
  align-items: start;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
}

.contact-card p {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}


/* ── Gallery Grid ─────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-item {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item.small {
  height: 220px;
}

.gallery-item.large {
  height: 460px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.gallery-item img:hover {
  transform: scale(1.02);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  overflow: visible;
  background: var(--primary);
  color: #000000;
  padding: 60px 20px 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo-text { color: #000000; }
.footer-brand p {
  font-size: 0.85rem;
  color: #000000;
  line-height: 1.65;
  margin-bottom: 20px;
}
.footer-social {
  overflow: visible;
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.footer-social a {
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 36px;
  
  color: var(--white);
  transition: background var(--transition);
}

.footer-social img {
  border-radius: 0;
}

.footer-social a:hover { background: rgba(255,255,255,0.35); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
  color: black;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: black;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col address {
  font-style: normal;
  font-size: 0.88rem;
  color: rgba(0, 0, 0, 0.85);
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 0;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.75);
}
.footer-bottom a { color: rgba(0, 0, 0, 0.85); text-decoration: underline; }

/* ── Two-column image+text layout ────────────────────────── */
.img-text-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.img-text-row img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 300px;
}
.img-text-row .text-block h3 { margin-bottom: 10px; }
.img-text-row .text-block p  { font-size: 0.93rem; }

/* ── Traditions / Services Grid ──────────────────────────── */
.traditions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
}
.tradition-item img {
  width: 100%;
  aspect-ratio: 480 / 424;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}
.tradition-item h3 { margin-bottom: 8px; font-size: 1.15rem; }
.tradition-item p  { margin-top: 20px; }

/* ── Service / Community Cards ────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.services-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.service-card .svc-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 10px;
}
.service-card p  {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  color: black;
}

vedic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.vedic-card {
  text-align: left;
  width: 100%;
}

.vedic-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.vedic-sanskrit {
  font-size: 22px;
  font-weight: 700;
  color: #E53935;
  line-height: 1.8;
  margin-bottom: 16px;
}

.vedic-desc {
  font-size: 18px;
  line-height: 28px;
  font-style: italic;
}

.vedic-grid {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .vedic-grid {
    flex-direction: column;
  }
}

/* Wrapper to control width like Figma */
.purana-ref-section .purana-ref-wrap {
}

/* Heading */
.purana-ref-section h2 {
  margin-bottom: 24px;
}

/* List styling */
.purana-ref-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.purana-ref-list li {
  font-family: 'Anek Devanagari', sans-serif;
  font-size: 18px;
  line-height: 28px;
}


/* about-us.css – page-specific */

.about-intro {
  max-width: 690px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-intro .verse-block {
  max-width: none;
  width: 100%;
}

.about-intro p {
  text-align: left;
}


/* ── Orange highlight / quote section ────────────────────── */
.highlight-section {
  background: var(--primary);
  color: var(--white);
  padding: var(--section-pad);
  text-align: center;
}
.highlight-section h2 { color: var(--white); margin-bottom: 30px; }
.highlight-section p  { color: rgba(255,255,255,0.9); max-width: 780px; margin: 0 auto; max-width: 690px;}
.highlight-section .sanskrit {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 20px;
  line-height: 1.9;
}

/* ── Sanskrit / verse blocks ─────────────────────────────── */
.verse-block {
  text-align: center;
  padding: 30px 20px;
  font-family: 'Anek Devanagari', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #000000;
}

/* ── Yellow conversations section ────────────────────────── */
.shiva-parvati {
  background: #F5C800;
  padding: var(--section-pad);
}
.shiva-parvati .section-header h2 { color: var(--text-dark); }
.shiva-parvati .section-header p  { color: var(--text-dark); }
.shiva-conv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.conv-col h4 { font-size: 0.95rem; margin-bottom: 10px; }
.conv-col .sanskrit-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #CC0000;
  line-height: 1.9;
  margin-bottom: 12px;
}
.conv-col .translation {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* ── Member / Community cards ─────────────────────────────── */
.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.member-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}



.member-card .role { font-size: 0.82rem; color: var(--text-light); margin-bottom: 4px; }
.member-card h3    { font-size: 1rem; margin-bottom: 6px; }
.member-card .phone { font-size: 0.88rem; color: var(--text-mid); }

/* ── How to Reach ─────────────────────────────────────────── */
.reach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.reach-item svg { width: 48px; height: 48px; margin-bottom: 14px; color: var(--text-dark); }
.reach-item h3  { font-size: 18px; margin-bottom: 10px; margin-top: 20px;}
.reach-item p   { font-size: 18px; color: black; line-height: 1.7; }

/* ── Social Banner ────────────────────────────────────────── */
.social-banner {
  background: var(--primary);
  padding: 48px 20px;
  text-align: center;
}
.social-banner h2 { color: var(--white); margin-bottom: 8px; }
.social-banner p  { color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.social-banner-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.social-banner-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  transition: transform var(--transition);
}

.social-banner-icons svg { width: 22px; height: 22px; }

/* ── Room Booking specific shared ────────────────────────── */
.room-features {
  text-align: center;
  margin: 40px 0 24px;
}
.room-features h2 { margin-bottom: 6px; }
.room-features .amenities {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.room-features .amenities span::before { content: '• '; color: var(--primary); }

.room-features .amenities span {font-size: 20px; margin-bottom: 50px;}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px 16px; }

  .nav-links, .nav-cta-wrap {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .navbar .container { position: relative; }

  .img-text-row       { grid-template-columns: 1fr; }
  .traditions-grid    { grid-template-columns: 1fr; }
  .services-grid      { grid-template-columns: 1fr; }
  .services-grid-2    { grid-template-columns: 1fr; }
  .members-grid       { grid-template-columns: 1fr 1fr; }
  .reach-grid         { grid-template-columns: 1fr; }
  .gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* IMPORTANT: remove fixed heights on mobile */
.gallery-item.small,
.gallery-item.large {
  height: auto;
}

  .shiva-conv-grid    { grid-template-columns: 1fr; }
  .contact-cards      { grid-template-columns: 1fr; }
  .footer-top         { grid-template-columns: 1fr; }

  .gallery-grid .span-2-row { grid-row: span 1; }
  .gallery-grid .span-2-row img { height: 220px; }
  .gallery-grid img { height: 180px; }
}

@media (max-width: 480px) {
  .members-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero { min-height: 320px; }
}

@media (max-width: 768px) {

  .nav-links a {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 16px;
  }

}

/* Default state */
.nav-toggle img {
  width: 24px;
  height: 24px;
}

/* Hide close icon initially */
.icon-close {
  display: none;
}

/* When menu open */
.nav-toggle.open .icon-menu {
  display: none;
}

.nav-toggle.open .icon-close {
  display: block;
}

@media (max-width: 520px) {

  .nav-logo img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  object-position: left;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
}

}