/* ===========================
   ALAPOK – Alta stílus
   =========================== */

:root {
  --bg-main: #f4f5f3;
  --bg-card: #ffffff;
  --text-main: #272727;
  --text-muted: #6b7280;
  --accent: #b88a5a;
  --accent-soft: #e4c9a4;
  --border-soft: #e5e7eb;
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* Layout helpers */

.container {
  width: min(1160px, 100% - 4rem);
  margin: 0 auto;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .container {
    width: min(100%, 100% - 2rem);
  }
}

/* Tipográfia */

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 0.9em;
}

/* Linkek – visszafogott stílus */

a {
  color: #111827;
  text-decoration-color: rgba(148, 163, 184, 0.6);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #000000;
  text-decoration-color: #111827;
}

/* Gombok */

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid #111827;
  background: transparent;
  color: #111827;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s ease;
}

/* Foglalás gomb animáció */

.btn-outline[data-animate="slide-in"] {
  opacity: 0;
  transform: translate3d(16px, 0, 0);
}

.btn-outline[data-animate="slide-in"].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.btn-outline:hover {
  background: #111827;
  color: #ffffff;
}

/* Framed képek (modal képhez is) */

.frame-img {
  position: relative;
  background: #ffffff;
  padding: 0.7rem;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.frame-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

/* ===========================
   HEADER / NAV – Alta stílus
   =========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 245, 243, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  padding: 0.7rem 0;
}

.main-nav {
  display: grid;
  grid-template-columns: 1.3fr auto 1.3fr;
  align-items: center;
  column-gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #111827;
  border-radius: 999px;
  margin-bottom: 6px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
}

/* Nav link + aláhúzás animáció */

.nav-links li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #4b5563;
  transition: color 0.2s ease-out;
}

.nav-links li a:hover,
.nav-links li a.is-active {
  color: #111827;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background: #111827;
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  transition:
    transform 0.28s ease-out,
    opacity 0.18s ease-out;
}

.nav-links li a:hover::after,
.nav-links li a.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Logo */

.nav-center {
  display: flex;
  justify-content: center;
}

.gv-logo {
  width: 40px;
  height: 40px;
  display: block;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
}

/* Nav right */

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.8rem;
}

/* Lang switch */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-right: 0.4rem;
}

.lang-switch button {
  border: none;
  background: transparent;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switch button:hover {
  background: rgba(148, 163, 184, 0.12);
  color: #111827;
}

.lang-switch button.active-lang {
  background: #111827;
  color: #ffffff;
}

/* Nav responsív */

@media (max-width: 1024px) {
  .main-nav {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 0.5rem;
  }

  .nav-center {
    justify-content: flex-start;
    grid-column: 1 / -1;
    order: -1;
  }

  .nav-right {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .main-nav {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    padding: 0.75rem 1.5rem 1rem;
    background: rgba(244, 245, 243, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    flex-direction: column;
    gap: 0.4rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-links.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
}

/* Mobilon az Alta header ne látszódjon (mobil layout külön) */

@media (max-width: 768px) {
  .site-header {
    display: none;
  }
}

/* ===========================
   „MI AJÁNLJUK” – DESKTOP
   =========================== */

.recommend-main {
  padding-bottom: 3rem;
}

/* HERO */

.recommend-hero {
  padding: 3.2rem 0 2.2rem;
}

.recommend-hero-inner {
  display: flex;
  align-items: center;
}

.recommend-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.recommend-title {
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
}

.recommend-lead {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* GRID */

.recommend-section {
  padding-bottom: 2.8rem;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

@media (max-width: 1024px) {
  .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.recommend-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 22px;
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  transform: translate3d(0, 0, 0);
}

/* Chip */

.recommend-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(184, 138, 90, 0.11);
  color: #92400e;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}

.recommend-chip i {
  font-size: 0.85rem;
}

/* Ikon „badge” – NE sárga, hanem neutrális */

.recommend-icon {
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 15%, #ffffff, #e5e7eb);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #111827;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
}

.recommend-icon i {
  font-size: 1.1rem;
}

/* Szöveg */

.recommend-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  padding-right: 3.2rem;
}

.recommend-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-right: 0.2rem;
}

/* Részletek gomb */

.recommend-card button.recommend-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #111827;
  background: transparent;
  color: #111827;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.recommend-card button.recommend-btn i {
  font-size: 0.85rem;
}

.recommend-card button.recommend-btn:hover {
  background: #111827;
  color: #ffffff;
  transform: translateY(-1px);
}

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

.site-footer {
  padding: 1.8rem 0 2.4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-brand {
  font-weight: 500;
  margin-bottom: 0.2rem;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===========================
   POPUP / MODAL – Részletek
   =========================== */

.recommend-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
}

.recommend-modal.is-open {
  display: flex;
}

.recommend-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.recommend-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100% - 3rem);
  max-height: min(520px, 100% - 4rem);
  background: var(--bg-main);
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.45);
  padding: 1.5rem 1.5rem 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 1.4rem;
  overflow: hidden;
  transform: translate3d(0, 18px, 0);
  opacity: 0;
  transition:
    opacity 0.28s ease-out,
    transform 0.28s ease-out;
}

.recommend-modal.is-open .recommend-modal__dialog {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 800px) {
  .recommend-modal__dialog {
    grid-template-columns: minmax(0, 1fr);
    max-height: min(640px, 100% - 3rem);
  }
}


/* Modal kép – szélesség marad, MAGASABB keret/kép */

.recommend-modal__dialog {
  max-height: min(640px, 100% - 4rem); /* nagyobb popup */
}

.recommend-modal__image {
  background: #ffffff;
  padding: 1.2rem;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  max-width: 380px;

  min-height: 170px;  /* <<< EZ NÖVELI A FEHÉR KERET MAGASSÁGÁT */
  display: flex;
  align-items: center;
  justify-content: center;
}

.recommend-modal__image img {
  width: 100%;
  height: 180px;
  border-radius: 20px;
  object-fit: cover;
}

.recommend-modal__body {
  position: relative;
  padding-top: 0.2rem;
  padding-right: 1.6rem;
}

.recommend-modal__body h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.recommend-modal__body p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Link a modalban (pl. útvonalterv vagy bővebben) */

.recommend-modal__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #111827;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.recommend-modal__link:hover {
  background: #111827;
  color: #ffffff;
}

/* Bezáró gomb */

.recommend-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.07);
  color: #111827;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recommend-modal__close:hover {
  background: rgba(15, 23, 42, 0.18);
}

/* Body scroll tiltás modal nyitáskor */

body.recommend-modal-open {
  overflow: hidden;
}

/* ===========================
   SCROLL ANIMÁCIÓK
   =========================== */

[data-animate] {
  opacity: 0;
  transition:
    opacity 1.05s ease-out,
    transform 1.05s ease-out;
}

[data-animate="fade-up"] {
  transform: translate3d(0, 40px, 0);
}

[data-animate="slide-left"] {
  transform: translate3d(-40px, 0, 0);
}

[data-animate="slide-right"] {
  transform: translate3d(40px, 0, 0);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}