/* -------------------------------------------------------------
>>> language Switcher Button
------------------------------------------------------------- */
#languageSwitcher {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--color-60);
    /*background-color: transparent;*/
    background-color: var(--color-00);    
    border: 1px solid var(--color-60);
    padding: 8px 12px;
    border-radius: 0 15px 0 0;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* margin-left: 15px; /* Space from other nav items */
    font-size: 0.9em;
    
    display: flex;
    align-items: center;
    
    position:fixed;
    /*top:50px;*/
    bottom:-4px;    
    left:-4px;
    z-index: 10;
}
#languageSwitcher:hover {
    /*background-color: var(--color-10);*/
    /*border: 1px solid var(--color-30);    */
    color: var(--color-10);
}
#languageSwitcher i {
    margin-right: 5px;
}
@media (max-width: 991.98px) {
    #languageSwitcher {
        /*margin-left: 0;*/
        /*margin-top: 10px;*/
        display: block; /* Make it full width in mobile menu */
        width: fit-content;
        /*margin: 10px auto;*/
    }
}


/* -------------------------------------------------------------
>>> Hero Section
------------------------------------------------------------- */
/* Hero Section */
.hero {
    background: url('../img/placeholder.svg') no-repeat center center/cover;
    padding: 100px 20px;
    text-align: center;
    
    position: relative;
    /* height: 300px; /* Ajusta según necesites */
    /*background-image: url('tu-imagen.jpg');*/
    background-size: cover;
    background-position: center;
    overflow: hidden; /* Importante para que no se desborde el overlay */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-overlay); /* Negro semitransparente */
  z-index: 1;
}

.hero h1 {
    font-size: 3.5em;
    color: var(--color-h1);
    margin-bottom: 10px;
    font-weight: bold;
    
    position:relative;
    z-index:9;
}
.hero h1 .highlight {
    color: var(--color-h1);
    
    position:relative;
    z-index:9;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--color-99);
    
    position:relative;
    z-index:9;
}

.hero .btn-live {
    background-color: var(--color-10);
    color: var(--color-00);
    padding: 15px 35px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    
    position:relative;
    z-index:9;
}
.hero .btn-live:hover {
    background-color: var(--color-hover);
    color: var(--color-99);    
}


/* -------------------------------------------------------------
>>> Post Carousel Auto
------------------------------------------------------------- */
/* Contenedor principal del carrusel */
.wp-post-carousel {
    position: relative;
    width: 100%;
    height: 60vh; /* Altura del carrusel, ajústala a tu gusto */
    min-height: 400px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #333; /* Color de fondo mientras carga la imagen */
}

/* Contenedor de todas las diapositivas */
.carousel-slides {
    width: 100%;
    height: 100%;
}

/* Estilo de cada diapositiva individual */
.carousel-slide {
    display: none; /* Ocultas por defecto */
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    display: flex; /* Mostramos solo la activa */
}

/* Efecto de superposición oscura para legibilidad del texto */
.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Ajusta la opacidad aquí */
}

/* Contenido de la diapositiva (título, extracto, botón) */
.slide-content {
    position: relative;
    z-index: 2;
    margin: auto;
    max-width: 800px;
    padding: 20px 40px;
    text-align: center;
}

.slide-title {
    font-size: 3rem;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.slide-excerpt {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.slide-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ffc107; /* Color amarillo similar al ejemplo */
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.slide-button:hover {
    background-color: #e0a800;
}

/* Botones de control (Prev/Next) */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s ease;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-control.prev {
    left: 15px;
}

.carousel-control.next {
    right: 15px;
}

/* Indicadores de puntos */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #ffffff;
}


/* -------------------------------------------------------------
>>> Carousel Logos
------------------------------------------------------------- */
  .carousel-logos-container {
    width: 70%;
    overflow: hidden;
    position: relative;
    
    @media (max-width: 768px) {
        width: 92vw;
    }
    
    margin-inline: auto;
    margin-block: 0.5rem 0.5rem;
    
  /*-webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);*/
  /*mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);*/
  
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));  
  
  /*--webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));*/
  /*mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));*/
  }
  .carousel-logos {
    display: flex;
    animation: scroll 20s linear infinite;
    width: max-content;
  }
  .carousel-logos img {
    /*width: 150px;*/
    width: 100px;    
    height: auto;
    margin: 10px;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
  }
  .carousel-logos img:hover {
    filter: grayscale(0%);
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  
/* -------------------------------------------------------------
>>> 5 Stars
------------------------------------------------------------- */
.hero-review {
    display: flex;
    font-size: 1.1rem;
    color: #ffc107;
    margin-inline: auto;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    margin: 0 0 1rem 0;
}


/* -------------------------------------------------------------
>>> Certifications
------------------------------------------------------------- */
.cert-container {
    background-color: var(--box1-overlay);
    /*box-shadow: var(--box1-shadow);*/
    backdrop-filter: blur(10px); /* The magic happens here */
    webkit-backdrop-filter: blur(10px); /* For Safari support */
    border: var(--box1-border); /* A subtle border */
    border-radius: var(--box1-corner);
    color: var(--color-99);
    padding: 2rem;
    
    p {
        color: var(--color-99);
        text-align: center;
        margin: 0 0 0 0;
    }
    
    .cert {
        /*max-width: 1200px;*/
        /*margin-inline: auto;*/
        /*display:grid; */
        /*align-items: center;*/
        /*grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));*/
        /*grid-template-rows: auto;*/
        /*gap: 2rem;*/
        /*justify-items: center;*/
        
        /*& > :last-child:nth-child(odd) {*/
        /*    grid-column: 1 / -1;*/
        /*}*/
        
        /* Propiedades del contenedor principal */
        max-width: 1200px;
        margin-inline: auto;
        padding: 2rem; /* Un poco de padding para que no se pegue a los bordes */
        gap: 2rem; /* El gap funciona igual en Flexbox! */
        
        /* --- La Magia de Flexbox --- */
        display: flex;
        flex-wrap: wrap; /* Permite que los elementos bajen a la siguiente línea */
        justify-content: center; /* ¡ESTA ES LA CLAVE! Centra los elementos en cada línea */        
        
        img {
            max-width: 150px;
            @media (max-width: 768px) {
                max-width: 130px;
            }
        }
        
        @media (max-width: 768px) {
            padding: 0;
            gap: 0;
        }
    }
}      

/* -------------------------------------------------------------
>>> Text Hero Re-Disign Animation
------------------------------------------------------------- */
/* --- Contenedor Principal del Texto --- */
.text-container {
    display: flex;
    justify-content: center;
    align-items: baseline; /* Alinea los textos en su base */
    perspective: 500px; /* Añade perspectiva para efectos 3D sutiles */
    font-family: 'Orbitron', sans-serif;
}

/* --- Estilo Base para el Texto --- */
.text {
    font-size: clamp(2.5rem, 14vw, 6rem); /* Tamaño de fuente responsivo */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e0e0e0; /* Color base para el texto estático */
    margin-block: 0.4rem;
}

/* --- Estilo para la Parte Animada ("Re-") --- */
.animated-text {
    position: relative;
    /* El color se controla con la animación para el efecto de materialización */
    color: transparent;
    /* Aplicamos la animación 'materialize' */
    animation: materialize 6s infinite ease-in-out;
    /* Se usan múltiples sombras de texto para crear el efecto de partículas */
    text-shadow: 
        0 0 1px rgba(255, 255, 255, 0.1),
        0 0 2px rgba(255, 255, 255, 0.1);
}

/* --- Definición de la Animación (Keyframes) --- */
@keyframes materialize {
    /* --- Estado Inicial (0%) y Final (100%): Desmaterializado --- */
    0%, 100% {
        color: transparent; /* El texto es invisible */
        /* Las sombras están dispersas, borrosas y coloreadas, simulando partículas de energía */
        text-shadow:
            0px 0px 50px rgba(0, 255, 255, 0.2),  /* Cian */
            -20px 10px 40px rgba(255, 0, 255, 0.2), /* Magenta */
            20px -10px 40px rgba(0, 255, 128, 0.2), /* Verde */
            10px 20px 30px rgba(255, 255, 0, 0.2),  /* Amarillo */
            -10px -20px 30px rgba(0, 128, 255, 0.2);/* Azul */
    }

    /* --- Punto Medio (50%): Materializado --- */
    50% {
        color: #ffffff; /* El texto se vuelve blanco y sólido */
        /* Las sombras convergen en el centro, creando un brillo intenso y nítido */
        text-shadow:
            0 0 1px #fff,
            0 0 5px #fff,
            0 0 10px #00ffff, /* Aura cian brillante */
            0 0 20px #00ffff,
            0 0 30px #00ffff;
    }
}

/* --- Estilo para la Parte Estática ("Design") --- */
.static-text {
    /* Sombra sutil para que coincida con el brillo del texto animado cuando está estable */
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}
/* -------------------------------------------------------------
>>> CSS
------------------------------------------------------------- */


/* -------------------------------------------------------------
>>> TEST
------------------------------------------------------------- */
