/* sec-6 styles with horizontal scroll carousel */
.sec-6 {
  display: flex;
  width: 100%;
  position: relative;
  z-index: 7;
  background-color: #fff;
  border-radius: 0px 0px 40px 40px;
  margin-bottom: -40px;
  padding-top: 40px;
  box-shadow: 2px 6px 10px -13px #000;
}

.sec-6-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.125rem 0.5rem;
  display: flex;
  flex-direction: column;
}

.sec-6-container .title {
  font-size: 2rem;
  text-align: center;
  color: #000000;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sec-6-container .sub-title {
  font-size: 1rem;
  text-align: center;
  margin: 0rem auto 2rem auto;
  font-weight: 300;
}

/* Modified card-container for horizontal scroll */
.sec-6-container .card-container {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 0 0.5rem;
}

.sec-6-container .card-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.sec-6-container .card-item {
  position: relative;
  box-shadow: 0px 1px 9px -2px #ddd;
  border-radius: 12px;
  width: 350px;
  min-height: 200px;
  flex-shrink: 0;
  cursor: pointer;
  margin-bottom: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sec-6-container .card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.sec-6-container .card-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000000, transparent);
  z-index: 0;
}

.sec-6-container .card-item .offer {
  position: absolute;
  top: 0px;
  right: 0px;
  color: #000000;
  background-color: #ffffff;
  padding: 8px 12px;
  border-radius: 0px 0px 0px 12px;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.sec-6-container .card-item .offer span {
  color: #c8102e;
}

.sec-6-container .card-item .offer svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.2rem;
}

.sec-6-container .card-item .content {
  position: relative;
  padding: 12px;
  width: 100%;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sec-6-container .card-item .content .name {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding-bottom: 0.2rem;
}

.sec-6-container .card-item .content .seat {
  background-color: #fff;
  color: #000;
  font-size: 0.75rem;
  padding: 0.2rem 0.4rem;
  border-radius: 50px;
  display: inline-block;
}

.sec-6-container .card-item .content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #fff;
  margin-top: 0.6rem;
}

.sec-6-container .card-item .content ul li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.sec-6-container .card-item .content .button-container {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.sec-6-container .card-item .content .button-container .view {
  width: 50%;
  background-color: #c8102e;
  border: none;
  color: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  padding: 0.6rem;
  font-weight: 700;
  cursor: pointer;
}

.sec-6-container .card-item .content .button-container .view svg {
  width: 1rem;
  height: 1rem;
}

/* Horizontal scroll carousel wrapper and navigation styles for sec-6 */
.sec-6-container .offers-horizontal-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sec-6-container .offers-horizontal-scroll-container {
  flex: 1;
}

.sec-6-container .offers-scroll-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 2;
}

.sec-6-container
  .offers-scroll-nav-btn:hover:not(.offers-scroll-nav-btn-disabled) {
  background-color: #000;
  color: #fff;
  border-color: #000;
  transform: scale(1.05);
}

.sec-6-container .offers-scroll-nav-btn-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.sec-6-container .offers-scroll-nav-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .sec-6-container .offers-horizontal-scroll-wrapper {
    gap: 0.5rem;
  }

  .sec-6-container .offers-scroll-nav-btn {
    width: 2rem;
    height: 2rem;
  }

  .sec-6-container .offers-scroll-nav-btn svg {
    width: 1rem;
    height: 1rem;
  }

  .sec-6-container .card-container {
    padding: 0;
  }
}

@media (max-width: 400px) {
  .sec-6-container .card-item {
    width: 300px;
    min-height: auto;
  }
}
