/* ============================================================
   Bovec Apartment – Main Stylesheet
   File: css/style.css
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal:    #4a7c59;
  --teal-dk: #3a6347;
  --sand:    #f2ede0;
  --dark:    #1b2d1f;
  --mid:     #556655;
  --light:   #ffffff;
  --accent:  #c4793a;
  --radius:  12px;
  --shadow:  0 8px 32px rgba(0,0,0,.12);
  --trans:   .3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.7;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: transparent;
  transition: background var(--trans), backdrop-filter var(--trans);
}

nav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--light);
  text-decoration: none;
  letter-spacing: -.5px;
  transition: color var(--trans);
}

nav.scrolled .nav-logo {
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  transition: color var(--trans);
}

nav.scrolled .nav-links a {
  color: var(--mid);
}

.nav-links a:hover,
nav.scrolled .nav-links a:hover {
  color: var(--teal);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--light) !important;
  padding: .5rem 1.2rem !important;
  border-radius: 50px !important;
  transition: background var(--trans), transform var(--trans) !important;
}

.nav-cta:hover {
  background: #a8612a !important;
  transform: translateY(-1px);
}

/* Log In button */
.nav-login-btn {
  background: transparent !important;
  color: rgba(255,255,255,.9) !important;
  border: 1.5px solid rgba(255,255,255,.6) !important;
  padding: .4rem 1.1rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: background var(--trans), color var(--trans), border-color var(--trans) !important;
}
.nav-login-btn:hover { background: rgba(255,255,255,.15) !important; }
nav.scrolled .nav-login-btn { color: var(--teal) !important; border-color: var(--teal) !important; }
nav.scrolled .nav-login-btn:hover { background: rgba(74,124,89,.08) !important; }

/* Profile chip */
.nav-profile { display: flex !important; align-items: center; gap: .5rem; list-style: none; }

.nav-profile-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: rgba(255,255,255,.95) !important;
  font-weight: 600;
  transition: opacity var(--trans);
}
.nav-profile-link:hover { opacity: .8; }
/* Asztali scrolled navbarban: profil link zöld (teal) legyen, ne sötét */
nav.scrolled .nav-profile-link { color: var(--teal) !important; }
/* Mobilon a fehér override a @media (max-width: 768px) blokkban van – itt NE legyen, különben felülírja a teal-t desktopon is */

.nav-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800;
  flex-shrink: 0;
  text-transform: uppercase;
}

.nav-profile-name {
  font-size: .9rem;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-profile-label {
  font-size: .72rem;
  opacity: .7;
  font-weight: 500;
  letter-spacing: .3px;
}

.nav-logout {
  font-size: .82rem !important;
  color: rgba(255,255,255,.6) !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  padding: .3rem .8rem !important;
  border-radius: 50px !important;
  text-decoration: none;
  transition: all var(--trans) !important;
}
.nav-logout:hover { color: #fff !important; border-color: rgba(255,255,255,.7) !important; }
/* Asztali scrolled navbarban narancs – CSAK desktopon, mobilon sosem érvényes */
@media (min-width: 769px) {
  nav.scrolled .nav-logout { color: #c4793a !important; border-color: #c4793a !important; }
  nav.scrolled .nav-logout:hover { background: rgba(196,121,58,.08) !important; }
}

/* ===== NAV LOGO IMG ===== */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  /* Logo always shows in its original colours – no white filter */
}

/* ===== HERO ===== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* ===== SLIDER ===== */
.slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .5s ease, transform 5s ease;
  will-change: opacity, transform;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,28,12,.45) 0%,
    rgba(10,28,12,.25) 50%,
    rgba(10,28,12,.60) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--light);
  max-width: 720px;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(74,124,89,.85);
  color: var(--light);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: .5rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(6px);
}

.hero-badge-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.hero-content p {
  font-size: 1.15rem;
  opacity: .92;
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.btn-primary {
  background: var(--teal);
  color: var(--light);
}

.btn-primary:hover {
  background: var(--teal-dk);
}

.btn-outline {
  background: transparent;
  color: var(--light);
  border: 2px solid rgba(255,255,255,.8);
}

.btn-outline:hover {
  background: rgba(255,255,255,.15);
}


/* ===== SECTIONS – SHARED ===== */
section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  color: var(--teal);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--mid);
  font-size: 1.05rem;
  max-width: 580px;
}

/* ===== FEATURES ===== */
#features {
  background: var(--sand);
}

.features-header {
  text-align: center;
  margin-bottom: 3rem;
}

.features-header .section-sub {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
}

.feature-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--trans), box-shadow var(--trans);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.feature-card p {
  color: var(--mid);
  font-size: .93rem;
}

/* ===== PROGRAMOK RÁCS ===== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .9rem;
}

.program-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .28s ease, box-shadow .28s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
}

.program-card--half  { grid-column: span 3; }
.program-card--third { grid-column: span 2; }

/* Sötétítő overlay alulról felfelé */
.program-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.18) 55%, transparent 100%);
  z-index: 1;
}

/* Nagy dekoratív emoji háttérben */
.program-bg-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-55%);
  font-size: 5.5rem;
  opacity: .15;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* Tartalom */
.program-content {
  position: relative;
  z-index: 2;
  padding: 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.program-title {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  margin: 0;
}

.program-desc {
  color: rgba(255,255,255,.88);
  font-size: .8rem;
  margin: 0;
  line-height: 1.45;
}

.program-price {
  background: rgba(0,0,0,.38);
  padding: .1rem .45rem;
  border-radius: 4px;
  font-weight: 700;
}

.program-btn {
  display: inline-block;
  background: #1565c0;
  color: #fff;
  padding: .38rem 1rem;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 600;
  margin-top: .35rem;
  align-self: flex-start;
  transition: background .2s;
}

.program-card:hover .program-btn { background: #0d47a1; }

/* Kártyák háttérképei */
.program-rafting   { background: url('../img/rafting.webp') center/cover no-repeat; }
.program-zipline   { background: url('../img/zipline.webp') center/cover no-repeat; }
.program-bike      { background: url('../img/rentbike.webp') center/cover no-repeat; }
.program-canyoning { background: url('../img/canyoning.webp') center/cover no-repeat; }
.program-extreme   { background: url('../img/extremecanyoning.webp') center/cover no-repeat; }
.program-kayak     { background: url('../img/kayaking.webp') center/cover no-repeat; }

/* Ajándékkártya kártya – világos háttér, nincs sötét overlay */
.program-gift {
  background: url('../img/gift.webp') center/contain no-repeat #deeaf8;
  justify-content: flex-end;
  align-items: flex-start;
}

.program-gift-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  padding: 1.1rem 1.3rem;
  width: 100%;
}

.program-title-gift {
  color: #1a2e4a;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.program-desc-gift {
  color: #3a5068;
  font-size: .8rem;
  margin: 0;
}

.program-btn-gift {
  background: #1565c0;
  padding: .38rem 1rem;
  border-radius: 6px;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  display: inline-block;
  transition: background .2s;
  margin-top: .35rem;
}

.program-gift:hover .program-btn-gift { background: #0d47a1; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 420px;
}

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

.about-img-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.about-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--teal);
  color: var(--light);
  padding: .6rem 1.2rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
}

.about-text .section-sub {
  margin-bottom: 1.5rem;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--mid);
  font-size: .95rem;
}

.about-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--teal);
  color: var(--light);
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 700;
}

.about-map {
  margin-top: 2.5rem;
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ===== BOOKING ===== */
#booking {
  background: var(--dark);
  color: var(--light);
}

#booking .section-title {
  color: var(--light);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.booking-info {
  padding-top: .5rem;
}

.booking-info .section-sub {
  color: rgba(255,255,255,.65);
  margin-bottom: 2rem;
}

.booking-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.stat-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.stat-box strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal);
}

.stat-box span {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

.booking-form {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.booking-form h3 {
  color: var(--dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: .95rem;
  color: var(--dark);
  background: var(--light);
  transition: border-color var(--trans), box-shadow var(--trans);
  font-family: inherit;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(74,124,89,.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--teal);
  color: var(--light);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans);
  margin-top: .5rem;
}

.form-submit:hover {
  background: var(--teal-dk);
  transform: translateY(-2px);
}

.form-note {
  text-align: center;
  font-size: .8rem;
  color: var(--mid);
  margin-top: .8rem;
}

/* ===== GALLERY ===== */
#gallery {
  background: var(--sand);
}

.gallery-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
}

/* First image spans 2 columns and 2 rows = featured */
.gallery-item--tall {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74,124,89,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
}

.gallery-overlay span {
  color: var(--light);
  font-size: 2rem;
  opacity: 0;
  transition: opacity var(--trans);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(74,124,89,.4);
}

.gallery-item:hover .gallery-overlay span {
  opacity: 1;
}

/* ===== REVIEWS ===== */
#reviews {
  background: var(--light);
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.review-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: .8rem;
}

.review-card blockquote {
  color: var(--mid);
  font-size: .95rem;
  font-style: italic;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 700;
  font-size: .9rem;
}

.reviewer-date {
  color: var(--mid);
  font-size: .8rem;
}

/* ===== CONTACT ===== */
#contact {
  background: var(--sand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.4rem;
  margin-top: .1rem;
}

.contact-item strong {
  display: block;
  font-weight: 700;
  margin-bottom: .2rem;
}

.contact-item span {
  color: var(--mid);
  font-size: .95rem;
}

.map-placeholder {
  background: linear-gradient(135deg, #4a7c5922, #4a7c5944);
  border: 2px dashed var(--teal);
  border-radius: var(--radius);
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-weight: 600;
  gap: .5rem;
  font-size: .95rem;
}

.map-placeholder span:first-child {
  font-size: 2.5rem;
}

.map-embed {
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: .5rem;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

footer p {
  font-size: .85rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: .8rem 0;
}

.footer-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--teal); }

footer a {
  color: var(--teal);
  text-decoration: none;
}

/* ===== FLOATING BOOKING BUTTON ===== */
.float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: var(--accent);
  color: var(--light);
  padding: .9rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(196,121,58,.4);
  transition: transform var(--trans), box-shadow var(--trans);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(196,121,58,.5);
}

/* ===== HAMBURGER GOMB ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1100;
  border-radius: 6px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: rgba(255,255,255,.9);
  border-radius: 3px;
  transition: transform .3s ease, opacity .3s ease;
}

nav.scrolled .nav-hamburger span {
  background: var(--dark);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== GLOBÁLIS OVERFLOW VÉDELEM ===== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

* {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav {
    padding: .9rem 1.2rem;
  }

  /* Hamburger mindig látható mobilon */
  .nav-hamburger {
    display: flex;
    position: relative;
    z-index: 1200;
    flex-shrink: 0;
  }

  /* Nav logó ne nyomja szét a sort */
  .nav-logo {
    flex-shrink: 0;
    font-size: 1.1rem;
  }
  .nav-logo-img { height: 28px; }

  /* ---- Lenyíló animált mobilmenü ---- */
  .nav-links {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    background: rgba(15, 30, 17, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 1050;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,.35);
    /* Animáció */
    transition: max-height .38s cubic-bezier(.4,0,.2,1),
                padding   .38s cubic-bezier(.4,0,.2,1),
                visibility .38s;
  }

  .nav-links.mobile-open {
    max-height: 520px;
    padding: .4rem 0 .8rem;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block !important;
    padding: .95rem 1.6rem !important;
    font-size: 1rem !important;
    color: rgba(255,255,255,.88) !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-align: left !important;
    transition: background .2s, color .2s !important;
  }
  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(74,124,89,.25) !important;
    color: #fff !important;
  }

  /* === GÖRGETÉS FIX: mobilos dropdownban minden link fehér marad === */
  nav.scrolled .nav-links a {
    color: rgba(255,255,255,.88) !important;
  }
  nav.scrolled .nav-links .nav-profile-link {
    color: rgba(255,255,255,.88) !important;
  }
  nav.scrolled .nav-links a:hover,
  nav.scrolled .nav-links a:active {
    color: #fff !important;
    background: rgba(74,124,89,.25) !important;
  }

  /* === KIJELENTKEZÉS: mobilon MINDIG fehér, semmilyen körülmény között sem változik === */
  nav .nav-links .nav-logout,
  nav.scrolled .nav-links .nav-logout,
  nav.scrolled .nav-links.mobile-open .nav-logout {
    color: rgba(255,255,255,.7) !important;
    border-color: rgba(255,255,255,.35) !important;
    background: transparent !important;
  }
  nav .nav-links .nav-logout:hover,
  nav.scrolled .nav-links .nav-logout:hover {
    color: #fff !important;
    border-color: rgba(255,255,255,.7) !important;
  }

  /* Foglalás gomb kiemelve */
  .nav-links .nav-cta {
    margin: .4rem 1.2rem !important;
    padding: .7rem 1.5rem !important;
    background: var(--accent) !important;
    border-radius: 50px !important;
    text-align: center !important;
    width: auto !important;
  }

  /* Bejelentkezés gomb */
  .nav-links .nav-login-btn {
    margin: .3rem 1.2rem !important;
    padding: .6rem 1.5rem !important;
    border: 1.5px solid rgba(255,255,255,.4) !important;
    border-radius: 50px !important;
    text-align: center !important;
    width: auto !important;
  }

  .nav-profile {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
  }

  /* Profil chip mobilon a lenyíló menüben – szín mindig fehér marad */
  .nav-profile-link {
    display: flex !important;
    align-items: center !important;
    gap: .7rem !important;
    padding: .95rem 1.6rem !important;
    width: 100% !important;
    color: rgba(255,255,255,.88) !important;
  }

  /* Görgetés közben se változzon a szín */
  nav.scrolled .nav-links .nav-profile-link,
  nav.scrolled .nav-links.mobile-open .nav-profile-link {
    color: rgba(255,255,255,.88) !important;
  }

  .nav-profile-name {
    font-size: .95rem !important;
    color: rgba(255,255,255,.88) !important;
  }

  /* ---- Programok rács mobilon ---- */
  .programs-grid {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .program-card--half,
  .program-card--third {
    grid-column: span 1;
  }
  .program-card {
    min-height: 185px;
  }

  /* ---- Hero gombok egymás alá ---- */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    box-sizing: border-box;
    justify-content: center;
  }
  /* Google gomb mobilon ne örökölje a max-width korlátot */
  .hero-buttons .google-map-btn {
    max-width: 280px;
    width: 100%;
  }

  /* ---- Fröccs Terrace gomb mobilon ---- */
  .froecs-terrace-btn {
    height: 140px !important;
    width: auto !important;
    max-width: 380px !important;
    margin-left: 0 !important;
    align-self: center;
  }
  .froecs-terrace-btn img {
    height: 100%;
    width: auto;
    max-width: 100%;
    display: block;
  }

  /* ---- Hero szöveg ---- */
  .hero-content {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
  }
  .hero-content h1 {
    font-size: clamp(1.6rem, 7vw, 2.6rem);
    word-break: break-word;
    hyphens: auto;
  }
  .hero-content p {
    font-size: .95rem;
    max-width: 100%;
    hyphens: auto;
  }


  /* ---- Szekciók ---- */
  section { padding: 3.5rem 1.2rem; }

  .about-grid,
  .booking-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-img-wrap img { height: 260px; }

  .form-row { grid-template-columns: 1fr; }

  /* ---- Galéria ---- */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .gallery-item--tall {
    grid-column: span 2;
    grid-row: span 1;
  }

  /* ---- Booking stats ---- */
  .booking-stats { grid-template-columns: 1fr 1fr; }

  /* ---- Booking szöveg mobilon ---- */
  .booking-info .section-title {
    font-size: 1.45rem;
    line-height: 1.25;
    word-break: break-word;
  }
  .booking-info .section-sub {
    font-size: .95rem;
    max-width: 100%;
    line-height: 1.6;
  }

  /* ---- Foglalási form mobilon ---- */
  .booking-form {
    padding: 1.5rem 1.2rem;
  }

  /* ---- Float gomb ---- */
  .float-btn {
    bottom: 1rem;
    right: 1rem;
    font-size: .85rem;
    padding: .75rem 1.2rem;
  }
}

/* Nagyon kis képernyő (pl. iPhone SE) */
@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }
  .gallery-item--tall { grid-column: span 1; }
  .booking-stats { grid-template-columns: 1fr; }
}
