/* =========================================
   STYLE.CSS – Soundwave Festival
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Kolory */
  --color-navy: #101828;
  --color-teal: #0092B8;
  --color-teal-dark: #00778F;
  --color-orange: #F54900;
  --color-bg: #F9FAFB;
  --color-white: #FFFFFF;
  --color-gray: #667085;
  --color-gray-light: #98A2B3;
  --color-border: #E4E7EC;

  /* Typografia */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Odstępy */
  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-navy);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -1px;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-gray);
  font-size: 18px;
}

/* =========================================
   PRZYCISKI
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  font-family: var(--font-body);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--color-teal);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(0, 146, 184, 0.28);
}

.btn-primary:hover {
  background-color: var(--color-teal-dark);
}

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

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

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
}

.btn-dark:hover {
  background-color: #000;
}

.btn-teal-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
}

.btn-teal-sm:hover {
  background-color: var(--color-teal-dark);
}

/* =========================================
   HERO
   ========================================= */

.hero {
  padding: 80px 0 48px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1.5px solid var(--color-teal);
  color: var(--color-teal);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 104px;
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--color-navy);
}

.hero-date {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 1px;
  margin: 16px 0 28px;
  color: var(--color-navy);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--color-gray);
  font-size: 16px;
  margin-bottom: 40px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-teal);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-scroll {
  display: flex;
  justify-content: center;
  color: var(--color-gray-light);
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 28px;
  height: 28px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* =========================================
   LINEUP
   ========================================= */

.lineup {
  background-color: var(--color-white);
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.artist-card {
  text-align: left;
}

.artist-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  background-color: var(--color-border);
}

.artist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.artist-card:hover .artist-photo img {
  transform: scale(1.06);
}

.day-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--color-white);
  color: var(--color-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.artist-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.artist-card .genre {
  color: var(--color-orange);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* =========================================
   HARMONOGRAM
   ========================================= */

.schedule {
  background-color: var(--color-bg);
}

/* Ukryte radio-buttony sterujące zakładkami (bez JS) */
.tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.day-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.day-tab {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: 2px solid var(--color-border);
  background-color: var(--color-white);
  color: var(--color-navy);
  cursor: pointer;
  transition: all 0.15s ease;
}

.day-tab:hover {
  border-color: var(--color-teal);
}

/* Panel danego dnia jest ukryty, dopóki jego radio nie jest zaznaczone */
.tab-panel {
  display: none;
}

#tab-piatek:checked ~ #panel-piatek,
#tab-sobota:checked ~ #panel-sobota,
#tab-niedziela:checked ~ #panel-niedziela {
  display: block;
}

/* Podświetlenie aktywnej zakładki */
#tab-piatek:checked ~ .day-tabs label[for="tab-piatek"],
#tab-sobota:checked ~ .day-tabs label[for="tab-sobota"],
#tab-niedziela:checked ~ .day-tabs label[for="tab-niedziela"] {
  background-color: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--color-white);
}

.schedule-table-wrap {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(16, 24, 40, 0.06);
}

.schedule-table {
  width: 100%;
}

.schedule-table thead {
  background-color: var(--color-teal);
}

.schedule-table th {
  text-align: left;
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 18px 28px;
}

.schedule-table td {
  padding: 20px 28px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}

.schedule-table tbody tr:last-child td {
  border-bottom: none;
}

.schedule-table .time {
  color: var(--color-gray);
  font-weight: 500;
  white-space: nowrap;
}

.schedule-table .artist {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.2px;
}

.schedule-table .genre {
  color: var(--color-orange);
  font-weight: 600;
}

.schedule-table .scene {
  color: var(--color-gray);
}

/* Mobilne karty harmonogramu (ukryte na desktopie) */
.schedule-cards {
  display: none;
}

/* =========================================
   LOKALIZACJA
   ========================================= */

.location-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.location h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -1px;
  margin-bottom: 28px;
}

.location-info {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.location-info svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-info h3 {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 4px;
}

.location-info p {
  color: var(--color-gray);
  font-size: 15px;
  line-height: 1.6;
}

.location-map {
  margin-top: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
  height: 260px;
  border: 1px solid var(--color-border);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ticket-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(16, 24, 40, 0.06);
}

.ticket-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
}

.ticket-row:first-of-type {
  border-top: none;
}

.ticket-row .ticket-label {
  color: var(--color-gray);
  font-size: 13px;
  margin-bottom: 4px;
}

.ticket-row .ticket-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
}

.ticket-note {
  text-align: center;
  color: var(--color-gray-light);
  font-size: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

/* =========================================
   PARTNERZY
   ========================================= */

.partners-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: partners-scroll 26s linear infinite;
}

.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partner-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  flex-shrink: 0;
}

.partner-badge img {
  height: 100%;
  width: auto;
}

/* =========================================
   FAQ
   ========================================= */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
}

/* Usunięcie domyślnej strzałki przeglądarki przy <summary> */
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-navy);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-question svg {
  transform: rotate(180deg);
  stroke: var(--color-teal);
}

.faq-answer {
  padding-bottom: 24px;
  padding-right: 36px;
}

.faq-answer p {
  color: var(--color-gray);
  font-size: 15px;
  line-height: 1.7;
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 80px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #98A2B3;
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #98A2B3;
  margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
  display: block;
  color: #D0D5DD;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--color-teal);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #344054;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  background-color: var(--color-teal);
  border-color: var(--color-teal);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.footer-bottom {
  border-top: 1px solid #1D2939;
  padding-top: 24px;
  text-align: center;
  color: #667085;
  font-size: 13px;
}

/* =========================================
   PREFERS-REDUCED-MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
