/* Color Palette and Variables */
:root {
  --bg-color: #050205;
  --text-primary: #f2f2f2;
  --text-secondary: #a0a0aa;
  --accent-red: #a88a12;
  /* Golden */
  --accent-gold: #a88a12;
  /* Golden */
  --glass-bg: rgba(20, 5, 10, 0.7);
  --glass-border: rgba(168, 138, 18, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(168, 138, 18, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Glassmorphism utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

header.glass {
  padding: 1rem 5%;
  background: rgba(10, 10, 10, 0.85);
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-red);
  transition: width 0.3s;
}

nav a:hover {
  color: var(--accent-red);
}

nav a:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 10s linear;
  filter: brightness(0.6) contrast(1.15) saturate(1.1);
}

.hero:hover .hero-bg {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 1) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease 0.5s forwards;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  display: block;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-main-title {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text-primary);
  text-shadow: 0 0 15px rgba(168, 138, 18, 0.8), 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--accent-red);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: all 0.3s;
  border: 1px solid var(--accent-red);
  box-shadow: 0 4px 15px rgba(168, 138, 18, 0.3);
}

.btn:hover {
  background-color: transparent;
  color: var(--accent-red);
  box-shadow: 0 0 20px rgba(168, 138, 18, 0.6);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--accent-gold);
  color: var(--bg-color);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.5);
}

.btn-facebook {
  background-color: transparent;
  border: 1px solid #1877F2;
  color: #1877F2;
  box-shadow: none;
}

.btn-facebook:hover {
  background-color: #1877F2;
  color: #fff;
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.5);
}

.btn-instagram {
  background-color: transparent;
  border: 1px solid #E1306C;
  color: #E1306C;
  box-shadow: none;
}

.btn-instagram:hover {
  background-color: #E1306C;
  color: #fff;
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.5);
}

/* Sections */
section {
  padding: 6rem 5%;
}

.section-title {
  text-align: center;
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 3rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(168, 138, 18, 0.6);
}

/* Habitaciones */
.rooms-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 550px;
  margin: 2rem auto 0;
  gap: 2.5rem;
}

.room-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(168, 138, 18, 0.2);
  border-color: rgba(168, 138, 18, 0.3);
}

.room-img-container {
  aspect-ratio: 4 / 5;
  height: auto;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  height: 100%;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.room-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.carousel-img {
  flex: 0 0 100%;
  scroll-snap-align: center;
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
  /* Let clicks pass through if needed, though we will make dots clickable */
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s, transform 0.3s;
  pointer-events: auto;
  /* Re-enable for the dots */
}

.carousel-dot.active {
  background-color: var(--accent-gold);
  transform: scale(1.2);
}

.room-card:hover .room-img {
  transform: scale(1.05);
}

.room-info {
  padding: 2rem;
  border-top: none;
}

.room-title {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  display: flex;
  text-transform: uppercase;
  justify-content: space-between;
  align-items: center;
}

.room-price {
  color: var(--accent-red);
  font-weight: 600;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
}

.room-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

/* Amenidades */
.amenities-section {
  position: relative;
  background-color: #050505;
  margin-top: 2rem;
}

.amenities-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  mask-image: linear-gradient(to right, transparent, black);
  -webkit-mask-image: linear-gradient(to right, transparent, black);
  z-index: 0;
}

.amenities-content {
  position: relative;
  z-index: 1;
  max-width: 55%;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.amenity-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.amenity-icon {
  color: var(--accent-gold);
  font-size: 2.2rem;
  text-shadow: 0 0 20px rgba(168, 138, 18, 0.8);
}

.amenity-title {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--text-primary);
}

.amenity-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Bolsa de Trabajo */
.jobs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.job-card {
  padding: 2.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent-red);
  transition: transform 0.3s ease;
}

.job-card:hover {
  transform: translateX(10px);
}

.job-info h4 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
}

.job-profile {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.job-profile strong {
  color: var(--accent-gold);
}

.job-form-container {
  padding: 2.5rem;
  border-radius: 12px;
  height: fit-content;
}

.form-select {
  width: 100%;
  padding: 1.2rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  border-radius: 8px;
  transition: all 0.3s;
  appearance: none;
}

.form-select:focus {
  outline: none;
  border-color: var(--accent-red);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(168, 138, 18, 0.2);
}

.form-select option {
  background-color: var(--bg-color);
  color: var(--text-primary);
}

.job-form textarea {
  min-height: 110px;
}

/* Contact & Info Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.info-item {
  margin-bottom: 2.5rem;
}

.info-item h4 {
  color: var(--accent-gold);
  margin-bottom: 0.8rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.info-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.watermark-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  max-width: 700px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.section-with-watermark {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  border-radius: 8px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-red);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(168, 138, 18, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: #050505;
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 992px) {
  .amenities-content {
    max-width: 100%;
  }

  .amenities-bg {
    display: none;
  }

  .jobs-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }

  nav ul {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
  }

  nav ul.active {
    left: 0;
  }

  nav ul li a {
    font-size: 1.5rem;
  }

  .mobile-menu {
    display: block;
    z-index: 1001;
  }

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