/* Szigetvári Hús Kft. – egyszerű statikus oldal */
:root {
  --blue: #1f3f93;
  --green: #3f9a4e;
  --green-light: #ccdbd0;
  --red: #d9534f;
  --text: #222;
  --muted: #666;
  --bg-soft: #f4f6f4;
  --border: #dde3de;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noticia Text", Georgia, "Times New Roman", serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--green); }
.container { max-width: 1170px; margin: 0 auto; padding: 0 16px; }

/* Fejléc */
.site-header { background: #fff; border-bottom: 3px solid var(--green); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 90px; }
.logo img { width: 230px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a {
  display: block; padding: 10px 14px; text-decoration: none; color: #000;
  font-family: Arial, Helvetica, sans-serif; font-size: 15px; border-radius: 4px;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); background: var(--bg-soft); }
.main-nav a.active { box-shadow: inset 0 -3px 0 var(--green); }
.main-nav .sub {
  display: none; position: absolute; right: 0; top: 100%; min-width: 260px;
  background: #fff; border: 1px solid var(--border); box-shadow: 0 6px 18px rgba(0,0,0,.08);
  flex-direction: column; padding: 6px; gap: 0;
}
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { display: flex; }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); font-size: 24px; padding: 4px 12px; border-radius: 4px; cursor: pointer; }

/* Képváltó */
.slider { position: relative; height: 280px; overflow: hidden; background: #333; }
.slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease-in; }
.slider img.on { opacity: 1; }

/* Elrendezés */
.main-grid { display: grid; grid-template-columns: 300px 1fr; gap: 32px; padding-top: 32px; padding-bottom: 40px; }
.content { min-width: 0; }
.content h2 { font-size: 28px; margin: 0 0 18px; color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.content h3 { font-size: 19px; margin: 24px 0 8px; color: var(--blue); }
.content h4 { font-size: 16px; margin: 18px 0 6px; }
.justify, .rules p { text-align: justify; }

/* Oldalsáv */
.sidebar .module { margin-bottom: 28px; }
.sidebar h3 { font-size: 18px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--green); }
.contact-box { background: var(--green-light); border: 1px solid #b8c9bc; padding: 14px; text-align: center; font-size: 17px; }
.contact-box p { margin: 6px 0; }
.contact-box .cname { font-weight: bold; }
.shop-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.shop-list a { display: block; text-decoration: none; color: var(--text); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.shop-list img { width: 100%; height: 130px; object-fit: cover; }
.shop-list span { display: block; padding: 8px 10px; font-size: 15px; }
.shop-list a:hover span { color: var(--blue); }

/* Galériák */
.gallery { display: grid; gap: 12px; margin: 18px 0; }
.gallery.g3 { grid-template-columns: repeat(3, 1fr); align-items: end; }
.gallery.g2 { grid-template-columns: repeat(2, 1fr); align-items: start; }
.gallery img { width: 100%; border-radius: 3px; }
img.center { margin: 0 auto 16px; }

/* Üzlet oldal */
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shop-photos { margin-top: 0; }
.shop-photos img { height: 180px; object-fit: cover; }
.hours { list-style: none; padding: 0; margin: 0 0 16px; max-width: 320px; }
.hours li { display: flex; justify-content: space-between; border-bottom: 1px dotted #ccc; padding: 3px 0; }
.map { margin-top: 24px; }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* Listák, kártyák */
.link-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--border); }
.link-list li { border-bottom: 1px solid var(--border); }
.link-list li:nth-child(odd) { background: var(--bg-soft); }
.link-list li:last-child { border-bottom: 0; }
.link-list a { display: block; padding: 10px 14px; text-decoration: none; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { border: 1px solid var(--border); border-top: 3px solid var(--green); padding: 14px 16px; }
.card h3 { margin-top: 0; font-size: 17px; }
.doc { display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid var(--border); padding: 12px 16px; }
.doc small { color: var(--muted); }
.btn { display: inline-block; background: var(--green); color: #fff; padding: 8px 18px; border-radius: 4px; text-decoration: none; font-family: Arial, sans-serif; }
.btn:hover { background: #327d3f; color: #fff; }

/* Adatlisták (impresszum, projekt) */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.facts dt { font-weight: bold; }
.facts dd { margin: 0; }
.impresszum section { background: var(--bg-soft); border: 1px solid var(--border); padding: 4px 20px 18px; margin-bottom: 22px; }

/* Lábléc */
.site-footer { background: #eee; }
.site-footer .map { margin: 0; }
.site-footer .map iframe { height: 260px; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; padding: 16px; font-size: 14px; color: #555; flex-wrap: wrap; }

/* Mobil */
@media (max-width: 900px) {
  .main-grid { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 3px solid var(--green); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px; }
  .main-nav .sub { display: flex; position: static; border: 0; box-shadow: none; padding-left: 16px; }
  .header-inner { position: relative; }
  .slider { height: 180px; }
  .shop, .cards { grid-template-columns: 1fr; }
  .gallery.g3 { gap: 6px; }
  .facts { grid-template-columns: 1fr; }
  .facts dd { margin-bottom: 8px; }
}
