* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  color: white;
  background: url('images/background.jpeg') no-repeat center center fixed;
  background-size: cover;
}
.logo {
  height: 60px;
  width: auto;
}
/* === NAGŁÓWEK === */
header {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 1rem 2rem;
  background-color: rgba(0, 0, 0, 0.65);
}

.nav {
  display: flex;
  gap: 2rem;
  margin-left: 2rem;
}
.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
.nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #00ffd5;
  transition: 0.3s;
  position: absolute;
  bottom: -4px;
  left: 0;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}


.hero {
  max-width: 900px;
  background-color: rgba(0, 0, 0, 0.7);
  margin: 7% auto;
  padding: 4rem;
  border-radius: 16px;
  text-align: left;
}
.hero .label {
  color: #00ffd5;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #e0e0e0;
}
.hero a {
  background: #00ffd5;
  color: #000;
  text-decoration: none;
  padding: 0.9rem 2rem;
  font-weight: bold;
  border-radius: 6px;
  font-size: 1rem;
}

.menu-icon {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

nav a {
  color: #fff; /* biały kolor pasujący do ciemnego tła */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  margin-right: 20px;
  
}

nav a:hover {
  color: #00f5cc; /* kolor po najechaniu */
}

nav a:visited {
  color: #fff; /* aby uniknąć domyślnego fioletowego */
}


nav a.active {
  color: #00f5cc;
  font-weight: 600;
}
.hero-slider-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 5%;
  gap: 40px;
  flex-wrap: wrap;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 16px;
  margin-top: 100px;
  margin-left: 60px;
  margin-right: 60px;
}

.hero-left {
  flex: 1;
  min-width: 280px;
  max-width: 800px;
}

.hero-left .label {
  color: #00ffd5;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-left h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-left p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #ddd;
}

.hero-left a {
  background-color: #00ffd5;
  color: #000;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
}

.hero-slider {
  flex: 1;
  min-width: 280px;
  max-width: 800px;
  height: 440px;
  position: relative;
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #00ffd5;
  border: none;
  font-size: 1.8rem;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 2;
}

.slider-button.prev {
  left: 10px;
}

.slider-button.next {
  right: 10px;
}

.slider-nav {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #aaa;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-dot.active {
  background: #00ffd5;
}













@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .menu-icon {
    display: block;
    position: absolute;
    top: 30px;
    right: 30px;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  nav a {
    margin-bottom: 10px;
  }

  #menu-toggle:checked + .menu-icon + nav {
    display: flex;
  }

  .hero-slider-container{
    max-width: 375px;
  }

  .hero-left h1{
    font-size: 36px;
  }

  .hero-left p{
    font-size: 14px;
    max-width: 250px;
  }

  .hero-left a{
    display: block;
    text-align: center;
  }
}



@media (max-width: 600px) {

  .hero-slider-container{
    max-width: 380px;
    margin-left: 25px;
    margin-right: 25px;
  }

  .hero-left h1{
    font-size: 26px;
  }

  .hero-left p{
    font-size: 15px;
    max-width: none;
  }

  .hero-slider{
    min-width: 260px;
  }
}

