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

:root {
  --maroon: #711c24;
  --deep: #421016;
  --saffron: #e79b28;
  --gold: #c99a42;
  --cream: #fff8ed;
  --ink: #28201d;
  --muted: #75645b;
  --line: #eadcc8;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font: 16px/1.65 'DM Sans', Arial, sans-serif;
  color: var(--ink);
  background: #fffdf9;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER & NAVIGATION */
.site-header {
  height: auto;
  min-height: 82px;
  padding: 14px max(5%, calc((100% - 1180px)/2));
  display: flex;
  align-items: center;
  gap: 25px;
  background: #fffaf2;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--maroon);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--maroon);
  color: #f7c56b;
  font-size: 25px;
  flex-shrink: 0;
}

.brand b {
  display: block;
  letter-spacing: .06em;
  font-size: 14px;
}

.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: .13em;
  color: #98703b;
}

.site-header nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}

.site-header nav a {
  transition: color .2s;
}

.site-header nav a:hover {
  color: var(--maroon);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  font-size: 13px;
  color: var(--maroon);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 24px;
  color: var(--maroon);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  background: var(--maroon);
  color: white;
  border-radius: 7px;
  font-weight: 700;
  border: 1px solid var(--maroon);
  cursor: pointer;
  transition: .2s;
}

.btn:hover {
  background: var(--deep);
  transform: translateY(-1px);
}

.btn-small {
  padding: 9px 14px;
  font-size: 13px;
}

.btn-outline {
  background: transparent;
  color: var(--maroon);
}

/* HERO SECTION */
.hero {
  background: radial-gradient(circle at 75% 25%, #8d3a39, #421016 70%);
  color: #fff;
  padding: 78px 6%;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 45px;
  align-items: center;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  color: #f6c66e;
  font-weight: 700;
  letter-spacing: .14em;
  font-size: 12px;
  text-transform: uppercase;
}

.hero h1 {
  font: 700 clamp(34px, 4.5vw, 56px)/1.15 'Playfair Display', serif;
  margin: 17px 0;
}

.hero p {
  font-size: 18px;
  color: #f5e5d5;
  max-width: 570px;
}

.hero .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.hero .btn {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #35100f;
}

.hero .btn-outline {
  background: transparent;
  color: #fff;
  border-color: #cba777;
}

.hero-art {
  min-height: 380px;
  border-radius: 20px;
  border: 2px solid var(--gold);
  background: linear-gradient(140deg, rgba(0,0,0,0.15), rgba(0,0,0,0.35)), url('../images/hero_trimbakeshwar.jpg') center/cover;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

/* BADGE STRIP */
.badge-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 24px 6%;
}

.badge-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.badge-item b {
  display: block;
  font-size: 28px;
  color: var(--maroon);
  font-family: 'Playfair Display', serif;
}

.badge-item span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* SECTIONS & HEADINGS */
.section {
  padding: 70px 6%;
  max-width: 1300px;
  margin: auto;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 35px;
}

.section-head h2,
.page-hero h1 {
  font: 700 clamp(28px, 3.5vw, 42px) 'Playfair Display', serif;
  color: var(--maroon);
  margin: 8px 0;
}

.section-head p {
  color: var(--muted);
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 8px 25px #5a2a1208;
  transition: .2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px #5a2a1215;
}

.card-img {
  height: 195px;
  background: linear-gradient(135deg, #f9e6c8, #8a3a31);
  display: grid;
  place-items: center;
  color: #7b3c22;
  font-size: 50px;
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.card:hover .card-img img {
  transform: scale(1.06);
}

.card-body {
  padding: 22px;
}

.card h3 {
  color: var(--maroon);
  font: 700 22px 'Playfair Display', serif;
  margin: 0 0 8px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  color: #9a611c;
  font-weight: 700;
  font-size: 14px;
}

.cream {
  background: var(--cream);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.visual-panel {
  background: linear-gradient(135deg, #f1d6a9, #7b2c2c);
  border-radius: 18px;
  min-height: 330px;
  display: grid;
  place-items: center;
  font-size: 90px;
  color: #fff4d7;
}

.checklist {
  padding: 0;
  list-style: none;
}

.checklist li {
  margin: 12px 0;
  line-height: 1.6;
}

.checklist li:before {
  content: '✓';
  color: #b77a22;
  font-weight: 900;
  margin-right: 10px;
}

.online-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

/* CTA BOX */
.cta {
  background: linear-gradient(135deg, #711c24 0%, #3d0d13 100%);
  color: #fff;
  padding: 45px 30px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(66,16,22,0.25);
  border: 1px solid rgba(201,154,66,0.35);
  position: relative;
  overflow: hidden;
}

.cta h2, .content-wrap .cta h2 {
  font: 700 32px 'Playfair Display', serif;
  margin: 0 0 12px;
  color: #ffffff!important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

.cta p, .content-wrap .cta p {
  color: #f8e3d3!important;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto 20px;
  max-width: 650px;
}

.cta .btn {
  background: var(--saffron)!important;
  color: #35100f!important;
  border-color: var(--saffron)!important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(231,155,40,0.35);
}

.cta .btn:hover {
  background: #f6aa38!important;
  transform: translateY(-2px);
}

.cta .btn-outline {
  background: rgba(255,255,255,0.12)!important;
  color: #ffffff!important;
  border: 1px solid rgba(255,255,255,0.5)!important;
}

.cta .btn-outline:hover {
  background: rgba(255,255,255,0.25)!important;
  color: #ffffff!important;
}

.page-hero {
  background: var(--cream);
  padding: 55px 6%;
  text-align: center;
}

.page-hero p {
  color: var(--muted);
  max-width: 700px;
  margin: auto;
}

.content-wrap {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 22px;
}

.content-wrap h2, .content-wrap h3 {
  color: var(--maroon);
}

/* TESTIMONIALS & FAQS */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 25px rgba(90,42,18,0.04);
  position: relative;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 10px;
}

.testimonial-quote {
  font-style: italic;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.testimonial-author {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-weight: 700;
  color: var(--maroon);
}

.testimonial-city {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.faq-card summary {
  font-weight: 700;
  font-size: 17px;
  color: var(--maroon);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: '+';
  font-size: 22px;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.faq-card[open] summary::after {
  content: '−';
}

.faq-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

/* FORMS */
.form-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 35px #4d1b130c;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  font-weight: 700;
  font-size: 13px;
}

.field input, .field select, .field textarea {
  border: 1px solid #dccdbb;
  border-radius: 7px;
  padding: 12px;
  font: inherit;
  background: #fffdf9;
  width: 100%;
}

.field textarea {
  min-height: 120px;
}

.notice {
  padding: 14px;
  border-radius: 8px;
  background: #edf8ed;
  color: #205d2c;
  margin-bottom: 18px;
}

/* FOOTER */
.footer {
  background: #26080d;
  color: #f8e8d7;
  padding: 60px 6% 24px;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  max-width: 1240px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 1fr 1.2fr;
  gap: 35px;
}

.footer-col h4 {
  color: #efbd63;
  font-size: 17px;
  margin: 0 0 16px;
  font-family: 'Playfair Display', serif;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background: var(--saffron);
}

.footer-desc {
  color: #d8bdb0;
  font-size: 14px;
  line-height: 1.7;
  margin: 14px 0;
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  color: #efbd63;
}

.footer-badges span {
  background: rgba(239,189,99,0.12);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(239,189,99,0.3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: #f2d7c3;
  font-size: 14px;
  transition: all .2s;
  text-decoration: none;
  display: inline-block;
}

.footer-links a:hover {
  color: #efbd63;
  transform: translateX(4px);
}

.footer-contact-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff!important;
  text-decoration: none;
  font-size: 14px;
  background: rgba(255,255,255,0.06);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(239,189,99,0.25);
  transition: .2s;
}

.footer-contact-link:hover {
  background: rgba(239,189,99,0.18);
  color: #efbd63!important;
}

.footer-contact-link.whatsapp-link {
  border-color: rgba(37,211,102,0.5);
  color: #5cf498!important;
}

.footer-address {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #d8bdb0;
  line-height: 1.6;
  margin-top: 4px;
}

.footer-timing {
  font-size: 12px;
  color: #efbd63;
  font-weight: 600;
  margin-top: 4px;
}

/* ELEGANT SUBTLE VISITOR BADGE (BELOW COPYRIGHT) */
.site-visit-badge {
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  color: #c4a292;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0.85;
}

.site-visit-badge .visit-count {
  color: #ffde94;
  font-weight: 700;
  background: rgba(239, 189, 99, 0.12);
  border: 1px solid rgba(239, 189, 99, 0.25);
  padding: 2px 9px;
  border-radius: 12px;
  letter-spacing: .05em;
  font-size: 11px;
}

.copyright-bar {
  border-top: 1px solid rgba(239,189,99,0.25);
  margin-top: 45px;
  padding-top: 22px;
}

.copyright-inner {
  max-width: 1240px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #c8a99a;
}

.copyright-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.copyright-links a {
  color: #f2d7c3;
  text-decoration: none;
  display: inline!important;
  transition: color .2s;
  font-size: 13px;
}

.copyright-links a:hover {
  color: #efbd63;
  text-decoration: underline;
}

.copyright-links .sep {
  color: #8b5258;
  margin: 0 4px;
}

/* FLOATING WHATSAPP */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: #25d366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(37,211,102,0.6);
  color: #fff;
}

/* BREADCRUMBS */
.breadcrumbs-bar {
  background: #fdf8f0;
  border-bottom: 1px solid var(--line);
  padding: 12px 6%;
  font-size: 13px;
}

.breadcrumbs-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
}

.breadcrumbs-inner a {
  color: var(--maroon);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}

.breadcrumbs-inner a:hover {
  color: var(--deep);
  text-decoration: underline;
}

.breadcrumbs-inner .sep {
  color: #c4a89b;
}

.breadcrumbs-inner .current {
  color: var(--ink);
  font-weight: 500;
}

.service-media-wrap {
  margin-bottom: 28px;
}

.service-media-wrap img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 14px;
}

.service-body-text h2, .service-body-text h3 {
  color: var(--maroon);
  font-family: 'Playfair Display', serif;
  margin: 24px 0 10px;
}

.service-body-text h2 {
  font-size: 26px;
}

.service-body-text h3 {
  font-size: 20px;
}

.service-body-text ol, .service-body-text ul {
  padding-left: 22px;
  line-height: 1.8;
}

.service-body-text li {
  margin: 6px 0;
}

.nav-mobile-cta {
  display: none;
  padding: 10px 16px;
  background: var(--maroon);
  color: #fff!important;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
  margin-top: 8px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLETS, IPADS, & MOBILES)
   ========================================================================== */

/* TABLETS & IPADS (<= 991px) */
@media (max-width: 991px) {
  .site-header {
    flex-wrap: wrap;
    padding: 12px 5%;
    gap: 15px;
  }

  .site-header nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    width: 100%;
    padding: 16px 0 6px;
    border-top: 1px solid var(--line);
    order: 10;
    margin-left: 0;
  }

  .site-header nav.open {
    display: flex;
  }

  .nav-mobile-cta {
    display: block;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    cursor: pointer;
  }

  .head-actions .btn {
    display: none;
  }

  /* CRITICAL HERO FIX: Switch from 2 columns to 1 clean stacked column */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 55px 6%;
    gap: 35px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-art {
    min-height: 300px;
    width: 100%;
  }

  /* CRITICAL SPLIT FIX: Prevent squishing on about & contact pages */
  .split {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .badge-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .section {
    padding: 55px 5%;
  }
}

/* PHONES & SMALL SCREENS (<= 650px) - iPhone, Android */
@media (max-width: 650px) {
  .site-header {
    min-height: 70px;
    padding: 10px 4%;
  }

  .brand b {
    font-size: 13px;
  }

  .brand small {
    font-size: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .hero {
    padding: 38px 5%;
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(28px, 7.8vw, 36px);
    line-height: 1.2;
    margin: 12px 0;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero .actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .hero .actions .btn,
  .hero .actions .btn-outline {
    width: 100%;
    text-align: center;
  }

  .hero-art {
    min-height: 220px;
    border-radius: 14px;
  }

  .badge-strip {
    padding: 18px 4%;
  }

  .badge-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .badge-item b {
    font-size: 22px;
  }

  .badge-item span {
    font-size: 11px;
  }

  .section {
    padding: 42px 4%;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2,
  .page-hero h1 {
    font-size: clamp(24px, 6.5vw, 30px);
  }

  .cards {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .card-img {
    height: 180px;
  }

  .card-body {
    padding: 18px;
  }

  .visual-panel {
    min-height: 220px;
    font-size: 60px;
  }

  .split {
    gap: 25px;
  }

  .online-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta {
    padding: 32px 18px;
    border-radius: 14px;
  }

  .cta h2, .content-wrap .cta h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .cta p, .content-wrap .cta p {
    font-size: 14px;
  }

  .cta div .btn,
  .cta div .btn-outline {
    width: 100%;
  }

  .form-card {
    padding: 20px 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .field.full {
    grid-column: auto;
  }

  .footer {
    padding: 45px 5% 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .copyright-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .whatsapp-float {
    padding: 10px 16px;
    font-size: 14px;
    bottom: 16px;
    right: 16px;
  }
}

/* EXTRA SMALL MOBILES (<= 380px) */
@media (max-width: 380px) {
  .brand b {
    font-size: 12px;
  }

  .brand small {
    font-size: 8px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .badge-grid {
    gap: 8px;
  }

  .badge-item b {
    font-size: 20px;
  }
}


/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */
.admin-body {
  background: #f5f2ed;
}

.admin-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}

.admin-side {
  background: #421016;
  color: #fff;
  padding: 25px;
}

.admin-side a {
  display: block;
  padding: 10px;
  border-radius: 6px;
  color: #f4dccc;
}

.admin-side a:hover {
  background: #711c24;
}

.admin-main {
  padding: 30px;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.admin-table th, .admin-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 14px;
}

.admin-table th {
  background: #fff4e5;
}

.admin-box {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 20px;
  overflow-x: auto;
}

@media (max-width: 768px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-side {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .admin-main {
    padding: 15px;
    overflow: auto;
  }
  .admin-table {
    min-width: 650px;
  }
}
