/* ============================================================
   DRB Art — style.css (tiszta újraépítés, Nicepage nélkül)
   ============================================================ */

:root {
  --dark: #181818;
  --dark-soft: #232323;
  --accent: #e92626;
  --grey: #f4f2ef;
  --text: #2b2b2b;
  --text-soft: #4a4a4a;
  --white: #ffffff;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Open Sans", Arial, sans-serif;
  --font-card: "Playfair Display", Georgia, serif;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.14);
  --radius: 6px;
  --container: 1140px;
}

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

html { font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0588rem; /* 18px */
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dark);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------------- Fejléc ---------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #e8e8e8;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img { width: 190px; height: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9412rem; /* 16px */
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  background-color: var(--dark);
  background-image: linear-gradient(to bottom, rgba(20, 20, 20, 0.35), rgba(20, 20, 20, 0.62)), url("images/hero-papagajok.webp");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  animation: kenburns 24s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s, background 0.2s;
}
.social-btn svg { fill: currentColor; }
.hero-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.hero-social .social-btn {
  width: 46px;
  height: 46px;
  color: #fff;
}
.hero-social .social-btn svg { width: 26px; height: 26px; }
.hero-social .social-btn img {
  width: 24px;
  height: 24px;
  filter: invert(1); /* a fekete TikTok-ikon fehérré a sötét háttéren */
}
.hero-social .social-btn:hover {
  color: var(--accent);
  transform: translateY(-3px);
}
.hero-social .social-btn:hover img { filter: invert(0); }

.hero-title {
  max-width: 640px;
}
.hero-title h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.2rem;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  margin-bottom: 8px;
}
.hero-title p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* Hero belépő animáció — egyszeri, minden nézetben (a festmény „előhívása") */
.hero-title h1,
.hero-title p,
.hero-social {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-title h1 { animation-delay: 0.15s; }
.hero-title p { animation-delay: 0.3s; }
.hero-social { animation-delay: 0.5s; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- Szekciók ---------------- */
.section { padding: 72px 0; }
.section-white { background: var(--white); }
.section-grey { background: var(--grey); }
.section-dark { background: var(--dark); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem; /* egységes szekciócím */
  color: var(--dark);
  margin-bottom: 14px;
}
.divider {
  width: 72px;
  height: 3px;
  background: var(--dark);
  margin-bottom: 34px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
.two-col p { color: var(--text-soft); }

.rolam-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 40px;
}
.rolam-images img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 12px solid #000;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

/* ---------------- Muflon blokk ---------------- */
.muflon {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  background-color: var(--dark);
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55)), url("images/muflon-drb-art-dudas-rebeka-barbara.webp");
  background-size: cover;
  background-position: center;
}
.muflon-inner { width: 100%; }
.muflon-box {
  display: inline-block;
  background: var(--dark);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 22px 44px;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25);
}
.muflon-box p {
  font-family: var(--font-display);
  font-size: 2.5rem; /* egységes a „Festmények" szekciócímmel */
  font-weight: 700;
  color: #fff;
}

/* ---------------- Kártyák: elérhető festmények ---------------- */
.cards-row {
  display: grid;
  gap: 30px;
}
.cards-row-3 { grid-template-columns: repeat(3, 1fr); }

.painting-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 18px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.painting-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.painting-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.painting-card h3 {
  font-family: var(--font-card);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.painting-meta {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.painting-status {
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: auto;
  padding-top: 8px;
}
.painting-status.sold { color: var(--accent); }
.painting-card h3 a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}
.painting-card h3 a:hover { color: var(--accent); }
.card-img-link {
  display: block;
  overflow: hidden;
  margin-bottom: 16px;
}
.card-img-link img {
  width: 100%;
  aspect-ratio: 1 / 1; /* négyzetes megjelenítés a boxban */
  object-fit: cover; /* a festmény kitölti a helyét */
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s;
}
.card-img-link:hover img { transform: scale(1.04); filter: brightness(1.08); }
.painting-card > img {
  width: 100%;
  aspect-ratio: 1 / 1; /* az ELKELT kártyák képe is négyzetes */
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
}
.painting-interest {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 2px solid var(--dark);
  align-self: center;
  transition: color 0.2s, border-color 0.2s;
}
.painting-interest:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------------- Galéria (Festmények) ---------------- */
.gallery-grid { grid-template-columns: repeat(3, 1fr); }

.gallery-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 14px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.gallery-card .lightbox-trigger { overflow: hidden; }
.gallery-card .lightbox-trigger img { transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery-card:hover .lightbox-trigger img { transform: scale(1.05); }
.gallery-card img {
  width: 100%;
  aspect-ratio: 1 / 1; /* négyzetes megjelenítés a boxban */
  object-fit: cover; /* a festmény kitölti a helyét */
  display: block;
}
.gallery-card h4 {
  font-family: var(--font-card);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 4px;
}
.gallery-card .painting-meta { margin-bottom: 0; }

/* ---------------- Újdonságok ---------------- */
.news-list { display: grid; gap: 30px; }
.news-item {
  display: flex;
  gap: 28px;
  background: var(--grey);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.news-item img {
  width: 280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.news-body time {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.news-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.news-body p { color: var(--text-soft); }

/* ---------------- Színek és atmoszféra ---------------- */
.atmoszfera {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.atmoszfera-images {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
}
.atmoszfera-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
.atmoszfera-images img:first-child {
  grid-row: 1 / 3; /* a nős kép a bal oldalon, teljes magasságban (álló) */
}
.atmoszfera-images img:not(:first-child) {
  aspect-ratio: 3 / 4;
}
.atmoszfera-text p {
  color: var(--text-soft);
  margin-bottom: 18px;
}
.community-box {
  background: var(--grey); /* világos szürke kis blokk a szövegnek */
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 26px;
  box-shadow: var(--shadow-soft);
}
.community-box h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.community-box p { margin-bottom: 14px; }
.community-social { display: flex; gap: 14px; margin-top: 4px; }
.social-btn-dark {
  width: 44px;
  height: 44px;
  color: var(--dark); /* ikonok feketén, háttér nélkül */
}
.social-btn-dark:hover { color: var(--accent); transform: translateY(-3px); }
.social-btn-dark svg { width: 24px; height: 24px; }
.social-btn-dark img { width: 22px; height: 22px; }

/* ---------------- Kapcsolat ---------------- */
.section-contact {
  position: relative;
  background-color: var(--dark);
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("images/kapcsolat-papagajok.webp");
  background-size: cover;
  background-position: center;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
}
.contact-info p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
}
.contact-email {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(233, 38, 38, 0.4);
  transition: border-color 0.2s;
}
.contact-email:hover { border-bottom-color: var(--accent); }

.contact-form-wrap {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin-bottom: 4px;
}
.req { color: var(--accent); font-weight: 900; }
.field input,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #d8d4cc;
  border-radius: 0;
  padding: 9px 2px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: transparent;
  transition: border-color 0.25s;
}
.field input:hover,
.field textarea:hover { border-bottom-color: #b5afa4; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--dark);
}
.field input::placeholder,
.field textarea::placeholder { color: #a09a8f; opacity: 1; }
.field textarea { resize: vertical; min-height: 110px; }

.field-error {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #b3261e;
}
.field-error[hidden] { display: none; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-bottom-color: #b3261e;
}

.form-submit { text-align: left; margin-top: 10px; }
.btn-submit {
  display: inline-block;
  background: var(--dark);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 0;
  padding: 14px 46px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.25s, transform 0.25s;
}
.btn-submit:hover { background: var(--accent); transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ---------------- Lábléc ---------------- */
.site-footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 44px 0 38px;
}
.footer-inner img { margin: 0 auto 18px; width: 180px; }
.footer-copy {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
}
.footer-design {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}
.footer-design a { color: var(--accent); text-decoration: none; }
.footer-design a:hover { text-decoration: underline; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 0.88rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: color 0.2s, border-color 0.2s;
}
.footer-links a:hover { color: #fff; border-bottom-color: var(--accent); }

/* ---------------- Termék-adatlap (eladó festmény) ---------------- */
.product-page {
  background: var(--grey);
  padding: 40px 0 70px;
  min-height: 60vh;
}
.product-back {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 2px solid var(--dark);
  margin-bottom: 26px;
  transition: color 0.2s, border-color 0.2s;
}
.product-back:hover { color: var(--accent); border-bottom-color: var(--accent); }

.product-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: start;
}
.product-gallery {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.product-gallery .product-main { margin-bottom: 14px; }
.product-gallery .product-main img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  display: block;
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.product-thumbs .lightbox-trigger { margin-bottom: 0; }
.product-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-info h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--dark);
  margin-bottom: 20px;
}
.product-details {
  margin: 0 0 20px;
}
.product-details div {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e5e5e5;
}
.product-details dt {
  width: 110px;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--dark);
}
.product-details dd { color: var(--text-soft); }
.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.price-note {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-soft);
  margin-top: 2px;
}
.product-cta {
  display: inline-block;
  text-decoration: none;
  margin-top: 18px;
}
.product-sold {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 10px 26px;
  margin-top: 14px;
}

.product-description {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 34px 38px;
  margin-top: 40px;
  max-width: 900px;
}
.product-description h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 14px;
}
.product-description p {
  color: var(--text-soft);
  margin-bottom: 14px;
}
.product-description p:last-child { margin-bottom: 0; }

@media (max-width: 991px) {
  .product-layout { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 767px) {
  .product-page { padding: 28px 0 50px; }
  .product-info h1 { font-size: 2.1rem; }
  .product-thumbs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .product-description { padding: 24px 20px; }
}

/* ---------------- Festmény-előnézet (lightbox) ---------------- */
.lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.painting-card .lightbox-trigger { margin-bottom: 16px; }
.gallery-card .lightbox-trigger { margin-bottom: 12px; }
.lightbox-trigger:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}
.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 86vh;
  margin: 0 auto;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-content img {
  max-width: 92vw;
  max-height: 74vh;
  object-fit: contain;
  margin: 0 auto;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.65);
  border-radius: 4px;
}
.lightbox-content figcaption {
  color: #fff;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: var(--accent); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-nav:hover { background: var(--accent); }
.lightbox-nav:disabled { opacity: 0.3; cursor: default; }
.lightbox-nav:disabled:hover { background: rgba(255, 255, 255, 0.14); }
.lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
body.lightbox-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .lightbox { transition: none; }
}

/* ---------------- Süti-banner ---------------- */
.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 400px;
  max-width: calc(100vw - 48px);
  background: #000;
  color: #fff;
  border-radius: 0;
  padding: 26px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p {
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 18px;
}
.cookie-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner a:hover { color: rgba(255, 255, 255, 0.75); }
.cookie-actions { display: flex; gap: 12px; }
.cookie-btn {
  flex: 1;
  border: 1.5px solid transparent;
  border-radius: 0;
  padding: 11px 14px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cookie-btn-accept { background: #fff; color: #000; border-color: #fff; }
.cookie-btn-accept:hover { background: #e2e2e2; border-color: #e2e2e2; }
.cookie-btn-reject {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.cookie-btn-reject:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ---------------- Animáció (reveal, desktop) ---------------- */
[data-reveal] {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ---------------- Aloldalak (egységes sablon) ---------------- */
.subpage {
  background: var(--grey);
  padding: 64px 0;
  min-height: 60vh;
}
.subpage-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 40px 44px;
  max-width: 860px;
  margin: 0 auto;
}
.subpage-card h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.3rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.subpage-card .divider { margin-bottom: 26px; }
.subpage-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--dark);
  margin: 26px 0 10px;
}
.subpage-card p {
  color: var(--text-soft);
  margin-bottom: 14px;
}
.subpage-card a { color: var(--accent); }
.block-title {
  display: block;
  font-weight: 700;
  color: var(--dark);
  margin: 24px 0 8px;
}
.subpage-back {
  display: inline-block;
  margin-top: 28px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 2px solid var(--dark);
  transition: color 0.2s, border-color 0.2s;
}
.subpage-back:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------------- Elválasztás (Hyphenopoly) ---------------- */
p, h1, h2, h3, h4, li { hyphens: auto; }

/* ---------------- prefers-reduced-motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { animation: none; }
  .hero-title h1,
  .hero-title p,
  .hero-social {
    opacity: 1 !important;
    animation: none !important;
  }
  .gallery-card .lightbox-trigger img,
  .card-img-link img { transition: none; }
  [data-reveal] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   Reszponzív
   ============================================================ */

/* Tablet / mobil: a scroll-reveal KI van kapcsolva (tartalom azonnal látható) */
@media (max-width: 991px) {
  [data-reveal] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 991px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
    z-index: 200;
  }
  .site-header { position: relative; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 24px 18px; }
  .main-nav a { padding: 12px 6px; font-size: 1rem; }

  .hero { min-height: 620px; }
  .hero-inner { flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
  .hero-title { text-align: center; }

  .cards-row-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 2.1rem; }

  .hero { min-height: 540px; background-position: 32% center; }
  .hero-title h1 { font-size: 3rem; }
  .hero-title p { font-size: 1.15rem; }
  .hero-social { padding: 12px 16px; }

  .two-col { grid-template-columns: 1fr; gap: 20px; }
  .rolam-images { gap: 20px; margin-right: 0; grid-template-columns: 1fr; margin-top: 30px; }
  .rolam-images img { width: 100%; aspect-ratio: 1 / 1; }

  .muflon { min-height: 420px; }
  .muflon-box { margin: 0 auto; display: block; text-align: center; }

  .cards-row-3, .gallery-grid { grid-template-columns: 1fr; }
  .cards-row, .gallery-grid { gap: 22px; }

  .news-item { flex-direction: column; }
  .news-item img { width: 100%; }

  .atmoszfera { grid-template-columns: 1fr; gap: 30px; }
  .atmoszfera-images { grid-template-columns: 1fr 1fr; }
  .atmoszfera-images img:first-child { grid-row: auto; aspect-ratio: 3 / 4; }

  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-info { text-align: center; }
  .form-submit { text-align: center; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
  }
}

@media (max-width: 380px) {
  .hero-title h1 { font-size: 2.6rem; }
  .contact-form-wrap { padding: 22px 18px; }
}
