/* =============================================================================
   Eszter – Dietetikus | Stíluslap
   A színeket alább, a :root blokkban tudod egységesen módosítani.
   ============================================================================= */

:root {
  /* Krémes, bézs/homok színvilág */
  --cream: #f6f0e7;
  --cream-2: #f1e8db;
  --beige: #ebe1d3;
  --sand: #ddccb6;
  --taupe: #c9b79c;
  --espresso: #463c32;
  --espresso-soft: #6f6356;
  --accent: #b07d5e; /* meleg agyag / clay */
  --accent-dark: #95684c;
  --white: #fffdf9;
  --shadow: 28px 28px 60px rgba(70, 60, 50, 0.12);
  --shadow-sm: 0 10px 30px rgba(70, 60, 50, 0.1);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1140px;
  --radius: 18px;
  --radius-lg: 28px;
}

/* --- Alap / Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--espresso);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* --- Szakaszcímek --- */
.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.section__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--espresso);
}
.section__subtitle {
  margin: 14px 0 0;
  color: var(--espresso-soft);
  font-size: 1.08rem;
}
.section__action {
  text-align: center;
  margin-top: clamp(32px, 4vw, 48px);
}

/* --- Gombok --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--accent-dark);
}
.btn--ghost {
  background: transparent;
  color: var(--espresso);
  border-color: var(--taupe);
}
.btn--ghost:hover {
  background: var(--beige);
  border-color: var(--espresso-soft);
}

/* =============================================================================
   Felső menü
   ============================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 240, 231, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 183, 156, 0.35);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.nav__brand {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--espresso-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav__links a:hover {
  color: var(--espresso);
}
.nav__links a:hover::after {
  width: 100%;
}
.nav__cta {
  padding: 0.6em 1.3em;
  font-size: 0.92rem;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--espresso);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* =============================================================================
   Hero / Főkép — a dietetikus középen
   ============================================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(40px, 7vw, 80px) 20px clamp(56px, 8vw, 96px);
  background: radial-gradient(
      120% 90% at 50% 0%,
      var(--cream-2) 0%,
      var(--cream) 55%,
      var(--beige) 100%
    );
  overflow: hidden;
}
.hero__head {
  max-width: 760px;
}
.hero__eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}
.hero__title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__name {
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.95;
}
.hero__headline {
  font-size: clamp(1.1rem, 3vw, 1.9rem);
  font-style: italic;
  font-weight: 400;
  color: var(--espresso-soft);
}
.hero__media {
  position: relative;
  margin: clamp(28px, 4vw, 44px) auto;
  width: min(420px, 80vw);
}
.hero__media picture,
.hero__media img {
  width: 100%;
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.hero__media::after {
  /* lágy bézs keret-glória a kép mögött */
  content: "";
  position: absolute;
  inset: -18px -18px 18px;
  z-index: -1;
  border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
  background: var(--sand);
  opacity: 0.5;
}
.hero__foot {
  max-width: 560px;
}
.hero__sub {
  margin: 0 0 26px;
  font-size: 1.1rem;
  color: var(--espresso-soft);
}
.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  margin-top: 36px;
  width: 26px;
  height: 42px;
  border: 2px solid var(--taupe);
  border-radius: 16px;
  position: relative;
}
.hero__scroll::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--accent);
  animation: scrolldot 1.6s ease-in-out infinite;
}
@keyframes scrolldot {
  0%,
  100% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
    transform: translate(-50%, 10px);
  }
}

/* =============================================================================
   Idézet
   ============================================================================= */
.quote {
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
  padding: clamp(64px, 10vw, 120px) 0;
}
.quote .container {
  max-width: 880px;
}
.quote__text {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-style: italic;
  line-height: 1.3;
  margin: 0;
  position: relative;
}
.quote__text::before {
  content: "\201C";
  display: block;
  font-size: 4rem;
  line-height: 0.5;
  color: var(--accent);
  margin-bottom: 18px;
}
.quote__author {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-family: var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--taupe);
}

/* =============================================================================
   Rólam
   ============================================================================= */
.about {
  padding: clamp(64px, 9vw, 120px) 0;
}
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.about__media {
  margin: 0;
}
.about__media picture,
.about__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about__text p {
  margin: 0 0 1.1em;
  color: var(--espresso-soft);
  font-size: 1.08rem;
}
.about__text p:first-of-type {
  font-size: 1.2rem;
  color: var(--espresso);
}

/* =============================================================================
   Közösség / TikTok kiemelés
   ============================================================================= */
.social {
  position: relative;
  color: var(--cream);
  overflow: hidden;
}
.social__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.social__bg picture,
.social__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.social__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(50, 42, 34, 0.92) 0%,
    rgba(50, 42, 34, 0.72) 45%,
    rgba(50, 42, 34, 0.25) 100%
  );
}
.social__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(64px, 9vw, 110px);
}
.social__content .section__title {
  color: var(--white);
}
.social__text {
  font-size: 1.15rem;
  color: var(--beige);
  margin: 16px 0 28px;
  max-width: 30ch;
}
.social__stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 30px;
}
.social__stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: var(--accent);
  line-height: 1;
}
.social__stat-label {
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--beige);
}
.social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
/* Mindkét közösségi gomb egyformán hangsúlyos a sötét sávon. */
.btn--social {
  background: var(--cream);
  color: var(--espresso);
  font-size: 1rem;
  padding: 0.9em 1.7em;
  box-shadow: var(--shadow-sm);
}
.btn--social:hover {
  background: var(--white);
  color: var(--accent-dark);
}
/* Beágyazás vagy link-kártya */
.social__embed {
  display: flex;
  justify-content: center;
}
/* Kattintásra induló videó-kártya (átlátszó, hogy a háttérkép is látszódjon) */
.social__facade {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 340px;
  padding: 18px 22px;
  border: 1px solid rgba(246, 240, 231, 0.45);
  border-radius: var(--radius-lg);
  background: rgba(50, 42, 34, 0.34);
  backdrop-filter: blur(3px);
  color: var(--cream);
  text-align: left;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social__facade:hover {
  background: rgba(50, 42, 34, 0.55);
  transform: translateY(-2px);
}
.social__facade-play {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 1.2rem;
  padding-left: 4px;
}
.social__facade-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}
.social__facade-text small {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--beige);
}
.social__card {
  background: rgba(246, 240, 231, 0.1);
  border: 1px solid rgba(246, 240, 231, 0.28);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  width: 100%;
  max-width: 340px;
  backdrop-filter: blur(4px);
}
.social__card-icon {
  font-size: 2.4rem;
}
.social__card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin: 12px 0 6px;
}
.social__card p {
  color: var(--beige);
  margin: 0 0 20px;
}
.social__embed iframe {
  border: none;
  border-radius: var(--radius);
  width: 100%;
  max-width: 340px;
  min-height: 560px;
  background: var(--cream);
}

/* =============================================================================
   Receptek / Galéria
   ============================================================================= */
.gallery {
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--cream-2);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 5;
}
.gallery__item picture,
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery__item:hover img {
  transform: scale(1.06);
}
.gallery__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 18px 16px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.05rem;
  background: linear-gradient(transparent, rgba(50, 42, 34, 0.82));
}

/* =============================================================================
   Tippek
   ============================================================================= */
.tips {
  padding: clamp(64px, 9vw, 120px) 0;
}
.tips__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.tip {
  background: var(--white);
  border: 1px solid rgba(201, 183, 156, 0.4);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tip:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.tip__icon {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 14px;
}
.tip__title {
  font-size: 1.25rem;
  margin: 0 0 8px;
}
.tip__text {
  margin: 0;
  color: var(--espresso-soft);
  font-size: 1rem;
}

/* =============================================================================
   Kapcsolat
   ============================================================================= */
.contact {
  padding: clamp(64px, 9vw, 120px) 0;
  text-align: center;
  background: var(--beige);
}
.contact .container {
  max-width: 680px;
}
.contact__text {
  color: var(--espresso-soft);
  font-size: 1.12rem;
  margin: 16px 0 32px;
}
.contact__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================================================
   Lábléc
   ============================================================================= */
.footer {
  background: var(--espresso);
  color: var(--taupe);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__copy {
  margin: 0;
  font-size: 0.92rem;
}
.footer__links {
  display: flex;
  gap: 22px;
}
.footer__links a {
  color: var(--cream);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer__links a:hover {
  color: var(--accent);
}

/* =============================================================================
   Megjelenési animáció (scroll reveal)
   ============================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =============================================================================
   Reszponzív / Responsive
   ============================================================================= */
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__media {
    max-width: 420px;
    margin-inline: auto;
  }
  .social__inner {
    grid-template-columns: 1fr;
  }
  .social__embed {
    justify-content: flex-start;
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tips__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav__toggle {
    display: flex;
  }
  .nav__menu {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(201, 183, 156, 0.4);
    padding: 12px 24px 24px;
    box-shadow: var(--shadow-sm);
    transform: translateY(-130%);
    transition: transform 0.32s ease;
  }
  .nav__menu.is-open {
    transform: translateY(0);
  }
  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .nav__links a {
    display: block;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(201, 183, 156, 0.3);
  }
  .nav__cta {
    margin-top: 14px;
    width: 100%;
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 520px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }
  .tips__grid {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__scroll::after {
    animation: none;
  }
}
