

section#odsz01 {
  background:
    radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%),
    linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.2)),
    var(--bg);
  
  color: var(--main-color-1);
  min-height: 516px;


  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  background-size: cover;
  background-position: 50% 35%;
}



section#odsz01 div {
  margin: 150px auto auto auto;
}





/* LISTA */
.carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0px auto 40px auto;
  overflow: hidden;
}

.carousel {
  display: flex;
  gap: 20px;
  padding: 40px 0;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
}

@media (min-width: 1000px) {
.carousel::after {
  content: "";
  flex: 0 0 clamp(220px, 60vw, 320px);
}
}

.carousel::-webkit-scrollbar {
  display: none;
}

/* 🔥 RWD card */
.card {
  flex: 0 0 clamp(220px, 60vw, 320px);
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.4s ease;
  opacity: 0.4;
  transform: scale(0.85);
  color:#fff;
}

.desc-box h3{
 margin-bottom:0px!important;
}
.desc-box .text{
  text-align: left;
}
.desc-box .text h1{color:#d21f3f;}
.card h4{color:#d21f3f;}
.card h5{font-weight: bold}

.card.active {
  opacity: 1;
  transform: scale(1);
}


.img-frame2 {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.card .img-frame2 img {
  width: 100%;
  border-radius: 16px;
  
  transition: transform 0.4s ease;
  border-radius: 2px;
  z-index:2;
  display: block;
  position: relative;
}

.img-frame2::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  background: #d21f3f;
  border-radius: 2px;
  z-index: 1;
}



.card:hover img {
  transform: scale(1.05);
}

/* strzałki */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
}

.arrow.left { left: 0; }
.arrow.right { right: 0; }

/* DESC RWD */
#desc {
  max-width: 1000px;
  margin: 0 auto 40px;
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.img-frame {
  position: relative;
  display: inline-block;
}

.img-frame img {
  width: 100%;
  max-width: 400px;
  border-radius: 2px;
  display: block;
  position: relative;
  z-index: 2;
}

.img-frame::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  background: #d21f3f;
  border-radius: 2px;
  z-index: 1;
}



#desc .text {
  flex: 1;
  min-width: 250px;
}


.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 2px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
}