/* Reset dan font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Header Info */
.header-info {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin: 10px 20px;
    border-radius: 12px;
    overflow: hidden;
    position: absolute;
    top: 10px;
    left: 20px;
    right: 20px;
    z-index: 50;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logos {
    display: flex;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.icon {
    font-size: 20px;
    color: #FF8C00;
    min-width: 20px;
}

/* Hero Section */
.hero {
    background: url('image/latarhero.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: #fff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.6) 0%, rgba(255, 165, 0, 0.6) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 900px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    color: #fff;
    padding-top: 80px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1.8;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary {
    background-color: #fff;
    color: #FF8C00;
    font-weight: 600;
}

.primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Sponsors Info */
.sponsors-info {
    margin-top: 25px;
    width: 100%;
    max-width: 800px;
}

.supported-by {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
    letter-spacing: 0.5px;
}

.sponsors-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.sponsors-track {
    display: flex;
    animation: scroll 20s linear infinite;
    gap: 5px;
}

.sponsor-item {
    flex: 0 0 110px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 8px;
    padding: 8px;
    border: none;
    backdrop-filter: none;
    transition: all 0.3s ease;
}

.sponsor-item:hover {
    background: transparent;
    border-color: transparent;
    transform: scale(1.05);
}

.sponsor-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
    filter: none;
}

.sponsor-item p {
    color: #fff;
    font-size: 10px;
    margin: 0;
    text-align: center;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    color: #fff;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.social-media {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-media p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Social Media Colors */
.social-links a.facebook {
    background-color: #1877F2;
}

.social-links a.facebook:hover {
    background-color: #165FD5;
}

.social-links a.twitter {
    background-color: #1DA1F2;
}

.social-links a.twitter:hover {
    background-color: #1a8cd8;
}

.social-links a.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-links a.instagram:hover {
    opacity: 0.8;
}

.social-links a.youtube {
    background-color: #FF0000;
}

.social-links a.youtube:hover {
    background-color: #cc0000;
}

.social-links a.whatsapp {
    background-color: #25D366;
}

.social-links a.whatsapp:hover {
    background-color: #1fa952;
}

/* Responsif */
@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 50px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn {
        width: 200px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .sponsors-info {
        margin-top: 30px;
    }

    .supported-by {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .sponsor-item {
        flex: 0 0 80px;
        height: 50px;
    }

    .sponsor-item img {
        max-height: 40px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
    
    footer {
        margin-top: 0;
    }
}