/* Explorar Componentes - Showroom Premium */
.explorar-body {
    background-color: #000;
    color: #f5f5f7;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.dark-header {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.dark-header .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dark-header .brand {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.dark-header .brand:hover {
    opacity: 1;
}

/* 1. HERO SHEER ELEGANCE */
.showroom-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    perspective: 1200px;
    background: #000;
}

.hero-text-content {
    position: absolute;
    z-index: 10;
    text-align: center;
    top: 25%;
}

.hero-eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 24px;
    display: block;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.sheer-hero-stage {
    position: absolute;
    bottom: -15vh;
    width: 100vw;
    height: 90vh;
    display: flex;
    justify-content: center;
    transform-style: preserve-3d;
}

.window-frame {
    width: 85%;
    max-width: 1100px;
    height: 100%;
    background: #050505;
    border: 12px solid #111;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 40px 100px rgba(0,0,0,0.9), 0 0 100px rgba(255,255,255,0.02);
}

.volumetric-light {
    position: absolute;
    top: 0;
    left: -20%;
    width: 140%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

.sheer-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    /* Crear franjas precisas */
    background-image: repeating-linear-gradient(
        to bottom,
        rgba(20,20,20,0.98) 0px,
        rgba(20,20,20,0.98) 100px,
        rgba(255,255,255,0.05) 100px,
        rgba(255,255,255,0.05) 160px
    );
    will-change: transform;
}

.sheer-back {
    z-index: 2;
    transform: translateZ(-30px);
    opacity: 0.6;
    filter: blur(1px);
}

.sheer-front {
    z-index: 3;
    transform: translateZ(0px);
    box-shadow: inset 0 20px 50px rgba(0,0,0,0.8);
}


/* 2. EXPLORADOR DE TEJIDOS */
.fabric-explorer-section {
    padding: 160px 20px;
    background: linear-gradient(to bottom, #000, #050505);
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.section-header p {
    color: #a1a1a6;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 80px;
    line-height: 1.6;
}

.fabric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1000px;
}

.fabric-card {
    background: linear-gradient(145deg, #161618, #0a0a0b);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform-style: preserve-3d;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.03);
    transition: box-shadow 0.5s ease, border-color 0.5s ease;
    cursor: pointer;
}

.fabric-card:hover {
    box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 0 40px rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

.fabric-surface {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transform: translateZ(40px); /* 3D pop effect */
    background: #111;
    border: 1px solid rgba(0,0,0,0.5);
}

/* Texturas físicas hiperrealistas */
.screen-texture {
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 1px, rgba(0,0,0,0.8) 1px, rgba(0,0,0,0.8) 2px),
        repeating-linear-gradient(-45deg, transparent, transparent 1px, rgba(0,0,0,0.8) 1px, rgba(0,0,0,0.8) 2px);
    background-size: 4px 4px;
    background-color: #222;
}

.blackout-texture {
    background: #0f0f11;
    box-shadow: inset 0 0 100px rgba(0,0,0,1), inset 0 2px 2px rgba(255,255,255,0.02);
}

.sheer-texture {
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 10px);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Interacción de la luz en las telas al hacer hover */
.fabric-light-pass, .fabric-light-diffuse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.fabric-light-pass {
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
    mix-blend-mode: screen;
}

.fabric-light-diffuse {
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    width: 300px;
    height: 300px;
    filter: blur(20px);
}

/* El blackout NO deja pasar luz */
.fabric-light-block {
    display: none;
}

.fabric-card:hover .fabric-light-pass,
.fabric-card:hover .fabric-light-diffuse {
    opacity: 1;
}

.fabric-info {
    transform: translateZ(20px);
}

.fabric-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    letter-spacing: -0.02em;
}

.fabric-info p {
    color: #a1a1a6;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 3. SHEER DETAIL SECTION */
.sheer-detail-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 160px 20px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.sheer-interactive-stage {
    height: 600px;
    background: #0a0a0b;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), inset 0 0 100px rgba(0,0,0,0.5);
}

.sheer-mechanism-view {
    position: absolute;
    width: 100%;
    height: 200%;
    top: -50%;
    display: flex;
    flex-direction: column;
}

.sheer-stripe-container {
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        to bottom,
        #111 0px,
        #111 120px,
        rgba(255,255,255,0.06) 120px,
        rgba(255,255,255,0.06) 200px
    );
    box-shadow: inset 0 0 120px rgba(0,0,0,0.9);
}

.sheer-text-side h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.sheer-text-side p {
    font-size: 1.15rem;
    color: #a1a1a6;
    line-height: 1.6;
}

/* 4. REUTILIZAR ROLLER PREMIUM (Ajustes para Dark Mode nativo) */
.dark-roller {
    background-color: #000;
    padding: 160px 20px;
    position: relative;
}

.dark-roller .roller-stage {
    margin-top: 40px;
}

/* Media Queries */
@media (max-width: 900px) {
    .sheer-detail-section {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .sheer-text-side {
        order: -1;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

/* === BOTÓN VOLVER (ESTILO PILL APPLE) === */
.back-to-index-container {
    display: flex;
    justify-content: center;
    padding: 100px 20px 180px;
    background-color: #000;
}

.apple-pill-btn {
    display: flex;
    align-items: center;
    background: #1d1d1f; /* Gris muy oscuro Apple */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    padding: 6px 6px 6px 32px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.apple-pill-btn span:first-child {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-right: 20px;
    letter-spacing: -0.01em;
}

.pill-plus-icon {
    width: 48px;
    height: 48px;
    background: #0071e3; /* Azul Apple */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s;
}

.pill-plus-icon .material-symbols-outlined {
    font-size: 24px;
    font-weight: 600;
}

.apple-pill-btn:hover {
    background: #2d2d2f;
    transform: scale(1.04) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.apple-pill-btn:hover .pill-plus-icon {
    background: #0077ed;
    transform: translateX(-5px);
}
