/* =========================================
   HERO SECTION CSS - CLEAN TYPING VERSION
========================================= */

.hero-section {
    position: relative;
    min-height: 100vh;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 10; /* Di bawah header (9999) */
    padding-top: 80px;
}

/* Background Multi-Layer Marquee */
.bg-marquee-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}

.marquee-line {
    font-size: 8rem;
    font-weight: 900;
    white-space: nowrap;
    display: flex;
    font-family: 'Inter', sans-serif;
}

.m-right { animation: marqueeRight 60s linear infinite; }
.m-left { animation: marqueeLeft 50s linear infinite; }

@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-container {
    position: relative;
    z-index: 20;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: center; /* Center agar seimbang */
    gap: 60px;
}

/* Maskot Box */
.hero-mascot-box {
    flex: 1;
    text-align: center;
}

.hero-mascot-box img {
    width: 100%;
    max-width: 450px; /* Diperbesar sedikit karena card sudah hilang */
    height: auto;
    animation: floatRobot 4s ease-in-out infinite;
}

@keyframes floatRobot {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Typing Text Section */
.hero-text-box {
    flex: 1.2;
}

.hero-text-box h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #333;
    line-height: 1.1;
    margin: 0;
}

.sub-weare { 
    font-weight: 400; 
    color: #666; 
    font-size: 2.5rem; 
    display: block;
    margin-bottom: 10px;
}

/* Typing Animation Styling */
.typing-container {
    color: #7dc02f;
    display: inline-block;
    border-right: 4px solid #7dc02f;
    white-space: nowrap;
    overflow: hidden;
    min-height: 1.2em;
}

.spec-title {
    font-weight: 400;
    font-size: 3rem;
    color: #333;
    display: block;
}

/* Contact Bar - Updated Button Design */
.contact-bar {
    margin-top: 35px;
    display: inline-block;
}

.btn-contact-hero {
    background: #7dc02f;
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    border: 8px solid #333; /* Border abu/gelap sesuai permintaan */
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 1px;
}

.btn-contact-hero:hover {
    background: #68a027;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* RESPONSIVE: Mobile */
@media (max-width: 768px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
        gap: 0; /* Dinolkan agar tidak ada jarak bawaan flex */
    }

    .hero-mascot-box {
        margin-bottom: -15px; /* Menarik teks di bawahnya agar lebih rapat dengan maskot */
    }

    .hero-mascot-box img {
        max-width: 250px;
    }

    .hero-text-box h1 {
        font-size: 2.5rem;
    }

    .sub-weare {
        font-size: 1.5rem;
        margin-bottom: 0; /* Dihilangkan agar langsung menempel ke teks ketikan */
    }

    .spec-title {
        font-size: 2rem;
    }

    .contact-bar {
        margin-top: 25px; 
    }

    .btn-contact-hero {
        padding: 14px 28px;
        font-size: 1rem;
        border: 6px solid #333; 
    }
}