/* =========================================
   SKETCH SPORTS X - LEGACY (PORTFOLIO)
   ========================================= */

:root {
    --sp-cyan: #00E5FF;
    --sp-dark: #050505;
}

body { background: var(--sp-dark); color: white; font-family: 'regular', sans-serif; }

/* 1. HERO LEGADO */
.legacy-hero {
    height: 70vh; display: flex; align-items: center; justify-content: center;
    position: relative; text-align: center; overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.legacy-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.4; filter: grayscale(100%);
    z-index: 0;
}
.legacy-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }

.legacy-tag {
    color: var(--sp-cyan); font-family: 'medium'; letter-spacing: 4px;
    text-transform: uppercase; font-size: 0.9rem; margin-bottom: 20px; display: block;
}
.legacy-title {
    font-size: clamp(3rem, 5vw, 5rem); line-height: 0.9; margin-bottom: 20px;
    text-transform: uppercase;
}
.legacy-desc {
    font-family: 'light'; font-size: 1.2rem; color: #ccc; max-width: 600px; margin: 0 auto;
}


/* 2. LISTA DE PROYECTOS (BANNERS GIGANTES) */
.projects-list-section {
    background: #000;
}

.project-banner {
    display: block; position: relative;
    width: 100%; height: 450px; /* Altura del banner */
    overflow: hidden; border-bottom: 1px solid #222;
    text-decoration: none;
}

.pj-bg-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.6s ease;
    filter: brightness(0.5) grayscale(80%); /* Oscuro y desaturado por defecto */
}

/* Efecto Hover: Color y Zoom */
.project-banner:hover .pj-bg-img {
    transform: scale(1.05);
    filter: brightness(0.7) grayscale(0%); /* Vuelve el color */
}

.pj-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, #000 10%, transparent 100%);
    z-index: 1;
}

/* Contenido del Banner */
.pj-info {
    position: relative; z-index: 2;
    height: 100%; display: flex; flex-direction: column; justify-content: center;
    padding-left: 8%; max-width: 800px;
}

.pj-label {
    color: var(--sp-cyan); font-family: 'medium'; letter-spacing: 2px;
    text-transform: uppercase; font-size: 0.8rem; margin-bottom: 15px;
    display: block; opacity: 0.8;
}

.pj-name {
    font-size: clamp(2.5rem, 4vw, 4rem); color: white; margin: 0 0 20px 0;
    line-height: 1; text-transform: uppercase;
    transition: 0.3s;
}
.project-banner:hover .pj-name { text-shadow: 0 0 20px rgba(0, 229, 255, 0.3); }

/* Flecha de Acción */
.pj-action {
    display: flex; align-items: center; gap: 10px;
    color: white; font-family: 'medium'; text-transform: uppercase;
    font-size: 0.9rem; letter-spacing: 1px;
    transition: 0.3s; transform: translateX(0);
}
.pj-action i { color: var(--sp-cyan); }

.project-banner:hover .pj-action {
    transform: translateX(20px); /* Se mueve a la derecha al hover */
    color: var(--sp-cyan);
}


/* 3. FILOSOFÍA */
.philosophy-sec {
    padding: 120px 0; background: #0b0b0b; text-align: center;
}
.philo-box { max-width: 700px; margin: 0 auto; padding: 0 20px; }
.philo-title { 
    font-size: 2rem; color: white; margin-bottom: 25px; 
    font-family: 'medium'; letter-spacing: 2px;
}
.philo-text { 
    font-size: 1.3rem; color: #999; line-height: 1.6; font-family: 'light'; font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .project-banner { height: 350px; }
    .pj-info { padding-left: 20px; padding-right: 20px; align-items: center; text-align: center; }
    .pj-overlay { background: rgba(0,0,0,0.6); } /* Fondo plano en móvil */
    .project-banner:hover .pj-action { transform: translateX(0); } /* Sin animación en móvil */
}



/* BOTÓN NEÓN (CTA) */
.btn-neon {
    display: inline-block;
    background: var(--sp-cyan);
    color: #000;
    padding: 15px 40px;
    font-family: 'medium', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: all 0.3s ease;
    border: 1px solid var(--sp-cyan);
    cursor: pointer;
}

.btn-neon:hover {
    background: transparent;
    color: var(--sp-cyan);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.4); /* Resplandor Cyan */
    transform: translateY(-3px);
}