:root {
    --purple: #0d47a1;
    --red: #0d47a1;
}
/* Estilos del banner de cookies */
#cookie-banner {
    position: fixed;
    right: -400px; /* Oculto fuera de la pantalla */
    bottom: 30px;
    max-width: 375px;
      background-image: url(../../assets/images/fondo.png);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 6px 6px rgba(0, 0, 0, 0.9);
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    display: none; /* Oculto por defecto */
    transition: right 0.5s ease-in-out; /* Animación de deslizamiento */
}

/* Cuando se activa, el banner se desliza a la pantalla */
#cookie-banner.show {
    right: 30px; /* Muestra el banner */
}

#cookie-banner h3 {
    color: var(--red);
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 2px;
}

#cookie-banner h5 {
    color: var(--red);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 2px;
}

#cookie-banner p {
    color: black;
    font-size: 18px;
    line-height: 1.7em;
    margin-bottom: 15px;
    margin-top: 20px;
}

#cookie-banner a {
    color: var(--red);
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease-in;
}

#cookie-banner a:hover {
    color: black;
    border-bottom-color: var(--red);
    transition: all 0.3s ease-in;
}

/* Opciones de cookies */
.cookie-options ul {
    padding: 0;
    list-style: none;
    margin-top: 15px;
    column-count: 2; /* Organiza en 2 columnas */
    column-gap: 20px; /* Espacio entre columnas */
}

.cookie-options li {
    margin-bottom: 10px;
}

.cookie-options label {
    color: black;
}

/* Estilo del texto de "Selecciona las cookies que deseas aceptar" */
.cookie-options h5 {
    color: white; /* Cambiar color a blanco */
    font-size: 16px;
    margin-bottom: 10px;
}

/* Botones de aceptar y cancelar */
.cookie-buttons {
    display: flex;
    justify-content: space-between;
}

#accept-btn, #cancel-btn {
    border: none;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease-in;
}

#accept-btn {
    background-color: var(--red);
    color: white;
}

#cancel-btn {
    background-color: white;
    color: var(--red);
}

#accept-btn:hover, #cancel-btn:hover {
    background-color: white;
    color: var(--red);
}

#cancel-btn:hover {
    background-color: var(--red);
    color: white;
}

/* Ajuste para checkbox */
.cookie-options input[type="checkbox"] {
    margin-right: 8px;
}

/* Para pantallas pequeñas */
@media (max-width: 768px) {
    #cookie-banner {
        right: 10px;
        bottom: 10px;
        width: auto;
        max-width: 100%;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }

    #accept-btn, #cancel-btn {
        width: 100%;
    }
}

/* Estilos personalizados */
body {
  background-image: url(../assets/images/fondo.png);
  font-family: 'Poppins', sans-serif;
}
      /* Personalizar encabezados */
h1 {
  font-weight: 600;
}

/* Mejorar el aspecto del texto */
p {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
}


.carousel-caption {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5); /* sombreado total */
    padding: 400px 60px;
    border-radius: 0;
    text-align: left;
    width: 100%;

}

.carousel-caption h5 {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.carousel-caption p {
    font-size: 1.6rem;
    font-weight: 500;
    color: #eee;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

#carouselExampleCaptions {
  position: relative;
  z-index: 1;
  min-height: 60vh;
  overflow: hidden;
}
.carousel-item img {
  object-fit: cover;
  height: 60vh;
}


@media (max-width: 767.98px) {
    .carousel-caption {
        padding: 500px 1px;
        text-align: center;
        top: 30%;
    }

    .carousel-caption h5 {
        font-size: 2.0rem;
        margin-bottom: 5px;
    }

    .carousel-caption p {
        font-size: 1.5rem;
    }

}

.carousel-item video,
.carousel-item img {
  width: 100%;
  height: 80vh; /* Igual que el resto */
  object-fit: cover;
  border-radius: 0.6rem; /* Si usas bordes redondeados en imágenes */
  box-shadow: 0 4px 16px rgba(0,0,0,0.13); /* Opcional, si las imágenes tienen sombra */
  display: block;
}
@media (max-width: 767.98px) {
.carousel-item video {
  height: 45vh;
}
}

.bg-dark-section {
background: #222; /* o el color oscuro que prefieras */
color: #fff;
margin-top: 0 !important;
margin-bottom: 0 !important;
padding-top: 0;
padding-bottom: 0;
width: 100vw;
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -50vw;
}
.bg-dark-section .card {
background: #333;   /* Mantener la card blanca si lo prefieres, o pon #222 para oscurecerla */
color: #222;        /* Color del texto dentro de la card */
}
.bg-dark-section .card-title,
.bg-dark-section table,
.bg-dark-section .table td,
.bg-dark-section .table th {
color: var(--red);
}



.navbar-custom {
  background: transparent;
  z-index: 1050;
  padding: 10px 20px;
  box-shadow: none;
}

/* Color de los textos del menú */
.navbar-custom .nav-link,
.navbar-custom .navbar-toggler,
.navbar-custom .dropdown-toggle {
  color: #fff !important;
  font-size: 18px;
  font-weight: 500;
}



  /* Fondo del menú desplegable */
  .navbar-custom .dropdown-menu {
      background-color: rgba(0, 0, 0, 0.9);
      border: none;
  }

  .navbar-custom .dropdown-item {
      color: #fff;
  }

  .navbar-custom .dropdown-item:hover {
      background-color: #333;
      color: #ffc107;
  }

  .navbar-scrolled {
      background-color: #000 !important;
      transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .navbar-scrolled .nav-link,
  .navbar-scrolled .navbar-toggler,
  .navbar-scrolled .dropdown-toggle {
      color: #FFF !important;
  }

  .navbar-scrolled .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  /* Logo tamaño normal */
.navbar-custom .navbar-brand img {
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  height: 70px;    /* O el tamaño grande que prefieras */
  width: auto;
}

/* Logo reducido cuando haces scroll */
.navbar-scrolled .navbar-brand img {
  height: 38px;   /* Tamaño más pequeño */
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

.primary-menu .nav-link {
  color: #fff !important;
  transition: all 0.3s ease-in-out;
  background-color: rgba(255, 255, 255, 0.05);
}

.primary-menu .nav-link:hover {
  background-color: #cf0232;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}
@media (max-width: 991.98px) {
  .bg-mobile-menu {
    background-color: rgba(0, 0, 0, 0.9); /* Fondo oscuro translúcido */
    padding: 1rem;
    border-radius: 10px;
  }

  .bg-mobile-menu .nav-link {
    color: white !important;
  }


}


.footer {
  background: #2C3E50;
  color: white;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}


.login-container {
max-width: 400px;
margin: 80px auto;
padding: 20px;
background: white;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.login-container img {
display: block;
margin: 0 auto 20px;
width: 180px;
}
.login-container h3 {
text-align: center;
margin-bottom: 20px;
}
.btn-custom {
width: 100%;
}
/* Pantalla de carga */
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.dots {
    font-size: 24px;
    font-weight: bold;
    color: white;
    display: inline-block;
    animation: blink-animation 1.5s infinite;
}
@keyframes blink-animation {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
.footer {
    width: 100vw; /* Ocupar todo el ancho de la pantalla */
    background: #1d1d1d; /* Color más oscuro */
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
    border-top: 2px solid #007bff; /* Línea superior azul */
}
.footer a {
    color: #007bff;
    text-decoration: none;
}
.footer a:hover {
    color: #ffffff; /* Cambia el color al pasar el ratón */
}

/* Sección Parallax */
.parallax {

    background-size: cover;
     background-attachment: fixed;
     background-position: center;
     background-repeat: no-repeat;
     height: 500px;
     display: flex;
     justify-content: center;
     align-items: center;
     text-align: center;
     color: white;
     position: relative;
     padding: 20px;
 }

 /* Línea negra en la parte superior con sombra */
 .parallax::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 1px; /* Grosor de la línea */
     background-color: black;

 }

 /* Capa oscura para mejorar la visibilidad del texto */
 .parallax .overlay {
      /* background: rgba(0, 0, 0, 0.6);*/
     padding: 30px;
     width: 90%;
     max-width: 75%;
     border-radius: 8px;
 }

 /* Texto */
 .parallax h2 {
     font-size: 3rem;
     font-weight: 600;
     margin-bottom: 10px;

 }

 .parallax p {
     font-size: 2rem;
     font-weight: 300;
     line-height: 1.5;
 }

 .parallax .overlay {
    padding: 60px 30px;

    color: #fff;
    width: 100%;
    min-height: 350px;
}



 /* Adaptación para móviles */
 @media (max-width: 768px) {
     .parallax {
         background-attachment: scroll;
         height: 500px;
     }

     .parallax .overlay {
         padding: 20px;
     }

     .parallax h2 {
         font-size: 1.5rem;
     }

     .parallax p {
         font-size: 0.9rem;
     }
     .parallax .overlay {
         padding: 30px 10px;
         min-height: auto;
     }
     .parallax-content {
         flex-direction: column !important;
     }
     .parallax .ratio {
         min-width: 100%;
         margin-top: 20px;
     }
 }
 /* Sección de Planes de Precios */
.pricing-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}
/* Línea negra en la parte superior con sombra */
.pricing-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px; /* Grosor de la línea */
    background-color: black;

}

.pricing-section h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #007bff;
}

.pricing-section p {
    font-size: 1.2rem;
    color: #555;
}

/* Tarjetas de Precios */
.pricing-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    margin-bottom: 20px;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: #333;
    font-weight: bold;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    margin: 15px 0;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
}

.pricing-card ul li {
    font-size: 1rem;
    padding: 5px 0;
}

/* Resaltar el plan recomendado */
.recommended {
    border: 2px solid #28a745;
}

.recommended .price {
    color: #28a745;
}

/* Botones */
.pricing-card .btn {
    margin-top: 15px;
    width: 100%;
}

#whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s;
}

#whatsapp-button img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

#whatsapp-button:hover {
    transform: scale(1.1);
}

/* Estilo para el modal */
#whatsapp-modal {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 300px;
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

#whatsapp-modal h3 {
    margin: 0 0 10px;
}

#whatsapp-modal a {
    text-decoration: none;
    color: white;
    background-color: #25d366;
    padding: 10px 20px;
    border-radius: 5px;
    display: block;
    text-align: center;
}
