/* ===================================
   HERO SECTION STYLES
   ===================================
   Hero banner with video background and main content
*/

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* opacity: 0.95; */
}
/* 
.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.7;
} */

.hero .content {
    padding: 40px;
    border-radius: 10px;
    /* width: 35%; */
    max-width: 45%;
    color: #ffd700;
    justify-content: center;
}


/* Desktop Hero Styles */
@media (min-width: 1024px) {
.hero .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-110%, -130%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero .slogans {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero .slogans h1 {
    text-align: center;
    margin: 10px 0;
}

.hero .slogan-description {
    font-size: 1.6rem;
    color: rgba(255, 251, 0, 0.85);
    max-width: 1000px;
    margin: 20px auto 0;
    line-height: 1.6;
    font-weight: 500;
    text-align: center;
}
}

/* Tablet Hero Styles */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero .content {
        transform: translateX(150px); /* Lệch sang phải 50px */
    }
    
    .hero h1 {
        font-size: 48px;
        text-shadow: 
        0 0 15px rgba(0, 0, 0, 0.5),
        2px 2px 6px rgba(0, 0, 0, 0.5),
        -2px -2px 6px rgba(0, 0, 0, 0.5);
    }
    
    .hero .slogans {
        font-size: 24px;
    }
    
    .hero .cta {
        font-size: 16px;
        padding: 15px 50px;
    }
}



/* Mobile Hero Styles */
@media (max-width: 768px) {
    .hero {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 36px;
        text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.5),
        -2px -2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .hero .slogans {
        font-size: 16px;
    }
    
    .hero .content {
        padding: 25px;
        margin: 0 20px;
        transform: translateX(0); /* Bỏ translateX(50%) */
        width: auto; /* Thay vì 35% */
        max-width: 90%; /* Giới hạn width tối đa */
    }
    
    .hero .cta {
        font-size: 18px;
        padding: 15px 55px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
        width: auto; /* Bỏ width cố định */
    }
    
    .hero .slogans {
        font-size: 14px;
    }
    
    .hero .content {
        padding: 20px;
        margin: 0 15px;
        transform: translateX(0); /* Bỏ translateX(30%) */
        width: auto;
        max-width: 95%;
    }
    
    .hero .cta {
        font-size: 14px;
        width: auto; /* Bỏ width: 150% */
        padding: 12px 30px;
    }
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.5s ease, transform 1s ease;
}

.hero-slider .slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.hero-slider .slide.slide-out {
    opacity: 0;
    transform: translateX(100%);
    z-index: 0;
}

/* Đảm bảo content nằm trên slider */
.hero .content {
    position: relative;
    z-index: 2;
}

/* ===================================
   SLIDE COLOR THEMES
   =================================== */

/* Transition mượt cho màu sắc */
.hero .slogans h1,
.hero .slogan-description {
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

/* Text shadow để chữ nổi bật trên mọi nền */
.hero .slogans h1 {
    text-shadow: 
        0 0 30px rgba(0, 0, 0, 0.95),
        0 0 15px rgba(0, 0, 0, 0.9),
        3px 3px 10px rgba(0, 0, 0, 0.95),
        -3px -3px 10px rgba(0, 0, 0, 0.95);
}

.hero .slogan-description {
    text-shadow: 
        0 0 25px rgba(0, 0, 0, 0.95),
        0 0 10px rgba(0, 0, 0, 0.9),
        2px 2px 8px rgba(0, 0, 0, 0.95);
}


.hero.slide-0 .slogans h1 { color: #FFD700; }
.hero.slide-0 .slogan-description { color: rgba(255, 215, 0, 0.95); }


.hero.slide-1 .slogans h1 { 
    color: #0077B6; 
    text-shadow: 
        0 0 40px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(0, 119, 182, 0.8),
        0 0 30px rgba(0, 0, 0, 0.95),
        0 0 15px rgba(0, 0, 0, 0.9),
        3px 3px 10px rgba(0, 0, 0, 0.95),
        -3px -3px 10px rgba(0, 0, 0, 0.95);
}
.hero.slide-1 .slogan-description { 
    color: rgba(0, 119, 182, 0.95); 
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 0.8),
        0 0 15px rgba(0, 119, 182, 0.7),
        0 0 25px rgba(0, 0, 0, 0.95),
        0 0 10px rgba(0, 0, 0, 0.9),
        2px 2px 8px rgba(0, 0, 0, 0.95);
}


.hero.slide-2 .slogans h1 { color: #FFD700; }
.hero.slide-2 .slogan-description { color: rgba(255, 215, 0, 0.95); }

.hero.slide-3 .slogans h1 { 
    color: #0077B6; 
    text-shadow: 
        0 0 40px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(0, 119, 182, 0.8),
        0 0 30px rgba(0, 0, 0, 0.95),
        0 0 15px rgba(0, 0, 0, 0.9),
        3px 3px 10px rgba(0, 0, 0, 0.95),
        -3px -3px 10px rgba(0, 0, 0, 0.95);
}
.hero.slide-3 .slogan-description { 
    color: rgba(0, 119, 182, 0.95); 
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 0.8),
        0 0 15px rgba(0, 119, 182, 0.7),
        0 0 25px rgba(0, 0, 0, 0.95),
        0 0 10px rgba(0, 0, 0, 0.9),
        2px 2px 8px rgba(0, 0, 0, 0.95);
}

.hero.slide-4 .slogans h1 { color: #FFD700; }
.hero.slide-4 .slogan-description { color: rgba(255, 215, 0, 0.95); }