/* Look & feel based on srigurubabaji.org (Elementor kit): navy #093672, orange #F7652D, saffron #F8A442, sand #F2F1EF.
   Site fonts Reforma / Renner are licensed; Cormorant Garamond / Jost are close Google Fonts substitutes. */
:root {
  --navy: #093672;
  --navy-deep: #06264f;
  --orange: #F7652D;
  --saffron: #F8A442;
  --sand: #F2F1EF;
  --ink: #282828;
  --muted: #7A7A7A;
  --bs-body-font-family: 'Jost', system-ui, sans-serif;
  --bs-body-color: #3d3d3d;
  --bs-link-color-rgb: 9, 54, 114;
  --bs-primary-rgb: 9, 54, 114;
}
body { background: #fff; font-size: 16px; line-height: 1.66; }
h1, h2, h3, h4, .display-font { font-family: 'Cormorant Garamond', Georgia, serif; color: var(--navy); font-weight: 600; }
h5, h6 { color: var(--ink); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2.8px; text-transform: uppercase; color: var(--orange); }

/* header — same as srigurubabaji.org: white bar, seal logo, centred menu, grey block behind the active item */
.site-header { background: #fff; border-bottom: 1px solid #e9e7e3; z-index: 1030; }
.site-header-inner { display: flex; align-items: stretch; justify-content: center; min-height: 92px; }
.site-logo { display: flex; align-items: center; padding: 0 2.25rem 0 0; }
.site-logo img { width: 60px; height: 60px; }
.site-header .navbar-collapse { align-self: stretch; }
.site-menu { align-items: stretch; align-self: stretch; }
@media (min-width: 1200px) { .site-menu .nav-item { display: flex; } }
.site-menu .nav-link { display: flex; align-items: center; height: 100%; padding: 0 1.55rem !important; color: #3a3a3a; font-size: 15px;
  font-weight: 400; letter-spacing: .9px; transition: background .15s, color .15s; }
.site-menu .nav-link:hover { color: #000; }
.site-menu .nav-link.active { background: var(--sand); color: #000; font-weight: 600; }
.site-menu .dropdown-toggle::after { border-top-width: .38em; border-left-width: .32em; border-right-width: .32em; margin-left: .55rem; vertical-align: .12em; }
.site-menu .dropdown-menu { border-radius: 0; border: 0; box-shadow: 0 10px 30px rgba(0,0,0,.08); margin-top: 0; padding: .4rem 0; }
.site-menu .dropdown-item { font-size: 14px; letter-spacing: .5px; padding: .55rem 1.2rem; }
.site-util { align-items: center; margin-left: 1rem; gap: .25rem; }
.hdr-icon { display: inline-flex; align-items: center; color: #3a3a3a; font-size: 1.25rem; padding: .35rem .45rem; text-decoration: none; }
.hdr-icon:hover { color: var(--orange); }
.hdr-icon.dropdown-toggle::after { display: none; }
.hdr-badge { position: absolute; top: -2px; right: -4px; background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; border-radius: 10px; padding: 1px 5px; line-height: 1.3; }
@media (min-width: 1200px) { .site-menu .dropdown:hover > .dropdown-menu { display: block; } }
@media (max-width: 1199.98px) {
  .site-header-inner { justify-content: space-between; align-items: center; min-height: 76px; flex-wrap: wrap; }
  .site-logo { padding: 0; }
  .site-menu .nav-link { padding: .75rem 0 !important; border-bottom: 1px solid #f0efec; }
  .site-menu .nav-link.active { background: transparent; color: var(--orange); }
  .site-util { margin: .5rem 0 1rem; flex-direction: row; }
}

.btn-accent { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 600; letter-spacing: .5px; }
.btn-accent:hover, .btn-accent:focus { background: #e2531c; border-color: #e2531c; color: #fff; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.bg-primary-deep { background: var(--navy) !important; }
.bg-sand { background: var(--sand); }
.text-orange { color: var(--orange) !important; }
.text-navy { color: var(--navy) !important; }

.hero { position: relative; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: #fff; }
/* whole photo, never cropped */
.hero-photo { max-width: 100%; max-height: 520px; width: auto; height: auto; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.hero > .container { position: relative; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero .lead { color: #e7ecf4; }

.dvs-banner { background: linear-gradient(120deg, #fff6ec, #fde7d6); border: 1px solid #f8d2b5; border-radius: 14px; }
.dvs-banner .badge-season { background: var(--orange); }

.seva-card { border: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 24px rgba(9,54,114,.08); transition: transform .15s, box-shadow .15s; }
.seva-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(9,54,114,.14); }
.img-frame { background: var(--sand); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.seva-card .img-frame { height: 260px; }
/* never crop temple photos: the whole picture is always shown */
.seva-card .card-img-top { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.seva-card .price { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; color: var(--orange); }
.seva-card h3 { font-size: 1.6rem; }
.chip { display: inline-block; background: var(--sand); color: var(--ink); border-radius: 30px; padding: 2px 10px; font-size: 12.5px; margin: 0 4px 4px 0; }
.chip i { color: var(--orange); }

.seva-hero-frame { background: var(--sand); border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.seva-hero-img { display: block; max-width: 100%; max-height: 640px; width: auto; height: auto; object-fit: contain; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-thumbs button { border: 2px solid transparent; border-radius: 8px; padding: 0; background: var(--sand); width: 76px; height: 76px; overflow: hidden; }
.gallery-thumbs button.active { border-color: var(--orange); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.panel { background: #fff; border-radius: 14px; box-shadow: 0 6px 24px rgba(9,54,114,.08); padding: 1.5rem; }
.panel-sand { background: var(--sand); border-radius: 14px; padding: 1.25rem; }

/* availability calendar */
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.cal-day { aspect-ratio: 1 / 1; border: 1px solid #e6e6e6; border-radius: 8px; background: #fff; font-weight: 500; font-size: 15px;
           display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; padding: 0; }
.cal-day small { font-size: 10px; font-weight: 500; }
.cal-day.ok { border-color: #b9dcc4; background: #f2fbf5; color: #1d6b38; cursor: pointer; }
.cal-day.ok:hover { border-color: var(--orange); }
.cal-day.full { background: #fdf0ef; color: #b44b40; border-color: #f3c9c4; cursor: not-allowed; }
.cal-day.na { background: #fafafa; color: #c4c4c4; cursor: not-allowed; }
.cal-day.empty { visibility: hidden; }
.cal-day.sel { background: var(--orange); border-color: var(--orange); color: #fff; }
.cal-legend span { font-size: 12px; margin-right: 12px; }
.cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }
.slot-btn { min-width: 150px; }
.slot-btn .left { display: block; font-size: 11px; opacity: .8; }

.cart-thumb { width: 72px; height: 72px; object-fit: contain; background: var(--sand); border-radius: 10px; }
.summary-row { display: flex; justify-content: space-between; padding: .35rem 0; }
.summary-total { border-top: 2px solid var(--navy); font-weight: 700; font-size: 1.15rem; color: var(--navy); }

.auth-wrap { max-width: 520px; }
.form-label { font-weight: 500; }
.req::after { content: " *"; color: var(--orange); }

.site-footer { background: var(--navy); color: #d8e0ec; }
.site-footer a { color: #d8e0ec; text-decoration: none; }
.site-footer a:hover { color: var(--saffron); }
.footer-h { color: #fff; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; font-weight: 700; }
.footer-logo { background: #fff; border-radius: 50%; padding: 4px; }
.footer-bottom { background: var(--navy-deep); color: #aebbd0; font-size: 13px; }

.stat { border-radius: 14px; padding: 1rem 1.25rem; background: #fff; box-shadow: 0 4px 16px rgba(9,54,114,.07); }
.stat .n { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat .l { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--orange); }

/* admin */
.admin-body { background: #f5f6f8; }
.admin-side { background: var(--navy); min-height: 100vh; width: 240px; flex-shrink: 0; }
.admin-side a { color: #d8e0ec; display: block; padding: .55rem 1.25rem; text-decoration: none; font-size: 15px; }
.admin-side a:hover, .admin-side a.active { background: rgba(255,255,255,.08); color: #fff; border-left: 3px solid var(--orange); }
.admin-side .sec { color: #8fa3c2; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; padding: 1rem 1.25rem .25rem; }
.dvs-grid td, .dvs-grid th { font-size: 12.5px; padding: .3rem .4rem; white-space: nowrap; }
.dvs-grid .free { background: #f2fbf5; color: #1d6b38; }
.dvs-grid .booked { background: #fde7d6; color: #8a3a12; font-weight: 500; }
.dvs-grid .held { background: #fff6d6; color: #7a6000; }
.dvs-grid .reserved { background: #e6ecf5; color: #093672; font-weight: 500; }
.table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; }
@media (max-width: 991px) { .admin-side { width: 100%; min-height: auto; } }

/* admin help (user manual on screen) */
.help-link { text-align: right; font-size: 13px; margin: -8px 0 6px; }
.help-link a { color: var(--muted); text-decoration: none; }
.help-link a:hover { color: var(--orange); }
.help-toc { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.help-toc li a { display: block; padding: 6px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 14.5px; }
.help-toc li a:hover { background: var(--sand); }
.help-toc li a.active { background: var(--navy); color: #fff; }
.help-doc { font-size: 16px; line-height: 1.6; max-width: 1050px; }
.help-doc h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2.1rem; color: var(--navy); border-bottom: 2px solid var(--navy);
  padding-bottom: 6px; margin: 44px 0 16px; scroll-margin-top: 16px; }
.help-doc .help-chapter:first-of-type h2, .help-doc .help-chapter:nth-of-type(2) h2 { margin-top: 0; }
.help-doc h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.45rem; color: var(--navy); margin: 26px 0 8px; }
.help-doc table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15px; }
.help-doc th { background: var(--navy); color: #fff; text-align: left; padding: 8px 12px; font-weight: 600; }
.help-doc td { border-bottom: 1px solid #e3e6ea; padding: 8px 12px; vertical-align: top; }
.help-doc code, .help-doc .ui { font-family: inherit; font-weight: 600; color: var(--navy); background: #eef2f8; padding: 1px 6px; border-radius: 4px; white-space: nowrap; font-size: .95em; }
.help-doc .shot { margin: 12px 0 22px; text-align: center; }
.help-doc .shot img { max-width: 100%; height: auto; border: 1px solid #d9dde3; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.help-doc .shot figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.help-doc .note, .help-doc .tip, .help-doc .warn { border-radius: 8px; padding: 12px 16px; margin: 12px 0 18px; }
.help-doc .note { background: #eef2f8; border-left: 4px solid var(--navy); }
.help-doc .tip { background: #f1f8f3; border-left: 4px solid #2f7d4a; }
.help-doc .warn { background: #fdf1ea; border-left: 4px solid #B4441A; }
.help-doc .note b:first-child, .help-doc .tip b:first-child, .help-doc .warn b:first-child { display: block; margin-bottom: 4px; }
.help-doc .steps { counter-reset: s; list-style: none; padding-left: 0; }
.help-doc .steps > li { counter-increment: s; position: relative; padding-left: 38px; margin-bottom: 10px; }
.help-doc .steps > li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%;
  background: #B4441A; color: #fff; font-weight: 600; font-size: 13px; text-align: center; line-height: 26px; }
.help-doc .badge { font-size: 12px; }
.help-doc .b-green { background: #2f7d4a; } .help-doc .b-amber { background: #b7791f; } .help-doc .b-red { background: #c53030; } .help-doc .b-grey { background: #6b7280; }
.help-doc .two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 991px) { .help-doc .two { grid-template-columns: 1fr; } .help-toc { position: static; max-height: none; } }

/* donate: one-time / recurring choice */
.btn-check:checked + .btn-outline-navy, .btn-check:focus-visible + .btn-outline-navy { background: #093672; border-color: #093672; color: #fff; }
