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

:root {
  --hot-pink:      #F5579A;
  --hot-pink-dark: #C0155C;
  --hot-pink-deep: #A00E4C;
  --pink-light:    #FDDAEC;
  --pink-mid:      #FBB8D8;
  --yellow:        #F7C435;
  --yellow-light:  #FEF4D0;
  --white:         #FFFFFF;
  --text:          #3D0825;
  --text-soft:     #9B3060;
  --border:        #F5B8D8;
  --cream:         #FFF0F7;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Nunito', sans-serif;
  line-height: 1.25;
  font-weight: 800;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(245,87,154,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hot-pink-dark);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: var(--white);
  font-weight: 900;
  letter-spacing: .02em;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.nav-links a:hover { color: var(--yellow); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: var(--hot-pink);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(247,196,53,.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 85% 75%, rgba(192,21,92,.35) 0%, transparent 60%),
    radial-gradient(ellipse 35% 35% at 70% 15%, rgba(255,255,255,.12) 0%, transparent 55%);
}
/* decorative dots */
.hero::after {
  content: '✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦';
  position: absolute; top: 15%; left: 50%; transform: translateX(-50%);
  font-size: 1.2rem;
  color: rgba(247,196,53,.5);
  letter-spacing: 1.5rem;
  white-space: nowrap;
}
.hero-inner { position: relative; max-width: 760px; }
.hero-tag {
  display: inline-block;
  background: var(--hot-pink-dark);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1.4rem;
  border-radius: 100px;
  margin-bottom: 1.8rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--white);
  margin-bottom: .8rem;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(160,14,76,.3);
}
.hero h1 em {
  color: var(--yellow);
  font-style: normal;
  display: block;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  background: var(--hot-pink-dark);
  padding: .3rem 1.6rem;
  border-radius: 100px;
  display: inline-block;
  margin-top: .5rem;
  text-transform: uppercase;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 2.8rem;
  max-width: 560px;
  margin-inline: auto;
}
.btn {
  display: inline-block;
  padding: .85rem 2.2rem;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(160,14,76,.3); }
.btn-primary {
  background: var(--hot-pink-dark);
  color: var(--white);
}
.btn-outline {
  background: var(--white);
  color: var(--hot-pink-dark);
  border: 2px solid var(--white);
  margin-left: 1rem;
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: center;
  margin-top: 3rem;
}
.badge {
  background: rgba(255,255,255,.2);
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--white);
}

/* ── SECTIONS ── */
section { padding: 5rem 2rem; }
.container { max-width: 1060px; margin-inline: auto; }
.section-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hot-pink);
  margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--text);
}
.section-lead {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 580px;
  margin-bottom: 3rem;
}

/* ── ABOUT ── */
#o-tabore { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}
.info-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
}
.info-card .icon {
  font-size: 1.8rem;
  margin-bottom: .8rem;
  display: block;
  position: relative;
  width: fit-content;
}
.info-card .icon img {
  width: 4rem; height: 4rem; object-fit: contain; display: block;
}
.btn-import-icon {
  display: none;
  position: absolute;
  top: -6px; right: -6px;
  background: var(--hot-pink); color: #fff;
  border: none; border-radius: 50%;
  width: 20px; height: 20px; font-size: .65rem;
  cursor: pointer; line-height: 20px; text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.admin-logged-in .btn-import-icon { display: block; }
.info-card h4 { font-size: 1rem; margin-bottom: .4rem; color: var(--text); }
.info-card p { font-size: .88rem; color: var(--text-soft); }

/* ── PROGRAM ── */
#program { background: var(--pink-light); }
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: .5rem;
}
.program-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 5px;
}
.program-card.pink::before   { background: linear-gradient(90deg, var(--hot-pink), #f7a8c2); }
.program-card.yellow::before { background: linear-gradient(90deg, var(--yellow), #f5e080); }
.program-card.purple::before { background: linear-gradient(90deg, var(--hot-pink-dark), var(--hot-pink)); }
.program-card.green::before  { background: linear-gradient(90deg, var(--yellow), var(--hot-pink)); }
.program-card .style-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: .9rem;
}
.tag-pink   { background: var(--pink-light);   color: var(--hot-pink-dark); }
.tag-yellow { background: var(--yellow-light);  color: #8a6010; }
.tag-purple { background: var(--pink-light);    color: var(--hot-pink-dark); }
.tag-green  { background: var(--yellow-light);  color: #7a5010; }
.program-card h3 { font-size: 1.25rem; margin-bottom: .5rem; color: var(--text); }
.program-card p  { font-size: .87rem; color: var(--text-soft); }

/* ── TURNUSY ── */
#turnusy { background: var(--cream); }
.turnusy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin-top: .5rem;
}
.turnus-card {
  border-radius: 24px;
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
}
.turnus-card.t1 {
  background: linear-gradient(135deg, var(--hot-pink) 0%, var(--hot-pink-dark) 100%);
  border: none;
}
.turnus-card.t2 {
  background: linear-gradient(135deg, var(--hot-pink-dark) 0%, #8a0e3e 100%);
  border: none;
}
.turnus-number {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.75);
  margin-bottom: .5rem;
}
.turnus-card h3 { font-size: 1.4rem; margin-bottom: .4rem; color: var(--white); }
.turnus-date {
  font-size: 1.6rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  color: var(--yellow);
  margin: .8rem 0;
}
.turnus-detail { font-size: .87rem; color: rgba(255,255,255,.8); margin-bottom: .4rem; }
.turnus-price {
  margin-top: 1.4rem;
  font-size: 2rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  color: var(--white);
}
.turnus-price span { font-size: 1rem; color: rgba(255,255,255,.75); font-family: 'Inter', sans-serif; }
.turnus-card .btn-primary {
  background: var(--white);
  color: var(--hot-pink-dark);
}

/* ── LEKTORKY ── */
#lektorky { background: var(--yellow-light); }
.lektori-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: .5rem;
  justify-content: center;
}
.lektor-card {
  background: var(--white);
  border-radius: 24px;
  width: calc(50% - 1rem);
  min-width: 280px;
  max-width: 500px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.lektor-photo {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  background: linear-gradient(135deg, var(--hot-pink), var(--hot-pink-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  position: relative;
}
.lektor-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.lektor-photo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.btn-import-photo {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,.45); color: #fff;
  border: none; border-radius: 20px;
  padding: .35rem .85rem; font-size: .78rem; cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .2s;
  display: none;
}
.btn-import-photo:hover { background: rgba(0,0,0,.7); }
.btn-remove-photo {
  display: none; position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,.55); color: #fff;
  border: none; border-radius: 50px;
  padding: .25rem .7rem; font-size: .72rem; cursor: pointer;
  transition: background .2s;
}
.btn-remove-photo:hover { background: rgba(185,28,28,.85); }
.admin-logged-in .btn-import-photo { display: block; }
.admin-logged-in .btn-remove-photo { display: block; }
.btn-delete-lektor {
  display: none; width: 100%; margin-bottom: .8rem;
  background: #fee2e2; color: #b91c1c;
  border: 1px solid #fca5a5; border-radius: 20px;
  padding: .3rem .8rem; font-size: .75rem; cursor: pointer;
  transition: background .2s;
}
.btn-delete-lektor:hover { background: #fecaca; }
.btn-add-lektor {
  display: none; margin: 1.5rem auto 0;
  background: var(--hot-pink); color: #fff;
  border: none; border-radius: 100px;
  padding: .6rem 1.8rem; font-size: .85rem; font-weight: 700; cursor: pointer;
  transition: background .2s;
}
.btn-add-lektor:hover { background: var(--hot-pink-dark); }
.admin-logged-in .btn-delete-lektor { display: block; }
.admin-logged-in .btn-add-lektor { display: block; }
.admin-logged-in [contenteditable="true"] {
  outline: 2px dashed rgba(192,21,92,.35);
  border-radius: 4px;
  cursor: text;
  min-height: 1em;
}
.admin-logged-in [contenteditable="true"]:hover {
  outline-color: rgba(192,21,92,.7);
}
.admin-logged-in [contenteditable="true"]:focus {
  outline: 2px solid var(--hot-pink);
  background: rgba(255,255,255,.15);
  border-radius: 4px;
}
#emoji-toolbar {
  display: none;
  position: fixed;
  z-index: 10001;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  padding: .3rem;
}
#emoji-toolbar button {
  background: none; border: none; font-size: 1.3rem;
  cursor: pointer; padding: .2rem .25rem; border-radius: 6px;
  line-height: 1;
}
#emoji-toolbar button:hover { background: var(--pink-light); }
#emoji-picker-grid {
  display: none;
  position: fixed;
  z-index: 10002;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  padding: .6rem;
  width: 260px;
}
#emoji-picker-search {
  width: 100%; box-sizing: border-box;
  border: 1px solid #ddd; border-radius: 8px;
  padding: .4rem .7rem; font-size: .9rem; margin-bottom: .5rem;
}
#emoji-picker-cells {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px;
  max-height: 200px; overflow-y: auto;
}
#emoji-picker-cells button {
  background: none; border: none; font-size: 1.4rem;
  cursor: pointer; padding: .2rem; border-radius: 6px; line-height: 1;
}
#emoji-picker-cells button:hover { background: var(--pink-light); }
#admin-login-btn {
  position: fixed; bottom: 18px; right: 18px; z-index: 9999;
  background: rgba(0,0,0,.18); color: #fff;
  border: none; border-radius: 50%; width: 38px; height: 38px;
  font-size: 1rem; cursor: pointer; backdrop-filter: blur(4px);
  opacity: .4; transition: opacity .2s;
}
#admin-login-btn:hover { opacity: 1; }
#admin-modal {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.5); align-items: center; justify-content: center;
}
#admin-modal.open { display: flex; }
#admin-modal-box {
  background: #fff; border-radius: 16px; padding: 2rem;
  width: 300px; box-shadow: 0 8px 32px rgba(0,0,0,.2);
  display: flex; flex-direction: column; gap: .8rem;
}
#admin-modal-box h3 { margin: 0; font-size: 1.1rem; }
#admin-modal-box input {
  border: 1px solid #ddd; border-radius: 8px; padding: .5rem .8rem; font-size: 1rem;
}
#admin-modal-box .row { display: flex; gap: .6rem; }
#admin-modal-box button {
  flex: 1; padding: .5rem; border: none; border-radius: 8px; cursor: pointer; font-size: .9rem;
}
#btn-login-confirm { background: var(--hot-pink); color: #fff; }
#btn-login-cancel  { background: #eee; color: #333; }
#admin-error { color: red; font-size: .8rem; display: none; }
.lektor-body { padding: 1.8rem; }
.lektor-body h3 { font-size: 1.4rem; margin-bottom: .3rem; color: var(--text); }
.lektor-body p  { font-size: .87rem; color: var(--text-soft); }

/* ── FOTKY ── */
#prostory { background: var(--white); }
.photos-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 200px 200px;
  gap: 1rem;
  margin-top: 2rem;
  border-radius: 20px;
  overflow: hidden;
}
.photo-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--pink-light);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: var(--hot-pink-dark);
}
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-item.large  { grid-column: span 6; }
.photo-item.medium { grid-column: span 4; }
.photo-item.small  { grid-column: span 3; }
.photo-placeholder { color: var(--text-soft); font-size: .75rem; text-align: center; padding: 1rem; }

/* ── VIDEA ── */
#videa { background: var(--cream); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-top: 2rem;
}
.video-item { display: flex; flex-direction: column; gap: .7rem; }
.video-wrapper {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-radius: 16px; overflow: hidden;
  background: var(--pink-light);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.video-wrapper iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.video-empty {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); font-size: .9rem; gap: .4rem;
}
.video-caption {
  font-size: .88rem; color: var(--text-soft); text-align: center; padding: 0 .5rem;
}
.btn-change-video {
  display: none;
  margin: .5rem auto 0;
  background: var(--hot-pink); color: #fff;
  border: none; border-radius: 20px;
  padding: .35rem 1rem; font-size: .78rem; cursor: pointer;
  transition: background .2s;
}
.btn-change-video:hover { background: var(--hot-pink-dark); }
.btn-remove-video {
  display: none;
  margin: .3rem auto 0;
  background: transparent; color: var(--text-soft);
  border: 1px solid var(--border); border-radius: 20px;
  padding: .25rem .8rem; font-size: .72rem; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-remove-video:hover { background: #fee2e2; color: #b91c1c; border-color: #fca5a5; }
.admin-logged-in .btn-change-video { display: block; }
.admin-logged-in .btn-remove-video { display: block; }
#video-url-modal {
  display: none; position: fixed; inset: 0; z-index: 10100;
  background: rgba(0,0,0,.5); align-items: center; justify-content: center;
}
#video-url-modal.open { display: flex; }
#video-url-box {
  background: #fff; border-radius: 16px; padding: 1.8rem;
  width: 360px; box-shadow: 0 8px 32px rgba(0,0,0,.2);
  display: flex; flex-direction: column; gap: .8rem;
}
#video-url-box h3 { margin: 0; font-size: 1rem; }
#video-url-field {
  border: 1px solid #ddd; border-radius: 8px;
  padding: .5rem .8rem; font-size: .95rem; width: 100%; box-sizing: border-box;
}
#video-url-error { color: red; font-size: .8rem; display: none; }
#video-url-box .row { display: flex; gap: .6rem; }
#video-url-box .row button {
  flex: 1; padding: .5rem; border: none; border-radius: 8px;
  cursor: pointer; font-size: .9rem;
}
#btn-video-confirm { background: var(--hot-pink); color: #fff; }
#btn-video-cancel  { background: #eee; color: #333; }

/* ── NAV EDIT ── */
.btn-edit-nav {
  display: none; background: rgba(255,255,255,.25); border: none;
  color: #fff; border-radius: 8px; padding: .25rem .6rem;
  cursor: pointer; font-size: .8rem; margin-left: .8rem;
}
.admin-logged-in .btn-edit-nav { display: inline-block; }
#nav-edit-modal {
  display: none; position: fixed; inset: 0; z-index: 10100;
  background: rgba(0,0,0,.5); align-items: center; justify-content: center;
}
#nav-edit-modal.open { display: flex; }
#nav-edit-box {
  background: #fff; border-radius: 16px; padding: 1.8rem;
  width: 420px; max-width: 95vw; box-shadow: 0 8px 32px rgba(0,0,0,.2);
  display: flex; flex-direction: column; gap: .8rem;
}
#nav-edit-box h3 { margin: 0; font-size: 1rem; }
.nav-edit-row { display: flex; gap: .5rem; align-items: center; }
.nav-edit-row label { font-size: .8rem; color: #666; min-width: 60px; }
.nav-edit-row input {
  flex: 1; border: 1px solid #ddd; border-radius: 8px;
  padding: .4rem .7rem; font-size: .9rem;
}
.nav-edit-row input.href-input { max-width: 130px; }
.nav-edit-sep { font-size: .75rem; color: #aaa; font-weight: 600; margin-top: .3rem; }
#nav-edit-box .row { display: flex; gap: .6rem; margin-top: .4rem; }
#nav-edit-box .row button {
  flex: 1; padding: .5rem; border: none; border-radius: 8px;
  cursor: pointer; font-size: .9rem;
}
#btn-nav-confirm { background: var(--hot-pink); color: #fff; }
#btn-nav-cancel  { background: #eee; color: #333; }

/* ── ICON PICKER ── */
.btn-pick-icon {
  display: none; position: absolute;
  top: 18px; right: -6px;
  background: var(--yellow); color: #333;
  border: none; border-radius: 50%;
  width: 20px; height: 20px; font-size: .6rem;
  cursor: pointer; line-height: 20px; text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.admin-logged-in .btn-pick-icon { display: block; }
#icon-picker-modal {
  display: none; position: fixed; inset: 0; z-index: 10300;
  background: rgba(0,0,0,.5); align-items: center; justify-content: center;
}
#icon-picker-modal.open { display: flex; }
#icon-picker-box {
  background: #fff; border-radius: 16px; padding: 1.4rem;
  width: 500px; max-width: 96vw; box-shadow: 0 8px 32px rgba(0,0,0,.2);
  display: flex; flex-direction: column; gap: .7rem;
}
#icon-picker-box h3 { margin: 0; font-size: 1rem; }
#icon-picker-search {
  border: 1px solid #ddd; border-radius: 8px;
  padding: .45rem .75rem; font-size: .9rem; width: 100%; box-sizing: border-box;
}
.icon-picker-cats {
  display: flex; flex-wrap: wrap; gap: .3rem;
}
.icon-picker-cat {
  padding: .2rem .55rem; border: 1px solid #ddd; border-radius: 20px;
  background: none; cursor: pointer; font-size: .72rem; color: #555;
}
.icon-picker-cat.active { background: var(--hot-pink); color: #fff; border-color: var(--hot-pink); }
#icon-picker-cells {
  display: grid; grid-template-columns: repeat(auto-fill, 40px);
  gap: 2px; max-height: 260px; overflow-y: auto;
}
#icon-picker-cells button {
  width: 40px; height: 40px; font-size: 1.25rem;
  background: none; border: none; border-radius: 6px; cursor: pointer;
}
#icon-picker-cells button:hover { background: var(--pink-light); }
#icon-picker-close {
  background: #eee; color: #333; border: none; border-radius: 8px;
  padding: .45rem 1rem; cursor: pointer; font-size: .9rem; align-self: flex-end;
}
@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* ── ZAHRNUTÉ ── */
#zahrnuto { background: var(--hot-pink); }
#zahrnuto .section-tag { color: var(--yellow); }
#zahrnuto .section-title { color: var(--white); }
#zahrnuto .section-lead { color: rgba(255,255,255,.85); }
.zahrnuto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: .5rem;
}
.zahrnuto-item {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  display: flex; align-items: flex-start; gap: .8rem;
}
.zahrnuto-item .ico { font-size: 1.4rem; position: relative; display: inline-block; flex-shrink: 0; }
.zahrnuto-item div h4 { font-size: .95rem; margin-bottom: .2rem; color: var(--white); }
.zahrnuto-item div p  { font-size: .82rem; color: rgba(255,255,255,.8); }

/* ── CTA ── */
#prihlaseni {
  background: linear-gradient(135deg, var(--hot-pink-dark) 0%, var(--hot-pink-deep) 100%);
  text-align: center;
  padding: 6rem 2rem;
}
#prihlaseni h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
#prihlaseni p  { color: rgba(255,255,255,.8); font-size: 1rem; max-width: 500px; margin-inline: auto; margin-bottom: 2.5rem; }
.reg-turnusy { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.reg-turnus-card { background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.3); border-radius: 16px; padding: 1.8rem 2rem; min-width: 220px; text-align: center; }
.reg-turnus-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: .5rem; }
.reg-capacity { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1.2rem; }
.reg-capacity strong { color: var(--yellow); }
.btn-reg { background: #fff; color: var(--hot-pink-dark); font-weight: 700; border: none; padding: .7rem 1.6rem; border-radius: 50px; font-size: .95rem; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn-reg:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.btn-reg.waiting { background: rgba(255,255,255,.2); color: #fff; border: 2px solid rgba(255,255,255,.5); }
#reg-modal { display: none; position: fixed; inset: 0; z-index: 10500; background: rgba(0,0,0,.6); align-items: flex-start; justify-content: center; padding: 2rem 1rem; overflow-y: auto; }
#reg-modal.open { display: flex; }
#reg-box { background: #fff; border-radius: 20px; padding: 2rem; width: 100%; max-width: 580px; margin: auto; box-shadow: 0 16px 48px rgba(0,0,0,.2); }
#reg-box h2 { font-size: 1.3rem; color: var(--hot-pink-dark); margin-bottom: .25rem; }
#reg-box .reg-sub { font-size: .85rem; color: #888; margin-bottom: 1.5rem; }
.reg-section { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--hot-pink); margin: 1.2rem 0 .6rem; border-bottom: 1px solid #fce; padding-bottom: .3rem; }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.reg-grid.single { grid-template-columns: 1fr; }
.reg-field { display: flex; flex-direction: column; gap: .3rem; }
.reg-field label { font-size: .8rem; font-weight: 600; color: #555; }
.reg-field input, .reg-field select, .reg-field textarea { border: 1.5px solid #e5e7eb; border-radius: 8px; padding: .55rem .75rem; font-size: .92rem; font-family: inherit; transition: border-color .2s; }
.reg-field input:focus, .reg-field select:focus, .reg-field textarea:focus { outline: none; border-color: var(--hot-pink); }
.reg-field textarea { resize: vertical; min-height: 70px; }
.reg-checks { display: flex; flex-direction: column; gap: .6rem; margin: 1rem 0; }
.reg-check { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: #444; cursor: pointer; }
.reg-check input[type=checkbox] { margin-top: 2px; accent-color: var(--hot-pink); flex-shrink: 0; }
.reg-actions { display: flex; gap: .8rem; margin-top: 1.5rem; }
#reg-submit { flex: 1; background: var(--hot-pink-dark); color: #fff; border: none; border-radius: 50px; padding: .75rem; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background .2s; }
#reg-submit:hover { background: var(--hot-pink); }
#reg-submit:disabled { background: #ccc; cursor: not-allowed; }
#reg-cancel { background: #f3f4f6; color: #555; border: none; border-radius: 50px; padding: .75rem 1.4rem; font-size: .95rem; cursor: pointer; }
.reg-error { background: #fee2e2; border-radius: 8px; padding: .7rem 1rem; color: #991b1b; font-size: .85rem; margin-top: .8rem; display: none; }
.reg-success { text-align: center; padding: 1.5rem 0; }
.reg-success .reg-icon { font-size: 3rem; margin-bottom: 1rem; }
.reg-success h3 { color: var(--hot-pink-dark); font-size: 1.2rem; margin-bottom: .5rem; }
.reg-success p { color: #666; font-size: .9rem; margin-bottom: .8rem; }
.reg-vs-box { background: #fff4db; border-radius: 10px; padding: 1rem; margin: 1rem 0; }
.reg-vs-box .label { font-size: .75rem; color: #888; margin-bottom: .2rem; }
.reg-vs-box .vs { font-size: 1.6rem; font-weight: 700; letter-spacing: 3px; color: var(--hot-pink-dark); }
.reg-qr { margin: 1rem auto; display: block; max-width: 200px; border-radius: 8px; }
@media (max-width: 500px) { .reg-grid { grid-template-columns: 1fr; } .reg-turnusy { flex-direction: column; align-items: center; } }
.btn-white {
  background: var(--white);
  color: var(--hot-pink-dark);
  font-weight: 700;
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.9);
  border: 2px solid rgba(255,255,255,.5);
  margin-left: 1rem;
}
.btn-ghost:hover { background: rgba(255,255,255,.15); }

/* ── FOOTER ── */
footer {
  background: var(--hot-pink-deep);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 2rem;
  font-size: .8rem;
}
footer strong { color: rgba(255,255,255,.9); }
footer a { color: rgba(255,255,255,.6); }
.footer-main { margin-bottom: .8rem; }
.footer-docs {
  display: flex; flex-wrap: wrap; gap: .5rem;
  justify-content: center;
  margin-bottom: .8rem;
}
.footer-doc a {
  color: rgba(255,255,255,.75);
  text-decoration: underline;
  font-size: .8rem;
  transition: color .2s;
}
.footer-doc a:hover { color: #fff; }
.footer-doc .btn-remove-doc {
  display: none;
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.6);
  border: none; border-radius: 50%; width: 18px; height: 18px;
  font-size: .6rem; cursor: pointer; line-height: 18px;
  text-align: center; vertical-align: middle; margin-left: .2rem;
  transition: background .2s;
}
.footer-doc .btn-remove-doc:hover { background: rgba(220,38,38,.7); color: #fff; }
.admin-logged-in .footer-doc .btn-remove-doc { display: inline-block; }
.btn-add-doc {
  display: none;
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.3); border-radius: 20px;
  padding: .3rem 1rem; font-size: .75rem; cursor: pointer;
  margin-top: .5rem;
  transition: background .2s;
}
.btn-add-doc:hover { background: rgba(255,255,255,.25); }
.admin-logged-in .btn-add-doc { display: inline-block; }
#doc-modal {
  display: none; position: fixed; inset: 0; z-index: 10500;
  background: rgba(0,0,0,.5); align-items: center; justify-content: center;
}
#doc-modal.open { display: flex; }
#doc-modal-box {
  background: #fff; border-radius: 16px; padding: 1.8rem;
  width: 380px; max-width: 95vw; box-shadow: 0 8px 32px rgba(0,0,0,.2);
  color: #333;
}

/* ── DIVIDERS ── */
.wave-divider {
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .btn-outline { margin-left: 0; margin-top: .8rem; }
  .hero-inner .btn + .btn { display: block; }
  .photos-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .photo-item.large, .photo-item.medium, .photo-item.small {
    grid-column: span 1;
  }
}

/* ── THEME OVERRIDES ── */
:root {
  --hot-pink: #ff80b5;
  --hot-pink-dark: #f9438c;
  --hot-pink-deep: #8f0f44;
  --yellow: #ffd666;
  --pink-light: #fbc1df;
  --yellow-light: #fdefc9;
  --cream: #fff4db;
  --text: #3D0825;
  --text-soft: #df5895;
}
