:root {
  --accent: #7a0034;
  --bg: #f7f8fa;
  --ink: #4a5266;
  --muted: #6b7690;
  --line: #e3e6ec;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }

/* hidden state inputs (language + menu) */
.state { position: absolute; opacity: 0; pointer-events: none; }

/* language switching, no JS */
#lang-hu:checked ~ * .en { display: none !important; }
#lang-en:checked ~ * .hu { display: none !important; }

/* ---------- header ---------- */
.site-header {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--accent);
  letter-spacing: .2px;
}
.brand-mono { display: none; }
.brand-role { font-size: 13px; color: var(--muted); }

.menu-btn { display: none; }

.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav a { display: inline-flex; align-items: center; gap: 7px; }
.nav a:hover { color: var(--accent); }
.nav svg { width: 15px; height: 15px; fill: currentColor; }
.nav svg.stroke { fill: none; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  margin-left: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
}
.lang-switch label {
  padding: 3px 9px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
}
#lang-hu:checked ~ .site-header .l-hu,
#lang-en:checked ~ .site-header .l-en { background: var(--accent); color: #fff; }

/* ---------- hero (Asztali alapértelmezés) ---------- */
main { max-width: 1100px; margin: 0 auto; padding: 96px 0 96px; }
.page-title { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(20, 30, 60, .12);
}
.hero-text { position: relative; padding: 40px 48px 48px 40px; }
.hero-text > * { position: relative; z-index: 1; }
.hero-text > .skyline {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: auto;
  opacity: .3;
  z-index: 0;
  pointer-events: none;
}

/* ASZTALI NÉZETBEN A KIS KÉP SZIGORÚAN REJTVE VAN */
.hero-thumb {
  display: none !important;
}

.hero h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 50px;
  line-height: 1.1;
  margin: 0 0 14px;
}
.hero p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.hero p strong { font-weight: 700; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 14px 24px;
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
}
.cta:hover { background: #f3e6ec; }

.hero-photo { min-height: 100%; display: block; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ---------- Mobil és Reszponzív töréspontok ---------- */
@media (max-width: 1160px) {
  .header-inner { padding: 0 24px; }
  main { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 820px) {
  body { background: #fff; }

  .site-header { position: relative; border: 0; background: #fff; }
  .header-inner { height: auto; padding: 0 12px 0 22px; align-items: flex-start; }

  .brand {
    background: var(--accent);
    color: #fff;
    padding: 16px 18px;
    border-radius: 0 0 12px 12px;
  }
  .brand-name, .brand-role { display: none !important; }
  .brand-mono {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1;
    color: #fff;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 8px 18px;
    background: #f6f6f6;
    border: 1px solid #ccc;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    color: #111;
    cursor: pointer;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    z-index: 10;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(20, 30, 60, .15);
    padding: 8px 16px;
  }
  #menu-toggle:checked ~ .site-header .nav { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .lang-switch { align-self: flex-start; margin: 12px 0 8px; }

  main { padding: 14px 14px 32px; }
  .page-title {
    display: block !important;
    margin: 18px 0 14px 4px;
    font-family: "Public Sans", system-ui, sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    color: var(--accent);
  }

  .hero { display: block; border-radius: 22px; }
  
  /* Mobilon a jobb oldali nagy fotó elrejtése */
  .hero-photo { display: none !important; }

  .hero-text { padding: 24px 20px 32px; }

  /* Mobilon a kis fotó megjelenítése a kártyában */
  .hero-thumb {
    display: block !important;
    width: 140px;
    height: 165px;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
    margin-bottom: 20px;
  }
}