/* =========================================================
   TAVASZI SZÉL LOVASUDVAR / TANYAKALAND
   TISZTÁZOTT STYLE.CSS
   - ismétlések kiszedve
   - egységes hamburger menü
   - rendezett mobilnézet
   ========================================================= */

/* ===== ALAPOK ===== */

:root {
  --bg: #e9e1d8;
  --paper: #f3ebe3;
  --text: #43352d;
  --muted: #72655b;
  --accent: #da834f;
  --accent-dark: #c36d3e;
  --green-1: #6f8569;
  --green-2: #55694f;
  --line: rgba(96, 73, 57, 0.12);
  --shadow-soft: 0 14px 34px rgba(84, 59, 42, 0.12);
  --shadow-strong: 0 22px 54px rgba(55, 39, 28, 0.18);
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.5;
  letter-spacing: 0;
}

body::before,
body::after {
  content: "✿";
  position: fixed;
  z-index: 1;
  pointer-events: none;
  font-family: Georgia, serif;
  color: rgba(143, 112, 82, 0.18);
}

body::before {
  left: 26px;
  bottom: 42px;
  font-size: 46px;
  transform: rotate(-14deg);
}

body::after {
  right: 34px;
  bottom: 58px;
  font-size: 38px;
  transform: rotate(18deg);
}

.page-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.12;
  background-image:
    radial-gradient(rgba(116, 92, 73, 0.06) 0.7px, transparent 0.7px),
    radial-gradient(rgba(255, 255, 255, 0.24) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  background-position: 0 0, 11px 11px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

main,
section {
  background: transparent;
}

h1,
h2,
h3,
.video-title-new h2,
.tanya-text h2,
.lovas-text h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -0.5px;
}

/* ===== TOPBAR ===== */

.topbar {
  position: relative;
  z-index: 10000;
  background: #f4eee7;
  color: var(--text);
  padding: 6px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.topbar,
.topbar a,
.topbar span {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  color: #4a2d1f;
}

.topbar a {
  color: inherit;
}

.topbar-inner {
  width: min(1200px, 95vw);
  min-height: auto;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* ===== MINIMAL HEADER / HAMBURGER ===== */

.header-logos,
.logo-wrap {
  display: none !important;
}

.navbar-wrap {
  position: absolute;
  top: 18px;
  right: 24px;
  left: auto;
  width: auto;
  z-index: 99999;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

.navbar {
  position: relative;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(80, 50, 30, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  color: #4a2d1f;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
  z-index: 999999;
  transition: 0.25s;
}

.hamburger:hover {
  transform: scale(1.04);
  background: #fff;
}

.nav-links {
  display: none;
}

.nav-links.active {
  position: absolute;
  top: 56px;
  right: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 210px;
  padding: 20px;
  background: rgba(255, 250, 244, 0.98);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.nav-links a {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #3d2b1f;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0;
  font-style: normal;
  transition: opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links .active {
  color: #6f2f2f;
  opacity: 0.75;
}

/* ===== HERO ===== */

.hero-new {
  padding: 42px 0 36px;
  background: var(--bg);
}

.hero-new-inner {
  display: flex;
  justify-content: center;
}

.hero-new-image {
  width: min(1080px, 86vw);
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

/* ===== VÁLASZTÓ / GOMBOS KÉP ===== */

.choice-poster-section {
  margin-top: 28px;
  padding: 0 0 64px;
  position: relative;
  z-index: 20;
  background: var(--bg);
}

.choice-poster-section .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.choice-poster-wrap {
  position: relative;
}

.choice-poster-image {
  display: block;
  width: min(1080px, 82vw);
  height: auto;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.choice-card-link {
  position: absolute;
  z-index: 50;
  display: block;
  cursor: pointer;
  border-radius: 34px;
}

.choice-card-tanya {
  left: 6%;
  top: 36%;
  width: 31%;
  height: 48%;
}

.choice-card-lovas {
  left: 42%;
  top: 36%;
  width: 15%;
  height: 48%;
}

.choice-card-fejlesztes {
  left: 63%;
  top: 36%;
  width: 23%;
  height: 48%;
}

/* ===== VIDEÓ SZEKCIÓ ===== */

.video-section-new {
  position: relative;
  padding: 64px 0 82px;
  overflow: hidden;
  background: var(--bg);
}

.video-container-new {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 44px;
  max-width: 1180px;
  margin: 0 auto;
}

.video-title-new {
  max-width: 420px;
  margin: 0;
  text-align: left;
}

.video-title-new h2 {
  margin: 0;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 1;
  font-weight: 700;
  color: var(--text);
}

.video-divider {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 12px 0 16px;
  color: var(--accent-dark);
}

.video-divider span {
  width: 82px;
  height: 1px;
  background: rgba(86, 68, 48, 0.38);
}

.video-divider strong {
  font-size: 18px;
  line-height: 1;
}

.video-title-new p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.32;
  color: var(--muted);
}

.video-title-new em {
  font-style: normal;
  color: var(--accent-dark);
  font-weight: 700;
}

.video-frame-new {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #111;
  box-shadow: 0 20px 46px rgba(55, 39, 28, 0.16);
}

.video-frame-new video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-bg-leaf {
  position: absolute;
  z-index: 1;
  color: rgba(91, 111, 72, 0.13);
  font-family: Georgia, serif;
  font-size: 160px;
  line-height: 1;
  transform: rotate(-28deg);
  pointer-events: none;
}

.video-leaf-left {
  left: 3%;
  top: 80px;
}

.video-leaf-right {
  right: 5%;
  top: 190px;
  transform: rotate(28deg);
}

/* ===== ÁLTALÁNOS SZEKCIÓK / KÁRTYÁK ===== */

.section {
  padding: 0;
}

.paper-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
}

.tanya-card,
.lovas-card,
.video-card {
  padding: 70px 0;
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
}

.tanya-grid,
.lovas-grid {
  max-width: 1180px;
  margin: 0 auto;
}

.tanya-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.tanya-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tanya-text h2,
.dark-banner-content h2,
.experience-text h2,
.about-text h2,
.video-header h2,
.lovas-text h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  color: var(--text);
}

.tanya-text p,
.dark-banner-content p,
.experience-text p,
.about-text p,
.video-header p,
.lovas-text p {
  margin: 0 0 14px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.tanya-lead,
.about-text .lead {
  font-size: 20px;
}

/* ===== TANYA KÉPEK ===== */

.tanya-highlight {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

.tanya-highlight-img,
.tanya-highlight img {
  width: 420px;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.tanya-highlight-img:hover,
.tanya-highlight img:hover {
  transform: scale(1.03);
}

.tanya-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tanya-img {
  width: 100%;
  height: 260px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
  background: var(--paper);
}

.tanya-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tanya-img:hover img {
  transform: scale(1.05);
}

.tanya-label,
.lovas-label {
  position: absolute;
  background: rgba(51, 41, 34, 0.65);
  color: #fff;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.tanya-label {
  bottom: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 10px;
}

.tanya-img-program {
  height: 180px;
}

.tanya-img.program14 {
  height: auto;
  max-height: 220px;
}

.tanya-img.program14 img,
.program14-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}

.tanya-img img[src*="program14.jpg"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ===== LOVASISKOLA BLOKK ===== */

.lovas-card {
  padding: 70px 0;
}

.lovas-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.lovas-info {
  margin-top: 18px;
  font-weight: 600;
}

.lovas-images {
  position: relative;
  min-height: 420px;
}

.lovas-img {
  position: absolute;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  background: var(--paper);
}

.lovas-img-main {
  left: 0;
  top: 0;
  width: 70%;
  height: 260px;
  z-index: 2;
  transform: rotate(-2deg);
}

.lovas-img-second {
  right: 0;
  bottom: 0;
  width: 58%;
  height: 320px;
  z-index: 3;
}

.lovas-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lovas-img-second img {
  object-position: 50% 30%;
}

.lovas-img:hover {
  transform: scale(1.02);
}

.lovas-img:hover img {
  transform: scale(1.05);
}

.lovas-label {
  left: 14px;
  bottom: 14px;
  padding: 8px 14px;
  border-radius: 12px;
}

/* ===== EGYÉB BLOKKOK ===== */

.dark-banner {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.dark-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(53, 40, 32, 0.75), rgba(53, 40, 32, 0.18));
}

.dark-banner-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 48px 42px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.experience-banner {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: end;
}

.experience-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(53, 40, 32, 0.70), rgba(53, 40, 32, 0.08));
}

.experience-text {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 42px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.26);
}

.experience-text p {
  font-size: 19px;
  line-height: 1.55;
}

.experience-image {
  position: relative;
  z-index: 2;
  min-height: 290px;
  margin: 0 22px 22px 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--paper);
  border: 4px solid rgba(255, 255, 255, 0.75);
}

.about-card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 30px;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 18px;
  min-height: 430px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.signature {
  margin-top: 24px;
  font-size: 56px;
  font-style: italic;
  color: #624d3f;
}

/* ===== FLOW KÉPEK ===== */

.flow-intro,
.flow-riding {
  margin-top: 0;
  padding: 56px 0 0;
  position: relative;
  z-index: 1;
}

.flow-intro .container,
.flow-riding .container {
  width: min(1180px, calc(100% - 40px));
}

.flow-intro-image,
.flow-riding-image {
  display: block;
  width: min(1080px, 86vw);
  height: 360px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

/* ===== TANYAKALAND MOZGÓ KÉPSÁV ===== */

.image-marquee {
  overflow: hidden;
  padding: 24px 0 42px;
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marqueeMove 48s linear infinite;
}

.marquee-track img {
  width: 260px;
  height: 190px;
  object-fit: cover;
  border-radius: 18px;
  flex-shrink: 0;
  box-shadow: var(--shadow-soft);
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ===== TANYAKALAND FŐMENÜ KÉP ÉS HOTSPOTOK ===== */

.tanyakaland-menu-section {
  padding: 42px 0 64px;
}

.tanyakaland-menu-wrap {
  position: relative;
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.tanyakaland-menu-image {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.menu-hotspot {
  position: absolute;
  display: block;
}

.hotspot-1 {
  left: 1%;
  top: 22%;
  width: 19%;
  height: 48%;
}

.hotspot-2 {
  left: 21%;
  top: 22%;
  width: 19%;
  height: 48%;
}

.hotspot-3 {
  left: 41%;
  top: 22%;
  width: 19%;
  height: 48%;
}

.hotspot-4 {
  left: 61%;
  top: 22%;
  width: 19%;
  height: 48%;
}

.hotspot-5 {
  left: 81%;
  top: 22%;
  width: 18%;
  height: 48%;
}

/* ===== PLAKÁT OLDALAK ===== */

.content-poster-section,
.lovas-poster {
  padding: 40px 0;
}

.content-poster-image {
  width: 100%;
  display: block;
  border-radius: 24px;
}

.lovas-poster-image {
  width: min(1100px, 94vw);
  display: block;
  margin: 0 auto;
  border-radius: 30px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.14);
}

.page-wrap {
  width: min(1200px, 92vw);
  margin: 50px auto;
}

.poster-section {
  display: flex;
  justify-content: center;
}

.poster-image {
  width: 70%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 20px;
}

/* ===== TÉRKÉP ===== */

.map-section {
  text-align: center;
  padding: 60px 20px;
}

.map-section h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.map-button {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background: #6f2f2f;
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
}

.map-button:hover {
  background: #5a2525;
}

/* ===== FOOTER ===== */

.footer {
  padding: 28px 0 46px;
  text-align: center;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--muted);
  font-size: 15px;
  background: var(--bg);
}

.footer a {
  color: inherit;
}

.footer-inner {
  padding-top: 8px;
  border-top: 1px solid rgba(96, 73, 57, 0.08);
}

/* ===== TABLET ===== */

@media (max-width: 1100px) {
  .tanya-grid,
  .lovas-grid,
  .experience-banner,
  .about-card {
    grid-template-columns: 1fr;
  }

  .tanya-images {
    min-height: auto;
  }

  .experience-image {
    margin-left: 22px;
  }
}

@media (max-width: 900px) {
  .video-container-new {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .video-title-new {
    max-width: 760px;
    text-align: center;
    margin: 0 auto;
  }

  .video-divider {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== MOBIL ===== */

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  body::before,
  body::after {
    display: none;
  }

  .container {
    width: 92%;
    max-width: 92%;
    padding: 0;
  }

  .topbar {
    padding: 8px 72px 8px 12px;
  }

  .topbar-inner {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    text-align: center;
  }

  .topbar-left,
  .topbar-right {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
  }

  .topbar span,
  .topbar a {
    font-size: 11px;
    line-height: 1.3;
  }

  .navbar-wrap {
    position: fixed;
    top: 14px;
    right: 14px;
  }

  .hamburger {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .nav-links.active {
    position: fixed;
    top: 68px;
    right: 14px;
    left: auto;
    width: 210px;
    min-width: 210px;
    max-width: calc(100vw - 28px);
    padding: 20px;
    gap: 12px;
    border-radius: 24px;
  }

  .nav-links.active a {
    font-size: 15px;
    white-space: normal;
  }

  .hero-new {
    padding: 24px 0 16px;
  }

  .hero-new-image {
    width: 100%;
    border-radius: 22px;
  }

  .choice-poster-section {
    margin-top: 12px;
    padding: 0 0 24px;
  }

  .choice-poster-image {
    width: 100%;
    border-radius: 22px;
  }

  .video-section-new {
    padding: 44px 0 56px;
  }

  .video-title-new h2 {
    font-size: 42px;
    text-align: center;
  }

  .video-title-new p {
    font-size: 18px;
    text-align: center;
  }

  .video-frame-new {
    border-radius: 20px;
  }

  .video-bg-leaf {
    display: none;
  }

  .tanya-card,
  .lovas-card,
  .video-card {
    padding: 48px 0;
  }

  .tanya-images,
  .lovas-images {
    position: relative;
    display: grid;
    gap: 14px;
    min-height: auto;
  }

  .tanya-img,
  .lovas-img {
    position: relative;
    width: 100%;
    height: 220px;
  }

  .flow-intro,
  .flow-riding {
    padding: 42px 0 0;
  }

  .flow-intro-image,
  .flow-riding-image {
    width: 100%;
    height: 240px;
    border-radius: 22px;
  }

  .poster-image {
    width: 92%;
  }

  .footer {
    padding: 25px 12px;
  }

  .footer p,
  .footer a {
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .topbar span,
  .topbar a {
    font-size: 10px;
  }

  .hamburger {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .nav-links.active {
    top: 64px;
    width: 200px;
    min-width: 200px;
  }

  .nav-links.active a {
    font-size: 14px;
  }
}
