/* ═══════════════════════════════════════════════
   JE – Hypnose Website  |  style.css
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ── VARIABLES ── */
:root {
  --gold:         #C9A96E;
  --gold-light:   #E0C898;
  --gold-dim:     rgba(201,169,110,0.13);
  --cream:        #F5F0E8;
  --dark:         #111009;
  --dark-mid:     #1A1812;
  --dark-surface: #1E1C15;
  --text-light:   #E8E2D6;
  --text-muted:   #A09880;
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Jost', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--dark);
  color: var(--text-light);
  overflow-x: hidden;
  font-weight: 300;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999; opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ══════════════════════════════
   NAVIGATION
══════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.4rem 5rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s;
}
nav.scrolled {
  background: rgba(17,16,9,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201,169,110,0.12);
}
.nav-logo {
  font-family: var(--serif); font-size: 1.75rem; font-weight: 500;
  color: var(--gold); letter-spacing: 0.06em; text-decoration: none;
}
.nav-links { display: flex; gap: 2.4rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text-muted);
  font-size: 0.75rem; letter-spacing: 0.13em; text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold) !important;
  padding: 0.5rem 1.3rem; border-radius: 2px;
  transition: background 0.25s, color 0.25s !important;
}
.nav-cta:hover { background: var(--gold); color: var(--dark) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--gold); margin: 5px 0; transition: all 0.3s ease; transform-origin: center; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.8rem 1.9rem; background: var(--gold); color: var(--dark);
  font-family: var(--sans); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--gold); cursor: pointer; border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
}
.btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--dark); }
.btn-dark { background: var(--dark); color: var(--gold); border-color: var(--dark); }
.btn-dark:hover { background: #000; }
.btn svg { flex-shrink: 0; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

/* ══════════════════════════════
   SHARED SECTION ELEMENTS
══════════════════════════════ */
.label {
  font-size: 0.67rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.9rem; display: block;
}
.section-title {
  font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 300; line-height: 1.18; color: #fff;
}
.gold-rule { width: 48px; height: 1px; background: var(--gold); margin: 1.4rem 0; }
.body-text { font-size: 0.9rem; line-height: 1.9; color: var(--text-muted); margin: 0.8rem 0; }
.img-wrap { position: relative; overflow: hidden; border-radius: 2px; }
.img-wrap img { width: 100%; object-fit: cover; display: block; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
#hero {
  position: relative; min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
}
.hero-left {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 10rem 5rem 6rem;
}
.hero-left h1 {
  font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 300; line-height: 1.14; color: #fff; margin-bottom: 1.6rem;
}
.hero-left p {
  font-size: 0.9rem; line-height: 1.9; color: rgba(255,255,255,0.52);
  max-width: 36ch; margin-bottom: 2.5rem;
}
.hero-right { position: relative; overflow: hidden; }
.hero-right img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% top;
  filter: brightness(0.48) sepia(0.25);
}
.hero-right::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--dark) 0%, rgba(17,16,9,0.2) 45%, transparent 100%);
}
.hero-bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(to top, var(--dark), transparent); z-index: 3;
}

/* ══════════════════════════════
   TRUST BAR
══════════════════════════════ */
#trust {
  background: var(--dark-surface);
  border-top: 1px solid rgba(201,169,110,0.1);
  border-bottom: 1px solid rgba(201,169,110,0.1);
  padding: 3rem 5rem;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.trust-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0.75rem; padding: 1rem 1.5rem;
  border-right: 1px solid rgba(201,169,110,0.1);
}
.trust-item:last-child { border-right: none; }
.ti-icon { width: 38px; height: 38px; color: var(--gold); }
.trust-item h4 { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); }
.trust-item p { font-size: 0.76rem; color: var(--text-muted); line-height: 1.55; }

/* ══════════════════════════════
   PROBLEM SECTION
══════════════════════════════ */
#problem {
  background: var(--cream); padding: 8rem 5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center;
}
#problem .label { color: #8a7450; }
#problem .section-title { color: #1a1408; }
#problem .gold-rule { background: #9a865a; }
.problem-list { list-style: none; margin: 1.5rem 0 2rem; }
.problem-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.85rem 0; font-size: 0.88rem; color: #5a5040;
  border-bottom: 1px solid rgba(154,134,90,0.15); line-height: 1.5;
}
.problem-list li::before { content: '—'; color: #9a865a; flex-shrink: 0; margin-top: 1px; }
.problem-closing {
  font-family: var(--serif); font-size: 1.08rem; font-style: italic;
  color: #7a6a50; line-height: 1.75; margin-top: 0.5rem;
}

/* ══════════════════════════════
   HYPNOSIS SECTION
══════════════════════════════ */
#hypnosis {
  background: var(--dark); padding: 8rem 5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center;
}
#hypnosis .img-wrap img { filter: brightness(0.65) contrast(1.1) sepia(0.15); height: 500px; object-position: center 20%; }
#hypnosis .img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 55%, rgba(17,16,9,0.55));
}

/* ══════════════════════════════
   THEMES SECTION
══════════════════════════════ */
#themes {
  background: var(--dark-surface); padding: 8rem 5rem;
  border-top: 1px solid rgba(201,169,110,0.07);
}
#themes .label,
#themes .section-title { text-align: center; }
#themes .gold-rule { margin: 1.4rem auto; }
.themes-grid {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 1rem; margin-top: 3.5rem;
}
.theme-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(201,169,110,0.1);
  border-radius: 3px; padding: 2rem 1.4rem; text-align: center;
  transition: background 0.3s, border-color 0.3s, transform 0.25s; cursor: default;
}
.theme-card:hover {
  background: rgba(201,169,110,0.07);
  border-color: rgba(201,169,110,0.28);
  transform: translateY(-4px);
}
.theme-icon { width: 34px; height: 34px; color: var(--gold); margin: 0 auto 1.1rem; display: block; }
.theme-card h3 { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.07em; color: var(--text-light); margin-bottom: 0.65rem; }
.theme-card p { font-size: 0.75rem; line-height: 1.7; color: var(--text-muted); }

/* ══════════════════════════════
   TESTIMONIALS
══════════════════════════════ */
#testimonials {
  background: var(--dark); padding: 8rem 5rem;
  border-top: 1px solid rgba(201,169,110,0.07); text-align: center;
}
#testimonials .gold-rule { margin: 1.4rem auto; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem; margin-top: 3.5rem;
}
.tcard {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(201,169,110,0.1);
  border-radius: 3px; padding: 2.2rem; text-align: left; position: relative;
}
.tcard::before {
  content: '\201C'; font-family: var(--serif); font-size: 5rem;
  color: rgba(201,169,110,0.1); position: absolute; top: -0.6rem; left: 1.4rem; line-height: 1;
}
.tcard blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; line-height: 1.75; color: var(--text-light); margin-bottom: 1.4rem;
}
.tcard cite { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--gold); font-style: normal; }
.stars { color: var(--gold); font-size: 0.72rem; letter-spacing: 2px; margin-top: 0.35rem; display: block; }

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
#about {
  background: var(--dark-mid); padding: 8rem 5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center;
  border-top: 1px solid rgba(201,169,110,0.07);
}
#about .img-wrap img { width: 100%; height: auto; object-fit: contain; filter: brightness(0.95) contrast(1.02); }
#about .img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(26,24,18,0.85));
}

/* ══════════════════════════════
   CTA BANNER
══════════════════════════════ */
#cta {
  background: var(--gold); padding: 5.5rem 5rem; text-align: center;
}
#cta h2 {
  font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300; color: var(--dark); margin-bottom: 0.7rem;
}
#cta p { font-size: 0.85rem; color: rgba(17,16,9,0.6); margin-bottom: 2rem; letter-spacing: 0.04em; }

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
#contact {
  background: var(--dark-surface); padding: 8rem 5rem; text-align: center;
  border-top: 1px solid rgba(201,169,110,0.1);
}
#contact .section-title { margin-bottom: 0.4rem; }
#contact .gold-rule { margin: 1.4rem auto; }
.contact-sub { font-size: 0.87rem; color: var(--text-muted); max-width: 44ch; margin: 0 auto 3rem; line-height: 1.8; }
.contact-form { max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,110,0.2);
  color: var(--text-light); padding: 0.9rem 1.2rem;
  font-family: var(--sans); font-size: 0.85rem;
  border-radius: 2px; outline: none; transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: rgba(201,169,110,0.5); }
.contact-form textarea { resize: vertical; }
#form-success { display: none; color: var(--gold); margin-top: 1.5rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: var(--dark); padding: 2.8rem 5rem;
  border-top: 1px solid rgba(201,169,110,0.08);
  display: flex; justify-content: space-between; align-items: center;
}
footer p { font-size: 0.73rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fu  { opacity: 0; animation: fadeUp 0.9s ease forwards; }
.d1  { animation-delay: 0.12s; }
.d2  { animation-delay: 0.28s; }
.d3  { animation-delay: 0.44s; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
/* ══════════════════════════════
   RESPONSIVE – TABLET (≤ 1100px)
══════════════════════════════ */
@media (max-width: 1100px) {
  nav { padding: 1.3rem 2.5rem; }
  .nav-links { gap: 1.6rem; }
  #hero, #problem, #hypnosis, #about,
  #trust, #themes, #testimonials, #cta, #contact {
    padding-left: 2.5rem; padding-right: 2.5rem;
  }
  footer { padding: 2.5rem; }
}

/* ══════════════════════════════
   RESPONSIVE – TABLET (≤ 980px)
══════════════════════════════ */
@media (max-width: 980px) {
  nav { padding: 1.1rem 1.4rem; }
  .nav-logo { font-size: 1.5rem; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(17,16,9,0.98); padding: 1.6rem 1.4rem 2rem; gap: 1.2rem;
    border-bottom: 1px solid rgba(201,169,110,0.18);
    backdrop-filter: blur(20px);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 0.82rem; padding: 0.6rem 0;
    border-bottom: 1px solid rgba(201,169,110,0.06);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta {
    margin-top: 0.6rem; text-align: center; padding: 0.7rem 1.3rem;
    border: 1px solid var(--gold);
  }
  .nav-toggle { display: block; }

  /* HERO */
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 7.5rem 1.4rem 4.5rem; }
  .hero-left h1 { font-size: clamp(1.95rem, 6.5vw, 2.6rem); line-height: 1.18; }
  .hero-left p { font-size: 0.88rem; max-width: 42ch; }

  /* TRUST BAR */
  #trust { grid-template-columns: repeat(2,1fr); padding: 2.2rem 1.4rem; gap: 0; }
  .trust-item {
    border-right: none; border-bottom: 1px solid rgba(201,169,110,0.1);
    padding: 1.4rem 1rem;
  }
  .trust-item:nth-child(odd) { border-right: 1px solid rgba(201,169,110,0.1); }
  .trust-item:nth-last-child(-n+2) { border-bottom: none; }
  .trust-item h4 { font-size: 0.72rem; }
  .trust-item p { font-size: 0.74rem; }

  /* CONTENT SECTIONS */
  #problem, #hypnosis, #about {
    grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 1.4rem;
  }
  .order-first { order: -1; }
  .img-wrap img { height: 320px !important; }
  #about .img-wrap img { height: auto !important; }   /* full portrait, no crop */
  .hypnose-hero { min-height: 55vh !important; padding: 7rem 1.4rem 4rem !important; }

  /* THEMES */
  #themes { padding: 4rem 1.4rem; }
  .themes-grid { grid-template-columns: repeat(2,1fr); gap: 0.8rem !important; margin-top: 2.5rem !important; }
  .theme-card { padding: 1.7rem 1.2rem !important; }
  .theme-card h3 { font-size: 0.95rem !important; }
  .theme-card p { font-size: 0.78rem !important; }

  /* TESTIMONIALS */
  #testimonials { padding: 4rem 1.4rem; }
  .testimonials-grid {
    grid-template-columns: 1fr !important; gap: 1rem; margin-top: 2.5rem;
    max-width: 480px !important;
  }
  .tcard { padding: 1.8rem 1.5rem; }
  .tcard blockquote { font-size: 0.95rem; }

  /* SECTION TITLES – tighter on mobile */
  .section-title { font-size: clamp(1.7rem, 5.5vw, 2.2rem) !important; line-height: 1.22; }
  .body-text { font-size: 0.88rem; }

  /* CTA & CONTACT */
  #cta { padding: 4rem 1.4rem; }
  #cta h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  #cta p { font-size: 0.85rem; padding: 0 0.5rem; }
  #contact { padding: 4.5rem 1.4rem; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;            /* prevents iOS zoom on focus */
    padding: 1rem 1.1rem;
  }

  /* BUTTONS – bigger tap targets */
  .btn { padding: 0.9rem 1.6rem; font-size: 0.72rem; }

  /* FOOTER */
  footer {
    flex-direction: column; gap: 1.2rem; text-align: center;
    padding: 2rem 1.4rem;
  }
  .footer-links { gap: 1.4rem; flex-wrap: wrap; justify-content: center; }
  .footer-links a { font-size: 0.68rem; }

  /* MOBILE: hide forced line breaks inside headings */
  .section-title br,
  .hero-left h1 br { display: none; }
  /* Add gentle spacing instead */
  .section-title, .hero-left h1 { word-spacing: 0.05em; }

  /* PAGE HEADER sections (subpages) */
  .page-header {
    padding: 7rem 1.4rem 3.5rem !important;
  }
  .page-header h1 {
    font-size: clamp(1.9rem, 6vw, 2.6rem) !important;
    line-height: 1.18 !important;
  }
  .page-header .body-text { font-size: 0.88rem; }

  /* INTRO TEXT BLOCKS */
  .intro-text { padding: 4rem 1.4rem !important; }
  .intro-text .body-text { font-size: 0.92rem !important; }

  /* ABLAUF steps */
  .steps-section { padding: 4rem 1.4rem !important; }
  .step-row {
    grid-template-columns: 60px 1fr !important;
    gap: 1.2rem !important;
    padding-bottom: 2.2rem !important;
    margin-bottom: 2.2rem !important;
  }
  .step-num { font-size: 2.2rem !important; }
  .step-row h3 { font-size: 1.2rem !important; }
  .step-row p { font-size: 0.86rem !important; }

  /* PROBLEM list */
  .problem-list li { font-size: 0.84rem; }
  .problem-closing { font-size: 1rem; }
}

/* ══════════════════════════════
   RESPONSIVE – PHONE (≤ 640px)
══════════════════════════════ */
@media (max-width: 640px) {
  .themes-grid { grid-template-columns: 1fr !important; }
  #trust { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; border-bottom: 1px solid rgba(201,169,110,0.1); }
  .trust-item:last-child { border-bottom: none; }
  .img-wrap img { height: 280px !important; }
  #about .img-wrap img { height: auto !important; }   /* full portrait, no crop */
  .hero-left { padding: 7rem 1.2rem 4rem; }
  .hero-left h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }

  /* Reduce horizontal padding everywhere */
  #hero, #problem, #hypnosis, #about,
  #trust, #themes, #testimonials, #cta, #contact,
  .intro-text, .steps-section, .values-section,
  .page-header {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }

  footer { padding: 2rem 1.2rem; }

  .tcard { padding: 1.6rem 1.3rem; }
  .tcard::before { font-size: 4rem; top: -0.4rem; left: 1rem; }

  /* Card containers (themes, hypnose info, values) */
  .card-grid {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
  }
  .card-grid > div { padding: 1.8rem 1.4rem !important; }
}

/* ══════════════════════════════
   RESPONSIVE – SMALL PHONE (≤ 380px)
══════════════════════════════ */
@media (max-width: 380px) {
  nav { padding: 1rem 1rem; }
  .nav-logo { font-size: 1.4rem; }
  .hero-left { padding: 6.5rem 1rem 3.5rem; }
  .hero-left h1 { font-size: 1.7rem; }
  .hero-left p { font-size: 0.85rem; }
  .btn { padding: 0.85rem 1.3rem; font-size: 0.68rem; letter-spacing: 0.1em; }
  .section-title { font-size: 1.6rem !important; }
  #cta h2 { font-size: 1.55rem; }
  .tcard blockquote { font-size: 0.9rem; }
}

/* ══════════════════════════════
   PHONE INPUT (országkód + szám)
══════════════════════════════ */
.phone-group {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  width: 100%;
}
.phone-group select {
  flex: 0 0 140px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,110,0.2);
  color: var(--text-muted);          /* mint a Thema select */
  padding: 0.9rem 0.7rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  box-sizing: border-box;
}
.phone-group select:focus {
  border-color: rgba(201,169,110,0.5);
}
.phone-group select option {
  background: #1a1810;
  color: var(--text-light);
}
.phone-group input[type="tel"] {
  flex: 1;
  min-width: 0;          /* fontos: hagyja zsugorodni a flexbox-ban */
}
@media (max-width: 480px) {
  .phone-group select { flex: 0 0 110px; padding: 0.9rem 0.5rem; font-size: 0.8rem; }
}
