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

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #333;
}

/* HEADER */
header {
  background-color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: teal;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav a:hover {
  color: teal;
}

/* HERO */
.hero {
  background-image: url('img/hero.jpg');
  background-size: cover;
  background-position: center;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-content {
  text-align: center;
  background-color: rgba(255,255,255,0.8);
  padding: 20px 40px;
  border-radius: 10px;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: #003049;
}

.hero-content span {
  color: #f77f00;
}

.hero-content button {
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #f77f00;
  border: none;
  color: white;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.hero-content button:hover {
  background-color: #d65f00;
}

/* INTRO TEXT */
.intro-text {
  text-align: center;
  margin: 25px auto;
  max-width: 800px;
  font-size: 1.1rem;
}

/* CATALOGO */
.membresias {
  padding: 40px 20px;
  background-color: #f0f8f8;
  text-align: center;
}

.membresias h2 {
  color: teal;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.membresias .catalogo-scroll {
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  flex-wrap: wrap;         /* Permite varias filas si es necesario */
  gap: 40px;               /* Más espacio entre tarjetas */
}

.membresias .card {
  width: 260px;              /* Puedes ajustar el ancho si quieres */
  background: white;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
  padding: 15px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

.membresias .card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

.membresias .card h3, .membresias .card p {
  margin-top: 10px;
  color: #003049;
  font-weight: bold;
}

.catalogo {
  padding: 40px 20px;
  background-color: #f0f8f8;
}

.catalogo h1 {
  text-align: center;
  color: teal;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.catalogo-scroll {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px;
  scroll-behavior: smooth;
}

.catalogo-scroll::-webkit-scrollbar {
  height: 10px;
}

.catalogo-scroll::-webkit-scrollbar-thumb {
  background-color: teal;
  border-radius: 10px;
}

.card {
  min-width: 200px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
  padding: 10px;
  flex-shrink: 0;
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.card p, .card h3 {
  margin-top: 10px;
  color: #003049;
  font-weight: bold;
}

.btn-ver-mas {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background-color: teal;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn-ver-mas:hover {
  background-color: #006666;
}

.ver-mas {
  text-align: center;
  margin-top: 20px;
}

/* FOOTER */
footer {
  background-color: #003049;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

/* CATÁLOGO PAGE EXTRA */
.catalogo-body {
  background-color: #f8f8f8;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.catalogo-header {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
}

.catalogo-header .logo {
  font-size: 2rem;
  font-weight: bold;
  color: #f77f00;
}

.catalogo-header nav a {
  color: rgb(6, 84, 110);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.catalogo-header nav a:hover {
  color: #f77f00;
}

.catalogo-title {
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #f77f00;
  font-weight: 700;
  text-align: center;
  width: 100%;
  max-width: 1200px;
}

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px 50px;
  max-width: 1200px;
  width: 100%;
  justify-items: center;
}

.catalogo-grid .card {
  background-color: transparent;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.catalogo-grid .card img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.caption {
  margin-top: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  background-color: rgb(252, 248, 248);
  color: #333;
  display: inline-block;
  padding: 6px 15px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  user-select: none;
}

.catalogo-footer {
  margin-top: 60px;
  color: #fdfbfb;
  font-size: 0.9rem;
  text-align: center;
  width: 100%;
}

.catalogo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  background-color: #c4cece;
  padding: 40px 20px;
}

.catalogo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.catalogo {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ⚠️ Fuerza exactamente 2 columnas */
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}




.yate {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}


.carrusel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1rem;
  height: 220px;
}

.carrusel img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}




.yate {
  background: white;
  border-radius: 10px;
  max-width: 400px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  flex: 1 1 300px;
}

.yate h2 {
  font-size: 28px;
  color: #004c4c;
  margin-bottom: 15px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
}

.carrusel {
  position: relative;
  overflow: hidden;
  height: 250px;
  margin-bottom: 15px;
}

.slides {
  display: flex;
  width: 200%;
  transition: transform 0.5s ease;
}

input[type="radio"] {
  display: none;
}

#slide1-1:checked ~ .slides {
  transform: translateX(0%);
}
#slide1-2:checked ~ .slides {
  transform: translateX(-50%);
}
#slide2-1:checked ~ .slides {
  transform: translateX(0%);
}
#slide2-2:checked ~ .slides {
  transform: translateX(-50%);
}

.slide {
  flex: 1 0 100%;
}
.slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.nav {
  position: absolute;
  width: 100%;
  top: 50%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}
.nav label {
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 30px;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 50%;
}

.descripcion {
  font-family: 'Arial', sans-serif;
  color: #333;
}

.descripcion .dias {
  font-weight: bold;
  color: #e28b32;
  margin-top: 10px;
}

.descripcion ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.descripcion ul li {
  margin-bottom: 5px;
}

.aviso {
  color: #3b6be6;
  font-size: 14px;
  margin: 10px 0;
}

.boton-reserva {
  display: inline-block;
  background-color: #e28b32;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
}
.contacto-header {
  position: relative;
  background-image: url('img/contac.png'); /* Ajusta si la imagen está en otro lugar */
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contacto-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 40px 20px;
  border-radius: 12px;
}

.contacto-header h1 {
  font-size: 60px;
  color: white;
  font-weight: 800;
  letter-spacing: 5px;
  margin-bottom: 20px;
}

.btn-contacto {
  background-color: #f7941d;
  color: white;
  padding: 15px 25px;
  font-size: 20px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-contacto:hover {
  background-color: #dd7d00;
}

.contacto-info {
  text-align: center;
  padding: 50px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.contacto-info h2 {
  font-size: 36px;
  color: #00bcd4;
  margin-bottom: 20px;
}

.contacto-info .intro {
  font-size: 18px;
  color: #555;
  margin-bottom: 10px;
}

.contacto-info p {
  font-size: 17px;
  color: #444;
  line-height: 1.6;
}
