PORTFOLIO/src/frontend/src/app/presentation/features/landing/landing.component.css

363 lines
8.0 KiB
CSS

:host {
display: block;
width: 100%;
min-height: 100vh;
background-color: var(--zen-bg-base, #121517);
color: var(--zen-text-primary);
}
.landing-container {
display: flex;
flex-direction: column;
width: 100%;
min-height: 100vh;
position: relative;
background-color: var(--zen-bg-base, #121517);
}
/* ==============================================================================
HEADER MINIMALISTA FLOTANTE (Glassmorphism & Cyber-Zen)
============================================================================== */
.zen-header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
display: flex;
align-items: center;
justify-content: space-between;
height: 56px;
padding: 0 clamp(0.75rem, 2vw, 2rem);
background: rgba(10, 10, 11, 0.88);
backdrop-filter: blur(14px) saturate(160%);
border-bottom: 1px solid var(--zen-border-subtle);
gap: var(--space-3);
}
.brand-block-btn {
background: none;
border: none;
padding: 0;
margin: 0;
cursor: pointer;
display: flex;
align-items: center;
flex-shrink: 0;
transition: transform 0.2s ease;
}
.brand-block-btn:hover {
transform: scale(1.05);
}
.brand-logo {
height: 30px;
width: auto;
object-fit: contain;
border-radius: var(--zen-radius-xs);
}
/* Barra de Navegación Rápida */
.zen-nav {
display: flex;
align-items: center;
gap: 4px;
overflow-x: auto;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
}
.zen-nav::-webkit-scrollbar {
display: none;
}
.nav-item {
background: transparent;
border: 1px solid transparent;
color: var(--zen-text-secondary);
font-family: var(--font-sans);
font-size: 0.8125rem;
font-weight: 600;
padding: 5px 12px;
border-radius: var(--zen-radius-xs);
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap;
}
.nav-item:hover {
color: var(--zen-text-primary);
background: rgba(255, 255, 255, 0.05);
}
.nav-item.active {
color: var(--zen-accent-kintsugi);
background: rgba(197, 155, 39, 0.12);
border-color: rgba(197, 155, 39, 0.4);
}
.header-right-group {
display: flex;
align-items: center;
gap: var(--space-3);
flex-shrink: 0;
}
.time-location-block {
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: center;
font-family: var(--font-sans);
line-height: 1.25;
}
.live-clock {
font-size: 0.8125rem;
font-weight: 600;
color: var(--zen-text-primary);
letter-spacing: 0.02em;
}
.location-label {
font-size: 0.6875rem;
color: var(--zen-text-muted);
}
.lang-toggle-btn {
font-family: var(--font-sans);
font-size: 0.75rem;
font-weight: 700;
color: var(--zen-text-secondary);
background: var(--zen-bg-surface);
border: 1px solid var(--zen-border-subtle);
border-radius: var(--zen-radius-xs);
padding: 4px 8px;
cursor: pointer;
transition: var(--transition-fast);
}
.lang-toggle-btn:hover {
border-color: var(--zen-accent-kintsugi);
color: var(--zen-accent-kintsugi);
background: var(--zen-bg-elevated);
}
/* Botón Conmutador de Modo Claro / Oscuro (Glassmorphism) */
.theme-toggle-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
background: var(--zen-bg-surface);
border: 1px solid var(--zen-border-subtle);
border-radius: var(--zen-radius-xs);
color: var(--zen-text-primary);
cursor: pointer;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
padding: 0;
}
.theme-toggle-btn:hover {
border-color: var(--zen-border-focus);
background: var(--zen-bg-elevated);
transform: scale(1.05);
}
/* Modo Claro Adaptativo para el Header y Navegación */
:host-context([data-theme='zen-light']) .zen-header,
:host-context(body.theme-light) .zen-header {
background: rgba(248, 249, 251, 0.88);
border-bottom: 1px solid var(--zen-border-subtle, rgba(15, 23, 42, 0.08));
}
:host-context([data-theme='zen-light']) .nav-item,
:host-context(body.theme-light) .nav-item {
color: var(--zen-text-secondary, #475569);
}
:host-context([data-theme='zen-light']) .nav-item:hover,
:host-context(body.theme-light) .nav-item:hover {
color: var(--zen-text-primary, #0f172a);
background: rgba(15, 23, 42, 0.05);
}
:host-context([data-theme='zen-light']) .nav-item.active,
:host-context(body.theme-light) .nav-item.active {
color: var(--zen-text-primary, #0f172a);
background: rgba(15, 23, 42, 0.08);
border-color: rgba(15, 23, 42, 0.25);
}
:host-context([data-theme='zen-light']) .cyber-matrix-stage-wrapper,
:host-context(body.theme-light) .cyber-matrix-stage-wrapper {
background-color: var(--zen-bg-base, #f8f9fb);
background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px);
background-size: 26px 26px;
}
:host-context([data-theme='zen-light']) .fullscreen-stage,
:host-context(body.theme-light) .fullscreen-stage {
border-bottom-color: rgba(15, 23, 42, 0.06);
}
/* ==============================================================================
ESTRUCTURA DE SECCIONES CONTINUAS (Single Page Scroll Flow)
============================================================================== */
/* ==============================================================================
ESTRUCTURA DE SECCIONES (Hero 3D + Pantalla Completa con Matrix Rain)
============================================================================== */
.landing-section {
width: 100%;
position: relative;
box-sizing: border-box;
}
/* 01. HERO SECTION (Modo Oscuro con Laptop 3D al scroll & Modo Claro estilo Vercel) */
.hero-section {
position: relative;
z-index: 10;
background-color: #000000;
width: 100%;
}
.hero-vercel-section {
position: relative;
z-index: 10;
background-color: #ffffff;
width: 100%;
}
/* CONTENEDOR MAESTRO DE ETAPAS PANTALLA COMPLETA CON MATRIX RAIN */
.cyber-matrix-stage-wrapper {
position: relative;
width: 100%;
background-color: #0b0e14;
z-index: 1;
}
/* Lluvia Matrix ambiental sticky: se mantiene visible durante todas las etapas siguientes */
.global-matrix-bg {
position: sticky;
top: 0;
left: 0;
width: 100%;
height: 100vh;
display: block;
pointer-events: none;
z-index: 0;
margin-bottom: -100vh;
opacity: 0.28;
}
/* ETAPAS EN PANTALLA COMPLETA (100vh con centrado vertical y espacio negativo Zen) */
.fullscreen-stage {
min-height: 100vh;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
z-index: 2;
box-sizing: border-box;
padding: clamp(4.5rem, 8vh, 6rem) clamp(1rem, 3vw, 2.5rem);
border-bottom: 1px solid rgba(30, 37, 51, 0.45);
}
.fullscreen-stage-content {
width: 100%;
max-width: 1540px;
margin: 0 auto;
position: relative;
z-index: 2;
}
/* ETAPA 02: RETRO OS & PROFILE */
.stage-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: clamp(2rem, 4vw, 4rem);
width: 100%;
align-items: center;
}
.module-card {
background: transparent;
border: none;
box-shadow: none;
overflow: visible;
}
.profile-module-card {
display: flex;
flex-direction: column;
justify-content: center;
}
.retro-module-card {
display: flex;
align-items: center;
justify-content: center;
}
.retro-module-card app-retro-os {
display: block;
width: 100%;
max-width: 680px;
margin: 0 auto;
}
/* ETAPA 05: TERMINAL INTERACTIVA (Centrada con ancho óptimo) */
.terminal-content-box {
max-width: 1100px;
margin: 0 auto;
width: 100%;
}
/* ==============================================================================
ADAPTABILIDAD RESPONSIVA (Tablet & Mobile)
============================================================================== */
@media (max-width: 960px) {
.stage-grid {
grid-template-columns: 1fr;
gap: var(--space-8);
}
.retro-module-card {
order: 1;
max-width: 520px;
margin: 0 auto;
}
.profile-module-card {
order: 2;
}
.fullscreen-stage {
min-height: auto;
padding: clamp(4rem, 6vh, 5rem) clamp(1rem, 2vw, 1.5rem);
}
}
@media (max-width: 640px) {
.zen-header {
padding: 0 0.75rem;
}
.time-location-block {
display: none;
}
.nav-item {
font-size: 0.75rem;
padding: 4px 8px;
}
}