/* ===========================
   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;
}

/* 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;
    }

    .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;
}

/* Gombok */

.btn-primary,
.btn-outline,
.booking-submit,
.booking-room-btn {
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.22s 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-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;
}

/* 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 – ugyanaz, mint index
   =========================== */

.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;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: inherit;
}

.gv-logo {
    width: 40px;
    height: 40px;
    display: block;
}

.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;
    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 a header-t eltüntetjük, mert ott tabbar van */
@media (max-width: 768px) {
    .site-header {
        display: none;
    }
}

/* ===========================
   BOOKING HERO
   =========================== */

.booking-main {
    padding-bottom: 3rem;
}

.booking-hero {
    padding: 3.2rem 0 2.8rem;
}

.booking-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    column-gap: 3.5rem;
    align-items: center;
}

.booking-kicker {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.booking-title {
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
}

.booking-lead {
    color: var(--text-muted);
    max-width: 520px;
}

/* Highlights box */

.booking-highlights {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.6rem 1.7rem;
    box-shadow: var(--shadow-soft);
}

.booking-highlights h2 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}

.booking-highlights ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.booking-highlights li+li {
    margin-top: 0.3rem;
}

@media (max-width: 1024px) {
    .booking-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 1.8rem;
    }

    .booking-highlights {
        order: -1;
    }
}

/* ===========================
   BOOKING BODY (két hasáb)
   =========================== */

.booking-body {
    padding: 0 0 3.2rem;
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
    column-gap: 3.2rem;
    align-items: flex-start;
}

/* Bal oszlop – fotók */

.booking-photo-column {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* minden kép vegye fel a teljes oszlop szélességet */
.booking-photo-column .frame-img {
  width: 100%;
}

/* =============================
   FELSŐ NAGY KÉP MAGASSÁGÁNAK ÁLLÍTÁSA
   ============================= */
.booking-photo-main img {
  width: 100%;
  height: 420px;          /* <-- ITT ÁLLÍTOD A FELSŐ NAGY KÉP MAGASSÁGÁT */
  object-fit: cover;
  object-position: center;
}

/* =============================
   KÉT FELSŐ KIS KÉP MAGASSÁGÁNAK ÁLLÍTÁSA
   ============================= */
.booking-photo-row .frame-img img {
  width: 100%;
  height: 260px;          /* <-- ITT ÁLLÍTOD A KÉT KICSI KÉP MAGASSÁGÁT */
  object-fit: cover;
  object-position: center;
}

/* =============================
   ALSÓ SZÉLES KÉP MAGASSÁGÁNAK ÁLLÍTÁSA
   ============================= */
.booking-photo-wide {
  max-height: 6000px;      /* <-- EZ SZABJA MEG A WIDE CONTAINER MAGASSÁGÁT */
  overflow: hidden;
}

.booking-photo-wide img {
  width: 100%;
  height: 280px;          /* <-- ITT ÁLLÍTOD AZ ALSÓ SZÉLES KÉP VALÓDI MAGASSAGÁT */
  object-fit: cover;
  object-position: center;
}

/* címke a felső nagy képen */
.booking-photo-main {
  position: relative;
}

.booking-photo-label {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.84);
  color: #f9fafb;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* a két felső kicsi egymás mellett */
.booking-photo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}
/* ÚJ: extra kép a két kisebb alatt */

.booking-photo-extra {
    margin-top: 0.3rem;
}

/* Jobb oszlop – űrlap */

.booking-form-column {
    display: flex;
    justify-content: stretch;
}

.booking-form-card {
    width: 100%;
    background: #ffffff;
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
    padding: 2.1rem 2.2rem 2.2rem;
}

.booking-form-title {
    font-size: 1.35rem;
    margin-bottom: 0.3rem;
}

.booking-form-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
}

/* Űrlap mezők */

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-row--split {
    flex-direction: row;
    gap: 0.9rem;
}

.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.booking-form label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid #d1d5db;
    padding: 0.7rem 0.9rem;
    font-family: inherit;
    font-size: 0.92rem;
    background: #f9fafb;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: #111827;
    background: #ffffff;
    box-shadow: 0 0 0 1px #1118271a;
}

.booking-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit + note */

.booking-submit {
    margin-top: 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    border: none;
    background: #111827;
    color: #ffffff;
    font-weight: 500;
}

.booking-submit:hover {
    background: #000000;
    transform: translateY(-1px);
}

.booking-note {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Reszponzív */

@media (max-width: 1024px) {
    .booking-layout {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 2.2rem;
    }

    .booking-form-card {
        padding: 1.8rem 1.7rem 2rem;
    }
}

@media (max-width: 768px) {
    .booking-hero {
        padding-top: 1.8rem;
    }

    .booking-hero-inner {
        column-gap: 0;
    }

    .booking-layout {
        column-gap: 0;
    }

    .form-row--split {
        flex-direction: column;
    }
}

/* ===========================
   ALSÓ SZÁLLÁSTÍPUS KÁRTYÁK
   =========================== */

.booking-roomlist {
    padding: 0 0 3.5rem;
}

.booking-roomlist-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.booking-room-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}

.booking-room-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 0.9rem 0.9rem 1.3rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border: 2px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.booking-room-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.booking-room-card.is-selected {
    border-color: #111827;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
}

.booking-room-image {
    margin-bottom: 0.6rem;
}

/* >>> Itt tudod állítani az alsó 3 kártya képmagasságát <<< */
.booking-room-image img {
    height: 290px;
    object-fit: cover;
    border-radius: 18px;
}

.booking-room-pill {
    position: absolute;
    left: 1.2rem;
    top: 1.2rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: rgba(17, 24, 39, 0.85);
    color: #f9fafb;
}

.booking-room-body h3 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.booking-room-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.booking-room-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.3rem;
    border-radius: 999px;
    border: 1px solid #111827;
    background: transparent;
    color: #111827;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.booking-room-btn:hover {
    background: #111827;
    color: #ffffff;
}

@media (max-width: 1040px) {
    .booking-room-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .booking-room-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ===========================
   SCROLL ANIMÁCIÓK
   =========================== */

[data-animate] {
    opacity: 0;
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

[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);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

[data-animate="zoom-in"].is-visible {
    transform: scale(1);
}

/* ===== Opcionális szobaválasztó blokk az űrlapban ===== */

.room-selection-block {
    margin-top: 0.8rem;
}

.room-selection-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.room-picker-open {
    border-radius: 999px;
    border: 1px solid #111827;
    background: #111827;
    color: #ffffff;
    font-size: 0.9rem;
    padding: 0.55rem 1.35rem;
    cursor: pointer;
    font-weight: 500;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.1s ease;
}

.room-picker-open:hover {
    background: #000000;
    transform: translateY(-1px);
}

.room-selection-summary {
    font-size: 0.85rem;
    color: #4b5563;
}

.room-selection-hint {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* ===== Popup szobaválasztó (desktop) ===== */

body.room-modal-open {
    overflow: hidden;
}

.room-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.room-modal.is-visible {
    display: block;
}

.room-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.room-modal__dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(960px, 100% - 3rem);
    max-height: 82vh;
    background: #f9fafb;
    border-radius: 26px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.45);
    padding: 1.8rem 1.8rem 1.6rem;
    display: flex;
    flex-direction: column;
}

.room-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.room-modal__title {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    margin: 0 0 0.25rem;
}

.room-modal__intro {
    margin: 0;
    font-size: 0.9rem;
    color: #4b5563;
}

/* X gomb – új dizájn */
.room-modal__close {
    border: none;
    background: #f3f4f6;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        transform 0.1s ease;
}

.room-modal__close:hover {
    background: #111827;
    color: #ffffff;
    transform: translateY(-1px);
}

.room-picker-list {
    display: flex;
    overflow-x: auto;
    gap: 1.4rem;
    padding-bottom: 0.4rem;
    margin-bottom: 1.2rem;
}

.room-picker-list::-webkit-scrollbar {
    height: 6px;
}

.room-picker-list::-webkit-scrollbar-track {
    background: transparent;
}

.room-picker-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}

.room-picker-card {
    min-width: 240px;
    max-width: 260px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

/* >>> Itt tudod állítani a popup kártyák képmagasságát <<< */
.room-picker-card__image img {
    height: 210px;
    object-fit: cover;
    border-radius: 18px;
}

.room-picker-card__image.frame-img {
    padding: 0.6rem;
    box-shadow: none;
}

.room-picker-card__body {
    padding: 0.9rem 1.1rem 1rem;
}

.room-picker-card__body h3 {
    font-size: 1rem;
    margin: 0 0 0.4rem;
}

.room-picker-card__body p {
    margin: 0 0 0.7rem;
    font-size: 0.85rem;
    color: #4b5563;
}

/* + / – sor + max. szöveg rendezése */
.room-picker-card__controls {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    margin-top: 0.45rem;
}

.room-picker-btn {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    transition:
        background 0.15s ease,
        transform 0.1s ease;
}

.room-picker-btn:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.room-picker-count {
    min-width: 18px;
    text-align: center;
    font-weight: 600;
}

/* max. szöveg lejjebb, jobbra húzva */
.room-picker-max {
    margin-left: auto;
    font-size: 0.78rem;
    color: #9ca3af;
    padding-bottom: 0.1rem;
}

.room-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: auto;
}

.room-modal__apply,
.room-modal__cancel {
    border-radius: 999px;
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.room-modal__apply {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.room-modal__apply:hover {
    background: #000000;
}

.room-modal__cancel {
    background: transparent;
    color: #4b5563;
    border-color: #d1d5db;
}

.room-modal__cancel:hover {
    background: #f3f4f6;
}

@media (max-width: 900px) {
    .room-modal__dialog {
        width: min(100% - 1.5rem, 520px);
        max-height: 85vh;
        padding: 1.4rem 1.2rem 1.2rem;
    }

    .room-picker-card {
        min-width: 220px;
    }
}

/* ===========================
   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;
  }
}