/* ============================================
   ŽNO Prešov — shared stylesheet
   Palette:  cream #FAF7F2 · indigo #1C2E4A · gold #B8935A
   Type:     Cormorant Garamond (display) + Source Sans 3 (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --cream: #ffffff;
  --cream-deep: #000000;
  --indigo: #000000;
  --indigo-soft: #000000;
  --gold: #000000;
  --gold-soft: #000000;
  --ink: #000000;
  --ink-soft: #797979;
  --line: #797979;
  --max: 1400px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }


body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: var(--indigo);
  margin: 0;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 80px);
}

.full-bleed {
  width: 100%;
  margin: 0;
}
.full-bleed img {
  width: 100%;
  height: auto;
  display: block;
}
/* ---------- Header / crest / nav ---------- */

.site-header {
  padding: 20px 0 0;
  text-align: left;
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--cream);
}

.text-center {
  text-align: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  position: relative;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.crest { width: 55px; height: 50px; object-fit: contain; display: block; }
.site-title-main { font-size: 30px; text-align: left; }
.site-title-sub { font-size: 20px; font-weight: 400; text-align: left; }
nav.main-nav { display: flex; align-items: center; gap: 8px; }
nav.main-nav ul { list-style: none; display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; }
.nav-toggle { display: block; background: none; border: none; cursor: pointer; padding: 12px; margin-right: 12px; }
.nav-toggle span { display: block; width: 28px; height: 3px; background: var(--indigo); margin: 5px 0; }


nav.main-nav ul {
   display: none; position: absolute; top: 100%; left: 0; right: 0;
   flex-direction: column; align-items: flex-start; gap: 18px;
   background: var(--cream); border-bottom: 1px solid var(--line);
   padding: 22px 28px 26px; z-index: 20;
}
nav.main-nav ul.open { display: flex; }

.site-title a { text-decoration: none; }


nav.main-nav a {
  text-decoration: none;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: var(--indigo);
  border-bottom-color: var(--gold);
}

/* ---------- Section heading with divider ---------- */

.section-head {
  margin: 0 0 30px;
}

.section-head h2 {
  font-size: 30px;
}

.section-head .rule {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin-top: 14px;
}

section {
  padding: 64px 0;
}

section + section {
  border-top: 1px solid var(--line);
}

/* ---------- Arch-framed image placeholder ----------
   Echoes the arched synagogue windows/doorways —
   replace the inner <img> src, keep the frame class. */

.arch-frame {
  position: relative;
  border-radius: 120px 120px 6px 6px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--cream-deep), #e6ddca);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-frame.wide {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
}

.arch-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arch-frame .placeholder-label {
  position: relative;
  z-index: 1;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  padding: 20px;
  border: 1px dashed var(--line);
  background: rgba(250, 247, 242, 0.7);
}

/* ---------- Home hero ---------- */

.hero {
  padding-top: 44px;
}

.hero .arch-frame {
  aspect-ratio: 21 / 9;
  border-radius: 6px;
}

.title-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 2px;
}

/* ---------- Cards (Služby grid) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.card h3 {
  font-size: 22px;
  margin: 18px 0 8px;
}

.card p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0;
}

/* ---------- Two-column O nás rows ---------- */

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

.split.reverse .arch-frame { order: -1; }

.intro-text {
  color: var(--ink-soft);
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.contact-item .icon {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-item h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.contact-item .label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--indigo);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
}

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 40px 0 50px;
  color: var(--ink-soft);
  font-size: 13.5px;
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  nav.main-nav ul { gap: 22px; flex-wrap: wrap; }
  .card-grid, .contact-grid { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .arch-frame { order: 0; }
  .section-head h2 { font-size: 28px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
