/* Modern styling for Agblor Lodge */
:root {
  --primary-color: #2c3e50;
  --accent-color: #e67e22;
  --text-color: #333;
  --light-gray: #f5f5f5;
  --transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Rooms Section */
.rooms {
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 5vw, 2rem);
  background: var(--light-gray);
}

.rooms h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.room-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(1.5rem, 4vw, 2rem);
  align-items: start;
}

/* Room Slideshow */
.room-slideshow {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.slide {
  display: none;
  position: relative;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: clamp(300px, 50vw, 500px);
  object-fit: cover;
}

.slide h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  margin: 0;
  padding: clamp(0.8rem, 2vw, 1rem);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

/* Slideshow Controls */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  color: var(--primary-color);
  padding: clamp(0.5rem, 2vw, 1rem);
  cursor: pointer;
  transition: var(--transition);
  border-radius: 50%;
  width: clamp(36px, 8vw, 48px);
  height: clamp(36px, 8vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.prev {
  left: 1rem;
}
.next {
  right: 1rem;
}

.prev:hover,
.next:hover {
  background: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Facilities List */
.facilities-list {
  background: white;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.facilities-list h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 4vw, 1.8rem);
}

.facilities-list ul {
  list-style: none;
  padding: 0;
}

.facilities-list li {
  padding: clamp(0.6rem, 2vw, 0.8rem) 0;
  border-bottom: 1px solid #eee;
  color: var(--text-color);
  display: flex;
  align-items: center;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.facilities-list li:last-child {
  border-bottom: none;
}

.facilities-list li::before {
  content: "✓";
  color: var(--accent-color);
  margin-right: 1rem;
  font-weight: bold;
}

/* Room Button */
.room-btn {
  display: block;
  width: fit-content;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.room-btn:hover {
  background: #d35400;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

/* Dots Navigation */
.dots {
  position: absolute;
  bottom: clamp(0.8rem, 2vw, 1rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(0.3rem, 1vw, 0.5rem);
  z-index: 2;
}

.dot {
  width: clamp(8px, 2vw, 10px);
  height: clamp(8px, 2vw, 10px);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* Enhanced Room Description */
.rooms-description {
  max-width: 800px;
  margin: clamp(2rem, 5vw, 3rem) auto;
  text-align: center;
  color: #666;
  line-height: 1.6;
  padding: 0 clamp(1rem, 3vw, 2rem);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .room-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .facilities-list h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .room-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .facilities-list {
    margin-top: 2rem;
  }

  .slide img {
    height: clamp(250px, 40vw, 400px);
  }
}

@media (max-width: 576px) {
  .rooms {
    padding: 2rem 1rem;
  }

  .slide h2 {
    font-size: 1.2rem;
    padding: 0.8rem;
  }

  .prev,
  .next {
    width: 36px;
    height: 36px;
  }

  .facilities-list li {
    font-size: 0.9rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .prev,
  .next {
    background: rgba(255, 255, 255, 0.9);
  }

  .room-btn:active {
    transform: translateY(-1px);
  }
}

/* Print Styles */
@media print {
  .hero-video,
  .prev,
  .next,
  .dots {
    display: none;
  }

  .room-grid {
    grid-template-columns: 1fr;
  }

  .slide {
    page-break-inside: avoid;
  }
}
