/* Estilos para el slide parallax de Trösten - Versión Original */

.h-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.parent-module {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    pointer-events: none;
}

.module-fast,
.module-medium,
.module-slow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    display: block;
}

.module-fast img,
.module-medium img,
.module-slow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Efectos de profundidad simples */
.module-fast {
    z-index: 1;
}

.module-medium {
    z-index: 2;
}

.module-slow {
    z-index: 3;
}

/* Texto y botón */
.h-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.h1-b {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 1.2;
    font-family: 'Arial', sans-serif;
}

.button {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.button.-primary {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
}

.button.-primary:hover {
    background: linear-gradient(45deg, #e55a2b, #e88a1a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.button.-org {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

/* Responsive */
@media (max-width: 768px) {
    .h1-b {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .h-text {
        width: 90%;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .h1-b {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Optimización para el efecto de movimiento */
.module-fast,
.module-medium,
.module-slow {
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: none; /* Eliminar transiciones para movimiento más fluido */
}

/* Ocultar el título de la página en la plantilla parallax */
.page-title,
.entry-title,
.page-header,
.page-header h1,
.page-header .entry-title,
.page-header .page-title,
h1.entry-title,
.page h1,
.page .entry-title {
    display: none !important;
}

/* También ocultar breadcrumbs si existen */
.breadcrumbs,
.breadcrumb,
.page-breadcrumb,
.breadcrumb-nav,
.breadcrumb-trail {
    display: none !important;
}

/* Ocultar cualquier contenedor de título que pueda existir */
.page-header,
.entry-header,
.page-title-area,
.title-area {
    display: none !important;
} 