/* ==========================================================================
   Nadinath Mahadev Tirth — stylesheet
   ========================================================================== */

:root {
  --maroon-dark: #172a45;
  --maroon: #24405e;
  --maroon-soft: #35577d;
  --saffron: #d9a441;
  --saffron-light: #e8be6e;
  --gold: #c79a46;
  --cream: #f5f4ef;
  --cream-dark: #eae8e1;
  --ink: #1e2430;
  --ink-soft: #5b6270;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(23, 42, 69, 0.16);
  --shadow-sm: 0 4px 14px rgba(23, 42, 69, 0.12);
  --radius: 14px;
  --font-en-head: "Marcellus", serif;
  --font-en-body: "Poppins", sans-serif;
  --font-gu-head: "Noto Serif Gujarati", serif;
  --font-gu-body: "Noto Sans Gujarati", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-en-body);
  line-height: 1.7;
  overflow-x: hidden;
}

html.lang-en body { font-family: var(--font-en-body); }
html:not(.lang-en) body { font-family: var(--font-gu-body); }

h1, h2, h3, h4 {
  font-family: var(--font-gu-head);
  color: var(--maroon);
  line-height: 1.3;
  font-weight: 600;
}
html.lang-en h1, html.lang-en h2, html.lang-en h3, html.lang-en h4 {
  font-family: var(--font-en-head);
  font-weight: 400;
  letter-spacing: 0.01em;
}

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- language toggle ---------- */
.t-en { display: none; }
html.lang-en .t-gu { display: none; }
html.lang-en .t-en { display: inline; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--saffron-light), var(--saffron));
  color: var(--maroon-dark);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-outline-maroon {
  background: transparent;
  border-color: var(--maroon);
  color: var(--maroon);
}
.btn-outline-maroon:hover { background: var(--maroon); color: var(--white); }

/* ---------- top bar ---------- */
.topbar {
  background: var(--maroon-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar-msg { display: flex; align-items: center; gap: 8px; }
.topbar-msg .topbar-text { min-width: 0; }
.lang-switch { flex: 0 0 auto; }
.lang-switch {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  cursor: pointer;
  font-weight: 500;
}
.lang-switch:hover { background: rgba(255,255,255,0.22); }

/* ---------- header / nav ---------- */
header.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 12px rgba(23,42,69,0.08);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-text { min-width: 0; }
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-soft));
  color: var(--saffron-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-family: var(--font-gu-head);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand-text .name-gu {
  font-family: var(--font-gu-head);
  font-size: 1.25rem;
  color: var(--maroon);
  font-weight: 700;
  display: block;
}
.brand-text .name-en {
  font-family: var(--font-en-head);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-transform: uppercase;
  display: block;
}

nav.main-nav ul { display: flex; gap: 6px; align-items: center; }
nav.main-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s ease;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  background: var(--cream-dark);
  color: var(--maroon);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--maroon);
  border-radius: 2px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  min-height: 78vh;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,24,38,0.32) 0%, rgba(23,42,69,0.45) 55%, rgba(9,15,25,0.62) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 40px 24px;
  margin: 0 auto;
  text-align: center;
}
.hero .eyebrow {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--saffron-light);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.hero p.tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.92);
  max-width: 620px;
  margin: 0 auto 30px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.page-hero { min-height: 46vh; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

/* ---------- sections ---------- */
section { padding: 90px 0; }
.section-alt { background: var(--cream-dark); }
.section-maroon {
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  color: var(--white);
}
.section-maroon h2, .section-maroon h3 { color: var(--saffron-light); }

.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head .kicker {
  display: block;
  color: var(--saffron);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.05rem; }
.section-maroon .section-head p { color: rgba(255,255,255,0.82); }

/* two-column feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* rotate-frame: clips a rotated image to the same 4:3 slot other split images use */
.rotate-frame {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.rotate-frame img.rotate-ccw {
  border-radius: 0;
  box-shadow: none;
  transform: rotate(-90deg) scale(1.334);
}
.split .kicker {
  display: block;
  color: var(--saffron);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.split h2 { margin-bottom: 18px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.split p { color: var(--ink-soft); margin-bottom: 16px; }
.split p:last-of-type { margin-bottom: 0; }

/* card grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(23,42,69,0.06);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }

.card-photo {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-photo:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-photo img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-photo .cp-body { padding: 22px 22px 26px; }
.card-photo h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card-photo p { color: var(--ink-soft); font-size: 0.94rem; }

/* facilities list */
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(23,42,69,0.15);
}
.check-list li:last-child { border-bottom: none; }
.check-list .bullet {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}

/* stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  text-align: center;
}
.stats .stat-num {
  font-family: var(--font-en-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--saffron-light);
  display: block;
}
.stats .stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-top: 6px; }

/* timeline (history page) */
.timeline { position: relative; margin-left: 20px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--saffron), var(--maroon));
}
.timeline-item { position: relative; padding-left: 46px; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--maroon);
}
.timeline-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.timeline-item p { color: var(--ink-soft); }
.timeline-item .tl-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--maroon);
  background: var(--cream-dark);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* callout / quote */
.quote-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 24px;
}
.quote-block .glyph {
  font-size: 2.6rem;
  color: var(--saffron);
  font-family: var(--font-gu-head);
  margin-bottom: 18px;
}
.quote-block p.quote-text {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-family: var(--font-gu-head);
  color: var(--maroon);
  font-style: normal;
  line-height: 1.6;
}
html.lang-en .quote-block p.quote-text { font-family: var(--font-en-head); }
.quote-block .quote-attrib { margin-top: 16px; color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- gallery ---------- */
.gallery-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.gallery-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--maroon);
  background: transparent;
  color: var(--maroon);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.gallery-tab.active,
.gallery-tab:hover {
  background: var(--maroon);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item img.rotate-ccw { transform: rotate(-90deg); }
.gallery-item img.rotate-cw { transform: rotate(90deg); }
.gallery-item:hover img.rotate-ccw { transform: rotate(-90deg) scale(1.08); }
.gallery-item:hover img.rotate-cw { transform: rotate(90deg) scale(1.08); }
.gallery-item::after {
  content: "\2795";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  background: rgba(23,42,69,0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,16,26,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(90vw, 900px);
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox img.rotate-ccw,
.lightbox img.rotate-cw {
  max-width: 82vh;
  max-height: min(90vw, 900px);
}
.lightbox img.rotate-ccw { transform: rotate(-90deg); }
.lightbox img.rotate-cw { transform: rotate(90deg); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.28); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- live darshan / video embed ---------- */
.video-embed {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(160deg, var(--maroon-soft), var(--maroon-dark) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-embed-placeholder { text-align: center; color: #fff; padding: 24px; }
.play-ring {
  position: relative;
  width: 84px; height: 84px;
  margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
}
.play-ring::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  animation: pulse-ring 2.4s ease-out infinite;
}
.play-ring .play-btn {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--saffron-light);
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .play-ring::before { animation: none; }
}
.video-embed-placeholder h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.video-embed-placeholder p { color: rgba(255,255,255,0.78); font-size: 0.92rem; max-width: 380px; margin-left: auto; margin-right: auto; }
.status-badge {
  position: absolute;
  top: 18px; left: 18px;
  display: flex; align-items: center; gap: 7px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #9aa0a8; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: var(--maroon-dark);
  text-align: center;
  padding: 70px 24px;
}
.cta-band h2 { color: var(--maroon-dark); margin-bottom: 14px; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; color: rgba(23,42,69,0.85); }

/* ---------- visitor info / contact ---------- */
.info-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 34px;
}
.info-panel h3 { font-size: 1.2rem; margin-bottom: 18px; }
.info-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--cream-dark); }
.info-row:last-child { border-bottom: none; }
.info-row .ir-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--cream-dark); color: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.05rem;
}
.ir-svg { display: block; }
.info-row .ir-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.info-row .ir-value { font-weight: 600; color: var(--ink); }
.placeholder-tag {
  display: inline-block;
  background: #fff3cd;
  color: #8a6d1a;
  border: 1px dashed #d9b23c;
  padding: 1px 8px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  font-style: normal;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: none;
  width: 100%;
  height: 360px;
}

.contact-form { display: grid; gap: 16px; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(23,42,69,0.18);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--saffron);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: -4px; }

/* ---------- footer ---------- */
footer.site-footer {
  background: var(--maroon-dark);
  color: rgba(255,255,255,0.82);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  color: var(--saffron-light);
  font-size: 1rem;
  margin-bottom: 18px;
  font-family: var(--font-en-head);
}
.footer-about .brand { margin-bottom: 16px; }
.footer-about .brand-text .name-gu,
.footer-about .brand-text .name-en { color: var(--white); }
.footer-about p { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.footer-grid ul a:hover { color: var(--saffron-light); }
.footer-grid .info-row .ir-value, .footer-grid .info-row .ir-label { color: rgba(255,255,255,0.8); }
.footer-grid .info-row { border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid .info-row .ir-icon { background: rgba(255,255,255,0.1); color: var(--saffron-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
  gap: 10px;
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.social-row a:hover { background: var(--saffron); color: var(--maroon-dark); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  nav.main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(78vw, 320px);
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    z-index: 900;
    padding: 90px 28px 28px;
  }
  nav.main-nav.open { right: 0; }
  nav.main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  nav.main-nav a { padding: 13px 16px; }
  .nav-toggle { display: flex; flex: 0 0 auto; }
  .topbar-msg .topbar-text { display: none; }
  .topbar-msg { justify-content: flex-end; }
  .brand-mark { width: 40px; height: 40px; font-size: 1.25rem; flex-shrink: 0; }
  .brand-text {
    max-width: calc(100vw - 180px);
    overflow: hidden;
  }
  .brand-text .name-gu,
  .brand-text .name-en {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-text .name-en { font-size: 0.62rem; }
  section { padding: 60px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { min-height: 68vh; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 800;
}
.nav-overlay.open { display: block; }
