/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:    #e5097f;
  --pink-dark: #c4006c;
  --white:   #ffffff;
  --black:   #1a1a1a;
  --grey:    #555555;
  --light-grey: #f7f7f7;
  --divider: #dddddd;
  --font: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Navigation ─────────────────────────────────────────── */
nav {
  background: var(--pink);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.nav-inner a {
  display: block;
  padding: 1.1rem 1.8rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.nav-inner a:hover,
.nav-inner a.active {
  background: rgba(0,0,0,0.15);
}

/* Focus styles for accessibility */
.nav-inner a:focus,
.btn-pink:focus,
.cookie-btns button:focus,
.nav-toggle:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
}

@media (max-width: 650px) {
  .nav-toggle { display: flex; }
  .nav-inner {
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-inner.open { display: flex; }
  .nav-inner a { text-align: center; padding: 0.9rem; border-top: 1px solid rgba(255,255,255,0.2); }
}

/* ── Logo Header ─────────────────────────────────────────── */
.site-header {
  text-align: center;
  padding: 1.5rem 1rem 1.2rem; /* tightened from 2.5rem / 2rem */
  background: var(--white);
}

.site-header a {
  display: inline-block;
  transition: opacity 0.2s;
}

.site-header a:hover {
  opacity: 0.82;
}

.site-header img {
  max-height: 160px;
  width: auto;
}

/* ── Page Section Title ──────────────────────────────────── */
.page-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2.5rem 4rem;
}

.section-heading {
  font-size: 1.15rem; /* bumped from 1rem */
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.6rem;
}

.section-rule {
  border: none;
  border-top: 1px solid var(--divider);
  margin-bottom: 2.5rem;
}

/* ── Two-column content layout ───────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center; /* changed from start — balances text beside images */
  margin-bottom: 3rem;
}

.two-col img {
  width: 100%;
  height: auto;
  display: block;
}

.two-col h3 {
  font-size: 1.35rem; /* bumped from 1.2rem */
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.two-col p {
  color: var(--grey);
  font-size: 0.95rem;
}

/* ── Small image column (Pilates) ────────────────────────── */
.two-col--small-img {
  grid-template-columns: 220px 1fr;
  align-items: start;
}

.two-col--small-img img {
  width: 220px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

/* ── Inline image widget (Pilates content blocks) ────────── */
.text-with-widget {
  margin-bottom: 3rem;
  overflow: hidden;
}

.img-widget {
  float: right;
  width: 140px;
  height: auto;
  border-radius: 8px;
  margin: 0 0 1rem 1.8rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.text-with-widget h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.text-with-widget p {
  color: var(--grey);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

@media (max-width: 650px) {
  .img-widget {
    float: none;
    display: block;
    margin: 0 0 1rem 0;
    width: 90px;
    height: auto;
  }
}

/* ── Three column icon layout (Alexander) ───────────────── */
.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.three-col h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.three-col img {
  max-height: 180px;
  width: auto;
  margin: 0 auto 1rem;
  display: block;
}

.three-col p {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Quote Banner (Pilates) ──────────────────────────────── */
.quote-banner {
  background: var(--pink);
  color: white;
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.quote-banner blockquote {
  font-size: 2rem; /* bumped from 1.5rem */
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.quote-banner cite {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.quote-banner cite::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: white;
}

.quote-image {
  display: flex;
  justify-content: center;
}

.quote-image img {
  width: min(420px, 90%);
  height: min(420px, 90%);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

/* ── Pink Button ─────────────────────────────────────────── */
.btn-pink {
  display: inline-block;
  background: var(--pink);
  color: white;
  padding: 0.85rem 1.8rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-pink:hover { background: var(--pink-dark); }

/* ── Pink link ───────────────────────────────────────────── */
a.pink-link {
  color: var(--pink);
  text-decoration: none;
  font-weight: 600;
}
a.pink-link:hover { text-decoration: underline; }

/* ── Praktikus: info row ─────────────────────────────────── */
.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.info-row ul {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 2;
}

/* ── Kontakt layout ──────────────────────────────────────── */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.kontakt-grid h2 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.kontakt-grid hr {
  border: none;
  border-top: 1px solid var(--divider);
  margin-bottom: 1.5rem;
}

.kontakt-grid p {
  color: var(--grey);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.kontakt-map iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--pink);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.8rem;
  margin-top: 4rem;
}

footer a { color: white; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── Cookie Banner ───────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1a1a1a;
  color: #ccc;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  z-index: 999;
  flex-wrap: wrap;
  /* slide-up animation */
  transform: translateY(100%);
  animation: slideUp 0.4s ease 0.6s forwards;
}

@keyframes slideUp {
  to { transform: translateY(0); }
}

.cookie-btns { display: flex; gap: 0.6rem; }

.cookie-btns button {
  padding: 0.5rem 1.2rem;
  border: 1px solid #666;
  background: none;
  color: #ccc;
  cursor: pointer;
  font-size: 0.78rem;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: 0.2s;
}

.cookie-btns button.accept {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .two-col,
  .three-col,
  .info-row,
  .kontakt-grid,
  .quote-banner {
    grid-template-columns: 1fr;
  }

  .quote-banner {
    padding: 2.5rem 1.5rem;
  }

  /* Hide the circle image on mobile — the quote stands alone */
  .quote-image {
    display: none;
  }

  .page-section {
    padding: 1.5rem 1.2rem 3rem;
  }

  footer {
    margin-top: 2rem; /* tightened on mobile */
  }

  .two-col--small-img {
    grid-template-columns: 1fr;
  }

  .two-col--small-img img {
    width: 100%;
  }
}

/* ── Nav phone link ──────────────────────────────────────── */
.nav-phone {
  color: white !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  border-left: 1px solid rgba(255,255,255,0.25);
  margin-left: 0.5rem;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.testimonial {
  background: var(--light-grey);
  border-left: 3px solid var(--pink);
  padding: 1.5rem;
  border-radius: 2px;
}

.testimonial p {
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.testimonial cite {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink);
  font-style: normal;
  letter-spacing: 0.05em;
}

/* ── Pricing teaser block ────────────────────────────────── */
.pricing-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--light-grey);
  padding: 2rem 2.5rem;
  margin-top: 2rem;
  align-items: center;
}

.pricing-teaser h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pricing-teaser ul {
  list-style: none;
  padding: 0;
}

.pricing-teaser ul li {
  color: var(--grey);
  font-size: 0.95rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--divider);
}

.pricing-teaser ul li:last-child {
  border-bottom: none;
}

.pricing-teaser p {
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ── Contact form ────────────────────────────────────────── */
.contact-form {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--divider);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--divider);
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink);
}

/* ── Back to top button ──────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--pink);
  color: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s;
  border-radius: 2px;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--pink-dark);
}

/* ── Responsive additions ────────────────────────────────── */
@media (max-width: 900px) {
  .testimonials {
    grid-template-columns: 1fr;
  }

  .pricing-teaser {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

@media (max-width: 650px) {
  .nav-phone {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-left: 0;
  }

  .back-to-top {
    bottom: 5rem; /* above cookie banner on mobile */
    right: 1rem;
  }
}