/* ===========================================
   WANIFELT English Index Page Styles
   영문 Index 페이지 전용 스타일
   =========================================== */

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    margin-top: 80px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Slide 1 - Brand Identity */
.slide1 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.slide1 .slide-content {
    padding: 0 100px;
}

.slide1-text {
    flex: 1;
    max-width: 550px;
}

.slide1-text .subtitle {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.slide1-text h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 15px;
}

.slide1-text .brand {
    font-size: 56px;
    font-weight: 300;
    color: var(--primary);
    letter-spacing: 5px;
    margin-bottom: 30px;
}

.slide1-text p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 40px;
}

.slide1-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide1-visual img {
    max-width: 90%;
    max-height: 70vh;
    object-fit: contain;
}

/* Slide 2 - Quality */
.slide2 {
    background: linear-gradient(135deg, var(--primary) 0%, #0d2341 100%);
}

.slide2 .slide-content {
    padding: 0 100px;
    color: var(--white);
}

.slide2-text {
    flex: 1;
    max-width: 600px;
}

.slide2-text h2 {
    font-size: 44px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 10px;
}

.slide2-text .highlight {
    font-weight: 700;
}

.slide2-text .eng {
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.slide2-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide2-visual img {
    max-width: 80%;
    max-height: 60vh;
    object-fit: contain;
}

/* Slide 3 - Full Image */
.slide3 {
    background: var(--light);
}

.slide3 .banner-desktop {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide3 .banner-mobile {
    display: none;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 100px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

.slide-counter {
    font-size: 16px;
    color: var(--white);
    font-weight: 500;
}

.progress-bar {
    width: 150px;
    height: 2px;
    background: rgba(255,255,255,0.3);
}

.progress-fill {
    height: 100%;
    background: var(--white);
    transition: width 0.5s;
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.5);
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
}

.slider-arrow:hover {
    background: var(--white);
    color: var(--primary);
}

/* ========================================
   Responsive - Index Page English
   ======================================== */
@media (max-width: 1024px) {
    .header {
        padding: 0 30px;
    }

    .slide1 .slide-content,
    .slide2 .slide-content {
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
        height: auto;
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        height: 35px;
    }

    .hero-slider {
        margin-top: 100px;
        height: calc(100vh - 100px);
        min-height: 400px;
    }

    .slide {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .slide1 .slide-content {
        flex-direction: column;
        padding: 150px 30px 30px 30px;
        text-align: center;
        justify-content: center;
        align-items: center;
        height: 100%;
        box-sizing: border-box;
    }

    .slide1-text {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .slide1-text h1 {
        font-size: 26px;
    }

    .slide1-text .brand {
        font-size: 36px;
    }

    .slide1-visual {
        display: none;
    }

    .slide2 .slide-content {
        flex-direction: column;
        padding: 0 30px;
        text-align: center;
        justify-content: center;
        align-items: center;
        gap: 0;
        height: 100%;
    }

    .slide2-text {
        max-width: 100%;
        flex: 0 0 auto;
        margin-bottom: 20px;
    }

    .slide2-text h2 {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .slide2-text .eng {
        font-size: 14px;
        margin-bottom: 0;
    }

    .slide2-visual {
        flex: 0 0 auto;
    }

    .slide2-visual img {
        max-width: 70%;
        max-height: 35vh;
    }

    .btn-group {
        flex-direction: column;
        align-items: center;
    }

    .slider-nav {
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        gap: 15px;
    }

    .slide3 .banner-desktop {
        display: none;
    }

    .slide3 .banner-mobile {
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 100%;
    }

    .slide3 .banner-mobile .banner-panel {
        flex: 1;
        position: relative;
        overflow: hidden;
    }

    .slide3 .banner-mobile .banner-panel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Hide slide3 (banner1) on mobile */
@media (max-width: 768px) {
    .slide3 {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .slide1 .slide-content {
        padding: 120px 15px 20px 15px;
        justify-content: center;
        align-items: center;
        height: 100%;
        box-sizing: border-box;
    }

    .slide2 .slide-content {
        padding: 120px 15px 20px 15px;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .slide1-text h1 {
        font-size: 22px;
    }

    .slide1-text .brand {
        font-size: 28px;
    }

    .slide1-text p {
        font-size: 14px;
    }

    .slide2-text h2 {
        font-size: 22px;
    }

    .slider-nav {
        bottom: 20px;
    }

    .slide-counter {
        font-size: 12px;
    }

    .nav-btn {
        width: 36px;
        height: 36px;
    }
}
