/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(135deg, #f5f2ef 0%, #ede7e0 100%);
  padding: 80px 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* ==== TEXTO ==== */
.hero-content {
  position: relative;
}

.hero-title {
  font-size: 48px;
  font-weight: bold;
  color: #8b7355;
  margin-bottom: 20px;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.hero-subtitle {
  color: #a0896b;
  font-size: 16px;
  margin-bottom: 30px;
  transition: color 0.3s ease;
}

/* ==== BOTONES ==== */
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-primary {
  background-color: #a0896b;
  color: white;
  padding: 15px 25px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #8b7355;
  transform: translateY(-2px);
}

.btn-secondary {
  color: #8b7355;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

/* ==== RATING ==== */
.hero-rating {
  display: flex;
  align-items: center;
  gap: 15px;
}

.rating-avatars {
  display: flex;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid white;
  margin-left: -10px;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-1 { background-color: #d4c4a8; }
.avatar-2 { background-color: #c9b896; }
.avatar-3 { background-color: #b8a584; }
.avatar-4 { background-color: #a89173; }

.rating-text {
  color: #8b7355;
  font-size: 14px;
  transition: color 0.3s ease;
}

/* ==== IMÁGENES ==== */
.hero-images {
  display: flex;
  gap: 20px;
  position: relative;
}

/* Tarjetas */
.room-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(139, 115, 85, 0.15);
  position: relative;
  transition: transform 0.3s, background 0.3s ease;
  width: 100%;
  max-width: 280px;
}

.room-card:hover {
  transform: translateY(-5px);
}

.room-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(45deg, #e8ddd4, #d4c4a8);
  position: relative;
  overflow: hidden;
}

.room-image::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 60%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.room-price {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #8b7355;
  color: white;
  padding: 5px 15px;
  border-radius: 15px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.room-info {
  padding: 20px;
  text-align: center;
}

.room-title {
  font-size: 18px;
  font-weight: bold;
  color: #8b7355;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.room-items {
  color: #a0896b;
  font-size: 14px;
  transition: color 0.3s ease;
}

/* ==== NAV ARROWS ==== */
.nav-arrows {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #a0896b;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, transform 0.2s;
}

.nav-arrow:hover {
  background-color: #8b7355;
  transform: scale(1.1);
}

/* ==== 🌙 DARK MODE ==== */
body.dark .hero {
  background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
}

body.dark .hero-title {
  color: #f0f0f0;
}

body.dark .hero-subtitle {
  color: #d9c9a7;
}

body.dark .btn-primary {
  background-color: #8b7355;
}

body.dark .btn-primary:hover {
  background-color: #6e5b43;
}

body.dark .btn-secondary {
  color: #d9c9a7;
}

body.dark .rating-text {
  color: #d9c9a7;
}

body.dark .room-card {
  background: #2b2b2b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

body.dark .room-title {
  color: #f0f0f0;
}

body.dark .room-items {
  color: #d9c9a7;
}

body.dark .room-price {
  background-color: #6e5b43;
}

/* ==== RESPONSIVE BREAKPOINTS ==== */
@media (max-width: 1200px) {
  .hero {
    padding: 60px 0;
  }
  .hero .container {
    gap: 35px;
  }
  .hero-title {
    font-size: 42px;
  }
}

@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    order: 2;
  }
  .hero-images {
    order: 1;
    justify-content: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-rating {
    justify-content: center;
  }
  .room-card {
    max-width: 320px;
    margin: 0 auto;
  }
  .nav-arrows {
    position: static;
    justify-content: center;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 0;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .hero-images {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .room-card {
    max-width: 100%;
  }
  .room-image {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }
  .hero {
    padding: 40px 0;
  }
  .room-image {
    height: 200px;
  }
  .room-card {
    border-radius: 16px;
  }
}
