/* DotKoncept Room Manager - Widget Styles */

/* ============================================
   BASE STYLES
   ============================================ */

/* Meta Widgets Base */
.dk-room-meta-container {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.dk-room-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.dk-room-meta-content {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.dk-room-meta-label {
  font-weight: 600;
}

/* Room Amenities */
.dk-room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dk-room-amenities-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background-color: #f5f5f5;
  border-radius: 20px;
}

.dk-room-amenities-icon {
  font-size: 14px;
}

/* Room Badge Widget */
.dk-room-badge-widget {
  display: inline-block;
}

/* Room Button Widget */
.dk-room-button {
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dk-room-button:hover {
  text-decoration: none;
}

/* Features List */
.dk-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dk-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================
   ROOM GRID WIDGET (MODERN DESIGN)
   ============================================ */

.dk-rooms-wrapper {
  width: 100%;
}

.dk-rooms-header {
  margin-bottom: 40px;
}

.dk-rooms-title {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  color: #333333;
}

.dk-rooms-grid {
  display: grid;
  gap: 25px;
}

.dk-rooms-grid.columns-1 {
  grid-template-columns: 1fr;
}

.dk-rooms-grid.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.dk-rooms-grid.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.dk-rooms-grid.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.dk-room-card {
  position: relative;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.dk-room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dk-room-image {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.dk-room-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dk-room-card:hover .dk-room-image img {
  transform: scale(1.05);
}

.dk-room-image-placeholder {
  background: linear-gradient(135deg, #1a5f7a 0%, #135e96 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  font-size: 48px;
  color: #ffffff;
}

.dk-room-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 25px 25px 25px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 15px;
}

.dk-room-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  background-color: #1a5f7a;
  color: #ffffff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
}

.dk-room-content {
  flex: 1;
}

.dk-room-title {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.dk-room-perfect-for {
  font-size: 14px;
  font-style: italic;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.dk-room-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dk-room-pill {
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.dk-room-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dk-room-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.dk-room-features-list li:last-child {
  margin-bottom: 0;
}

.dk-room-icon-wrapper {
  flex-shrink: 0;
}

.dk-room-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.dk-room-icon i,
.dk-room-icon svg {
  font-size: 20px;
  color: #1a5f7a;
  transition: all 0.3s ease;
}

.dk-room-icon:hover {
  background-color: #f0f0f0;
  transform: translateX(5px);
  text-decoration: none;
}

.dk-room-icon:hover i,
.dk-room-icon:hover svg {
  color: #135e96;
}

/* ============================================
   DK ROOM META GROUP WIDGET
   ============================================ */

.dk-room-meta-group {
  display: flex;
  flex-wrap: wrap;
}

.dk-room-meta-group.dk-layout-grid {
  display: grid;
}

.dk-room-meta-group.dk-layout-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.dk-room-meta-group.dk-layout-column {
  display: flex;
  flex-direction: column;
}

.dk-room-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dk-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.dk-meta-value {
  line-height: 1.4;
}

/* ============================================
   ROOM SLIDER WIDGET
   ============================================ */

.dk-room-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.dk-room-slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.dk-room-slide-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.dk-room-slide-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  background: rgba(0, 0, 0, 0.5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
  color: #fff;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Swiper Pagination */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
  width: 10px;
  height: 10px;
}

.swiper-pagination-bullet-active {
  background: #1a5f7a;
  opacity: 1;
}

/* Swiper Disabled States */
.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ============================================
   ANIMATIONS
   ============================================ */

.dk-animation-enabled .dk-room-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dk-animation-enabled .dk-room-card:nth-child(1) {
  animation-delay: 0.05s;
}
.dk-animation-enabled .dk-room-card:nth-child(2) {
  animation-delay: 0.1s;
}
.dk-animation-enabled .dk-room-card:nth-child(3) {
  animation-delay: 0.15s;
}
.dk-animation-enabled .dk-room-card:nth-child(4) {
  animation-delay: 0.2s;
}
.dk-animation-enabled .dk-room-card:nth-child(5) {
  animation-delay: 0.25s;
}
.dk-animation-enabled .dk-room-card:nth-child(6) {
  animation-delay: 0.3s;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .dk-rooms-grid.columns-3,
  .dk-rooms-grid.columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 38px;
    height: 38px;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .dk-rooms-grid.columns-2,
  .dk-rooms-grid.columns-3,
  .dk-rooms-grid.columns-4 {
    grid-template-columns: 1fr;
  }

  .dk-room-meta-container {
    flex-wrap: wrap;
  }

  .dk-room-overlay {
    padding: 20px 18px 18px 18px;
  }

  .dk-room-title {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .dk-room-perfect-for {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .dk-room-pill {
    font-size: 10px;
    padding: 3px 8px;
  }

  .dk-room-icon {
    width: 40px;
    height: 40px;
  }

  .dk-room-icon i,
  .dk-room-icon svg {
    font-size: 16px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 32px;
    height: 32px;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 14px;
  }

  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .dk-room-meta-group {
    flex-direction: column;
  }

  .dk-room-meta-item {
    width: 100%;
  }

  .dk-room-card {
    height: auto;
    min-height: 400px;
  }

  .dk-room-title {
    font-size: 20px;
  }

  .dk-room-perfect-for {
    font-size: 13px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 28px;
    height: 28px;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 12px;
  }
}
