/* Bartus Gábor E.V. weboldal */
:root {
  --bg: #101318;
  --card: #171b22;
  --text: #f8f4ed;
  --muted: #d2c8be;
  --accent: #b55228;
  --accent2: #e0a15f;
  --line: rgba(255,255,255,.14);
  --shadow: 0 24px 70px rgba(0,0,0,.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 19, 24, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1180px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .3px;
  text-decoration: none;
}
.logo span { color: var(--accent2); }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 700; }
.nav-links a:hover { color: var(--text); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 28px; cursor: pointer; }
.hero {
  position: relative;
  min-height: 720px;
  padding: 100px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
  gap: 36px;
  align-items: center;
  background: url('images/hero-teto.jpg') center / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,19,24,.30), rgba(16,19,24,.15));
  z-index: -1;
}
.hero-content, .hero-card { max-width: 1180px; }
.hero-content { justify-self: end; width: min(760px, 100%); }
.badge, .eyebrow, .section-title p:first-child {
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 800;
  font-size: 13px;
}
h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1.03; margin: 12px 0; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin: 10px 0 18px; }
h3 { margin-top: 0; font-size: 22px; }
.lead { font-size: 20px; color: var(--muted); max-width: 760px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line);
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.primary { background: var(--accent); color: white; border-color: var(--accent); }
.secondary { background: rgba(255,255,255,.08); color: var(--text); }
.hero-card, .card, .contact-box {
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-card { padding: 32px; width: min(360px, 100%); justify-self: start; backdrop-filter: blur(8px); }
.hero-card h2 { font-size: 30px; }
.hero-phone a { color: var(--accent2); font-size: 24px; font-weight: 900; text-decoration: none; }
.section { max-width: 1180px; margin: auto; padding: 82px 20px; }
.section-title { text-align: center; max-width: 740px; margin: 0 auto 36px; }
.intro { color: var(--muted); text-transform: none !important; letter-spacing: normal !important; font-size: 17px !important; font-weight: 500 !important; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; }
.card p, .section p, .checklist { color: var(--muted); }
.alt { max-width: none; background: #151922; }
.alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  box-shadow: 0 14px 38px rgba(0,0,0,.18);
}
.gallery-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.gallery-button img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}
.gallery-button:hover img { transform: scale(1.04); filter: brightness(1.08); }
.gallery-item figcaption {
  padding: 12px 14px 15px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 13px 0 13px 34px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li:before { content: "✓"; position: absolute; left: 0; color: var(--accent2); font-weight: 900; }
.contact-box { padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; color: var(--muted); font-weight: 700; }
input, textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.08);
  color: var(--text);
  font: inherit;
}
textarea { resize: vertical; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 78vh;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.lightbox p {
  margin: 14px 0 0;
  color: var(--text);
  font-weight: 700;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.1);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.footer { border-top: 1px solid var(--line); text-align: center; padding: 24px; color: var(--muted); }
@media (max-width: 1050px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 66px;
    padding: 18px;
    border-radius: 18px;
    background: #171b22;
    flex-direction: column;
    border: 1px solid var(--line);
  }

  .nav-links.open { display: flex; }

  .hero, .grid, .gallery, .split, .contact-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 66px;
    min-height: auto;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(16,19,24,.92), rgba(16,19,24,.72));
  }

  .hero-content, .hero-card {
    justify-self: center;
  }

  .gallery-thumb img {
    aspect-ratio: 16 / 11;
  }
}
.email-button {
  display: inline-block;
  background-color: #c65427;
  color: white !important;
  padding: 14px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 20px;
}

.email-button:hover {
  background-color: #a8441f;
}
