/* ===========================
   ALAP – 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;
}

.container {
  width: min(1160px, 100% - 4rem);
  margin: 0 auto;
}

/* Desktop / mobil váltás */

.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);
  }
}

/* Linkek – ne rikító kék */

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;
}

/* ===========================
   HEADER / NAV – Alta
   =========================== */

.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 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 + lang + gomb */

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.8rem;
}

.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;
}

.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;
}

.btn-outline:hover {
  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 ezt a headert elrejti a mobil layout */
@media (max-width: 768px) {
  .site-header {
    display: none;
  }
}

/* ===========================
   SZOBÁK – HERO + TÖRZS
   =========================== */

.rooms-main {
  padding-bottom: 3rem;
}

.rooms-hero {
  padding: 3.2rem 0 2.4rem;
}

.rooms-hero-inner {
  display: flex;
  align-items: center;
}

.rooms-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.rooms-title {
  font-family: "Playfair Display", serif;
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
}

.rooms-lead {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.rooms-body {
  padding: 0 0 3.5rem;
}

/* Szűrők */

.rooms-filters {
  margin-bottom: 1.4rem;
}

#mainFilter,
#subFilter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 14px auto 10px;
  padding: 0;
}

#mainFilter button,
#subFilter button {
  background: #eef1f4;
  border: 1px solid #e2e6ea;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.06s,
    color 0.2s;
  margin: 0;
  white-space: nowrap;
  color: #111827;
}

#mainFilter button.active,
#subFilter button.active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

#mainFilter button:active,
#subFilter button:active {
  transform: scale(0.97);
}

/* Almenü láthatóság */

#subFilter {
  display: none;
}

body.show-sub #subFilter {
  display: flex;
}

/* Galéria – masonry */

.gallery {
  column-count: 1;
  column-gap: 18px;
  padding: 0.5rem 0 0;
}

@media (min-width: 700px) {
  .gallery {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .gallery {
    column-count: 3;
  }
}

.gallery-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 18px;
  background: #f9fafb;
  display: block;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease-out;
}

.gallery-item img:hover {
  transform: scale(1.03);
}

/* ===========================
   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Ó – FADE IN
   =========================== */

[data-animate] {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

