:root {
  --cream:       #d2b79e;
  --navbar-bg:   #255b6e;
  --gold:        #255b6e;
  --brown-mid:   #a78972;
  --brown-dark:  #634434;
  --brown-deep:  #255b6e;
  --brown-ink:   #161412;
  --bg-primary:  #f5ede7;
  --bg-secondary:#e9dfd6;
  --bg-card:     #ffffff;
  --text-dark:   var(--brown-ink);
  --text-muted:  var(--brown-dark);
  --accent:      #35a2bc;
  --accent-hover:#2b8ea7;
  --secondary:   var(--brown-mid);
  --shadow:      0 4px 24px rgba(22,20,18,.08);
  --shadow-hover:0 8px 36px rgba(22,20,18,.14);
  --radius:      16px;
  --radius-sm:   8px;
  --topnav-height:56px;
  --nav-height:  64px;
  --max-width:   1200px;
  --transition:  0.3s ease;
  --danger:      #c62828;
  --danger-hover:#b71c1c;
  --green:       #4a7c59;
  --green-hover: #3d6649;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: 0;
  padding-bottom: var(--nav-height);
  overflow-x: hidden;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { font-family: 'Lora', Georgia, serif; font-weight: 600; line-height: 1.3; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.mt-3 { margin-top: 0.75rem; }
.section { padding: 80px 0; scroll-margin-top: calc(var(--topnav-height) + 16px); }
.section-title { font-size: 2rem; text-align: center; margin-bottom: 12px; color: var(--text-dark); }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, var(--accent), var(--brown-mid)); margin: 12px auto 0; border-radius: 2px; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1rem; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 45vh; max-height: 400px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; background-repeat: no-repeat; animation: hero-zoom 12s ease-in-out infinite alternate; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(37,91,110,.55), rgba(22,20,18,.4)); }
.hero-content { position: relative; z-index: 2; padding: 20px; }
.hero-title { font-size: 2.4rem; font-weight: 700; margin-bottom: 4px; letter-spacing: 2px; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.hero-subtitle { font-family: 'Figtree', sans-serif; font-weight: 300; font-size: .95rem; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 12px; opacity: 0.9; }
.hero-motto { font-family: 'Playfair Display', serif; font-style: italic; font-size: .9rem; opacity: 0.85; }
@media (min-width: 768px) { .hero { min-height: 50vh; max-height: 500px; } .hero-title { font-size: 3.5rem; } .hero-subtitle { font-size: 1.2rem; } .hero-motto { font-size: 1.1rem; } }

/* ===== TOP NAV ===== */
.topnav {
  background: rgba(37,91,110,.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-height: var(--topnav-height);
  box-shadow: 0 2px 16px rgba(22,20,18,.18);
  padding: 0;
  z-index: 1500;
  position: sticky;
  top: 0;
}
.topnav > .container { display: flex; align-items: center; flex-wrap: wrap; }
.topnav .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 1px;
  padding: 10px 0;
}
.topnav .navbar-brand:hover { color: var(--cream); }
.topnav .nav-link {
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .3px;
  border-radius: 50px;
  padding: 6px 14px;
  transition: color var(--transition), background var(--transition);
  display: block;
}
.topnav .nav-link:hover { color: #fff; background: rgba(255,255,255,.12); }
.topnav .nav-link.active  { color: #fff; background: rgba(255,255,255,.2); }
.topnav .navbar-toggler {
  background: none;
  border: none;
  padding: 4px 8px;
  color: #fff;
  cursor: pointer;
  margin-left: auto;
  display: none;
}
.topnav .navbar-toggler:focus { outline: none; }
.topnav .navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2c255%2c255%2c0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  vertical-align: middle;
}
.navbar-social { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.navbar-social-link { display: flex; align-items: center; justify-content: center; transition: transform var(--transition); }
.navbar-social-link:hover { transform: scale(1.12); }
.navbar-social-link img { width: 28px; height: 28px; display: block; border-radius: 6px; }
.topnav .navbar-collapse { flex-grow: 1; display: flex; justify-content: flex-end; }
.topnav .navbar-nav { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 767px) {
  .topnav .navbar-toggler { display: block; }
  .topnav .navbar-collapse {
    display: none;
    flex-basis: 100%;
    background: rgba(37,91,110,.98);
    padding: 8px 24px 16px;
    border-top: 1px solid rgba(255,255,255,.1);
    margin: 0 -20px;
  }
  .topnav .navbar-collapse.open { display: block; }
  .topnav .navbar-nav { flex-direction: column; align-items: stretch; gap: 2px; }
  .topnav .nav-link { border-radius: var(--radius-sm); }
}

/* ===== RÓLUNK ===== */
.rolunk { background: var(--bg-primary); }
.rolunk-content { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.rolunk-text { max-width: 700px; font-size: 1.05rem; line-height: 1.8; color: var(--text-dark); text-align: center; }
.rolunk-image { width: 100%; max-width: 500px; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 768px) { .rolunk-content { flex-direction: row; } .rolunk-text { text-align: left; } }

/* ===== FOGLALKOZÁSOK ===== */
.foglalkozasok { background: var(--bg-secondary); }

#services-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { #services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { #services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(22,20,18,.08);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 14px 44px rgba(37,91,110,.18); }
.service-card-img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.service-card:hover .service-card-img { transform: scale(1.05); }
.service-card-img-placeholder { height: 210px; display: flex; align-items: center; justify-content: center; }
.service-card-img-placeholder span { font-size: 3.8rem; filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
.service-card-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.service-card-title { font-family: 'Lora', Georgia, serif; font-size: 1.1rem; color: var(--text-dark); font-weight: 600; margin-bottom: 10px; line-height: 1.35; }
.service-card-desc { font-size: 0.875rem; color: #634434; line-height: 1.7; flex: 1; }
.btn-service-detail { display: inline-block; padding: 9px 22px; background: #255b6e; color: #fff; border: none; border-radius: 50px; font-size: 0.85rem; font-weight: 600; cursor: pointer; font-family: 'Figtree', sans-serif; transition: background var(--transition), transform .2s ease; pointer-events: none; margin-top: 14px; }
.service-card:hover .btn-service-detail { background: #255b6e; transform: translateX(3px); }

/* ===== OKTATÓK ===== */
.oktatok { background: var(--bg-primary); }
.instructors-scroll { display: flex; gap: 20px; overflow-x: auto; padding: 10px 0 20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.instructors-scroll::-webkit-scrollbar { height: 6px; }
.instructors-scroll::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
.instructor-card { flex: 0 0 240px; scroll-snap-align: start; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; padding: 0 0 20px; text-align: center; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); cursor: pointer; border: 1px solid rgba(167,137,114,.12); }
.instructor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.instructor-img { width: 100%; height: 200px; border-radius: 0; object-fit: cover; display: block; transition: transform 0.6s ease; }
.instructor-card:hover .instructor-img { transform: scale(1.05); }
.instructor-card-info { padding: 16px 16px 0; }
.instructor-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.instructor-card .instructor-style { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.instructor-detail-btn { display: inline-block; font-size: 0.8rem; color: #fff; font-weight: 600; cursor: pointer; border: none; background: #255b6e; font-family: 'Figtree', sans-serif; padding: 7px 18px; border-radius: 50px; transition: background var(--transition), transform .2s ease; }
.instructor-detail-btn:hover { background: #1f4e5e; color: #fff; }
.instructor-card:hover .instructor-detail-btn { transform: translateX(3px); }
.instructors-grid { display: none; }
@media (min-width: 768px) {
  .instructors-scroll { display: none; }
  .instructors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
  .instructor-card { flex: none; }
}
@media (min-width: 1024px) { .instructors-grid { grid-template-columns: repeat(5, 1fr); } }

/* ===== ÓRAREND ===== */
.orarend { background: var(--bg-secondary); }
.schedule-day { background: var(--bg-card); border-radius: var(--radius); margin-bottom: 24px; overflow: hidden; box-shadow: var(--shadow); }
.schedule-day-header { background: linear-gradient(135deg, var(--brown-mid), var(--brown-deep)); color: #fff; padding: 14px 20px; font-family: 'Lora', Georgia, serif; font-size: 1.1rem; font-weight: 600; }
.schedule-classes { padding: 8px 0; }
.schedule-class { display: flex; flex-direction: column; gap: 6px; padding: 14px 20px; border-bottom: 1px solid var(--bg-secondary); }
.schedule-class:last-child { border-bottom: none; }
.schedule-class-time { font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.schedule-class-name { font-size: 1rem; font-weight: 600; color: var(--text-dark); }
.schedule-class-instructor { font-size: 0.85rem; color: var(--brown-dark); cursor: pointer; font-weight: 500; }
.schedule-class-instructor:hover { color: var(--accent); }
.schedule-class-phone { font-size: 0.85rem; color: var(--text-muted); }
.schedule-class-phone a { color: var(--text-muted); }
.schedule-class-phone a:hover { color: var(--accent); }
.schedule-class-price { font-size: 0.85rem; font-weight: 500; color: var(--brown-deep); }
.schedule-class-actions { margin-top: 4px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn-register { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; background: #255b6e; color: #fff; border: none; border-radius: 50px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition); font-family: 'Figtree', sans-serif; }
.btn-register:hover { box-shadow: 0 4px 16px rgba(37,91,110,.4); }
.btn-register:active { transform: scale(0.97); }
.btn-cancel { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; background: linear-gradient(135deg, var(--danger), var(--danger-hover)); color: #fff; border: none; border-radius: 50px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition); font-family: 'Figtree', sans-serif; }
.btn-betelt { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; background: #d6d0cb; color: #9a9187; border: none; border-radius: 50px; font-size: 0.85rem; font-weight: 500; cursor: default; font-family: 'Figtree', sans-serif; opacity: 0.85; }
.btn-cancel:hover { box-shadow: 0 4px 16px rgba(198,40,40,.35); }
.btn-cancel:active { transform: scale(0.97); }
@media (min-width: 768px) {
  .schedule-class { flex-direction: row; align-items: center; gap: 16px; }
  .schedule-class-time { min-width: 120px; }
  .schedule-class-name { min-width: 200px; }
  .schedule-class-instructor { min-width: 150px; }
  .schedule-class-phone { min-width: 140px; }
  .schedule-class-price { min-width: 100px; }
  .schedule-class-actions { margin-left: auto; margin-top: 0; }
}

/* ===== REGISZTRÁLT ÓRÁID DOBOZ ===== */
.reg-box { background: #eef6f0; border: 1px solid rgba(74,124,89,.30); border-left: 5px solid var(--green); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 28px; overflow: hidden; }
.reg-box-title { font-family: 'Lora', Georgia, serif; font-size: 1.15rem; color: #fff; margin: 0; padding: 14px 22px; background: linear-gradient(135deg, #6fa882, var(--green-hover)); }
.reg-box-list { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px; }
.reg-box-item { display: flex; flex-direction: column; gap: 4px; background: var(--bg-card); border-radius: var(--radius-sm); padding: 12px 16px; box-shadow: 0 1px 6px rgba(22,20,18,.05); }
.reg-box-when { font-size: 0.85rem; font-weight: 600; color: var(--green-hover); }
.reg-box-name { font-size: 1rem; font-weight: 600; color: var(--text-dark); }
.reg-box-instructor { font-size: 0.85rem; color: var(--brown-dark); }
.btn-unsub { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; background: linear-gradient(135deg, var(--danger), var(--danger-hover)); color: #fff; border: none; border-radius: 50px; font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition); font-family: 'Figtree', sans-serif; }
.btn-unsub:hover { box-shadow: 0 4px 16px rgba(198,40,40,.35); }
.btn-unsub:active { transform: scale(0.97); }
@media (min-width: 768px) {
  .reg-box-item { flex-direction: row; align-items: center; gap: 16px; }
  .reg-box-when { min-width: 210px; }
  .reg-box-name { flex: 1; }
  .reg-box-instructor { min-width: 150px; }
  .btn-unsub { margin-left: auto; align-self: center; }
}

/* ===== KAPCSOLAT ===== */
.kapcsolat { background: var(--bg-secondary); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-item h4 { font-family: 'Figtree', sans-serif; font-weight: 600; font-size: 0.9rem; margin-bottom: 2px; color: var(--text-dark); }
.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--text-muted); }
.contact-item a:hover { color: var(--accent); }
.contact-map { width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { width: 100%; height: 300px; border: 0; display: block; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } .contact-map iframe { height: 100%; min-height: 350px; } }

/* ===== FOOTER ===== */
.footer { background: var(--brown-ink); color: rgba(255,255,255,0.6); padding: 48px 20px 100px; text-align: center; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--accent); margin-bottom: 8px; }
.footer-tagline { font-size: 0.85rem; margin-bottom: 24px; color: rgba(255,255,255,0.4); }
.footer-social { display: flex; justify-content: center; gap: 16px; margin-bottom: 24px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; font-size: 1.2rem; transition: background var(--transition); }
.footer-social a:hover { background: var(--accent); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 24px; }
.footer-nav a { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-legal { margin-top: 8px; font-size: 0.8rem; }
.footer-legal a { color: rgba(255,255,255,0.45); text-decoration: underline; }
.footer-legal a:hover { color: var(--accent); }
.gdpr-consent-text { font-size: 0.78rem; color: var(--text-muted); margin-top: 10px; line-height: 1.5; text-align: center; }
.gdpr-consent-text a { color: var(--accent); text-decoration: underline; }
.gdpr-consent-text a:hover { color: var(--accent-hover); }

/* ===== PRIVACY MODAL ===== */
.privacy-body { font-size: .9rem; line-height: 1.7; }
.priv-highlight { background: #eaf6fa; border-left: 4px solid #35a2bc; border-radius: 0 8px 8px 0; padding: 10px 14px; margin-bottom: 18px; font-size: .88rem; color: #255b6e; }
.priv-section { margin-bottom: 18px; }
.priv-section h4 { font-size: 1rem; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.priv-section p { margin-bottom: 6px; }
.priv-section ul { padding-left: 18px; margin-bottom: 6px; }
.priv-section ul li { margin-bottom: 3px; font-size: .87rem; }
.priv-section a { color: #35a2bc; text-decoration: underline; }
@media (min-width: 768px) { .footer { padding: 48px 20px; } }

/* ===== BOTTOM NAV ===== */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: var(--nav-height); background: #fff; display: flex; align-items: center; justify-content: space-around; box-shadow: 0 -2px 20px rgba(22,20,18,.08); z-index: 1000; padding-bottom: env(safe-area-inset-bottom, 0); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 0.65rem; color: var(--text-muted); padding: 6px 12px; border-radius: var(--radius-sm); transition: color var(--transition); -webkit-tap-highlight-color: transparent; }
.bottom-nav a span { font-size: 1.2rem; }
.bottom-nav a.active { color: var(--accent); }
.bottom-nav a:active { transform: scale(0.95); }
@media (min-width: 768px) { .bottom-nav { display: none; } }

/* ===== MODALS ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(22,20,18,0.55); z-index: 2000; display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal { display: block; height: auto; background: #fff; border-radius: var(--radius) var(--radius) 0 0; width: 100%; max-height: 90vh; overflow-y: auto; padding: 28px 24px 32px; transform: translateY(100%); transition: transform var(--transition); position: relative; }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); padding: 4px; line-height: 1; z-index: 1; }
.modal-close:hover { color: var(--text-dark); }
.modal-title { font-size: 1.4rem; margin-bottom: 16px; padding-right: 30px; }
.modal-body { font-size: 0.95rem; line-height: 1.7; color: var(--text-dark); }
.modal-body p { margin-bottom: 10px; }
.modal-body .label { font-weight: 600; font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; display: block; margin-top: 12px; margin-bottom: 2px; }
@media (min-width: 768px) {
  .modal-overlay { align-items: center; }
  .modal { max-width: 620px; border-radius: var(--radius); transform: translateY(30px) scale(0.97); }
  .modal-overlay.open .modal { transform: translateY(0) scale(1); }
}

/* Reg modal always on top of service/instructor popups */
#reg-modal { z-index: 2500; }
#cancellation-modal { z-index: 2600; }

/* Wide modal for service/instructor popups */
.modal-wide { max-width: 800px !important; }

/* ===== GALLERY ===== */
.gallery-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 16px 0; }
.gallery-strip::-webkit-scrollbar { height: 4px; }
.gallery-strip::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
.gallery-thumb { flex: 0 0 100px; height: 75px; border-radius: var(--radius-sm); object-fit: contain; cursor: pointer; scroll-snap-align: start; transition: transform var(--transition), opacity var(--transition); border: 2px solid transparent; background: var(--bg-secondary); }
.gallery-thumb:hover { transform: scale(1.05); opacity: .9; border-color: var(--accent); }
.gallery-thumb.active { border-color: var(--accent); }
.gallery-main { width: 100%; max-height: 280px; object-fit: contain; background: var(--bg2); border-radius: var(--radius); margin-bottom: 8px; display: block; transition: opacity 0.4s ease; }
@media (min-width: 600px) { .gallery-thumb { flex: 0 0 120px; height: 90px; } .gallery-main { max-height: 350px; } }

/* ===== UPCOMING CLASSES IN POPUP ===== */
.popup-upcoming { margin-top: 20px; }
.popup-upcoming h4 { font-size: 1rem; margin-bottom: 12px; color: var(--text-dark); }
.popup-class-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--bg-secondary); border-radius: var(--radius-sm); margin-bottom: 8px; flex-wrap: wrap; }
.popup-class-date { font-size: 0.8rem; color: var(--text-muted); min-width: 90px; }
.popup-class-time { font-size: 0.85rem; font-weight: 600; color: var(--accent); min-width: 100px; }
.popup-class-name { font-size: 0.9rem; font-weight: 500; flex: 1; }
.popup-class-btn { margin-left: auto; }

/* ── Instructor panel in reg-modal (mobile: hidden, desktop: right column) ── */
.reg-modal-layout { display: flex; flex-direction: column; }
.reg-modal-left { min-width: 0; }
.reg-instructor-panel { display: none; }
.reg-instructor-mobile { display: flex; align-items: center; gap: 10px; background: var(--bg-secondary); border-radius: var(--radius-sm); padding: 8px 12px; margin-bottom: 4px; }
.reg-instructor-mobile img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.reg-instructor-mobile span { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
@media (min-width: 768px) {
  #reg-modal .modal { max-width: 820px; }
  .reg-modal-layout { display: grid; grid-template-columns: 1fr 240px; gap: 28px; align-items: start; }
  .reg-instructor-mobile { display: none !important; }
  .reg-instructor-panel { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 20px 16px; background: var(--bg-secondary); border-radius: var(--radius); position: sticky; top: 0; }
  .reg-instructor-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); box-shadow: 0 4px 16px rgba(37,91,110,.25); }
  .reg-instructor-name { font-family: 'Lora', Georgia, serif; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; }
  .reg-instructor-phone { font-size: 0.85rem; color: var(--accent); font-weight: 600; }
  .reg-instructor-bio { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; margin-top: 4px; }
}
/* ===== REGISTRATION FORM ===== */

.reg-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-dark); }
.form-group input, .form-group textarea, .form-group select { padding: 12px 14px; border: 2px solid var(--bg-secondary); border-radius: var(--radius-sm); font-size: 0.95rem; font-family: 'Figtree', sans-serif; transition: border-color var(--transition); background: var(--bg-primary); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group .reg-info { font-size: 0.85rem; color: var(--text-muted); padding: 10px 14px; background: var(--bg-primary); border-radius: var(--radius-sm); }
.reg-capacity { font-size: 0.9rem; color: var(--brown-dark); padding: 10px 14px; background: rgba(53,162,188,.08); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); display: flex; align-items: center; gap: 8px; }
.reg-capacity strong { color: var(--accent); font-weight: 700; }
.reg-capacity-low { background: rgba(235,163,95,.12); border-left-color: #d68a3c; }

/* Az oktató üzenete az órához (pl. „hozz törölközőt”) – a jelentkezési ablakban
   és az órarend-sorban. Meleg homok-háttér, hogy elváljon a rendszer saját
   közléseitől: ez itt egy EMBER üzenete, nem a szoftveré. */
.reg-desc { font-size: .92rem; line-height: 1.55; color: var(--brown-dark); padding: 11px 14px;
  background: rgba(235,163,95,.13); border-left: 3px solid #c8925a; border-radius: var(--radius-sm);
  white-space: pre-line; }
.reg-desc::before { content: "💬 "; }
.cls-note { display: inline-flex; align-items: center; justify-content: center; width: 1.35em; height: 1.35em;
  margin-left: 5px; border-radius: 50%; background: rgba(235,163,95,.25); color: #8a6d3b;
  font-size: .82rem; cursor: help; vertical-align: middle; flex: none; }
.reg-capacity-low strong { color: #c97825; }
.reg-capacity-full { background: rgba(198,40,40,.10); border-left-color: var(--danger); }
.reg-capacity-full strong { color: var(--danger); }
.reg-capacity-icon { font-size: 1.05rem; }
.form-submit { padding: 14px 24px; background: #255b6e; color: #fff; border: none; border-radius: 50px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: box-shadow var(--transition); font-family: 'Figtree', sans-serif; }
.form-submit:hover { box-shadow: 0 4px 20px rgba(37,91,110,.4); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-success { text-align: center; padding: 24px 0; }
.form-success .success-icon { font-size: 3rem; margin-bottom: 12px; }
.form-success h3 { font-size: 1.3rem; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }
.form-error { color: #d32f2f; font-size: 0.85rem; margin-top: 4px; }

/* ===== CONFIRM DIALOG ===== */
.confirm-overlay { position: fixed; inset: 0; background: rgba(22,20,18,0.65); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.confirm-overlay.open { opacity: 1; pointer-events: auto; }
.confirm-box { background: #fff; border-radius: var(--radius); padding: 28px 24px; max-width: 380px; width: 100%; text-align: center; box-shadow: var(--shadow-hover); transform: scale(0.95); transition: transform var(--transition); }
.confirm-overlay.open .confirm-box { transform: scale(1); }
.confirm-icon { font-size: 2.5rem; margin-bottom: 12px; }
.confirm-box h3 { font-size: 1.2rem; margin-bottom: 8px; }
.confirm-box p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.confirm-actions { display: flex; gap: 12px; justify-content: center; }
.confirm-btn { padding: 10px 24px; border: none; border-radius: 50px; font-size: 0.9rem; font-weight: 600; cursor: pointer; font-family: 'Figtree', sans-serif; transition: box-shadow var(--transition); }
.confirm-btn-danger { background: linear-gradient(135deg, var(--danger), var(--danger-hover)); color: #fff; }
.confirm-btn-danger:hover { box-shadow: 0 4px 16px rgba(198,40,40,.35); }
.confirm-btn-cancel { background: var(--bg-secondary); color: var(--text-dark); }
.confirm-btn-cancel:hover { background: var(--cream); }

/* ===== ADMIN & INSTRUCTOR LINK ===== */
.admin-link { position: fixed; bottom: calc(var(--nav-height) + 12px); right: 16px; background: var(--brown-deep); color: rgba(255,255,255,0.7); font-size: 0.7rem; padding: 6px 12px; border-radius: 50px; z-index: 900; text-decoration: none; transition: background var(--transition); }
.admin-link:hover { background: var(--brown-ink); color: #fff; }
@media (min-width: 768px) { .admin-link { bottom: 16px; } }

.btn-link-copy{background:rgba(100,100,100,.12);color:var(--text-muted);border:none;border-radius:6px;padding:4px 7px;cursor:pointer;font-size:.85rem;transition:background .2s;line-height:1}
.btn-link-copy:hover{background:rgba(100,100,100,.28)}

.success-banner{display:flex;align-items:center;justify-content:center;gap:12px;padding:24px 20px;background:rgba(74,124,89,.12);border:2px solid rgba(74,124,89,.3);border-radius:14px;margin:16px 0}
.success-check{font-size:2rem;line-height:1}
.success-label{font-size:1.15rem;font-weight:700;color:var(--green,#4a7c59)}

/* ===== TERMS / CANCELLATION POLICY ===== */
.terms-group { margin-bottom: 12px; }
.terms-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .88rem; color: var(--text-muted); line-height: 1.4; }
.terms-label input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent,#eba35f); cursor: pointer; }
.terms-link { background: none; border: none; padding: 0; color: var(--accent,#eba35f); font-size: inherit; font-family: inherit; cursor: pointer; text-decoration: underline; }
.terms-link:hover { color: var(--brown,#5b4a34); }
.terms-label.terms-required { color: var(--danger,#c62828); font-weight: 700; }
.terms-label.terms-required .terms-link { color: var(--danger,#c62828); }
.terms-label.terms-required input[type="checkbox"] { accent-color: var(--danger,#c62828); outline: 2px solid var(--danger,#c62828); outline-offset: 2px; }
.btn-cancel-policy { background: none; border: none; padding: 0 2px; color: var(--accent,#eba35f); font-size: .78rem; cursor: pointer; text-decoration: underline; line-height: 1; vertical-align: middle; }
.btn-cancel-policy:hover { color: var(--brown,#5b4a34); }
.cancellation-policy h4 { font-size: 1rem; font-weight: 600; color: var(--brown,#5b4a34); margin: 18px 0 8px; }
.cancellation-policy ul { padding-left: 20px; margin: 0 0 8px; }
.cancellation-policy ul li { margin-bottom: 6px; font-size: .9rem; line-height: 1.55; }
.cancellation-policy p { font-size: .9rem; line-height: 1.55; }
.policy-divider { border: none; border-top: 1px solid var(--bg2,#f5e8de); margin: 20px 0; }
.policy-highlight { background: rgba(235,163,95,.1); border-left: 3px solid var(--accent,#eba35f); border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 4px 0; }
.policy-highlight h4 { margin-top: 0; font-size: 1.05rem; }
.policy-highlight p { font-size: .92rem; }

/* ── Táborok szekció (főoldal) ──────────────────────────────────── */
.taborok { background: var(--bg-secondary); }

#camps-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { #camps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { #camps-grid { grid-template-columns: repeat(3, 1fr); } }

.camp-card { border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--bg-card); box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.camp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.camp-card-img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.camp-card:hover .camp-card-img { transform: scale(1.05); }
.camp-card-img-placeholder { width: 100%; height: 210px; background: linear-gradient(135deg, var(--brown-mid), var(--brown-deep)); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.camp-card-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.camp-card-title { font-family: 'Lora', Georgia, serif; font-size: 1.1rem; color: var(--text-dark); font-weight: 600; margin-bottom: 10px; line-height: 1.35; }
.camp-card-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 4px; line-height: 1.5; }
.camp-card-price { font-size: 0.88rem; font-weight: 600; color: var(--brown-deep); margin-top: 8px; flex: 1; display: flex; align-items: flex-end; }
.btn-camp-detail { display: inline-block; padding: 9px 22px; background: #255b6e; color: #fff; border: none; border-radius: 50px; font-size: 0.85rem; font-weight: 600; cursor: pointer; font-family: 'Figtree', sans-serif; transition: background var(--transition), transform .2s ease; pointer-events: none; margin-top: 14px; align-self: flex-start; }
.camp-card:hover .btn-camp-detail { transform: translateX(3px); }

/* ── Tábor detail popup modal ─────────────────────────────────────── */
.camp-detail-modal { max-width: 780px; width: 96vw; max-height: 90vh; overflow-y: auto; padding: 0; }
.camp-modal-gallery { display: flex; gap: 8px; overflow-x: auto; padding: 18px 18px 0; }
.camp-modal-cover { width: 100%; max-height: 420px; object-fit: contain; background: var(--bg-secondary); display: block; transition: opacity 0.4s ease; }
.camp-modal-thumb { width: 72px; height: 52px; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: .72; transition: opacity .2s; flex-shrink: 0; }
.camp-modal-thumb:hover, .camp-modal-thumb.active { opacity: 1; outline: 2px solid #255b6e; }
.camp-modal-body { padding: 22px 24px 28px; }
.camp-modal-title { font-family: 'Lora', Georgia, serif; font-size: 1.45rem; color: var(--text-dark); margin-bottom: 4px; }
.camp-modal-sub { font-size: .9rem; color: var(--text-muted); margin-bottom: 14px; }
.camp-modal-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.camp-meta-item { font-size: .85rem; color: var(--brown-dark); background: var(--bg-secondary); padding: 5px 12px; border-radius: 20px; }
.camp-modal-desc { font-size: .92rem; line-height: 1.7; color: var(--text-dark); margin-bottom: 22px; }
.camp-modal-desc h2, .camp-modal-desc h3 { font-family: 'Lora', Georgia, serif; color: var(--brown-dark); margin: 16px 0 8px; }
.camp-modal-desc ul { padding-left: 20px; margin: 8px 0; }
.camp-modal-desc li { margin-bottom: 5px; }
.camp-reg-section { background: var(--bg-secondary); border-radius: 10px; padding: 20px; margin-top: 8px; }
.camp-reg-section h3 { font-family: 'Lora', Georgia, serif; font-size: 1.1rem; margin-bottom: 14px; color: var(--brown-dark); }
.camp-full-badge { display: inline-block; background: #c62828; color: #fff; font-weight: 600; padding: 8px 18px; border-radius: 8px; font-size: .9rem; }

/* ════════════════════════════════════════════════════════════════════
   v6.0 — Logó, naptár-export gombok, jogi modal (Quill blockquote)
   ════════════════════════════════════════════════════════════════════ */

/* ── Logó: navbar (kicsi) + hero (nagyobb) ── */
.topnav .navbar-brand { display: inline-flex; align-items: center; gap: 8px; }
.navbar-logo { height: 1.7rem; width: auto; display: block; }
.footer-logo { height: 52px; width: auto; display: block; margin: 0 auto 10px; opacity: .95; }
.hero-logo { height: 88px; width: auto; margin: 0 auto 12px; display: block; filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
@media (min-width: 768px) { .hero-logo { height: 120px; } }

/* ── Naptár-export gombok a sikeres jelentkezés után ── */
.calendar-add { margin-top: 18px; border-top: 1px solid var(--bg-secondary); padding-top: 16px; }
.calendar-add-label { text-align: center; font-size: .85rem; color: var(--text-muted); margin-bottom: 10px; }
.calendar-add-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cal-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 50px; font-size: .85rem; font-weight: 600; border: 1.5px solid var(--accent); color: var(--accent); background: #fff; transition: background var(--transition), color var(--transition); cursor: pointer; }
.cal-btn:hover { background: var(--accent); color: #fff; }
.cal-btn-apple { border-color: var(--brown-dark); color: var(--brown-dark); }
.cal-btn-apple:hover { background: var(--brown-dark); color: #fff; }

/* ── Jogi modalok: a Quill <blockquote> kiemelés-dobozként ── */
.cancellation-policy blockquote, .privacy-body blockquote {
  background: rgba(53,162,188,.08); border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 14px 0;
  font-size: .9rem; line-height: 1.6; color: var(--brown-deep);
}
.privacy-body h4 { font-size: 1rem; font-weight: 600; color: var(--brown-dark); margin: 16px 0 6px; }
.privacy-body ul { padding-left: 20px; margin: 0 0 8px; }
.privacy-body ul li { margin-bottom: 5px; line-height: 1.55; }
.privacy-body p { margin-bottom: 8px; line-height: 1.6; }
.privacy-body h4:first-child { margin-top: 0; }

/* ===== FŐOLDALI KÖSZÖNTŐ FELIRAT (v7.1, adminban szerkeszthető) =====
   A korábbi .hero-title / .hero-subtitle / .hero-motto helyett szabadon
   szerkeszthető szöveg. A méreteket a címsor-szint adja (H1/H2/bekezdés),
   így az admin a szerkesztőben állítja a hangsúlyt – a látvány ugyanaz marad,
   mint a korábbi beégetett feliratnál. */
.hero-richtext h1 { font-size: 2.4rem; font-weight: 700; margin: 0 0 4px; letter-spacing: 2px; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.hero-richtext h2 { font-family: 'Figtree', sans-serif; font-weight: 300; font-size: .95rem; letter-spacing: 4px; text-transform: uppercase; margin: 0 0 12px; opacity: .9; }
.hero-richtext h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 8px; }
.hero-richtext p  { font-family: 'Playfair Display', serif; font-style: italic; font-size: .9rem; opacity: .85; margin: 0 0 6px; }
.hero-richtext p:last-child { margin-bottom: 0; }

/* Betűtípus-választás soronként (a szerkesztő ezeket az osztályokat adja) */
.hero-richtext .ql-font-lora,
.hero-richtext h1.ql-font-lora     { font-family: 'Lora', serif; }
.hero-richtext .ql-font-figtree    { font-family: 'Figtree', sans-serif; }
.hero-richtext .ql-font-playfair   { font-family: 'Playfair Display', serif; }
.hero-richtext .ql-font-dancing    { font-family: 'Dancing Script', cursive; font-style: normal; }

/* Igazítás */
.hero-richtext .ql-align-center  { text-align: center; }
.hero-richtext .ql-align-right   { text-align: right; }
.hero-richtext .ql-align-justify { text-align: justify; }

@media (min-width: 768px) {
  .hero-richtext h1 { font-size: 3.5rem; }
  .hero-richtext h2 { font-size: 1.2rem; }
  .hero-richtext p  { font-size: 1.1rem; }
}
