.hero {
    text-align: center;
    position: relative;
    overflow: hidden;

    height: 100vh; /* full layar */
    width: 100%;
    
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url('../img/2026/banner-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* ini bikin efek 'diam' saat discroll */
}

/* munyer-munyer */
@media (min-width: 768px) {
    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
        opacity: 0.5;
        animation: float 20s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        50% { transform: translateY(-20px) rotate(180deg); }
    }
}

.hero-text {
    position: absolute;
    
    text-align: center;
    color: #224F93;
    margin: 0;
    width: 90%;
    max-width: 720px;
    padding: 20px;
    z-index: 3;
    
    background: rgba(255, 255, 255, 0.7); /* kotak transparan putih */
    border: 2px solid #41DCF0; /* garis pinggir hijau lembut */
    border-radius: 20px;
    backdrop-filter: blur(4px); /* efek blur latar (didukung browser modern) */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* efek bayangan */
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #224F93;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #224F93;
}

.hashtags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 1.1rem;
    color: #224F93;
}
.hashtags span {
    background-color: #d3f3f8;
    padding: 4px 10px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hashtags {
        font-size: 0.75rem;
    }
}

.hero-mascot {
    animation: swim 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes swim {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-20px) translateX(10px) rotate(2deg);
    }
}