/* Reset i zmienne - Używamy palety bazującej na dresigie Peak Legal: Czerń, Błękity, Biel, Złoty/Żółty jako akcent */
:root {
  --bg-dark: #111111;
  --bg-black: #000000;
  --bg-card: #1a1a1a;
  --accent-color: #1e40af;
  --accent-color-hover: #1e3a8a;
  --text-main: #ffffff;
  --text-muted: #afafaf;
  --border-color: #333333;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-black);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Wygodne klocki layoutu */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 15px auto 40px;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

/* Typografia i elementy */
a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #ffffff;
}

.btn-primary:hover {
  background-color: #e5e5e5;
  border-color: #e5e5e5;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.highlight {
  color: var(--accent-color);
}

/* Top Bar Countdown */
.top-bar {
  background-color: #ffeebd;
  color: var(--bg-black);
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-text {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.countdown {
  display: flex;
  gap: 8px;
}

.time-box {
  background-color: var(--bg-black);
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 55px;
  justify-content: center;
}

.time-box small {
  font-size: 0.65rem;
  font-weight: 600;
  color: #FFCD41;
  text-transform: uppercase;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 800;
  font-size: 1.2rem;
}

.logo img {
  max-height: 40px;
  filter: brightness(0) invert(1);
}

.logo-placeholder {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 10px;
  border: 1px dashed var(--border-color);
  border-radius: 4px;
}

.logo-separator {
  color: var(--text-muted);
  font-weight: 300;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a:not(.btn) {
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--accent-color);
}

/* Hero */
.hero {
  padding: 200px 0 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    /* TUTAJ ZMIENIASZ OPACITY (im wyższa liczba np. 0.95, tym tło jest słabiej widoczne/ciemniejsze): */
    radial-gradient(circle at 80% 50%, rgba(30, 64, 175, 0.15) 0%, rgba(17, 17, 17, 0.83) 0%),
    /* TUTAJ ZMIENIASZ POZYCJĘ (zmieniłem na "center top", co przypina górę obrazka. Jak chcesz ściągnąć go do samego dołu wpisz "center bottom"): */
    url('items/background.png') center top/cover no-repeat,
    var(--bg-black);
}

.hero-content {
  max-width: 850px;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 30px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-tags {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tag {
  background-color: var(--bg-card);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
}

.cta-main {
  font-size: 1.1rem;
  padding: 18px 45px;
}

/* Gridy uniwersalne */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Karty i boxy */
.card {
  background-color: var(--bg-black);
  padding: 40px 30px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.card p {
  color: var(--text-muted);
  font-size: 1rem;
}

.card-alt {
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
}

.card-alt h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card-alt p {
  color: var(--text-muted);
}

/* Zespół / Prowadzący */
.instructors-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.instructor-card {
  width: 350px;
  text-align: center;
}

.instructor-image-placeholder {
  width: 150px;
  height: 150px;
  background-color: var(--bg-card);
  border: 2px dashed var(--border-color);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  overflow: hidden;
}

.instructor-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.instructor-card p {
  color: var(--text-muted);
}

/* Pakiety & Cennik */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured {
  border-color: var(--accent-color);
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.05) 0%, var(--bg-card) 100%);
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-color);
  color: var(--bg-black);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  text-align: center;
}

.pricing-card .duration {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 0.9rem;
}

.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 30px;
  color: var(--accent-color);
}

.pricing-card .features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-card .features li {
  margin-bottom: 15px;
  color: var(--text-muted);
  position: relative;
  padding-left: 25px;
}

.pricing-card .features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Stopka */
.footer {
  background-color: var(--bg-card);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-info h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.footer-info p {
  color: var(--text-muted);
  max-width: 400px;
}

.footer-contact p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsywność */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }

  .grid-3,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .grid-3,
  .grid-2,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    /* simple mobile behavior - or you can add a hamburger menu if needed */
  }

  .hero {
    padding: 150px 0 80px;
  }
}