.seritex-main-text-1{
  margin-left: 0.5rem;
}
.seritex-main-text-2{
  margin-left: 1.5rem;
}
.seritex-main-text-3{
  margin-left: 2.5rem;
}
.custom-section {
  /*margin-top: -20px;*/
  position: relative;
  background-color: #111;
  color: white;
  overflow: hidden;
  min-height: 100vh;
}

.image-half {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('http://localhost/seritex/frontend/web/uploads/boss.jpg');
  background-size: cover;
  background-position: center;
  clip-path: polygon(0 100%, 0 0, 40% 0, 60% 100%);
  z-index: 1;
}

.content-half {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  z-index: 2;
  position: relative;
  background-color: transparent;
}

/* Packet Styles */
.packet-container {
  width: 100vw;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.packet-circle {
  font-size: clamp(15px, 3vw, 40px) !important;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: #111;
  color: white;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  z-index: 2;
}

.packet-bar {
  background-color: #e03e2d75;
  color: white;
  padding: 20px 40px;
  margin-left: -30px;
  flex-grow: 1;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0 10px 10px 0;
  z-index: 1;
}

.packet-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.packet-price {
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
}

/* Typography */
@font-face {
  font-family: 'Gotham';
  src: url('../../web/fonts/Gotham-Black.ttf') format('woff2');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../../web/fonts/Gotham-Book.otf') format('woff2');
  font-weight: 700;
  font-style: normal;
}

.font {
  font-family: 'Gotham', Arial, sans-serif !important;
  font-weight: 900;
  font-size: clamp(16px, 3vw, 26px);
}
.font-main {
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-weight: 900;
  font-size: clamp(23px, 3vw, 45px);
}
#frontPage .font-main {
  text-transform: uppercase;
  font-family: 'Ethnocentric_rg', Arial, sans-serif !important;
  font-weight: 500;
  font-size: clamp(20px, 3vw, 45px);
}

.font-main-car {
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(23px, 3vw, 37px);
}
.font-sub {
  text-transform: uppercase;
  font-family: 'Gotham', Arial, sans-serif !important;
  font-weight: 900;
  font-size: clamp(14px, 3vw, 22px);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {

  .custom-section{
    margin-top: 0px;
  }
  .seritex-main-text-1, .seritex-main-text-2, .seritex-main-text-3{
    margin-left: 0px;
  }

  .image-half {
    clip-path: none;
    height: 300px;
    position: static;
  }

  .content-half {
    padding: 0px;
    margin-top: 20px;
    /*padding: 2rem 1rem;*/
    min-height: auto;
  }

  .font-main {
    text-align: center;
  }

  .packet-container {
    /*flex-direction: column;*/
    align-items: stretch;
  }

  .packet-bar {
    margin-left: 0;
    margin-top: -10px;
    border-radius: 0 0 10px 10px;
    padding: 20px;
  }

  .packet-circle {
    margin-left: 10px;
    position: absolute;
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    align-self: center;
  }

  .packet-price {
    text-align: right;
  }
}
/* Przesunięcia pakietów */
.packet-container.offset-packet-2 {
  margin-left: 55px;
}

.packet-container.offset-packet-3 {
  margin-left: 135px;
}

@media (max-width: 767.98px) {
  /* Wyłącz przesunięcia na mobilkach */
  .packet-container.offset-packet-2,
  .packet-container.offset-packet-3 {
    margin-left: 0;
  }
}