:root {
  --cream: #f5eee0;
  --cream-2: #fffaf0;
  --ink: #171510;
  --red: #a51624;
  --red-dark: #7f101b;
  --green: #19864a;
  --wood: #2e1a10;
  --muted: #6f675d;
  --line: rgba(28, 22, 16, .15);
  --shadow: 0 18px 45px rgba(27, 16, 8, .18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --display: "Bebas Neue", Impact, sans-serif;
  --script: "Pacifico", "Brush Script MT", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.script { font-family: var(--script); }


/* =========================================================
   FIXED HEADER
   ========================================================= */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  pointer-events: auto;
  width: 176px;
  min-height: 150px;
  padding: 14px 18px 18px;
  background: rgba(255, 248, 232, .97);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 9px 22px rgba(0,0,0,.18);
  text-align: center;
  color: var(--red);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -10px;
  height: 18px;
  background: rgba(255, 248, 232, .97);
  clip-path: polygon(0 0, 10% 70%, 20% 15%, 30% 75%, 40% 18%, 50% 82%, 60% 18%, 70% 75%, 80% 15%, 90% 70%, 100% 0);
}

.brand-home {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand-script { font-family: var(--script); font-size: 1.35rem; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 2.7rem; line-height: .95; font-weight: 600; letter-spacing: .02em; }
.brand-sub { margin-top: 8px; color: #3e2c22; font-size: .62rem; text-transform: uppercase; letter-spacing: .27em; font-weight: 700; }
.brand-heart { font-size: .9rem; margin-top: 4px; }

.primary-nav {
  pointer-events: auto;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 18px 10px;
  border-radius: 999px;
  color: white;
  background: rgba(20, 15, 10, .42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled .primary-nav {
  background: rgba(20, 15, 10, .91);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 33px;
}

.primary-menu li {
  margin: 0;
  padding: 0;
}

.primary-menu a {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  position: relative;
  white-space: nowrap;
  padding: 2px 0;
}

.primary-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: #e22a31;
  transition: right .25s ease;
}

/* Underline ONLY the page that is currently open. */
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after,
.primary-menu .current-menu-ancestor > a::after,
.primary-menu .current_page_ancestor > a::after {
  right: 0;
}


/* =========================================================
   LANGUAGE SWITCHER
   ========================================================= */

.language-switcher { position: relative; }

.language-button {
  border: 0;
  background: transparent;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 2px 0;
  font-weight: 600;
}

.chevron { font-size: 1rem; transform: translateY(-1px); }

.language-flag {
  width: 24px;
  height: 18px; /* 4:3 SVG flags */
  display: block;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
  flex-shrink: 0;
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 160px;
  background: rgba(255,250,240,.98);
  color: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}

.language-switcher.open .language-menu { display: block; }

.language-menu a {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: .9rem;
}

.language-menu a:hover,
.language-menu a[aria-current="page"] {
  background: #f1e6d4;
}

.language-menu a[aria-current="page"] {
  font-weight: 700;
}

.nav-toggle { display: none; }


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

.hero {
  position: relative;
  min-height: 740px;
  overflow: hidden;
  color: white;
  background: #16120f;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: 56% 46%;
  transform: scale(1.015);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,8,6,.86) 0%, rgba(12,10,8,.66) 32%, rgba(12,10,8,.12) 68%, rgba(12,10,8,.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,.32) 0%, transparent 40%, rgba(0,0,0,.36) 100%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-top: 215px;
  padding-bottom: 135px;
}

.eyebrow {
  margin: 0 0 -6px;
  font-size: clamp(2rem, 4vw, 4rem);
  transform: rotate(-5deg);
  transform-origin: left center;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(5rem, 9vw, 8.5rem);
  line-height: .82;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-shadow: 0 3px 20px rgba(0,0,0,.3);
}

.hero-tagline {
  margin: 20px 0 0;
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .82rem;
  font-weight: 700;
}

.hero-lead {
  max-width: 560px;
  margin: 20px 0 28px;
  color: rgba(255,255,255,.9);
  font-size: 1.03rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .035em;
  font-size: .82rem;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary,
.btn-small {
  background: var(--red);
  color: white;
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 8px 24px rgba(126,10,20,.28);
}

.btn-primary:hover,
.btn-small:hover {
  background: var(--red-dark);
}

.btn-outline { border: 1px solid var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red); color: white; }
.text-link { font-weight: 700; color: var(--red); }

.hero-note {
  position: absolute;
  z-index: 4;
  right: max(50px, calc((100vw - 1180px)/2));
  top: 115px;
  text-align: right;
  font-family: var(--script);
  font-size: 1.8rem;
  line-height: 1.25;
  transform: rotate(-5deg);
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.hero-note span { color: #ff2935; }


/* =========================================================
   HUNGARIAN FLAG WAVE
   ========================================================= */

.hungarian-wave {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 84px;
  overflow: hidden;
  pointer-events: none;
  line-height: 0;
}

.hungarian-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}


/* =========================================================
   FEATURES
   ========================================================= */

.features {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 0 30px;
}

.feature {
  text-align: center;
  padding: 8px 24px;
  border-right: 1px solid var(--line);
}

.feature:last-child { border-right: 0; }

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: block;
  object-fit: contain;
}

.feature h3 {
  margin: 4px 0 3px;
  text-transform: uppercase;
  letter-spacing: .045em;
  font-size: .82rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: .83rem;
}


/* =========================================================
   GENERAL OLD SECTION STYLES
   Kept so you can reuse them inside editable pages if wanted.
   ========================================================= */

.section { padding: 78px 0; }

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading.left { text-align: left; }

.kicker {
  margin: 0;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  font-weight: 800;
}

.section-heading h2 {
  margin: 7px 0 0;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: .95;
  letter-spacing: .02em;
}

.section-intro {
  max-width: 650px;
  color: var(--muted);
}


/* =========================================================
   FACEBOOK POSTS
   ========================================================= */

.facebook-section {
  background: #f3e8d7;
  padding: 72px 0 88px;
}

.facebook-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 32px;
}

.facebook-heading h2 {
  margin: 6px 0 0;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: .95;
}

.facebook-heading .section-intro {
  margin-bottom: 0;
}

.facebook-follow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.facebook-follow:hover {
  background: var(--red);
  color: white;
}

.facebook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.facebook-card {
  background: var(--cream-2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(43, 25, 12, .12);
}

.facebook-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e7dac7;
}

.facebook-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.facebook-card:hover .facebook-card-image img {
  transform: scale(1.025);
}

.facebook-card-body {
  padding: 20px;
}

.facebook-date {
  margin: 0 0 9px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 800;
}

.facebook-message {
  margin: 0 0 18px;
  color: #403931;
  line-height: 1.6;
}

.facebook-read-more {
  color: var(--red);
  font-weight: 800;
  font-size: .85rem;
}

.facebook-admin-notice {
  background: var(--cream-2);
  border-left: 4px solid var(--red);
  padding: 18px 20px;
  border-radius: 5px;
}


/* =========================================================
   EDITABLE WORDPRESS PAGES
   ========================================================= */

.site-page {
  min-height: 70vh;
}

.page-hero {
  min-height: 330px;
  padding: 190px 0 60px;
  display: flex;
  align-items: flex-end;
  color: white;
  background:
    linear-gradient(rgba(35, 19, 12, .88), rgba(35, 19, 12, .94)),
    url('../images/trailer-side.jpg') center/cover;
}

.page-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.8rem, 8vw, 7rem);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.page-content {
  background: var(--cream-2);
  padding: 68px 0 95px;
}

.page-content-inner {
  max-width: 980px;
}

.page-content-inner > *:first-child {
  margin-top: 0;
}

.page-content-inner h2 {
  margin-top: 42px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  text-transform: uppercase;
  line-height: 1;
}

.page-content-inner h3 {
  margin-top: 30px;
  font-size: 1.35rem;
}

.page-content-inner p,
.page-content-inner li {
  font-size: 1.02rem;
  line-height: 1.75;
}

.page-content-inner img {
  max-width: 100%;
  height: auto;
}


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

.site-footer {
  background:
    linear-gradient(rgba(34,18,10,.94), rgba(27,13,7,.96)),
    url('../images/trailer-side.jpg') center/cover;
  color: white;
  padding: 52px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1.25fr 1.2fr;
  gap: 38px;
  align-items: start;
}

.footer-logo {
  width: 150px;
  min-height: 130px;
  box-shadow: none;
}

.footer-column h3 {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .1em;
}

.footer-column a {
  display: block;
  margin: 6px 0;
  color: rgba(255,255,255,.82);
  font-size: .9rem;
}

.footer-column a:hover,
.footer-contact a:hover {
  color: white;
  text-decoration: underline;
}

.footer-slogan {
  font-size: 1.7rem;
  line-height: 1.35;
  transform: rotate(-4deg);
}

.footer-slogan span { color: var(--red); }

.footer-contact {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
}

.footer-contact p {
  margin: 0 0 7px;
}

.footer-contact a {
  color: white;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.62);
  font-size: .76rem;
}


/* =========================================================
   WORDPRESS REFINEMENTS
   ========================================================= */

body.admin-bar .site-header { top: 32px; }

.custom-logo-wrap {
  display: block;
  width: 100%;
}

.custom-logo-wrap .custom-logo-link {
  display: block;
}

.custom-logo-wrap img {
  max-width: 100%;
  height: auto;
}

.footer-placeholder {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .88rem;
  line-height: 1.6;
}

.basic-content {
  min-height: 60vh;
  padding-top: 190px;
  padding-bottom: 80px;
}

.basic-content h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5rem);
  text-transform: uppercase;
}


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

@media (max-width: 980px) {
  .nav-wrap { width: calc(100% - 24px); }

  .brand {
    width: 145px;
    min-height: 128px;
  }

  .brand-name { font-size: 2.2rem; }

  .primary-nav {
    gap: 16px;
    font-size: .9rem;
  }

  .primary-menu {
    gap: 18px;
  }

  .hero-copy {
    padding-top: 210px;
    padding-bottom: 125px;
  }

  .hero-note { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-slogan,
  .footer-contact {
    margin-top: 20px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {
  .site-header {
    position: fixed;
  }

  .nav-wrap {
    min-height: 72px;
    align-items: flex-start;
  }

  .brand {
    width: 124px;
    min-height: 112px;
    padding: 11px 12px 15px;
  }

  .brand-script { font-size: 1rem; }
  .brand-name { font-size: 1.85rem; }
  .brand-sub { font-size: .48rem; }

  .nav-toggle {
    pointer-events: auto;
    display: grid;
    place-items: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    margin-top: 14px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(20,15,10,.75);
    backdrop-filter: blur(8px);
    cursor: pointer;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: white;
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 72px;
    right: 12px;
    width: min(320px, calc(100vw - 24px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(22,15,10,.97);
    box-shadow: 0 14px 35px rgba(0,0,0,.24);
  }

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

  .primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-menu a {
    padding: 12px 10px;
  }

  .primary-menu a::after {
    display: none;
  }

  .primary-menu .current-menu-item > a,
  .primary-menu .current_page_item > a {
    background: rgba(226,42,49,.16);
    border-radius: 8px;
  }

  .language-switcher {
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,.14);
  }

  .language-menu {
    position: static;
    margin-top: 10px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-photo {
    background-position: 56% center;
  }

  .hero-copy {
    padding-top: 235px;
    padding-bottom: 105px;
  }

  .hero h1 {
    font-size: clamp(4.3rem, 20vw, 6.4rem);
  }

  .hero-lead {
    max-width: 92%;
  }

  .hungarian-wave {
    height: 62px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature:nth-child(2) {
    border-right: 0;
  }

  .feature:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
    margin-bottom: 14px;
  }

  .facebook-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .facebook-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
  }

  .facebook-card {
    flex: 0 0 min(82vw, 390px);
    scroll-snap-align: start;
  }

  .page-hero {
    min-height: 280px;
    padding: 165px 0 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-slogan,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero-copy {
    padding-top: 220px;
    padding-bottom: 95px;
  }

  .hero-tagline {
    letter-spacing: .15em;
  }

  .hungarian-wave {
    height: 54px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 17px 10px;
    margin: 0 !important;
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .facebook-section {
    padding: 58px 0 70px;
  }

  .facebook-card {
    flex-basis: 86vw;
  }

  .page-content {
    padding: 52px 0 72px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-column,
  .footer-brand,
  .footer-slogan,
  .footer-contact {
    grid-column: auto;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
