/* ══════════════════════════════════════
   JÁTÉK ÉS TUDÁS KUCKÓJA — Shared Styles
   ══════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --cream: #fdf8f2;
  --warm-white: #fffcf7;
  --terracotta: #c8614a;
  --terracotta-light: #e07b63;
  --terracotta-dark: #a04d3a;
  --sage: #7a9e7e;
  --sage-light: #a8c5ac;
  --golden: #d4a843;
  --brown: #493628;
  --brown-light: #6b4c3b;
  --text: #2c1f16;
  --text-muted: #7a6257;
  --border: #d4c4b4;
  /* Brand palette */
  --brand-green: #2DB67D;
  --brand-blue: #3CA5BB;
  --brand-pink: #DF1F5A;
  --brand-yellow: #E67A28;
  --brand-brown: #493628;
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── BODY ── */
body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--warm-white);
  border-bottom: 2px solid var(--border);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 200px;
  width: auto;
  margin: -40px 0;
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brown-light);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--terracotta);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #fdf0e6 0%, #fce8d8 50%, #f5e0d0 100%);
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,97,74,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(122,158,126,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-side-img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 500px;
  object-fit: cover;
  z-index: 0;
  opacity: 0.70;
}
.hero-side-left {
  left: -50px;
  mask-image: linear-gradient(to right, black 50%, transparent 85%);
  -webkit-mask-image: linear-gradient(to right, black 50%, transparent 85%);
}
.hero-side-right {
  right: 0;
  mask-image: linear-gradient(to left, black 65%, transparent 85%);
  -webkit-mask-image: linear-gradient(to left, black 65%, transparent 85%);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: 'Lora', serif;
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.hero-text h1 em {
  color: var(--terracotta);
  font-style: italic;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--brown-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-badge {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(61,43,31,0.12);
  text-align: center;
  max-width: 280px;
}

.hero-badge .emoji-big {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.hero-badge h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.hero-badge p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-badge .years-badge {
  display: inline-block;
  margin-top: 1rem;
  background: var(--terracotta);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-badge .years-badge:hover { background: var(--terracotta-dark, #a84e3b); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--terracotta);
  color: white;
  box-shadow: 0 4px 15px rgba(200,97,74,0.3);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,97,74,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
}

.btn-outline:hover {
  background: var(--terracotta);
  color: white;
  transform: translateY(-2px);
}

/* ── SECTION ── */
.section { padding: 4rem 2rem; }

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

.section-title {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--terracotta);
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

/* ── SERVICE CARDS (Home) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.25s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(61,43,31,0.1);
  border-color: var(--terracotta-light);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.price-tag {
  display: inline-block;
  margin-top: auto;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--terracotta);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

/* ── CONTACT SECTION ── */
.contact-section {
  background: var(--brown);
  padding: 4rem 2rem;
  color: white;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Lora', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info p {
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.contact-detail .icon { font-size: 1.2rem; margin-top: 2px; }

.contact-detail div strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
  margin-bottom: 2px;
}

.contact-detail div a,
.contact-detail div span {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.9;
}

.contact-detail div a:hover { opacity: 1; text-decoration: underline; }

/* ── CONTACT FORM ── */
.contact-form {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: white;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.4); }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta-light);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success .big-check { font-size: 3rem; margin-bottom: 1rem; }
.form-success p { opacity: 0.9; }

.form-error {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-error .big-check { font-size: 3rem; margin-bottom: 1rem; }
.form-error p { opacity: 0.9; }

/* ── ABOUT PAGE ── */
.about-hero {
  background: linear-gradient(135deg, #f0f5f0 0%, #e8f0e8 100%);
  padding: 4rem 2rem;
}

.about-inner { max-width: 800px; margin: 0 auto; }

.about-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--sage-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(122,158,126,0.3);
}

.about-header-text h1 {
  font-family: 'Lora', serif;
  font-size: 2rem;
  color: var(--brown);
  margin-bottom: 0.25rem;
}

.about-header-text p { color: var(--text-muted); font-size: 0.95rem; }

.about-block {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--sage);
}

.about-block h2 {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 1rem;
}

.about-block p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.about-block ul { list-style: none; margin-top: 0.75rem; }

.about-block ul li {
  padding: 0.4rem 0;
  color: var(--text-muted);
  line-height: 1.6;
  display: flex;
  gap: 0.5rem;
}

.about-block ul li::before {
  content: '✦';
  color: var(--sage);
  font-size: 0.7rem;
  margin-top: 5px;
  flex-shrink: 0;
}

.about-quote {
  background: var(--terracotta);
  color: white;
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 2rem;
}

.about-quote p {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.6;
}

/* ── SERVICES PAGE ── */
.services-page { padding: 4rem 2rem; }

.services-page-inner { max-width: 900px; margin: 0 auto; }

.service-full-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: start;
  transition: box-shadow 0.25s;
}

.service-full-card:hover { box-shadow: 0 8px 30px rgba(61,43,31,0.08); }

.service-full-icon {
  font-size: 2.5rem;
  width: 70px; height: 70px;
  background: var(--cream);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-full-body h3 {
  font-family: 'Lora', serif;
  font-size: 1.35rem;
  color: var(--brown);
  margin-bottom: 0.75rem;
}

.service-full-body p,
.service-full-body li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-full-body ul { list-style: none; margin-top: 0.5rem; }

.service-full-body ul li {
  padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
}

.service-full-body ul li::before {
  content: '→';
  color: var(--terracotta);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0.3rem;
}

.service-full-price { text-align: right; flex-shrink: 0; }

.price-big {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--terracotta);
  display: block;
}

.price-unit { font-size: 0.8rem; color: var(--text-muted); display: block; }

/* ── DISCOUNTS PAGE ── */
.discounts-page { padding: 4rem 2rem; }

.discounts-inner { max-width: 800px; margin: 0 auto; }

.discount-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.discount-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 2px solid var(--border);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.discount-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--terracotta);
}

.discount-card:nth-child(2)::before { background: var(--sage); }
.discount-card:nth-child(3)::before { background: var(--golden); }

.discount-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(61,43,31,0.1);
  border-color: transparent;
}

.discount-emoji { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

.discount-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.discount-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.discount-price {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--terracotta);
  display: block;
  margin-top: auto;
}

.discount-card:nth-child(2) .discount-price { color: var(--sage); }
.discount-card:nth-child(3) .discount-price { color: var(--golden); }

.discount-price-unit { font-size: 0.8rem; color: var(--text-muted); }

.discount-note {
  background: linear-gradient(135deg, #fdf6f0, #faeee4);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2.5rem;
  text-align: center;
  border: 1px solid var(--border);
}

.discount-note p { color: var(--brown-light); font-size: 0.95rem; line-height: 1.7; }

/* ── FOOTER ── */
footer {
  background: #1e1410;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
}

footer a { color: var(--terracotta-light); text-decoration: none; }
.footer-social { margin-top: 0.5rem; }
.footer-social a { margin: 0 0.5rem; }
.social-icon { width: 24px; height: 24px; vertical-align: middle; }

/* ── MOBILE ── */
@media (max-width: 1900px) {
  .hero-side-img { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 120px;
    left: 0; right: 0;
    background: var(--warm-white);
    flex-direction: column;
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--border);
    gap: 0;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0; }
  .nav-burger { display: flex; }
  nav { position: relative; }

  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .hero-side-img { display: none; }

  .hero-text h1 { font-size: 2.3rem; }

  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }

  .service-full-card { grid-template-columns: 1fr; gap: 1rem; }
  .service-full-price { text-align: left; }

  .about-header { flex-direction: column; text-align: center; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-text,
.service-card,
.about-block,
.service-full-card,
.discount-card {
  animation: fadeUp 0.5s ease forwards;
}

.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.3s; }
.about-block:nth-child(2)  { animation-delay: 0.1s; }
.about-block:nth-child(3)  { animation-delay: 0.2s; }
.about-block:nth-child(4)  { animation-delay: 0.3s; }
.service-full-card:nth-child(2) { animation-delay: 0.1s; }
.service-full-card:nth-child(3) { animation-delay: 0.2s; }
.service-full-card:nth-child(4) { animation-delay: 0.3s; }
.discount-card:nth-child(2) { animation-delay: 0.1s; }
.discount-card:nth-child(3) { animation-delay: 0.2s; }
