/* ======= GENERAL STYLES ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #1b1d5c;
    background-image: url(../img/ROBOT.jpg);
    color: #fbf7f7;
}

/* ======= HEADER ======= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #121212;
    color: white;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.logo span {
    color: #ff3c78;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: rgb(249, 244, 244);
    font-size: 18px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ff3c78;
}

/* ======= HERO SECTION ======= */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    text-align: left;
    padding: 100px 50px;
    gap: 50px;
    max-width: 1200px;
    margin: auto;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero-text h1 span {
    color: #ff3c78;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #f5f5f5;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #ff3c78;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #ff1a66;
}

/* ======= HERO IMAGE ======= */
.hero-image {
    flex: 1;
    margin-bottom: 80px;
    transform: translateX(230px);
}

.hero-image video {
    width: 100%;
    max-width: 250px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ======= RESPONSIVE DESIGN ======= */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 20px;
    }

    .hero-image img {
        max-width: 80%;
    }
}
/* ======= ANIMASI TEKS MASUK ======= */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ======= TERAPKAN ANIMASI KE TEKS DI KIRI ======= */
.hero-text {
    flex: 1;
    animation: slideInLeft 1s ease-out;
}


