/* ========= GLOBAL - ESTILO DARK FUTURISTA ========= */
body {
    margin: 0;
    background-color: #050505; 
    color: #FFFFFF;
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
}

/* ========= HEADER ========= */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    display: block;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.08); /* Efecto visual de botón */
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 5px rgba(126, 163, 213, 0.5));
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #7EA3D5;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 10px #7EA3D5;
}

/* ========= HERO ========= */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: radial-gradient(circle, #0a0a0a 0%, #000000 100%);
}

.hero h1 {
    font-size: 48px;
    color: #7EA3D5;
    text-shadow: 0 0 20px rgba(126, 163, 213, 0.4);
}

.hero p {
    font-size: 22px;
    margin-top: 10px;
    color: #CCCCCC;
}

/* ========= SECCIÓN PARALLAX 3D ========= */
.parallax-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

.parallax-element {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform;
}

.parallax-element img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(126, 163, 213, 0.4));
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}

/* ========= GALERÍA FUTURISTA ========= */
.scroll-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.scroll-gallery a.scroll-item {
    text-decoration: none;
    display: block;
    width: 280px;
    height: auto;
    position: relative;
    border-radius: 12px;
    border: 1px solid rgba(126, 163, 213, 0.2); 
    background-color: transparent;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.scroll-gallery a.scroll-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.scroll-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: saturate(60%) brightness(80%); 
    transition: all 0.6s ease;
}

.glow-line {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, transparent 0%, rgba(126, 163, 213, 0.8) 50%, transparent 100%);
    box-shadow: 0 0 15px rgba(126, 163, 213, 1);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

.futuristic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(126, 163, 213, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* ========= EFECTOS HOVER ========= */
.scroll-item:hover {
    border-color: #7EA3D5;
    box-shadow: 0 0 25px rgba(126, 163, 213, 0.4);
    transform: translateY(-5px);
}

.scroll-item:hover img {
    filter: saturate(100%) brightness(110%);
}

.scroll-item:hover .glow-line {
    animation: scanLine 1.5s ease-out;
    opacity: 1;
}

@keyframes scanLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ========= CONTENIDO FINAL ========= */
.content {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.content h2 {
    color: #7EA3D5;
    display: inline-block;
    border-bottom: 3px solid #7EA3D5;
    padding-bottom: 5px;
    text-shadow: 0 0 10px rgba(126, 163, 213, 0.5);
}