body {
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #1c1c1c;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/*Boton arriba*/

#myBtn {
    display: none; /* oculto por defecto */
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    padding: 10px 15px;
    background-color: #028090;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#myBtn:hover {
    background-color: #05668d;
}


/*HEADER*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Asegura que esté por encima de la imagen */
    background-color: transparent; /* Empieza transparente */
    transition: background-color 0.3s ease;
}
header .header {
    width: 100%;
    height: 95px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
}
    
.header-nav{
    margin: 6px;
}
.header-nav a{
    text-decoration: none;
    color: #faf9f6;
    margin: 9px;
}
.header-nav a:hover{
    font-weight: 700;
    border-bottom: solid 1px #faf9f6;
}
.header-actions a{
    text-decoration: none;
    color: #faf9f6;
    margin: 9px;
    background-color: #1c1c1c;
}
.header-actions a:hover{
    text-decoration: none;
    margin: 9px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #333333;
    color: #faf9f6;
}
/* HEADER SCROLL */
header.scrolled {
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/*Banner Bar de Oxigeno*/
.hero {
    height: 42rem !important;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}
.hero video {
    position: absolute; /* debe ser absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0; /* para que el header esté sobre ella */
}

.text-nosotros {
    margin: 60px 100px 0 100px;
    transition: transform 1s ease, box-shadow 1s ease;
}

.text-nosotros h1{
    text-decoration: none;
    color: #faf9f6;
    font-weight: 700;
    display: inline-block;
    /* Animación al cargar */
    animation: slideUp 2s ease forwards;
}

.hero .container p{
    text-decoration: none;
    color: #faf9f6;
    display: inline-block;
    /* Animación al cargar */
    animation: slideUp 2.5s ease forwards;
    transition: transform 1s ease;
}
.hero .container p:hover {
    transform: scale(1.05);
}
/* Sección ¿Qué es el Bar de Oxígeno? */
.container-queEs {
    padding: 50px 0 50px 0;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #1c1c1c;
}
.texto-queEs{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.texto-queEs p{
    font-size: 22px;
    width: 50%;
}
/*Beneficios*/
.contenedor-beneficios{
    padding: 50px 0 50px 0;
}

/* SERVICIOS */

/* CONTENEDOR SERVICIOS */


/* Decoración suave */
.bg-decoracion {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    top: -100px;
    left: -100px;
    filter: blur(60px);
}

/* Cards */
.servicio-card {
    width: 19rem;
    height: 22rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 22px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: rgba(31, 41, 55, 0.8); /* fondo semitransparente */
    opacity: 0;
    transform: translateY(-50px);
    transition: all 1.2s ease-out;
}

/* Cuando la card se vuelve visible */
.servicio-card.visible {
    opacity: 1;
    transform: translateY(0);
    animation: flotar 6s ease-in-out infinite;
}
/* Lista */
.lista-servicios {
    list-style: none;
    padding: 0;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Asegúrate de que esto esté en tu bloque de <style> */

.oxi-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1; /* Bajamos el z-index para que no tapen el texto y permitan clicks */
}

.oxi-bubbles .bubble {
    position: absolute;
    bottom: -50px; /* Empezar fuera de la pantalla */
    background: radial-gradient(circle at 30% 30%, rgba(228,6,129,0.4), rgba(228,6,129,0.1));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: bubbleUp infinite linear;
}

/* Ajuste del Keyframe para que suban de verdad */
@keyframes bubbleUp {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-120vh) translateX(20px); /* Usamos vh para asegurar el recorrido */
        opacity: 0;
    }
}

/* Colores dinámicos para las burbujas azules (las pares) */
.oxi-bubbles .bubble:nth-child(even) {
    background: radial-gradient(circle at 30% 30%, rgba(0,83,147,0.4), rgba(0,83,147,0.1));
}

.lista-servicios li {
    position: relative;
    padding-left: 1.2rem;
}

.lista-servicios li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #34d399;
    font-size: 1.2rem;
}



/*animacion texto contacto*/
@keyframes slideUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Beneficios Section */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.animate-fadeIn {
    animation: fadeIn 0.3s ease-out;
}   


/* Animación de flotación */
@keyframes flotar {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.font-orbitron { 
    font-family: 'Orbitron', sans-serif; 
}
.font-poppins { 
    font-family: 'Poppins', sans-serif; 
}
.text-glow { 
    text-shadow: 0 0 10px rgba(0, 83, 147, 0.3); 
}
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(0, 83, 147, 0.05);
}
.clip-path-slant {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* Asegurar que las fuentes y suavizados se vean bien */
html {
    scroll-behavior: smooth;
}
.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}
