/* #region Colores personalizados */
.text-zamberlan-blue {
   color: var(--zamberlan-blue);
  }
.bg-zamberlan-blue {
    background-color: var(--zamberlan-blue);        
}
/* #endregion */

/* #region Menú desplegable y comportamiento hover */
.hover-menu:hover .dropdown-menu {
    display: block;
}
.hover-menu:focus-within .dropdown-menu {
    display: block;
}
.hover-menu .dropdown-menu {
    z-index: 100;
}
.dropdown-menu {
    display: none;
    z-index: 100;
}
/* #endregion */

/* #region Fondo fijo */
.slider-bg {
  background-size: cover;          /* cubre todo el contenedor */
  background-repeat: no-repeat;
  background-position: center 40%; /* subimos la imagen */
  background-attachment: fixed;    /* fondo fijo para mejor efecto */
  width: 100%;
  height: 100%;
  min-height: 100vh;              /* altura mínima de la ventana */
}
/* #endregion */

/* #region Animación shake */
@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  20%, 60% { transform: translate(-2px, 2px); }
  40%, 80% { transform: translate(2px, -2px); }
}

.shake-box {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 0.5rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  padding: 1.5rem;
}
/* #endregion */

/* #region Colores personalizados */
:root {
  --zamberlan-blue: #1e40af; /* o el color que quieras */
}
/* #endregion */

/* #region Tipografía */
.font-montserrat {
  font-family: 'Montserrat', sans-serif;
}
/* #endregion */

/* #region Texto neon */
.text-neon-outline {
  color: #000; /* Texto negro */
  text-shadow:
    0 0 5px #39ff14,
    0 0 10px #39ff14,
    0 0 20px #39ff14,
    0 0 40px #0f0,
    0 0 80px #0f0;
}
/* #endregion */

/* #region Título simple */
.titulo-3d {
  position: relative;
  font-size: 1.4rem !important; /* títulos aún más pequeños */
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: #1e40af;
  text-shadow: none;
  animation: none;
}
.titulo-3d span {
  font-size: 1.4rem !important;
}
@media (min-width: 640px) {
  .titulo-3d { font-size: 1.6rem !important; }
  .titulo-3d span { font-size: 1.6rem !important; }
}
@media (min-width: 768px) {
  .titulo-3d { font-size: 1.8rem !important; }
  .titulo-3d span { font-size: 1.8rem !important; }
}
@media (min-width: 1024px) {
  .titulo-3d { font-size: 2rem !important; }
  .titulo-3d span { font-size: 2rem !important; }
}

.icono-3d {
  font-size: 1.4rem !important; /* mismo tamaño que el título base */
  filter: none;
  transition: none;
  will-change: auto;
}
.icono-3d:hover {
  transform: none;
  filter: none;
}
@media (min-width: 640px) {
  .icono-3d { font-size: 1.6rem !important; }
}
@media (min-width: 768px) {
  .icono-3d { font-size: 1.8rem !important; }
}
@media (min-width: 1024px) {
  .icono-3d { font-size: 2rem !important; }
}
/* #endregion */

/* #region Textos destacados */
/* Email de contacto */
a[href="mailto:reservas@zamberlanturismo.com.ar"] {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
}

/* Textos de información de contacto (excluyendo títulos) */
.info-contacto-3d-section span:not(.titulo-3d span) {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #000000 !important;
}

/* Labels del formulario */
label[for="nombre"],
label[for="apellido"],
label[for="email"],
label[for="telefono"],
label[for="asunto"],
label[for="mensaje"] {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
}
/* #endregion */

/* #region Formulario con fondo */
.formulario-3d-section {
  background: linear-gradient(120deg, rgba(240, 246, 255, 0.5) 60%, rgba(224, 231, 239, 0.5) 100%);
  border: none;
  box-shadow: none;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem 2rem 2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  transition: none;
}
.formulario-3d-section:hover {
  transform: none;
}
@media (max-width: 768px) {
  .formulario-3d-section {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    border-radius: 1rem;
  }
}
/* #endregion */

/* #region Info de Contacto con fondo */
.info-contacto-3d-section {
  background: linear-gradient(120deg, rgba(224, 231, 239, 0.5) 60%, rgba(240, 246, 255, 0.5) 100%);
  border: none;
  box-shadow: none;
  border-radius: 1.5rem;
  padding: 2.2rem 2rem 2rem 2rem;
  margin-bottom: 1.2rem;
  margin-top: 0.2rem;
  transition: none;
}
.info-contacto-3d-section:hover {
  transform: none;
}
@media (max-width: 768px) {
  .info-contacto-3d-section {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    border-radius: 1rem;
  }
}

.info-contacto-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.08em;
  color: #1e40af;
  letter-spacing: 0.01em;
  margin-right: 0.2em;
}
/* #endregion */

/* #region Menú hamburguesa móvil */
/* Los estilos del menú móvil se manejan en stylesHeader.css para mantener consistencia */
/* #endregion */

/* #region Separador visual */
.separador {
  width: 80px;
  height: 4px;
  background-color: #2563eb;
  border-radius: 9999px;
  margin: 0 auto;
}
/* #endregion */

/* #region Boletín de suscripción */
.boletin {
    color: white;
}

.boletin h3 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.boletin p {
    color: #d1d5db;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.boletin form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .boletin form {
        flex-direction: row;
        align-items: center;
    }
}

.boletin input[type="email"] {
    flex: 1;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #1f2937;
    color: white;
}

.boletin input::placeholder {
    color: #9ca3af;
}

.boletin button {
    padding: 0.5rem 1rem;
    background-color: #2563eb;
    border: none;
    border-radius: 0.5rem;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.boletin button:hover {
    background-color: #1d4ed8;
}
/* #endregion */

/* #region Animaciones para mensajes de éxito y error */
@keyframes slideInFromTop {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

#mensaje, #error, #mensaje-enviando {
    animation: slideInFromTop 0.5s ease-out;
    transition: all 0.3s ease;
}

#mensaje.show {
    animation: slideInFromTop 0.5s ease-out, pulse 0.6s ease-out 0.3s;
}

#error.show {
    animation: slideInFromTop 0.5s ease-out;
}

#mensaje-enviando.show {
    animation: slideInFromTop 0.5s ease-out;
}

/* Efecto de brillo para mensaje de éxito */
#mensaje {
    position: relative;
    overflow: hidden;
}

#mensaje::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 2s ease-in-out;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}
/* #endregion */

/* #region Posicionamiento fijo para mensajes */
#mensaje-enviando, #mensaje, #error {
    position: relative;
    z-index: 10;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

/* Evitar que los mensajes afecten el layout del formulario */
.formulario-3d-section {
    position: relative;
}

/* Asegurar que el botón mantenga su posición */
button[type="submit"] {
    position: relative;
    z-index: 5;
}
/* #endregion */

/* #region Eliminar fondo blanco fuerte del contenedor principal */
main .grid.bg-white {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
/* #endregion */

/* #region Espaciado adicional para secciones principales */
main .grid.grid-cols-1 {
  margin-top: 1.5rem; /* bajar secciones en mobile */
}
@media (min-width: 640px) {
  main .grid.grid-cols-1 { margin-top: 2rem; }
}
@media (min-width: 1024px) {
  main .grid.grid-cols-1 { margin-top: 2.5rem; }
}
/* #endregion */

