﻿/* ============================================
   CHERRY LOVE SHOW — Main Stylesheet
   ============================================ */

:root {
  --red:    #cf0234;
  --black:  #1A1A1A;
  --white:  #ffffff;
  --gray:   #f0f0f0;
  --gray-2: #b5b3b3;
  --off-white: #f5f4f2;

  --font-display: 'Limelight', cursive;
  --font-body:    'Josefin Sans', sans-serif;

  --transition: 0.25s ease;
  --max-width: 1040px;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
ul  { list-style: none; }
a   { text-decoration: none; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px clamp(20px, 2.5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(207, 2, 52, 0.25);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  letter-spacing: 3px;
}

.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  gap: clamp(12px, 1.875vw, 36px);
  align-items: center;
  flex-wrap: nowrap;
}

/* FIX: usunięte !important — lepsza specyficzność zamiast override */
.nav-links a {
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 700;
  color: var(--gray-2);
  letter-spacing: clamp(1px, 0.104vw, 2px);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--white); }

.nav-links .nav-cta {
  background: var(--red);
  color: var(--white);
  padding: clamp(7px, 0.47vw, 9px) clamp(10px, 1.15vw, 22px);
  border-radius: 2px;
  transition: background var(--transition);
}

.nav-links .nav-cta:hover {
  background: #a5021e;
  color: var(--white);
}

/* ============ HERO — motyw jasny ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 110px 24px 72px;
  background: var(--off-white) url('../images/hero-banner-old.png') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* FIX: narożniki art-deco — opacity 0.2 → 0.4 żeby były widoczne */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border-color: rgba(207, 2, 52, 0.4);
  border-style: solid;
  pointer-events: none;
}

.hero::before {
  top: 72px; left: 40px;
  border-width: 2px 0 0 2px;
}

.hero::after {
  bottom: 40px; right: 40px;
  border-width: 0 2px 2px 0;
}

.hero-inner {
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 200px;
  max-width: 45vw;
  margin-bottom: 40px;
}

.hero-deco {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.hero-deco::before,
.hero-deco::after {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--red);
  opacity: 0.5;
}

/* FIX: font-size 10px → 12px dla czytelności */
.kicker {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
}

/* FIX: kolor biały → czarny (jasne tło), letter-spacing 5px → 3px */
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 86px);
  letter-spacing: 3px;
  color: var(--black);
  margin-bottom: 32px;
  line-height: 1.1;
}

/* FIX: kolor szary → ciemny szary czytelny na jasnym tle */
.hero-tagline {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 300;
  color: #555;
  max-width: 700px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero-tagline strong {
  color: var(--black);
  font-weight: 600;
}

/* FIX: usunięte opacity: 0.6 — stała wartość #888 zamiast półprzezroczystego szarego */
.hero-meta {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #6e6e6e;
  margin-bottom: 56px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: transparent;
  color: var(--red);
}

/* FIX: btn-secondary dostosowany do jasnego tła — ciemna obwódka zamiast białej */
.btn-secondary {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-dark:hover {
  background: transparent;
  color: var(--black);
}

.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* ============ LAYOUT ============ */
.section {
  padding: 96px 24px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section--gray  { background: var(--gray); }
.section--dark  { background: var(--black); color: var(--white); }

/* ============ SECTION HEADER ============ */

/* FIX: 10px → 12px minimum dla czytelności */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-deco {
  width: 36px;
  height: 2px;
  background: var(--red);
  margin-bottom: 48px;
}

/* ============ STEPS ============ */
/*
  FIX: zamiast border-right na każdym kroku (problem z podwójnymi borders i skomplikowaną
  logiką responywną) — technika gap-as-border: tło rodzica prześwituje przez przerwy siatki.
  Proste, skalowalne, zero problemów z breakpointami.
*/
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--black);
  border: 2px solid var(--black);
}

.step {
  padding: 36px 28px 40px;
  background: var(--white);

  /* FIX: usunięty hover — false affordance (krok nie jest klikalny) */
}

/* FIX: color #f0f0f0 na białym tle = kontrast 1.07:1 = niewidoczny.
   Zmiana na #d8d8d8 (kontrast ~1.6:1) — widoczny jako dekoracja, ale nieagresywny */
.step-num {
  font-family: var(--font-display);
  font-size: 52px;
  color: #d8d8d8;
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 12px;
}

.step p {
  font-size: 14px;
  font-weight: 300;
  color: #666;
  line-height: 1.65;
}

/* ============ TICKET CARDS ============ */
/*
  FIX: zamiast jednego kontenera z border i gap: 0 — osobne karty z naturalną wysokością.
  Eliminuje problem dużej pustej przestrzeni w AUDIENCE wymuszonej przez grid stretch.
  align-items: start = każda karta ma swoją naturalną wysokość.
*/
.ticket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.ticket-card {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--black);
}

.ticket-card--active {
  background: var(--black);
  color: var(--white);
}

.ticket-card--audience {
  background: var(--white);
  color: var(--black);
}

/* FIX: 10px → 12px */
.ticket-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.ticket-title {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.ticket-card--active  .ticket-title { color: var(--white); }
.ticket-card--audience .ticket-title { color: var(--black); }

.ticket-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 28px;
}

.ticket-list {
  margin-bottom: 28px;
}

.ticket-list li {
  font-size: 14px;
  font-weight: 400;
  padding: 10px 0 10px 22px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ticket-card--audience .ticket-list li {
  border-bottom-color: rgba(26,26,26,0.08);
}

.ticket-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.ticket-note {
  font-size: 12px;
  font-weight: 300;
  opacity: 0.5;
  line-height: 1.6;
  margin-bottom: 28px;
}

.ticket-card .btn { align-self: flex-start; }

/* ============ CATEGORIES ============ */
/*
  FIX: ta sama technika co steps — gap-as-border.
  Eliminuje podwójne borders na kartach skrajnych.
*/
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-2);
  border: 1px solid var(--gray-2);
}

.category-card {
  padding: 32px 28px;
  background: var(--white);
  transition: background var(--transition);
}

.category-card:hover { background: var(--black); }
.category-card:hover h3 { color: var(--white); }
.category-card:hover p  { color: var(--red); }

.category-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 6px;
  transition: color var(--transition);
}

.category-card p {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-2);
  transition: color var(--transition);
}

/* ============ MANIFESTO ============ */
.manifesto {
  padding: 120px 24px;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.manifesto .container { max-width: 800px; }

/* FIX: 10px → 12px */
.manifesto-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 32px;
}

.manifesto-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 52px);
  letter-spacing: 2px;
  line-height: 1.15;
  margin-bottom: 28px;
}

.manifesto-text {
  font-size: 20px;
  font-weight: 300;
  color: var(--gray-2);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 48px;
}

.manifesto-deco {
  width: 36px;
  height: 1px;
  background: var(--red);
  margin: 0 auto 32px;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--red);
}

/* ============ SAFETY ============ */
.safety-list { max-width: 660px; }

.safety-list li {
  font-size: 16px;
  font-weight: 300;
  padding: 16px 0 16px 28px;
  border-bottom: 1px solid var(--gray);
  position: relative;
  line-height: 1.55;
}

.safety-list li:first-child { border-top: 1px solid var(--gray); }

.safety-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ============ FAQ ============ */
.faq-list { max-width: 720px; }

.faq-highlight summary {
  color: var(--red);
  text-shadow: 0 0 12px rgba(207,2,52,0.5), 0 0 28px rgba(207,2,52,0.25);
}

.faq-highlight summary::after {
  color: var(--red);
  text-shadow: 0 0 10px rgba(207,2,52,0.6);
}

/* FIX: #e0e0e0 na #f0f0f0 tle = kontrast ~1.1:1 = niewidoczne linie.
   Zmiana na #c0c0c0 = kontrast ~1.6:1 = wyraźnie widoczne separatory */
details { border-top: 1px solid #c0c0c0; }
details:last-child { border-bottom: 1px solid #c0c0c0; }

summary {
  font-size: 17px;
  font-weight: 600;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black);
  transition: color var(--transition);
  user-select: none;
}

summary::-webkit-details-marker { display: none; }
summary::marker { display: none; }

summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--red);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 20px;
  font-family: var(--font-body);
}

details[open] summary::after { transform: rotate(45deg); }
details[open] summary { color: var(--red); }

details p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  padding-bottom: 24px;
  color: #555;
}

/* ============ TICKETS SECTION ============ */
.tickets-section {
  padding: 96px 24px;
  background: var(--red);
  color: var(--white);
  text-align: center;
}

/* FIX: 10px → 12px */
.tickets-event-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  margin-bottom: 16px;
}

.tickets-date {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 12px;
}

.tickets-venue {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tickets-time {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 48px;
}

.tickets-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tickets-note {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============ FOOTER ============ */
footer {
  padding: 52px 24px;
  background: var(--black);
  color: var(--gray-2);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 8px;
}

/* FIX: 10px → 12px */
.footer-tagline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
}

.footer-legal {
  font-size: 12px;
  font-weight: 300;
  color: #8a8888;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  /* FIX: gap-as-border upraszcza responsywność — zero :nth-child border override */
  .steps { grid-template-columns: 1fr 1fr; }
  .categories { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
.nav { padding: 18px 24px; }
  .nav-links { display: none; }

  .section { padding: 72px 20px; }
  .manifesto { padding: 80px 20px; }
  .tickets-section { padding: 72px 20px; }

  .ticket-grid { grid-template-columns: 1fr; }
  .ticket-card { padding: 40px 32px; }

  .section-title { font-size: 34px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }

  .categories { grid-template-columns: 1fr 1fr; }

  .hero-btns,
  .tickets-btns {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* ============ EVENTS / NADCHODZĄCE EDYCJE ============ */
.events-list {
  max-width: 720px;
}

.event-item {
  border-top: 1px solid #c0c0c0;
}

.event-item:last-child {
  border-bottom: 1px solid #c0c0c0;
}

.event-summary {
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: color var(--transition);
}

.event-summary::-webkit-details-marker { display: none; }
.event-summary::marker { display: none; }
.event-summary::after { content: none; }

.event-summary-left {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex: 1;
}

.event-date {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--black);
  white-space: nowrap;
  transition: color var(--transition);
}

.event-item[open] .event-date { color: var(--red); }

.event-city-age {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event-city {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
}

.event-age {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
}

.event-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.event-badge--available {
  background: rgba(207, 2, 52, 0.08);
  color: var(--red);
  border: 1px solid rgba(207, 2, 52, 0.3);
}

.event-badge--soon {
  background: var(--gray);
  color: var(--gray-2);
  border: 1px solid #d8d8d8;
}

.event-detail {
  padding: 0 0 28px 0;
}

.event-venue {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.event-time {
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1.55;
}

.event-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.events-empty {
  font-size: 14px;
  font-weight: 300;
  color: #888;
  padding: 24px 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  /* FIX: gap-as-border upraszcza responsywność — zero :nth-child border override */
  .steps { grid-template-columns: 1fr 1fr; }
  .categories { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 18px 24px; }
  .nav-links { display: none; }

  .section { padding: 72px 20px; }
  .manifesto { padding: 80px 20px; }
  .tickets-section { padding: 72px 20px; }

  .ticket-grid { grid-template-columns: 1fr; }
  .ticket-card { padding: 40px 32px; }

  .section-title { font-size: 34px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }

  .categories { grid-template-columns: 1fr 1fr; }

  .hero-btns,
  .tickets-btns {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}


/* ============ FLOATING BUTTON ============ */
.floating-btn-wrapper {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.floating-btn {
  display: block;
  width: 72px;
  height: 72px;
  transition: transform 0.25s ease;
}

.floating-btn:hover {
  transform: scale(1.1) rotate(-8deg);
}

.floating-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floating-bubble {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 16px;
  border-radius: 20px 20px 20px 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border: 1.5px solid rgba(207, 2, 52, 0.2);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.floating-btn-wrapper:hover .floating-bubble {
  opacity: 1;
  transform: translateY(0);
}
