/*
Room Page
- Hero2
- Oda Kart
- Odalar
- Odalar List
*/

/* Hero2 */
.ko-hero2 {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-height: 625px;

  @media (width >=992px) {
    aspect-ratio: 5 / 2;
    padding-top: 50px;
  }
}

.ko-hero2__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ko-hero2__img,
.ko-hero2__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ko-hero2__bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  /* Subtle overlay for text legibility */
  z-index: 2;
}

.ko-hero2__container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.ko-hero2__content {
  color: var(--ko-white);
  max-width: 1000px;
  margin-inline: auto;
  font-size: clamp(16px, 1.375vw, 22px);
  font-weight: 200;
}

.ko-hero2__title {
  font-family: var(--ko-font-heading);
  font-size: clamp(2.3rem, 6.25vw, 5.75rem);
  font-weight: inherit;
  line-height: 1.2;
  text-wrap: balance;
  /* Modern CSS for balanced wrap */
}

/* Oda Kart */
/* Oda Kartı Bileşeni */
.ko-oda-kart {
  width: 100%;
}

.ko-oda-kart__image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 30px;
  overflow: hidden;
}

.ko-oda-kart__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ko-oda-kart__room-info {
  text-align: center;
}

.ko-oda-kart__room-subtitle {
  font-family: var(--ko-font-heading);
  font-size: 11px;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  font-weight: 300;
  color: var(--ko-blue);
}

.ko-oda-kart__room-title {
  font-family: var(--ko-font-heading);
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  font-weight: 300;
  color: var(--ko-blue);

  @media (width >=768px) {
    font-size: 34px;
  }
}

.ko-oda-kart__features {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;

  @media (width >=768px) {
    gap: 30px;
  }
}

.ko-oda-kart__feature {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ko-oda-kart__feature-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ko-oda-kart__feature-icon img,
.ko-oda-kart__feature-icon svg {
  width: 100%;
  height: 100%;
}

.ko-oda-kart__feature-text {
  font-family: var(--ko-font-main);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: left;
  color: var(--ko-blue);
}

/* Odalar */
.ko-odalar {
  padding: 100px 0;
  background-color: var(--ko-white);
  color: var(--ko-blue);
  overflow: hidden;
}

.ko-odalar__header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: flex-start;
}

.ko-odalar__title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ko-odalar__title {
  font-family: var(--ko-font-heading);
  font-size: 55px;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

.ko-odalar__cta-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--ko-blue);
  color: var(--ko-blue);
  font-family: var(--ko-font-main);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.ko-odalar__cta-btn:hover {
  background-color: var(--ko-blue);
  color: var(--ko-white);
  opacity: 1;
}

.ko-odalar__description {
  font-family: var(--ko-font-heading);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: 0.05em;
  max-width: 800px;
}

.ko-odalar__description p {
  margin-bottom: 20px;
}

.ko-odalar__description p:last-child {
  margin-bottom: 0;
}

/* Swiper Slider Styling for Odalar (Specific Overrides if any) */
.ko-odalar__slider-wrapper {
  margin-top: 40px;
}

.ko-odalar__footer-cta {
  margin-top: 60px;
  text-align: center;
}

.ko-odalar__footer-cta .ko-odalar__cta-btn {
  background-color: var(--ko-blue);
  color: var(--ko-white);
  padding: 12px 40px;
}

.ko-odalar__footer-cta .ko-odalar__cta-btn:hover {
  background-color: transparent;
  color: var(--ko-blue);
}

/* Responsive */
@media (max-width: 1024px) {
  .ko-odalar__header {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ko-odalar__title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .ko-odalar {
    padding: 60px 0;
  }
}

/* Odalar List */
.ko-odalar-list {
  padding: 50px 0;
  background-color: var(--ko-white);
  color: var(--ko-blue);

  .ko-odalar__title {
    margin-bottom: 50px;
  }

  .ko-oda-kart {
    display: flex;
    flex-direction: column;
  }

  .ko-container {
    --ko-container-padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 50px;

    @media (width >=768px) {
      --ko-container-padding: unset;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }

    @media (width >=992px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }
}