/* style.css */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Caprasimo", cursive;
    text-align: center;
    font-size: 1.8vw;
    font-weight: 400;
}

h1,
h2 {
    font-size: 2.9vw;
    color: white;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    max-width: 80%;
    padding: 0% 1% 0% 1%; 
    margin: 0% 0% 5% 0%; 
    z-index: 60;
    position: relative;
    display: inline-block; 
    background-color: #f5a1c3; 
    border-radius: 15px; 
}

body {
    margin: 0;
    background-image: url("images/background-web.png");
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-color: #95e5fe; /* Color base del cielo */

    font-family: "Fredoka", sans-serif;
    font-size: 1.3vw;
    line-height: 1.6;
    color: #000000; 
}

.skydiver-icon {
    position: fixed;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5%;
    height: auto;
    z-index: -1;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.1s ease-in-out; /* Para suavidad si el JS tarda en cargar */
}

.airplane-transition-wrapper {

    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3%; 
    z-index: 4000;
    animation-name: flotar;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    position: relative;
    
    /* Puedes controlar la altura si quieres forzar más espacio debajo */
    height: 10vh; 
}

.airplane-img {
    width: 83%;
    height: auto;
    position: relative;
    margin: 0;
    z-index: 4000;
}

/* 1. SECCIÓN DEL BACKGROUND DE NUBES */
.cloud-bg {
    /* ALTURA GRANDE PARA FORZAR EL SCROLL */
    padding-top: 100px;
    position: relative;
    min-height: 200vh;
    padding: 100px 50px;
    text-align: center;
    background: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
/* 2. HEADER PRINCIPAL: Centrado y Apilamiento */

.main-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto; /* Empuja desde la izquierda */
    margin-right: auto;
    z-index: 4001;
    display: flex;
    flex-direction: column; /* Apila el logo y el menú */
    align-items: center; /* Centra horizontalmente todo (incluido el logo) */

    /* Ajusta el padding para que sea más uniforme */
    padding: 30px 10px 3% 10px;
    background-image: url("images/nube-main-header-v2.png"); /* Ruta a tu imagen de nube */
    background-size: cover; /* Ajusta la imagen para cubrir todo el header */
    background-repeat: no-repeat; /* Para que no se repita */
    background-position: bottom center; /* Centra la imagen de la nube */
}

/* 3. IMAGEN DEL LOGO */
.header-logo {
    height: auto; /* Podrías necesitar ajustar esta altura */
    width: 25%;
    vertical-align: CENTER;
    /* Margen inferior para separarlo de los botones */
    margin-bottom: 15px;
}

.logo {
    /* Si el logo es el único elemento y es inline-block, esto lo centra. */
    text-align: center;
    width: 100%; /* Aseguramos que el contenedor ocupe todo el ancho */
}

/* 2. NUEVO: ENVUELVE EL LOGO Y LOS BOTONES */
.header-content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    /* Padding para dar espacio al contenido superior/inferior */
    padding: 15px 50px 15px;

    /* Aseguramos que esté por encima del SVG */
    z-index: 3001;
}

/* 4. CONTENEDOR DE BOTONES (NAVEGACIÓN) */
.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.main-nav li {
    /* Quitamos el margen lateral que teníamos antes, ahora usamos 'gap' en el ul */
    margin-left: 0;
}

/* 5. ESTILOS BASE DEL BOTÓN (Portfolio, Contact me) */
.main-nav a {
    /* Hace que el 'a' se comporte como un bloque para poder darle padding */
    display: inline-block;

    /* Tipografía y Color Inicial */
    font-family: "Fredoka", sans-serif;
    font-size: 18px;
    text-decoration: none;
    color: #ffffff; /* Color de tipografía inicial: Verde */

    /* Estilo del Botón */
    background-color: #009563; /* Color de fondo inicial: Blanco */
    /* border: 2px solid #009563; /* Borde sutil para darle forma */
    padding: 6px 20px;
    border-radius: 100px; /* Radio de la esquina (corner radius) */
    transition: all 0.3s ease; /* Transición suave para el efecto hover */
}

/* 6. ESTILOS AL PASAR EL RATÓN (Hover/Active) */
.main-nav a:hover,
.main-nav a:active {
    background-color: #f5a1c3; /* Fondo al activar: Verde */
    color: white; /* Tipografía al activar: Rosa */
    /* border-color: #f5a1c3; /* Opcional: Cambia el color del borde en hover */
}

.hero-text-section {
    margin: 13% 25% 15% 25%;
    opacity: 1;
    transition: none;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #95e5fe;
}

.hero-text-section h2 {
    background-color: #95e5fe;
    margin-bottom: 0; /* Ajustamos el margen si es necesario */
}

.hero-text-section-2 {
    margin: 0% 20% 15% 20%;
    text-align: center;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- ESTILOS DEL H2 DENTRO DE LA SEGUNDA SECCIÓN --- */
.hero-text-section-2 h5 {
    font-size: 2.9vw;
    color: white; /* Color verde */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 0; /* Ajustamos el margen si es necesario */
}

.intro-section {
    margin: 0% 20% 15% 20%;
    text-align: center;
    position: relative;
    z-index: 3050;
}

/* --- SECCIÓN QUIÉN SOY (WHO I AM) --- */
.about-me-section {
    margin: 0% 20% 15% 20%;
    border-radius: 30px;
    text-align: center; /* Para centrar el h2 */
    display: flex;
    flex-direction: column;
    align-items: center;
    animation-name: flotar;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.info-center {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Apila todo: Imagen y Puntos */
    align-items: center; /* Centra todos los elementos horizontalmente */
}

.laura-photo {
    /* La imagen necesita un margen inferior para separarse de los puntos de texto */
    margin-bottom: 30px;
    /* Mantenemos el tamaño y estilo */
    max-width: 50%;
    width: 100%;
    height: auto;
}

.superpowers-section {
    margin: 0% 20% 15% 20%;
    border-radius: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;

    animation-name: flotar;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    position: relative;
    z-index: 10;
}


.superpowers-container {
    display: flex;
    justify-content: space-between; 
    gap: 2%; 
}

.superpower-card {
    flex: 1 1 32%;
    background-color: rgba(255, 255, 255, 0.88); /* Fondo más claro para el contenido interno */
    border-radius: 20px;
    padding: 30px 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-family: "Fredoka", sans-serif;
    font-size: 1.1vw;
    font-weight: 400;
    color: #333333;
}

.where-i-shine-section {
    margin: 0% auto 15% auto;
    max-width: 80%;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    animation-name: flotar;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    position: relative;
    z-index: 10;

}

.slider-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

/* Contenedor que realmente se desliza (el wrapper) */
.slider-wrapper {
    display: flex;
    overflow-x: auto; /* Habilita el desplazamiento horizontal */
    scroll-snap-type: x mandatory; /* Alinea las tarjetas al detenerse */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    cursor: grab; /* Muestra el icono de 'agarrar' por defecto */
    user-select: none; /* Evita que el texto se seleccione al arrastrar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.slider-wrapper.active-dragging {
    cursor: grabbing; /* Muestra el icono de 'agarrando' mientras el ratón está pulsado */
}

/* Ocultar scrollbar en Webkit (Chrome, Safari) */
.slider-wrapper::-webkit-scrollbar {
    display: none;
}

/* Estilos de Cada Tarjeta de Tecnología */
.tech-card {
    /* Tamaño fijo para cada tarjeta */
    flex: 0 0 300px;
    scroll-snap-align: start;
    margin-right: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: flex-start;
    min-height: 400px;
    padding: 9px 10px; 
}

.tech-icon {
    width: 100%;
    height: 350px;
    margin-bottom: 0;
    border-radius: 15px;
    object-fit: cover;
}

.tech-name {
    font-family: "Fredoka", sans-serif;
    font-size: 1vw;
    font-weight: 600;
    color: #333;
    align-self: flex-start;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 0;
    margin-left: 0;
}

.tech-detail {
    font-family: "Fredoka", sans-serif;
    font-size: 1vw;
    font-weight: 400;
    color: #333;
    padding: 3%;
    text-align: left;
    align-self: flex-start;
    margin-left: 0;
    margin-top: 5px;
    margin-bottom: 0;
}


/* Barra de Scrollbar (Custom) */
.slider-scrollbar {
    height: 22px;
    width: 80%;
    background-color: rgba(255, 255, 255, 0.3); /* Fondo blanco transparente */
    border-radius: 100px;

    /* 🔑 CLAVE 2: Fluye normalmente después del slider y está centrado */
    margin: 40px auto 0;
    position: relative; /* Contexto para el pulgar (thumb) */
    z-index: 20;
}

.scrollbar-thumb {
    height: 100%;
    /* 🔑 CLAVE 3: ANCHO FIJO (ej. 20%) para actuar como pulgar móvil */
    width: 20%;
    background-color: #f58442;
    border-radius: 100px;

    /* 🔑 CLAVE 4: Posición absoluta para ser movido con JS */
    position: absolute;
    top: 0;
    left: 0;

    /* Para que el movimiento del pulgar sea suave */
    transition: transform 0.2s ease-out;
}

/* --- SECCIÓN LLAMADA A LA ACCIÓN FINAL --- */
.cta-closing-section {
    margin: 0% 20% 20% 20%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.closing-subtitle {
    flex-direction: column;
    align-items: center;
}

.cta-container {
    text-align: center;
    margin-top: 5%; /* Espacio entre el slider y el botón */
    margin-bottom: 0;
}

.cta-button {
    display: inline-block;
    font-family: "Fredoka", sans-serif;
    font-size: 1.3vw;
    text-decoration: none;
    color: white; 
    background-color: #009563;
    padding: 6px 21px;
    border-radius: 100px; 
    transition: all 0.3s ease; 
}

/* --- ESTILOS AL PASAR EL RATÓN (Hover/Active) --- */
.cta-button:hover,
.cta-button:active {
    /* 🔑 CLAVE: Efecto de Hover (fondo rosa y texto blanco) */
    background-color: #f58442;
    color: white;
    transform: translateY(-2px); /* Pequeño efecto de levantamiento */
}



/* --- 9. FORMULARIO DE CONTACTO --- */
.contact-section {
    margin: 0% 20% 0% 20%;
    border-radius: 30px;
    padding: 0% 5% 0% 5%;
    display: flex;
    flex-direction: column;
    align-items: center;

    animation-name: flotar;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    position: relative;
    z-index: 10;
    
    
}

.contact-form {
    background-color: #009563;
    padding: 5% 20% 5% 20%;
    border-radius: 30px;
    max-width: 70%;
    text-align: left;
}
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 5px;
    font-family: "Fredoka", sans-serif;
    font-size: 1.3vw;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 1vw;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.checkbox-group input[type="checkbox"] {
    border: 2px solid white;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: #f5a1c3; 
}

.checkbox-group label {
    font-size: 1.1vw;
    color: #f5a1c3;
    line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
    transform: scale(1.7);
    margin-right: 15px; 
    margin-top: 5px;
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid white;
    width: 16px; /* Define el tamaño base antes de la escala */
    height: 16px;
    border-radius: 4px;

}

.contact-form button[type="submit"] {
    background-color: white;
    color: #009563;
    border: none;
    cursor: pointer;
    font-family: "Fredoka", sans-serif;
    font-size: 1.3vw;
    padding: 10px 30px;
    border-radius: 100px;
    transition: all 0.3s ease;
}
.contact-form button[type="submit"]:hover {
    background-color: #f5a1c3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.main-footer {
    background-color: #0a1939; /* Fondo gris oscuro o negro para el footer */
    color: #f5f5f5; /* Texto muy claro */
    padding: 30px 5%;
    font-family: "Fredoka", sans-serif;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between; /* Distribuye las columnas a lo largo */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    padding: 0 15px;
}

/* Estilos de Enlaces y Redes Sociales */
.footer-links a,
.footer-social a {
    color: #a2bdf4; /* Color azul claro o rosa de tu marca para enlaces */
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #f5a1c3; /* Rosa en hover */
}

.social-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

@keyframes flotar {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

/* MOBILE__________________________________________________________________________________________ */
@media (max-width: 768px) {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: "Caprasimo";
        font-size: 5vw;
        text-align: center;

    }

    h1,
    h2 {
        font-size: 6vw;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
        margin: 0% 2% 6% 2%;
        z-index: 60;
        position: relative;
    }
    
body {
    margin: 0;
    padding-top: 130px;
    font-family: "Fredoka", sans-serif;
    font-size: 4.5vw;
    line-height: 1.3;
    color: #000000; 
}

.cta-button {
    font-size: 4vw;
}
    
.header-logo {
    height: auto;
    width: 80%;
    vertical-align: CENTER;
}
.hero-text-section-2 {
    margin: 40% 20% 62% 20%;
} 
        
.hero-text-section-2 h5 {
    font-size: 6vw;
    color: white; /* Color verde */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 0; /* Ajustamos el margen si es necesario */
}
    
    
.laura-photo {
    max-width: 108%; /* La hacemos más grande para móvil */
}
    
.superpowers-section {
    margin: 40% 20% 40% 20%;
}
    
.superpowers-container {
    flex-direction: column; 
    gap: 20px; 
}

.superpower-card {
    background-color: rgba(255, 255, 255, 0.88); /* Fondo más claro para el contenido interno */
    border-radius: 20px;
    padding: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-family: "Fredoka", sans-serif;
    font-size: 4vw;
    color: #555555;
}
    
.where-i-shine-section {
    margin: 40% 5% 40% 5%;
    max-width: 100%;
}
    
.slider-container {
    max-width: 100%;
}

/* Contenedor que realmente se desliza (el wrapper) */
.slider-wrapper {
    display: flex;
    overflow-x: auto; /* Habilita el desplazamiento horizontal */
    scroll-snap-type: x mandatory; /* Alinea las tarjetas al detenerse */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    cursor: grab; /* Muestra el icono de 'agarrar' por defecto */
    user-select: none; /* Evita que el texto se seleccione al arrastrar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.slider-wrapper.active-dragging {
    cursor: grabbing; /* Muestra el icono de 'agarrando' mientras el ratón está pulsado */
}

/* Ocultar scrollbar en Webkit (Chrome, Safari) */
.slider-wrapper::-webkit-scrollbar {
    display: none;
}
    
.tech-card {
    /* Tamaño fijo para cada tarjeta */
    flex: 0 0 200px;
}
    
.tech-name {
    font-size: 5vw; 
    text-align: center;
}

.tech-detail {
    font-size: 4vw;
    text-align: center;
}

.tech-icon {
    width: 100%;
    height: auto;
}
    
    
.cta-closing-section {
    margin: 40% 5% 40% 5%;
}
    
                             /* --- 9. FORMULARIO DE CONTACTO --- */
.contact-section {
    margin: 0% 10% 0% 10%;
    padding: 0% 0% 0% 0%;
}
    
.contact-form {
    background-color: #009563;
    padding: 5% 5% 5% 5%;
    border-radius: 30px;
    text-align: left;
}

.form-group label {
    font-size: 3.5vw;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 5px;
    font-size: 3.5vw;
}

.contact-form textarea {
    min-height: 20%;
}

.checkbox-group input[type="checkbox"] {
    border: 1px solid white;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: #f5a1c3; 
}

.checkbox-group label {
    font-size: 3.5vw;
    color: #f5a1c3;
    line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
    transform: scale(1.7);
    margin-top: 5px;
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid white;
    width: 16px; 
    height: 16px;
    border-radius: 4px;
}

.contact-form button[type="submit"] {
    background-color: white;
    color: #009563;
    border: none;
    cursor: pointer;
    font-family: "Fredoka", sans-serif;
    font-size: 5vw;
    padding: 2% 10% 2% 10%;
    border-radius: 100px;
    transition: all 0.3s ease;
}
.contact-form button[type="submit"]:hover {
    background-color: #f5a1c3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.airplane-img {
    width: 150%;
    height: auto;
    position: relative;
    margin: 0%;
    z-index: 4000;
}
.skydiver-icon {
    width: 13%;
}


}