/* CSS Premium Hero Animado - Mudanzas24h */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

.premium-hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    height: 90vh; /* Aumentado para mayor impacto visual */
    background: #000c1a;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    align-items: center;
}

/* 1. Video Background con Efecto Cinemático */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.2) saturate(1.1);
    transform: scale(1.05); /* Sutil zoom para evitar bordes blancos */
}

/* Overlay multicapa para acabado Premium */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(0, 26, 58, 0.75) 0%,
        rgba(0, 53, 102, 0.4) 50%,
        rgba(0, 12, 26, 0.8) 100%
    );
    z-index: 1;
}

/* Efecto de grano/textura para realismo Premium */
.video-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
    opacity: 0.05;
    pointer-events: none;
    z-index: 2;
}

/* OVERLAY TEXTO */
.hero-text-layer {
    position: relative;
    z-index: 20;
    max-width: 850px;
    margin-left: 5%;
    color: #fff;
    pointer-events: all;
}

.badge-top {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    background: rgba(230, 57, 70, 0.85);
    padding: 10px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    letter-spacing: 2px;
    margin-bottom: 30px;
    animation: fadeSlideDown 1s cubic-bezier(0.16, 1, 0.3, 1) both;
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3);
}

.pulse-point { 
    width: 10px; 
    height: 10px; 
    background: #fff; 
    border-radius: 50%; 
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.4); 
    animation: pulse 2s infinite; 
}

@keyframes pulse { 
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); } 
    70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } 
}

.hero-text-layer h1 { 
    font-size: 4.8rem; 
    line-height: 1; 
    margin-bottom: 25px; 
    font-weight: 900;
    letter-spacing: -2px;
    text-shadow: 0 20px 40px rgba(0,0,0,0.4);
    animation: fadeSlideDown 1.2s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both; 
}

.hero-text-layer h1 span { 
    color: #E63946; 
    position: relative;
    display: inline-block;
}

.hero-text-layer h1 span::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(230, 57, 70, 0.3);
    z-index: -1;
}

.hero-text-layer p { 
    font-size: 1.4rem; 
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 50px; 
    font-weight: 500;
    max-width: 600px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
    animation: fadeSlideDown 1.2s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; 
}

.hero-cta { 
    animation: fadeSlideUp 1.2s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; 
}

.btn-hero {
    background: #E63946;
    padding: 24px 50px !important;
    border-radius: 100px !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    color: #fff !important;
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.btn-hero:hover {
    transform: translateY(-8px) scale(1.03);
    background: #ff4d5a;
    box-shadow: 0 30px 60px rgba(230, 57, 70, 0.5);
}

.btn-hero i {
    transition: transform 0.4s ease;
}

.btn-hero:hover i {
    transform: translateX(8px);
}

@keyframes fadeSlideDown { 
    from { opacity: 0; transform: translateY(-30px); } 
    to { opacity: 1; transform: translateY(0); } 
}

@keyframes fadeSlideUp { 
    from { opacity: 0; transform: translateY(30px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-text-layer h1 { font-size: 3.5rem; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 20;
    opacity: 0.8;
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

.arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin: -5px;
    animation: arrowDown 2s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: -0.2s;
}

@keyframes arrowDown {
    0% { opacity: 0; transform: rotate(45deg) translate(-10px, -10px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(10px, 10px); }
}

@media (max-width: 768px) {
    .scroll-indicator { display: none; }
}
