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

: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;
}

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

/* Desktop vs Mobil */

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

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

  .mobile-only {
    display: block;
  }

  .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;
}

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

.section-title {
  font-size: 2rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

/* Gombok */

.btn-primary,
.btn-ghost,
.btn-outline,
.text-link,
.pill-link {
  font-family: inherit;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #ffffff;
  font-weight: 500;
}

.btn-primary:hover {
  background: #000000;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid #111827;
  color: #111827;
  background: transparent;
  margin-left: 0.75rem;
}

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

.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;
}

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

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #111827;
}

.text-link::after {
  content: "→";
  font-size: 0.85em;
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* Pill linkek */

.pill-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  color: #111827;
  background: rgba(255, 255, 255, 0.7);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.pill-link:hover {
  border-color: var(--accent);
  background: #ffffff;
}

.pill-link--ghost {
  background: transparent;
}

/* Framed képek */

.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
   =========================== */

.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-links a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #4b5563;
  position: relative;
  padding-bottom: 0.25rem;
}

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

.nav-links a.is-active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 18px;
  height: 2px;
  background: #111827;
}

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

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

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #111827;
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

.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 {
  display: flex;
  justify-content: flex-end;
}

@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;
  }
}

/* Tablet NAV – hamburger */

@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;
  }
}

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

.hero {
  padding: 3.4rem 0 3.8rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  column-gap: 3.5rem;
  align-items: center;
}

.hero-media img {
  width: 100%;
  border-radius: 24px;
  display: block;
  box-shadow: var(--shadow-soft);
}

.hero-content {
  max-width: 480px;
}

.hero-label {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 0.7rem;
}

.hero-title {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

.hero-text {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2.2rem;
  }

  .hero-media {
    order: -1;
  }

  .hero-content {
    max-width: 100%;
  }
}

/* ===========================
   ELŐNYÖK
   =========================== */

.advantages {
  padding: 2.4rem 0 3.2rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}

.adv-item {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.adv-item h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.adv-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

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

/* ===========================
   INTRO
   =========================== */

.intro {
  padding: 2.5rem 0 3rem;
}

.intro-inner {
  max-width: 680px;
}

.intro-text {
  color: var(--text-muted);
}

/* ===========================
   GALLERY – HÁROM KÉPES MOZAIK
   =========================== */

.gallery-mosaic {
  padding: 1.8rem 0 3.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  grid-auto-rows: auto;
  gap: 1.8rem;
  align-items: stretch;
}

/* Nagy, magas kártya – elfoglal két sort, Alta-szerű elrendezés */
.gallery-item--tall {
  grid-row: 1 / span 2;
}

.frame-img {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f2f2f2;
}

.frame-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-text-row {
  margin-top: 1.8rem;
}

.gallery-text {
  max-width: 540px;
  color: var(--text-muted);
}

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

  .gallery-item--tall {
    grid-row: auto;
  }
}

/* Mobil */
@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* ===========================
   ROOMS
   =========================== */

.rooms {
  padding: 1.2rem 0 3.8rem;
}

.rooms-header {
  margin-bottom: 2rem;
}

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

.room-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

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

/* ===========================
   EXPLORE
   =========================== */

.explore {
  padding: 2.6rem 0 3.8rem;
}

.explore-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  column-gap: 3rem;
  align-items: center;
}

.explore-media img {
  width: 100%;
  border-radius: 24px;
  display: block;
  box-shadow: var(--shadow-soft);
}

.explore-text {
  color: var(--text-muted);
  margin-bottom: 1.3rem;
}

.explore-links {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .explore-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2rem;
  }
}

/* ===========================
   ALSÓ CTA
   =========================== */

.bottom-cta {
  padding: 3.2rem 0 3.6rem;
}

.bottom-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  column-gap: 2.5rem;
  align-items: center;
  background: #ffffff;
  border-radius: 26px;
  padding: 2.4rem 2.4rem;
  box-shadow: var(--shadow-soft);
}

.bottom-cta-text p:last-child {
  color: var(--text-muted);
}

.bottom-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .bottom-cta-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.8rem;
  }

  .bottom-cta-actions {
    justify-content: flex-start;
  }
}

/* ===========================
   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;
  }
}

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

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

/* Kezdő állapotok típusonként */
[data-animate="fade-up"] {
  transform: translate3d(0, 40px, 0);
}

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

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

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

[data-animate="zoom-in"] {
  transform: scale(0.9);
}

/* Látható állapot */

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

[data-animate="zoom-in"].is-visible {
  transform: scale(1);
}

/* ========= 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 {
  color: #111827;
}

/* a finoman “kitöltődő” vonal */
.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;
}

/* aktív + hover állapotban legyen kihúzva */
.nav-links li a.is-active::after,
.nav-links li a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}


/* ==== GALLERY – szöveg felhúzása a képekhez ==== */

/* Ha még gallery-two-cols az osztály */
.gallery-two-cols .gallery-text-row {
  margin-top: -2.8rem;
}

/* Ha már gallery-mosaic-ot használsz */
.gallery-mosaic .gallery-text-row {
  margin-top: -2.8rem;
}

/* hogy alatta ne legyen túl nagy lyuk */
.gallery-two-cols,
.gallery-mosaic {
  padding-bottom: 2rem;
}

/* ==== ROOMS – 3 kép azonos méretben ==== */

.rooms-grid {
  align-items: stretch;
}

.room-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* csak a rooms szekció képeire vonatkozik */
.rooms-grid .frame-img {
  height: 420px;              /* itt állítod, milyen magas legyen mind a 3 kép */
  padding: 0.75rem;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.rooms-grid .frame-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* így vágja a képet, hogy kitöltse a keretet */
  border-radius: 18px;
}

/* szöveg kicsit közelebb a képhez */
.rooms-grid .room-body {
  margin-top: 0.4rem;
}

/* ===== NYELVVÁLTÓ ===== */

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

.lang-switch button {
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #f9fafb;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

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

.lang-switch button.active-lang {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
  transform: translateY(-1px);
}

/* ha nagyon összenyomja a navot mobilon, kicsit kisebb margó */
@media (max-width: 640px) {
  .lang-switch {
    margin-right: 0.4rem;
  }

  .lang-switch button {
    padding: 0.2rem 0.55rem;
    font-size: 0.65rem;
  }
}