/* Estilos generales */
main {
    padding-top: 160px; /* Ajusta si el header es más alto */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Contenedor principal para el título, logo y navegación */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: hsl(0, 0%, 100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo a la izquierda */
.logo-container {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo-container img {
    max-height: 50px;
    width: auto;
}

/* Título centrado */
header h1 {
    flex: 2;
    text-align: center;
    font-size: 3em;
    margin: 0;
    color: #22727e;
}

/* Barra debajo del título con botones */
.header-buttons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
    background-color: #f4f4f4;
    padding: 10px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.header-buttons button {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    background-color: #22727e;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.header-buttons button:hover {
    background-color: #1a5c65;
    transform: translateY(-3px);
}

/* Redes sociales */
.social-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.social-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-nav ul li {
    margin: 0 10px;
}

.social-nav ul li img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s, opacity 0.3s;
}

.social-nav ul li img:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Sección de fondo */
.bg-sections {
    margin-top: 150px;
    background: url('PlayaWestBay.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    padding: 50px 20px;
}

.bg-sections::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(40, 39, 39);
    z-index: -1;
}

/* Reglas específicas para dispositivos móviles */
@media (max-width: 768px) {
    .bg-sections {
        background-image: url('PlayaWestBay.jpg'); /* Ruta de la imagen */
        background-repeat: repeat;                /* Repetir la imagen en ambas direcciones */
        background-size: contain;                 /* Mantiene la proporción original de la imagen */
        background-position: top center;          /* Centra la imagen horizontalmente y comienza desde arriba */
        background-attachment: scroll;            /* Evita problemas con el fondo fijo en móviles */
    }
}

/* Hero Section */
#hero {
    text-align: center;
    color: rgb(255, 255, 255);
    padding: 50px 20px;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 20px;
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* Servicios */
#servicios .servicio {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    margin: 10px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

#servicios .servicio:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.servicio > img {
    width: 100%;
    height: 400px; /* antes 300px */
    object-fit: cover;
    border-radius: 8px;
}


.more-info-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 10px;
    justify-items: center;
    margin-top: 20px;
}

.more-info-images img {
    width: 100%;
    height: auto;
    max-width: 100px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.more-info-images img:hover {
    transform: scale(1.1);
}

/* Estilo para Highlights */
.highlights {
    text-align: left;
    margin-top: 15px;
}

.highlights h4 {
    font-size: 1.2em;
    color: #22727e;
    margin-bottom: 8px;
}

.highlights ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.highlights li {
    margin-bottom: 5px;
    font-size: 0.95em;
    color: #333;
}

/* Contacto */
#contacto {
    text-align: center;
    color: white;
    padding: 50px 20px;
}

/* Pie de página */
footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 10px;
}

/* Botón de Reserva */
.reserve-btn {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #22727e;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.reserve-btn:hover {
    background-color: #1a5c65;
    transform: translateY(-3px);
}

/* Formulario de Reservas */
#reservas h2 {
    color: #f8f8f8; /* Cambia este color por el que desees */
    font-weight: bold; /* Opcional */
    text-align: center; /* Opcional para centrar el texto */
}


.reserva-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.reserva-form label {
    font-size: 1rem;
    color: #333;
    font-weight: bold;
}

.reserva-form input,
.reserva-form select {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.reserva-form input:focus,
.reserva-form select:focus {
    outline: none;
    border-color: #22727e;
    box-shadow: 0 0 5px rgba(34, 114, 126, 0.5);
}

.reserva-form button {
    padding: 10px;
    font-size: 1rem;
    color: #fff;
    background-color: #22727e;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.reserva-form button:hover {
    background-color: #1a5c65;
    transform: translateY(-3px);
}

/* Responsivo */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .header-buttons button {
        font-size: 0.9em;
        padding: 8px 15px;
    }

    .social-nav {
        padding-right: 10px;
    }

    #servicios .servicio {
        width: 100%;
        margin: 15px 0;
    }

    .servicio > img {
        height: 180px;
    }

    .reserva-form {
        padding: 15px;
    }
}

/*tours html*/
.tour-details {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.tour-hero {
    text-align: center;
}

.tour-hero .hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.tour-price {
    font-size: 1.2em;
    color: #555;
    margin-top: 10px;
}

.tour-description, .highlights, .gallery {
    margin-top: 30px;
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gallery-images img {
    width: 100%;
    border-radius: 10px;
}

.back-button {
    margin-top: 40px;
    text-align: center;
}

.back-button a {
    background: #0077cc;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.back-button a:hover {
    background: #005fa3;
}

main {
    padding-top: 160px; /* Ajusta si el header es más alto */
}

/*footer */
footer {
    background-color: #106c76;
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-top: 60px;
    border-top: 4px solid #0e555c;
    border-radius: 0 0 10px 10px;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: auto;
  }
  
  .footer-container p {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .social-icons img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: white;
    padding: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
  }
  
  .social-icons img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
  }

  /* reserva btn en tour.html*/

  .reserve-btn {
    background-color: #106c76;
    color: white;
    padding: 10px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .reserve-btn:hover {
    background-color: #0b4f58;
  }
  
  .customer-reviews {
  background-color: #f1f9f8;
  padding: 60px 20px;
  text-align: center;
}

.customer-reviews h2 {
  font-size: 2rem;
  color: #0c5f57;
  margin-bottom: 30px;
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.client-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #0c5f57;
}

.review-text p {
  font-style: italic;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 10px;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.client-name {
  font-weight: bold;
  font-size: 0.85rem;
}

.platform-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.platform-icon:hover {
  transform: scale(1.1);
}

.stars {
  color: #fbc02d; /* amarillo estrella */
  font-size: 1.2rem;
  margin: 8px 0;
  letter-spacing: 2px;
}

.custom-btn {
  background-color: #2a7b84; /* mismo tono del botón de la imagen */
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.custom-btn:hover {
  background-color: #256973; /* un tono ligeramente más oscuro para hover */
}

