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

:root {
  --font-title: 'Cormorant Garamond', serif;
  --font-text: 'Inter', sans-serif;
  --main-color: #0a3d62;
  --accent-color: #38ada9;
}

body {
  width: 100%;
  font-family: var(--font-text);
  font-size: 16px;
  color: #222;
  background-color: #f9f9f9;
  line-height: 1.7;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
}

body > * {
  overflow-x: clip;
}

h2 {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--main-color);
}

h3 {
  font-family: var(--font-text);
  font-weight: 500;
}

/* ==== BARRA DE NAVEGACIÓN - ESCRITORIO ==== */
.desktop-nav {
  position: sticky;
  top: 0;
  width: 100%;
  height: 90px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
}

.main-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  position: relative;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo a {
  font-family: var(--font-title);
  text-decoration: none;
  color: var(--main-color);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 1px;
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.desktop-nav ul li a {
  text-decoration: none;
  color: var(--main-color);
  font-weight: 500;
  font-size: 1.3em;
  position: relative;
  transition: color 0.3s ease;
}

.desktop-nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.desktop-nav ul li a:hover::after {
  width: 100%;
}


/* === OCULTAR EN MÓVIL === */
@media (max-width: 1048px) {
  .desktop-nav {
    display: none;
  }
}


/* OCULTA NAV MOBILE EN ESCRITORIO */
.mobile-nav,
.mobile-menu,
.overlay {
  display: none;
}


/* ==== HERO (imagen o video de fondo grande) ==== */
.hero {
  background-image: url('img-XR788L.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Filtro oscuro */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
}

.background-video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  pointer-events: none; /* <-- evita que se pueda interactuar */
}


.hero-content h1 {
  font-size: 5em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-family: var(--font-title);
}

.hero-content p {
  font-size: 1.8em;
  font-weight: 400;
  letter-spacing: 1px;
}

/* ==== FRASE FIJA ==== */
.frase-fija {
  padding: 40px 20px 30px;
  text-align: center;
}

.frase-fija h2 {
  font-size: 55px;
  font-weight: 700;
  color: #0a3d62;
  letter-spacing: 1px;
  max-width: 900px;
  margin: 0 auto 20px;
}

.frase-fija p {
  font-size: 1.1em;
  color: #333;
  max-width: 800px;
  margin: 0 auto 1rem auto; /* Aquí está la diferencia */
  line-height: 1.6;
  font-weight: 400;
}

section.frase-fija p {
  margin-bottom: 1rem !important;
}


/* ==== SECCIONES GENERALES ==== */
.section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.section h2 {
  font-size: 2em;
  color: #0a3d62;
  margin-bottom: 10px;
}

.section p {
  font-size: 1.1em;
  color: #333;
}

/* ==== ÍCONOS FLOTANTES ==== */
.floating-icons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1001;
}

.floating-icons a {
  width: 50px;
  height: 50px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.floating-icons a.instagram {
  background-color: #e4405f;
}

.floating-icons a:hover {
  transform: scale(1.1);
}











/* ==== PIE DE PÁGINA ==== */
.footer {
  background-color: #000;
  color: #f5f5f5;
  padding: 3rem 2rem;
  font-family: var(--font-text); /* fuente uniforme para todo el footer */
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center; /* esto centra verticalmente todos los hijos */
  max-width: 1200px;
  margin: auto;
  gap: 2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;  /* centra horizontalmente */
  justify-content: center; /* centra verticalmente */
  text-align: center;
}


.footer-left, .footer-center, .footer-right {
  flex: 1;
  min-width: 0;
}


.footer-left p:first-child {
  font-family: var(--font-text); 
  font-weight: 400;              
  font-size: 1.1rem;            
  text-align: left;             
  margin-bottom: 0;             
}


.footer h4 {
  font-weight: 700; /* negrita solo para los títulos */
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-center ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-center ul li {
  margin-bottom: 0.5rem;
}

.footer-center a,
.footer-right a {
  position: relative;
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400; /* enlaces en peso normal */
}

/* Línea inferior animada como en la barra */
.footer-center a::after,
.footer-right a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.footer-center a:hover::after,
.footer-right a:hover::after {
  width: 100%;
}



/* ==== MODAL ==== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  position: relative;
  text-align: center;
}

.modal-content h2 {
  color: #0a3d62;
  margin-bottom: 10px;
}

.modal-content p {
  font-size: 1em;
  color: #333;
  margin-bottom: 20px;
}


.close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 28px;
  color: #888;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

/* ==== RECUADRO VERTICAL PARA ATV ==== */
.atv-info-box {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.atv-card-vertical {
  width: 100%;
  max-width: 400px;
  background-color: #ffffff;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.atv-card-vertical img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin-bottom: 20px;
}

.atv-card-vertical h2 {
  font-family: var(--font-text);
  font-size: 1.5em;
  color: #0a3d62;
  margin-bottom: 10px;
}

.atv-card-vertical .price {
  font-size: 1.5em;
  font-weight: bold;
  color: #0a3d62;
  margin-bottom: 20px;
}

.atv-card-vertical .price span {
  display: block;
  font-size: 0.8em;
  font-weight: normal;
  color: #777;
}


.atv-card-vertical ul {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
  font-size: 1em;
  color: #333;
}

.atv-card-vertical ul li {
  margin-bottom: 10px;
}

/* ==== RECOMENDACIONES ==== */
.recomendaciones {
  background-color: #f5f5f5;
  padding: 6rem 2rem;
}

.reco-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto; /* Centrado en la página */
  padding: 0 1rem;
  text-align: left;
}

.reco-imagen {
  flex: 1;
  max-width: 600px;
  overflow: hidden;
}

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

.reco-imagen img:hover {
  transform: scale(1.08);
}

.reco-texto {
  flex: 1.4;
  min-width: 0;
  max-width: 850px;
  font-family: var(--font-text);
  color: #333;
}

.reco-texto h2 {
  font-family: var(--font-title);
  font-size: 55px;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.reco-texto p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.9;
  color: #444;
  max-width: 100%;
  margin-bottom: 1rem;
}






/* ==== BOOK NOW FORM ==== */
.book-now h2 {
  color: #0a3d62;
  font-size: 2em;
  margin-bottom: 30px;
}

.booking-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0a3d62;
  font-size: 0.9em;
  
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.form-group textarea {
  resize: vertical;
}

.form-group.double {
  display: flex;
  gap: 20px;
}

.form-group.double > div {
  flex: 1;
}

.checkbox-group label {
  display: inline-block;
  margin-right: 20px;
  font-weight: normal;
}



#confirmation-message {
  display: none;
  text-align: center;
  padding: 40px 20px;
  min-height: 60vh;
}

.flatpickr-calendar {
  font-family: var(--font-text);
  z-index: 9999;
}

.form-group input[type="checkbox"] {
  display: inline-block;
  width: auto;
  margin-right: 10px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.button-outline {
  background-color: transparent;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-family: var(--font-text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.button-outline:hover {
  background-color: var(--main-color);
  color: white;
}




/* ===== ABOUT US SECTION ===== */

.about-us {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 60px 10%;
  flex-wrap: wrap;
}

.about-imagen {
  flex: 1;
  max-width: 600px;
  overflow: hidden;
}


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

.about-imagen img:hover {
  transform: scale(1.08);
}

.about-texto {
  flex: 1 1 400px;
  max-width: 600px;
}

.about-texto h2 {
  font-size: 55px;
  margin-bottom: 20px;
  color: #0a3d62;
}

.about-texto p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333;
}



/* Ocultar menú hamburguesa en pantallas grandes */
.hamburger {
  display: none;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}


.location-section {
  padding: 6rem 2rem;
  background-color: var(--background-light, #f9f9f9);
}

.location-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.location-text {
  flex: 1.4;
  min-width: 0;
  max-width: 850px;
  font-family: var(--font-text);
  color: #333;
}

.location-text h2 {
  font-family: var(--font-title);
  font-size: 55px;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.location-text p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.9;
  color: #444;
  max-width: 100%;
  margin-bottom: 1rem;
}

.map-container {
  flex: 1;
  max-width: 700px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ==== POLICIES SECTION ==== */

.rental-policies {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  font-family: var(--font-text);
  color: #333;
}

.policies-container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.rental-policies h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--main-color);
  margin-bottom: 1rem;
  text-align: center;
}

.rental-policies h3 {
  margin-top: 2rem;
  font-size: 1.3rem;
  color: var(--main-color);
}

.rental-policies ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.rental-policies p {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.signature-line {
  margin-top: 2rem;
  font-style: italic;
  text-align: center;
}
