/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background: #FFFFFF;
    color: #222222;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f8f8f8;
}

::-webkit-scrollbar-thumb {
    background: #B30000;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8B0000;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.nav-logo img {
    height: 56px;
    width: 56px;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 1.125rem;
    color: #a10202;
}

@media (max-width: 640px) {
    .logo-text {
        display: none;
    }
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu a {
    text-decoration: none;
    color: #222222;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #B30000;
}

.btn-daftar {
    background: #B30000;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.btn-daftar:hover {
    background: #8B0000;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #B30000;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #E5E5E5;
    padding: 1rem;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-menu a {
    text-decoration: none;
    color: #222222;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.mobile-menu a:hover {
    color: #B30000;
}

.mobile-menu .btn-daftar {
    width: 100%;
    margin-top: 0.5rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/hero-bg.webp');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgb(110, 3, 3);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    color: white;

}

.hero-logo {
    height: 128px;
    width: 128px;
    margin: 40px auto 2rem; /* turun 40px */
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3.75rem;
    }
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 8rem;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.95;
}

@media (min-width: 640px) {
    .hero-content p {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    transform: translateY(-80px);
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn-primary, .btn-secondary {
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: white;
    color: #B30000;
}

.btn-primary:hover {
    background: #f8f8f8;
    transform: translateY(-3px);
}

.btn-secondary {
    background: #D32F2F;
    color: white;
}

.btn-secondary:hover {
    background: #B30000;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: white;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===== TENTANG SECTION ===== */
.tentang-section {
    padding: 5rem 0;
    background: white;
}

.tentang-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .tentang-content {
        grid-template-columns: 1fr 1fr;
    }
}

.tentang-logo {
    display: flex;
    justify-content: center;
}

.tentang-logo img {
    height: 320px;
    width: 320px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.tentang-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #B30000;
    margin-bottom: 1.5rem;
}

.tentang-text p {
    font-size: 1.125rem;
    color: #222222;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .highlights {
        grid-template-columns: repeat(3, 1fr);
    }
}

.highlight-box {
    background: #F8F8F8;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #B30000;
}

.highlight-box p {
    font-weight: 600;
    color: #B30000;
    font-size: 0.875rem;
    margin: 0;
}

/* ===== TUJUAN & KEGIATAN SECTIONS ===== */
.tujuan-section {
    padding: 5rem 0;
    background: #F8F8F8;
}

.kegiatan-section {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #B30000;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #222222;
    max-width: 672px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.kegiatan-section .card {
    background: #F8F8F8;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(179, 0, 0, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: #B30000;
    transition: all 0.3s ease;
}

.kegiatan-section .card-icon {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card:hover .card-icon {
    background: #B30000;
    color: white;
}

.card-icon svg {
    width: 48px;
    height: 48px;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 1rem;
}

.card p {
    color: #666666;
    line-height: 1.6;
}

/* ===== PENDAFTARAN SECTION ===== */
.pendaftaran-section {
    padding: 5rem 0;
    background-image: linear-gradient(rgba(139, 0, 0, 0.7), rgba(139, 0, 0, 0.7)), url('assets/foto-himsi.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.pendaftaran-bg-circle-1, .pendaftaran-bg-circle-2 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.pendaftaran-bg-circle-1 {
    width: 256px;
    height: 256px;
    top: 0;
    right: 0;
    transform: translate(128px, -128px);
}

.pendaftaran-bg-circle-2 {
    width: 384px;
    height: 384px;
    bottom: 0;
    left: 0;
    transform: translate(-192px, 192px);
}

.pendaftaran-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.pendaftaran-logo {
    height: 96px;
    width: 96px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pendaftaran-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .pendaftaran-content h2 {
        font-size: 3rem;
    }
}

.pendaftaran-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .pendaftaran-content p {
        font-size: 1.25rem;
    }
}

.btn-daftar-besar {
    background: white;
    color: #B30000;
    font-weight: 700;
    padding: 1.75rem 3rem;
    font-size: 1.25rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-daftar-besar:hover {
    background: #f8f8f8;
    transform: scale(1.05);
}


/* ===== KONTAK SECTION ===== */
.kontak-section {
    padding: 5rem 0;
    background: #F8F8F8;
}

.kontak-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .kontak-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kontak-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    min-height: 280px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kontak-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.kontak-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(179, 0, 0, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: #B30000;
    transition: all 0.3s ease;
}

.kontak-card:hover .kontak-icon {
    background: #B30000;
    color: white;
}

.kontak-icon svg {
    width: 40px;
    height: 40px;
}

.kontak-icon i {
    font-size: 40px;
}

.kontak-card h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 1rem;
}

.kontak-card a {
    color: #B30000;
    text-decoration: none;
    font-size: 1.2rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.kontak-card a:hover {
    text-decoration: underline;
}

.kontak-card p {
    color: #666666;
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background: #8B0000;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.footer-logo {
    height: 64px;
    width: 64px;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.footer-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-content p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-divider {
    width: 100%;
    max-width: 448px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.footer-copyright {
    opacity: 0.8;
    font-size: 0.875rem;
    text-align: center;
}