
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f0f0; /* Fondo gris claro */
  color: #000;
}

header {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}
/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Estilo del encabezado */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f3f3f3;
  border-bottom: 2px solid #ddd;
}

/* Contenedor del logo y nombre de la agencia alineados a la izquierda */
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 50px;
  height: auto;
}

.agency-name {
  font-size: 1.8em;
  font-weight: bold;
  cursor: pointer;
}

.viajes {
  font-family: Arial, sans-serif;
  color: #1b0670;
}

.tetouan {
  font-family: "time new roman", cursive;
  color: #d40078;
}

/* MenÃº de navegaciÃ³n centrado con Ã­conos ocultos por defecto */
.navigation {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-grow: 1;
}

.menu-item {
  font-family: 'Times New Roman', Times, serif;
  color: #000;
  text-decoration: none;
  font-size: 1.1em;
  position: relative;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Ocultar los i­conos inicialmente */
.menu-icon {
  width: 20px;
  height: 20px;
  opacity: 0;  /* icono oculto */
  transition: opacity 0.3s ease;
}

/* Mostrar i­conos cuando el usuario pasa el mouse sobre el enlace */
.menu-item:hover .menu-icon {
  opacity: 1;  /* Ãcono visible en hover */
}

/* LÃ­nea de subrayado en hover */
.menu-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #d40078;
  transition: width 0.3s ease;
}


/* Estilo para el enlace activo */
.menu-item.active-form {
  font-weight: bold; 
  /* Opcional: resaltar texto */
}

.menu-item.active-form::after {
  width: 100%; /* Línea visible permanentemente */
}

.menu-item.active-form .menu-icon {
  opacity: 1; /* Ícono siempre visible */
}

/* Ocultar formularios por defecto */
.form {
  display: none;
}

/* Mostrar solo el formulario activo */
.form.active-form {
  display: block;
}
/* Contenedor del telÃ©fono alineado a la derecha */
.phone-container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.phone-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.phone-number {
  font-size: 1.2em;
  color: #333;
  transition: color 0.3s;
}

.phone-container:hover .phone-number {
  color: #d40078;
}
/* Estilo para el nÃºmero de telÃ©fono */
.contact-info {
  font-size: 18px;
}

/* Estilo para las redes sociales */
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  text-decoration: none;
  color: white;
  font-size: 20px;
}

.social-icons a:hover {
  color: #00bfff;
}

.container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

/* SecciÃ³n de reservas a la izquierda */
.reservation-section {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 30px;
  width: 50%;
  border-radius: 10px;
  color: #000;
}

.reservation-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.reservation-options {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  
}

.reservation-options button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  cursor: pointer;
  font-size: 16px;
  width: 120px;
}

.reservation-options button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.reservation-form {
  display: none; /* Oculta los formularios hasta que el usuario seleccione una opciÃ³n */
}

.active-form {
  display: block;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, select, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

input[type="submit"] {
  background-color: #28a745;
  color: white;
  cursor: pointer;
  border: none;
  font-size: 18px;
}

input[type="submit"]:hover {
  background-color: #218838;
}

/* SecciÃ³n de imagen de maldivas a la derecha */
.image-section {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-section img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Estilo para las filas de imÃ¡genes */
.thumbnail-row {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  margin-bottom: 20px;
}

/* Contenedor para las imÃ¡genes y el efecto de superposiciÃ³n */
.thumbnail-item {
  position: relative;
  width: 350px; /* Ancho fijo para todas las imÃ¡genes */
  height: 200px;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  transition: transform 0.3s; /* TransiciÃ³n para la animaciÃ³n */
}

/* Estilo para la superposiciÃ³n de texto */
.overlay {
  position: absolute;
  bottom: 0; /* Mover el overlay a la parte inferior de la imagen */
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  padding: 10px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0 0 10px 10px; /* Redondear solo la parte inferior */
}

/* Al pasar el cursor por encima de la imagen */
.thumbnail-item:hover img {
  transform: scale(1.1); /* Agrandar ligeramente la imagen */
}

.thumbnail-item:hover .overlay {
  opacity: 1; /* Mostrar la superposiciÃ³n al pasar el cursor */
}

/* Estilo para las descripciones */
.image-description {
  text-align: center;
  margin-top: 5px;
  font-size: 14px;
  color: #555;
}
/* Ocultar formularios por defecto */
.reservation-form {
  display: none;
}

/* Mostrar el formulario activo */
.reservation-form.active-form {
  display: block;
}

/* Enlace activo */
.reservation-options a {
  padding: 10px;
  text-decoration: none;
  color: black;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.reservation-options a.active {
  border-bottom: 2px solid #007BFF;
  color: #007BFF;
}
/* Estilo para campos de fecha */
.campo-fecha {
  position: relative;
  margin-bottom: 15px;
}
.campo-fecha label {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  background: white;
  padding: 0 5px;
  color: #888;
  font-size: 12px;
  pointer-events: none;
  transition: 0.3s;
}

.campo-fecha input:focus + label,
.campo-fecha input:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 10px;
  color: #333;
}
.campo-fecha {
  position: relative;
  margin-bottom: 20px;
}

.campo-fecha label {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  background: white;
  padding: 0 5px;
  color: #888;
  font-size: 14px;
  pointer-events: none;
  transition: 0.3s;
}

.campo-fecha input:focus + label,
.campo-fecha input:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 12px;
  color: #333;
}
.zona-fecha {
  display: flex;
  justify-content: space-between; /* Asegura que las fechas estén separadas */
  align-items: center;
  gap: 20px; /* Espaciado entre las fechas */
  width: 100%; /* Ocupa todo el ancho del contenedor */
}

.campo-fecha {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 45%; /* Ancho de cada campo para que ambos encajen en una línea */
}

input[type="date"] {
  padding: 8px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.label-fecha {
  position: absolute;
  top: -20px; /* Ajusta la posición del label */
  left: 0;
  font-size: 0.9em;
  color: #555;
}
#campoFechaRegreso.hidden {
  display: none; /* Oculta el campo si está marcado como "hidden" */
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 8px 12px;
  text-align: left;
  border: 1px solid #ddd;
}
th {
  background-color: #f4f4f4;
}