/* ═══════════════════════════════════════════
   YOUTHCAMP 2026 – Outside the Box
   Branding: Montserrat, #EDE115, #C0BAB1, #000
   ═══════════════════════════════════════════ */

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

:root {
  --yellow: #EDE115;
  --yellow2: #ECBC2C;
  --black: #000000;
  --bg: #C0BAB1;
  --bg-dark: #1a1a1a;
  --white: #ffffff;
  --section-pad: 100px 5vw;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  background: var(--bg-dark);
  color: var(--white);
  overflow-x: hidden;
}

.yellow { color: var(--yellow); }
a { text-decoration: none; color: inherit; }

/* ─── BUTTONS ─── */
.btn-yellow {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-yellow:hover { background: var(--yellow2); transform: translateY(-2px); }
.btn-yellow.big { font-size: 1rem; padding: 18px 44px; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 2px solid var(--white);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }

.btn-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  box-sizing: border-box;
  transition: transform 0.2s, background 0.2s, opacity 0.2s;
}
.btn-nav:hover {
  background: var(--yellow2);
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-ig-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  box-sizing: border-box;
  border-radius: 0;
  transition: transform 0.2s, opacity 0.2s;
}
.btn-ig-nav:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5vw;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(237,225,21,0.15);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(0,0,0,0.92); }

.nav-logo {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}
.nav-logo span { color: var(--yellow); }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--yellow); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(0,0,0,0.97);
  padding: 24px 5vw 32px;
  gap: 20px;
  z-index: 99;
  border-bottom: 2px solid var(--yellow);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.btn-mobile {
  margin-top: 20px;
  background: var(--yellow);
  color: var(--black) !important;
  padding: 12px 32px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-mobile-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('bg.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(10%) brightness(0.35);
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

/* Fallback grain texture on hero bg */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.85) 100%);
}

/* dashed decorative boxes */
.dashed-box {
  position: absolute;
  width: 260px; height: 180px;
  border: 3px dashed rgba(237,225,21,0.5);
  pointer-events: none;
}
.dashed-box.top-left  { top: 12vh; left: 6vw; animation: floatBox 6s ease-in-out infinite; }
.dashed-box.bottom-right { bottom: 10vh; right: 6vw; animation: floatBox 6s ease-in-out infinite reverse; }
@keyframes floatBox {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 5vw 80px;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-date {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.92;
  margin-bottom: 28px;
  width: 100%;
}
.hero-logo {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  animation: fadeUp 0.8s ease both;
  filter: invert(1) hue-rotate(180deg) brightness(1.1) drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}

.hero-sub {
  font-size: 1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-desc {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  max-width: 500px;
  animation: fadeUp 0.8s 0.35s ease both;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 7px 18px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  animation: fadeUp 0.8s 0.5s ease both;
}

/* scribble decorations */
.scribble {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.s1 { width: 180px; top: 15vh; right: 12vw; opacity: 0.7; animation: wiggle 8s ease-in-out infinite; }
.s2 { width: 140px; bottom: 20vh; left: 8vw; opacity: 0.5; animation: wiggle 10s ease-in-out infinite reverse; }
.s3 { width: 100px; bottom: 15vh; right: 20vw; opacity: 0.4; animation: wiggle 7s ease-in-out infinite; }

@keyframes wiggle {
  0%,100% { transform: rotate(-3deg) scale(1); }
  50%     { transform: rotate(3deg) scale(1.05); }
}

.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── COUNTER ─── */
#counter-section {
  background: var(--yellow);
  padding: 70px 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#counter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    rgba(0,0,0,0.04) 30px,
    rgba(0,0,0,0.04) 32px
  );
}

.counter-inner { position: relative; z-index: 1; }
.counter-label {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.6);
  margin-bottom: 16px;
}
.counter-number {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.04em;
}
.counter-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.counter-dots span {
  width: 8px; height: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  display: inline-block;
}

/* ─── SECTIONS COMMON ─── */
section:not(#hero):not(#counter-section):not(#cta-banner) {
  padding: var(--section-pad);
  position: relative;
}

#info, #ceny, #kontakt { background: #111111; }
#tracky { background: #0d0d0d; }

.section-tag {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 48px;
}
.section-sub {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin-bottom: 56px;
  margin-top: -30px;
  line-height: 1.7;
}

/* ─── INFO GRID ─── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
}
.info-card {
  background: #1a1a1a;
  padding: 36px 28px;
  border-top: 3px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.info-card:hover { border-color: var(--yellow); background: #222; }
.info-icon { font-size: 1.8rem; margin-bottom: 14px; }
.info-card h3 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}
.info-card p { font-size: 1rem; color: var(--white); font-weight: 700; }

/* ─── TRACKS ─── */
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}
.track-card {
  background: #161616;
  padding: 40px 32px;
  border-left: 4px solid transparent;
  position: relative;
  overflow: hidden;
}
.track-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(237,225,21,0.03) 0%, transparent 60%);
  opacity: 0.3;
}

.track-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(237,225,21,0.12);
  line-height: 1;
  margin-bottom: 12px;
}
.track-card h3 {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.track-card p {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}

/* ─── CTA BANNER ─── */
#cta-banner {
  background: var(--black);
  padding: 80px 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--yellow);
  border-bottom: 4px solid var(--yellow);
}
.banner-content { position: relative; z-index: 1; }
.banner-content h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 36px;
  line-height: 1.1;
}
.banner-scribble {
  position: absolute;
  bottom: 0; right: 0;
  width: 400px;
  opacity: 0.3;
}

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  max-width: 960px;
}
.price-card {
  background: #1a1a1a;
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 3px solid transparent;
}
.price-card.featured {
  background: #202020;
}

.price-badge {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 900;
}
.price-badge.early  { color: var(--yellow); }
.price-badge.normal { color: var(--yellow); }
.price-badge.late   { color: rgba(255,255,255,0.5); }

.price-amount {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
}
.price-deadline {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 8px;
}
.price-list li { font-size: 0.85rem; font-weight: 700; }
.price-list li.yes { color: rgba(255,255,255,0.8); }
.price-list li.no  { color: rgba(255,255,255,0.3); }

/* ─── KONTAKT ─── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 900px;
}
.contact-info p {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.contact-item a:hover { color: var(--yellow); }
.contact-icon { font-size: 1.2rem; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form input,
.contact-form textarea {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0;
  padding: 14px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--yellow); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.contact-form button { align-self: flex-start; }
.form-note { font-size: 0.8rem; color: var(--yellow); min-height: 1em; }

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  border-top: 2px solid rgba(237,225,21,0.2);
  padding: 48px 5vw 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-logo span { color: var(--yellow); }
.footer-sub {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.2); }

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .btn-ig-nav { display: none !important; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .hero-content { padding: 120px 5vw 60px; }
  .dashed-box { display: none; }
  .s1, .s2, .s3 { width: 80px; }

  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }

  .hero-cta { flex-direction: column; }
  .hero-cta a { text-align: center; }
}

@media (max-width: 500px) {
  .tracks-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}
