/* =====================
   Czcionki lokalne
===================== */

@font-face {
  font-family: 'TT Drugs';
  src: url('../fonts/TT%20Drugs%20Trial%20Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =====================
   Globalne ustawienia
===================== */

body {
  margin: 0;
  padding: 0;
  font-family: 'TT Drugs', sans-serif;
  background-color: #fff;
  color: #333;
}

* {
  box-sizing: border-box;
}

/* =====================
   Sekcja Hero
===================== */

.hero-section {
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-date {
  color: #fff;
  font-family: 'TT Drugs', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 4px;
  margin: 0 0 12px 0;
  text-transform: uppercase;
}

.hero-names {
  font-family: 'TT Drugs', sans-serif;
  font-size: 4.5rem;
  color: #fff;
  margin: 0 0 12px 0;
  font-weight: 400;
  letter-spacing: 4px;
}

.hero-title {
  font-family: 'Parisienne', cursive;
  font-size: 2.4rem;
  color: #fff;
  margin: 0;
}

/* =====================
   Sekcja Countdown
===================== */

.countdown-section {
  background-color: #ede8d5;
  padding: 48px;
}

.countdown-inner {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  background-size: cover;
  background-position: center top;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.countdown-content {
  position: absolute;
  bottom: 52px;
  left: 64px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.countdown-title {
  font-family: 'Parisienne', cursive;
  font-size: 2.2rem;
  color: #fff;
  margin: 0;
  line-height: 1;
}

.countdown-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
}

.countdown-days-multi {
  display: flex;
  gap: 14px;
}

.countdown-days-multi .digit-box {
  width: 138px;
  height: 158px;
  background-color: #f0ead8;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* linia podziału w środku kafelka */
.countdown-days-multi .digit-box::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.countdown-days-multi .digit-box span {
  font-family: 'TT Drugs', sans-serif;
  font-size: 5.8rem;
  color: #2a2f50;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.digit-label {
  font-family: 'TT Drugs', sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 5px;
  align-self: center;
}

/* =====================
   Sekcja Historia – TOP
===================== */

.history-section {
  background-color: #8c6d45;
  color: #f3f1e9;
  padding: 100px 40px;
}

.history-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.history-text-block {
  flex: 1 1 50%;
  max-width: 600px;
}

.history-heading {
  font-family: 'TT Drugs', sans-serif;
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 40px 0;
  color: #fffdf2;
  letter-spacing: 2px;
}

.history-paragraph {
  font-family: 'TT Drugs', sans-serif;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #f3f1e9;
}

.history-image-block {
  flex: 1 1 45%;
  max-width: 600px;
}

.history-image-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* =====================
   Dolna część (ON / ONA)
===================== */

.history-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 80px;
  margin-top: 100px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.history-left-person,
.history-right-person {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #f3f1e9;
}

.history-left-person img,
.history-right-person img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.history-right-person img {
  order: 2;
  margin-top: 30px;
}

.history-person-name {
  font-family: 'TT Drugs', sans-serif;
  font-size: 2.8rem;
  font-weight: 400;
  margin: 30px 0 20px 0;
  color: #fffdf2;
  letter-spacing: 2px;
}

.history-person-description {
  font-family: 'TT Drugs', sans-serif;
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 500px;
  color: #f3f1e9;
}

/* =====================
   Sekcja Travel
===================== */

.travel-section {
  background-color: #eee6d2;
  padding: 100px 40px;
}

.travel-wrapper {
  max-width: 1300px;
  margin: 0 auto;
}

.travel-heading {
  font-family: 'TT Drugs', sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: #8c6d45;
  margin-bottom: 60px;
  text-align: left;
  letter-spacing: 2px;
}

.travel-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.travel-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Rząd 1: małe (2 kolumny) + szerokie (4 kolumny) */
.travel-gallery img:nth-child(1) { grid-column: 1 / 3; }
.travel-gallery img:nth-child(2) { grid-column: 3 / 7; }

/* Rząd 2: trzy równe */
.travel-gallery img:nth-child(3) { grid-column: 1 / 3; }
.travel-gallery img:nth-child(4) { grid-column: 3 / 5; }
.travel-gallery img:nth-child(5) { grid-column: 5 / 7; }

/* =====================
   Sekcja Prośba
===================== */

.request-section {
  background-color: #8c6d45;
  padding: 70px 80px;
}

.request-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.request-text {
  flex: 1;
}

.request-heading {
  font-family: 'TT Drugs', sans-serif;
  font-size: 5.5rem;
  font-weight: 400;
  color: #fffdf2;
  line-height: 1;
  margin: 0 0 28px 0;
  letter-spacing: 3px;
}

.request-paragraph {
  font-family: 'TT Drugs', sans-serif;
  font-size: 1.1rem;
  color: #fffdf2;
  line-height: 1.75;
  margin: 0;
}

.request-image {
  flex: 0 0 52%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.request-image img {
  width: 100%;
  height: auto;
  max-width: 620px;
  display: block;
}

/* =====================
   Sekcja Ważne Informacje
===================== */

.info-section {
  background-color: #ede8d5;
  padding: 100px 80px;
}

.info-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.info-left {
  flex: 0 0 42%;
}

.info-heading {
  font-family: 'TT Drugs', sans-serif;
  font-size: 6rem;
  font-weight: 400;
  color: #8c6d45;
  line-height: 1.0;
  margin: 0 0 40px 0;
  letter-spacing: 3px;
}

.info-illustration {
  width: 75%;
  height: auto;
  display: block;
}

.info-right {
  flex: 1;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.info-block-title {
  font-family: 'Parisienne', cursive;
  font-size: 2.4rem;
  color: #8c6d45;
  margin: 0 0 18px 0;
}

.info-block-text {
  font-family: 'TT Drugs', sans-serif;
  font-size: 1.1rem;
  color: #6b5133;
  line-height: 1.9;
  margin: 0;
}

/* =====================
   Responsywność
===================== */

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

  .hero-title {
    font-size: 1.6rem;
  }

  .countdown-section {
    padding: 24px;
  }

  .countdown-inner {
    aspect-ratio: unset;
    min-height: 400px;
  }

  .countdown-content {
    bottom: 30px;
    left: 24px;
  }

  .countdown-days-multi .digit-box {
    width: 90px;
    height: 105px;
  }

  .countdown-days-multi .digit-box span {
    font-size: 3.8rem;
  }

  .countdown-title {
    font-size: 1.5rem;
  }

  .history-wrapper,
  .history-bottom {
    flex-direction: column;
    align-items: center;
  }

  .history-text-block,
  .history-image-block,
  .history-left-person,
  .history-right-person {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .history-heading {
    font-size: 3rem;
    text-align: center;
  }

  .history-paragraph,
  .history-person-description {
    font-size: 1rem;
    text-align: center;
  }

  .history-person-name {
    font-size: 2rem;
  }

  .info-section {
    padding: 60px 24px;
  }

  .info-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .info-left {
    flex: unset;
    width: 100%;
  }

  .info-heading {
    font-size: 4rem;
  }

  .info-illustration {
    width: 55%;
  }
}
