* { 
    box-sizing: border-box;
    scroll-behavior: smooth !important;
}

body {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: "Paytone One", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
}

h4 {
  font-size: 24px;
  color: #FFC779;
  line-height: 180%;
}

p, a {
  font-family: "Readex Pro", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "HEXP" 0;
  text-decoration: none;
}

p {
  font-size: 24px;
  line-height: 180%;
  margin: 0;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 40px;
  padding-bottom: 218px;
  color: white;
  overflow: hidden;
}

.overlay {
  background-image: url('img/hero.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

/* Navigace */
.navbar {
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

.logo {
  width: 118px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #FFC779;
}

/* Obsah uprostřed */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: auto;
  padding-top: 140px;
}

.hero-content h1 {
  font-size: 80px;
  line-height: 112%;
  max-width: 648px;
  margin: 0 auto;
}

.hero-content .highlight {
  color: #FFC779; /* oranžový text */
}

.hero-content p {
  font-size: 24px;
  margin-top: 24px;
  margin-left: auto;
  margin-right: auto;
  max-width: 840px;
}

.btn {
  display: inline-block;
  margin-top: 40px;
  padding: 20px 48px;
  background-color: transparent;
  color: white;
  border: 2px solid #E5595B;
  border-radius: 32px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn:hover {
  border-color: #FFC779;
}

.features {
  background-color: #fff5ec;
  background-image: url('img/bg1.png'); /* pozadí */
  background-repeat: no-repeat;
  background-size: cover;
  padding: 180px 0;
  text-align: center;
  color: #333;
}

.features h2 {
  color: #a62626;
  margin-bottom: 20px;
  font-size: 64px;

}

.features .intro {
  max-width: 800px;
  margin: 0 auto 50px;
  color: #353535;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.cards {
  display: flex;
  justify-content: space-between;
}

.card {
  border-radius: 16px;
  text-align: center;
  width: 100%;
}

.card img {
  max-width: 420px;
  width: 100%;
  border-radius: 16px;
}

.card:nth-child(1),
.card:nth-child(2) {
  margin-right: 20px;
}

.card h3 {
  font-size: 32px;
  color: #AE4343;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
  color: #444;
}

.cenik {
  background-color: #AE4343;
  color: #FFC779;
  text-align: center;
  padding: 180px 0;
}

.cenik .wrap {
  max-width: 1300px;
  display: flex;
  margin-top: 80px;
}

.cenik h2 {
  font-size: 64px;
}

.cenik img {
  width: calc(50% - 10px);
  max-width: 640px;
}

.cenik img:first-child {
  margin-right: 20px;
}

.drezina {
  background-color: #fff5ec;
  background-image: url('img/bg2.png'); /* pozadí */
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 180px 0;
  color: #353535;
}

.drezina h2 {
  color: #AE4343;
  font-size: 64px;
}

.drezina p {
  font-size: 24px;
  max-width: 850px;
  margin: 0 auto;
  margin-top: 24px
}

.drezina .rezervace {
  font-weight: 500;
  margin-top: 40px;
}

.drezina .drezina-img {
  margin-top: 80px;
  max-width: 100%;
  border-radius: 16px;
}

footer {
  padding: 64px 0;
  background-color: #AE4343;
}

.contact-wrap {
  display: flex;
  justify-content: space-between;
}

.soc {
  margin-top: 56px;
  display: flex;
}

.soc a:first-child {
  margin-right: 16px;
}

.soc a:hover path {
  fill: #FFC779;
  transition: 0.3s;
}

footer h4 {
  margin: 0;
}

footer a {
  display: block;
  color: #ffffff;
  font-size: 24px;
  line-height: 180%;
}

footer span {
  display: block;
}

footer p {
  color: #ffffff;
  margin: 64px 0 0 0;
}

@media (max-width: 1400px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 950px) {
  
  h2 {
    font-size: 40px !important;
  }

  h3 {
    font-size: 24px !important;
  }

  p {
    line-height: 164%;
  }

  .hero {
    padding-bottom: 80px;
  }

  .features, .cenik, .drezina {
    padding: 80px 0;
  }

  .nav-links {
    display: none;
  }

  .logo {
    width: 64px;
  }

  .overlay {
    background-image: none;
    background-color: rgba(0, 120, 77, 0.77);
  }

  .hero-content {
    padding: 80px 24px 0 24px;
  }
  
  .hero-content h1 {
    font-size: 56px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .intro {
    font-size: 18px;
  }

  .cards {
    flex-wrap: wrap;
  }

  .card h3 {
    margin: 16px 0 8px 0;
  }

  .card:nth-child(1),
  .card:nth-child(2) {
    margin-right: 0;
    margin-bottom: 32px;
  }

  .cenik .wrap {
    display: block;
  }

  .cenik img {
    width: 100%;
  }

  .cenik img:first-child {
    margin-right: 0;
    margin-bottom: 32px;
  }

  .contact-wrap {
    flex-wrap: wrap;
  }

  .contact-wrap > div:nth-child(1),
  .contact-wrap > div:nth-child(2) {
    margin-bottom: 32px;
  }

  footer p {
    font-size: 14px;
  }

  footer a {
    font-size: 16px;
  }

  .soc {
    margin-top: 24px;
  }
}
