/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: #333;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: #fff;
}



/* ===== NAVBAR ===== */
.navbar-custom {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar-custom.scrolled {
  background: rgba(138, 35, 34, 0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
}

/* Links */
.navbar-custom .nav-link {
  color: #fff !important;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-custom .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #ffdada;
  transition: width 0.3s ease;
}

.navbar-custom .nav-link:hover::after {
  width: 100%;
}

.navbar-custom .nav-link:hover {
  color: #ffdada !important;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(138, 35, 34, 0.97);
    padding-left: 100px; /* deja espacio al logo */
  }

  .logo-fixed {
    z-index: 3001; /* encima del menú */
  }
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  width: 100%;
  background: url("Imagenes/PORTADA1.jpg") no-repeat center center/cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, #8a2322, #C6504E);
  opacity: 0.45;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero h1 {
  font-size: 5rem;
  font-weight: bold;
}

.hero p {
  font-size: 1.5rem;
  font-family: Georgia, serif;
}

.hero h1 {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

/*  Ajuste para móviles */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem !important;  /* forzamos con !important */
    line-height: 1.2;               /* más compacto */
  }

  .hero p {
    font-size: 1rem !important;
  }
}

/* ===== BOTÓN PRINCIPAL HERO ===== */
.btn-main {
  display: inline-block;
  background: #8a2322;   /* rojo vino */
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-main:hover {
  background: #a83735;   /* un tono más claro al hover */
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}
/*  animación de fade */
.hero.fade {
  animation: fadeEffect 1s ease-in-out;
}

@keyframes fadeEffect {
  from { opacity: 0.4; }
  to   { opacity: 1; }
}

/* ===== LOGO CIRCULAR ===== */
.logo-fixed {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 2000;
}

.logo-fixed img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ===== BOTÓN WHATSAPP ===== */
.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  z-index: 3000;
}

.btn-whatsapp:hover {
  background: #1ebe5c;
  transform: scale(1.05);
}

/* ===== DOT NAVIGATION ===== */
.nav-dots {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.nav-dots a {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #bbb;
  display: block;
  transition: background 0.3s, transform 0.3s;
}

.nav-dots a:hover,
.nav-dots a.active {
  background: #fff;
  transform: scale(1.3);
}

/* ===== BOUTIQUE HOTEL ===== */
.boutique-section {
  background: #efefef;
  color: #333;
  padding: 80px 20px;
}

.boutique-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
  color: #8a2322;
}

.boutique-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

/* Collage */
.collage-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.collage-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

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

/* ===== BENEFICIOS DE HABITACIÓN ===== */
.room-benefits {
  margin-top: 30px;
  background: #8a2322;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 por fila */
  gap: 25px;
  max-width: 800px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;

  /* animación inicial */
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.room-benefits.animate {
  opacity: 1;
  transform: translateY(0);
}

.benefit-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-item i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.benefit-item p {
  font-size: 1rem;
  margin: 0;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-item:hover i {
  transform: scale(1.2);
  color: #ffdada;
}

/* Responsive */
@media (max-width: 768px) {
  .room-benefits {
    grid-template-columns: repeat(2, 1fr); /* 2 por fila en tablet/móvil */
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .room-benefits {
    grid-template-columns: 1fr; /* 1 por fila en celular */
  }
}


/* ===== HABITACIONES ===== */
.rooms-section {
  background: #f9f9f9;
  padding: 60px 20px; /* menos padding para no ser tan alta */
  text-align: center;
}

.rooms-section h2 {
  font-size: 2.2rem;
  color: #8a2322;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
}

.rooms-subtitle {
  font-size: 1rem;
  margin-bottom: 30px; /* menos espacio */
  color: #444;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.rooms-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; /* menos espacio entre cards */
  max-width: 1100px;
  margin: 0 auto;
}

.room-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.room-image img {
  width: 100%;
  height: 180px; /* 🔥 más bajo para compactar */
  object-fit: cover;
  display: block;
}

.room-info {
  padding: 15px; /* menos padding */
}

.room-info h3 {
  font-size: 1.3rem;
  color: #8a2322;
  margin-bottom: 8px;
}

.room-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 5px;
}


/* Cards de Bootstrap refinadas */
.card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.btn-room {
  background: #8a2322;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-room:hover {
  background: #a83735;
  transform: scale(1.05);
}

/* ===== EVENTOS ===== */
.events-section {
  background: #fafafa; /* fondo claro */
  color: #333;
}

.events-section h2 {
  font-size: 2.2rem;
  color: #8a2322;
  font-family: "Playfair Display", serif;
}

.events-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444;
}

.events-list li {
  font-size: 1rem;
  margin-bottom: 10px;
}

.event-img-box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-img-box img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .event-img-box img {
    height: 200px;
  }
}

/* ===== SECCIÓN CONTACTO ===== */
.contact-section {
  background: #e6d5b8; /* ocre suave */
  color: #333;
  padding: 80px 20px;
  text-align: center;
  width: 100%;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: space-between;
}

/* Info */
.contact-info {
  flex: 1 1 40%;
  text-align: left;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #8a2322; /* vino */
  font-family: "Playfair Display", serif;
}

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

.contact-info li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: #8a2322;
  font-size: 1.2rem;
}

/* ===== SECCIÓN VIDEO ===== */
.video-section {
  background: #efefef;
  padding: 80px 20px;
  text-align: center;
}

.video-section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #8a2322;
  font-family: "Playfair Display", serif;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}


/* Map */
.contact-map {
  flex: 1 1 50%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
  margin-top: 50px;
  font-size: 0.9rem;
  color: #444;
  text-align: center;   /* centra el texto */
  display: flex;        /* centra con flexbox */
  justify-content: center;
  align-items: center;
  width: 100%;
}

.footer span {
  color: #8a2322;
  font-weight: bold;
}



/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-info, .contact-map {
    width: 100%;
  }

  .contact-map iframe {
    height: 250px;
  }
}

