/* ==========================================================================
   Csorgató — csorgato.hu
   Production stylesheet. Mobile-first, brand tokens as CSS custom properties.
   Brand: Fröcskölő family. Tokens locked by Évi 2026-08-26.
   ========================================================================== */

:root {
  /* Brand colors (locked design tokens) */
  --turkiz: #7ACBBF;   /* primary brand */
  --navy:   #112337;   /* primary text + dark surfaces */
  --white:  #ffffff;   /* teddy base */
  --pink:   #E9628C;   /* secondary accent */
  --cream:  #F7F1E8;   /* warm keepsake ground */
  --text-muted: #6E6E6E;

  /* Derived, section-safe tints (kept few and deliberate) */
  --mint-bg: #eafaf7;             /* light section ground */
  --turkiz-dark: #2f9d8e;         /* state only (darker turkiz) */
  --pink-dark: #c74b76;           /* state only */
  --pink-soft: #fbe6ee;
  --turkiz-soft: #e6f4f1;

  /* Typography */
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Shape + rhythm */
  --pill: 999px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 70px);
  --radius-card: 26px;

  --shadow-pink: 0 12px 26px rgba(233, 98, 140, 0.4);
  --shadow-soft: 0 26px 50px rgba(17, 35, 55, 0.18);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--pink); }

/* Visible focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: var(--pill);
  padding: 12px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { font-size: 1.125rem; padding: 16px 30px; font-weight: 800; }
.btn-sm { padding: 11px 20px; font-size: 0.95rem; }

.btn-pink  { background: var(--pink);  color: var(--white); }
.btn-pink:hover  { background: var(--pink-dark); color: var(--white); }
.btn-navy  { background: var(--navy);  color: var(--white); }
.btn-navy:hover  { background: #0a1826; color: var(--white); }
.btn-turkiz { background: var(--turkiz); color: var(--navy); }
.btn-turkiz:hover { background: var(--turkiz-dark); color: var(--navy); }
.btn-pink.btn-lg { box-shadow: var(--shadow-pink); }
.btn-arrow { flex: none; }

/* ---------- Chips / tags ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 10px 18px;
  border-radius: var(--pill);
  color: var(--white);
}
.chip-turkiz { background: rgba(122, 203, 191, 0.16); }
.chip-pink   { background: rgba(233, 98, 140, 0.20); }
a.chip:hover { color: var(--white); filter: brightness(1.15); }

.tag {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: var(--pill);
  margin-bottom: 10px;
}
.tag-turkiz  { background: var(--turkiz-soft); color: var(--turkiz-dark); }
.tag-pink    { background: var(--pink); color: var(--white); }
.tag-pinksoft{ background: var(--pink-soft); color: var(--pink-dark); }

/* ---------- Section heads ---------- */
.section-head { text-align: center; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head h2 { font-size: clamp(1.9rem, 5vw, 2.75rem); font-weight: 800; }
.section-sub { color: var(--turkiz-dark); font-size: 1.05rem; font-weight: 500; margin-top: 10px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--turkiz);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  background: var(--white);
  border-radius: 14px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
}
.brand-name { font-size: 1.375rem; font-weight: 800; color: var(--navy); }

.primary-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 30px); }
.primary-nav a { font-weight: 600; color: #0d2135; }
.primary-nav a:hover { color: var(--pink); }
.nav-cta { color: var(--white) !important; }

/* Hamburger (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 26px; height: 3px; border-radius: 3px; background: var(--navy);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; background: var(--turkiz); overflow: hidden; }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding-block: clamp(48px, 8vw, 76px) clamp(56px, 9vw, 90px);
}
.hero-blob { position: absolute; border-radius: 50%; z-index: 0; }
.hero-blob-pink  { top: -60px; right: -40px; width: 320px; height: 320px; background: rgba(233, 98, 140, 0.35); }
.hero-blob-white { bottom: -80px; left: 40%; width: 220px; height: 220px; background: rgba(255, 255, 255, 0.35); }
.hero-copy, .hero-media { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--turkiz);
  font-weight: 700; font-size: 0.875rem;
  padding: 9px 18px; border-radius: var(--pill); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.8rem, 11vw, 4.4rem);
  line-height: 0.98; font-weight: 800; color: var(--navy);
  margin-bottom: 20px;
}
.accent-white { color: var(--white); }
.hero-lead {
  font-size: clamp(1.05rem, 3.5vw, 1.25rem);
  color: var(--navy); max-width: 470px; font-weight: 500; margin-bottom: 30px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.hero-media { display: flex; align-items: center; justify-content: center; min-height: 320px; }
.hero-disc {
  width: min(360px, 78vw); aspect-ratio: 1; border-radius: 50%;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
}
.hero-disc img { width: 83%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.hero-tag {
  position: absolute; font-weight: 700; font-size: 0.94rem; color: var(--white);
  padding: 10px 16px; border-radius: var(--pill);
}
.hero-tag-navy { top: 8px; left: 4%; background: var(--navy); transform: rotate(-8deg); }
.hero-tag-pink { bottom: 18px; right: 4%; background: var(--pink); font-weight: 800; transform: rotate(7deg); }

/* ==========================================================================
   ALKALMAK
   ========================================================================== */
.occasions { background: var(--navy); }
.occasions-inner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  padding-block: 34px;
}
.occasions-label { color: var(--turkiz); font-weight: 700; font-size: 0.94rem; }
.occasions-list { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   CSOMAGOK
   ========================================================================== */
.packages { background: var(--mint-bg); padding-block: clamp(56px, 9vw, 82px); }
.package-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.pkg {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 26px;
  border: 3px solid transparent;
}
.pkg-turkiz { border-color: var(--turkiz); }
.pkg-pink   { border-color: var(--pink); }
.pkg-dark   { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pkg-dark .pkg-desc { color: #bcccdb; }
.pkg-voucher { background: var(--turkiz); border-color: var(--turkiz); display: flex; flex-direction: column; justify-content: center; }
.pkg-voucher .pkg-desc { color: #0d2135; font-weight: 500; }

.pkg-img { width: 100%; height: 150px; border-radius: 18px; object-fit: cover; margin-bottom: 18px; }
.pkg-icon { margin-bottom: 12px; }
.pkg-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.pkg-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; margin-bottom: 16px; }
.pkg-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-size: 1.5rem; font-weight: 800; }

/* ==========================================================================
   FOGLALAS (booking embed)
   ========================================================================== */
.booking { background: var(--white); padding-block: clamp(56px, 9vw, 82px); }
.booking-embed {
  max-width: 900px; margin-inline: auto;
  background: var(--mint-bg); border-radius: var(--radius-card);
  padding: clamp(24px, 5vw, 34px);
  min-height: 260px;
}
.booking-embed iframe { width: 100%; border: 0; display: block; }
.booking-placeholder { text-align: center; padding: 32px 12px; }
.booking-placeholder-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; }
.booking-placeholder-text { color: var(--text-muted); font-weight: 500; max-width: 420px; margin-inline: auto; }

/* Native booking sticky bar: mirrors the embed's cart menu, but pinned to the real
   viewport bottom so it stays reachable while scrolling. Hidden until the embed
   signals a cart state (js/booking.js toggles [hidden] + .is-visible). */
.booking-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 -8px 26px rgba(17, 35, 55, 0.28);
  padding: 12px 0;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.28s ease;
}
.booking-sticky.is-visible { transform: translateY(0); }
.booking-sticky-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.booking-sticky-label { font-weight: 600; color: var(--white); }
.booking-sticky .btn { white-space: nowrap; }
@media (max-width: 560px) {
  .booking-sticky-inner { flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
  .booking-sticky .btn { width: 100%; }
}

/* ==========================================================================
   GALERIA
   ========================================================================== */
.gallery { background: var(--mint-bg); padding-block: clamp(52px, 8vw, 80px); }
.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.gallery-head h2 { font-size: clamp(1.7rem, 5vw, 2.25rem); font-weight: 800; }
.gallery-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }

/* ==========================================================================
   GYIK (FAQ)
   ========================================================================== */
.faq { background: var(--white); padding-block: clamp(52px, 8vw, 80px); }
.faq-inner { max-width: 780px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--mint-bg);
  border-radius: 18px;
  padding: 4px 22px;
  border: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.faq-item[open] { border-color: var(--turkiz); }
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 1.05rem;
  padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; line-height: 1; color: var(--turkiz-dark); flex: none;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { color: var(--text-muted); padding-bottom: 18px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy); color: var(--white); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-block: 44px;
}
.footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-name { font-size: 1.375rem; font-weight: 800; color: var(--white); }
.footer-meta { color: #9fb0c0; font-size: 0.94rem; }
.footer-social { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-legal { padding-bottom: 30px; }
.footer-legal p { color: #6e8296; font-size: 0.85rem; }

/* ==========================================================================
   RESPONSIVE — tablet and up
   ========================================================================== */
@media (min-width: 620px) {
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 36px; }
  .hero-media { min-height: 400px; }
  .package-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(5, 1fr); }

  /* Playful tilt only on larger screens, so cards stay clean on mobile */
  .tilt-a { transform: rotate(-1.2deg); }
  .tilt-b { transform: rotate(1deg); }
  .tilt-c { transform: rotate(-0.6deg); }
  .tilt-d { transform: rotate(0.8deg); }
  .tilt-e { transform: rotate(-1deg); }
  .tilt-f { transform: rotate(1.2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .tilt-a, .tilt-b, .tilt-c, .tilt-d, .tilt-e, .tilt-f { transform: none; }
}

/* ==========================================================================
   RESPONSIVE — mobile nav
   ========================================================================== */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--white);
    padding: 84px 26px 26px;
    box-shadow: -18px 0 40px rgba(17, 35, 55, 0.18);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 90;
  }
  .primary-nav a { padding: 12px 0; font-size: 1.1rem; width: 100%; }
  .nav-cta { margin-top: 10px; }
  body.nav-open .primary-nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }

  /* Hamburger -> X */
  body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ==========================================================================
   CEGES ES CSALADI NAPOK (on-site / kitelepules)
   ========================================================================== */
.onsite { background: var(--cream); padding-block: clamp(56px, 9vw, 82px); }
.onsite-inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.eyebrow-onsite { background: var(--navy); color: var(--turkiz); }
.onsite h2 { font-size: clamp(1.9rem, 5vw, 2.75rem); font-weight: 800; margin-bottom: 16px; }
.onsite-lead { font-size: clamp(1.05rem, 3vw, 1.2rem); color: var(--navy); font-weight: 500; margin-bottom: 22px; max-width: 520px; }
.onsite-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.onsite-points li { position: relative; padding-left: 34px; font-weight: 500; color: var(--navy); }
.onsite-points li::before {
  content: "\2713"; position: absolute; left: 0; top: -1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--turkiz); color: var(--navy);
  font-weight: 800; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.onsite-media img { border-radius: var(--radius-card); box-shadow: var(--shadow-soft); width: 100%; object-fit: cover; }

/* ==========================================================================
   AJANLATKERES (quote-request form)
   ========================================================================== */
.quote { background: var(--white); padding-block: clamp(56px, 9vw, 82px); }
.quote-inner { max-width: 780px; }
.quote-form {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--mint-bg); border-radius: var(--radius-card);
  padding: clamp(24px, 5vw, 36px);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.req { color: var(--pink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--navy);
  background: var(--white); border: 2px solid #d6ebe6; border-radius: 14px;
  padding: 12px 14px; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--turkiz);
  box-shadow: 0 0 0 3px rgba(122, 203, 191, 0.35);
}
.field-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
.quote-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 4px; }
.quote-note { color: var(--text-muted); font-size: 0.85rem; }
/* Honeypot: kept out of view and out of the a11y tree */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 620px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .onsite-inner { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
}
