/* --- CSS Variables & Global Styles --- */
:root {
    --primary-color: #5D8A31; /* Hijau Pramuka */
    --secondary-color: #C4A57B; /* Coklat Kayu */
    --accent-color: #FFD700;   /* Kuning Kecoklatan/Emas */
    --dark-color: #333;
    --light-color: #f4f4f4;
    --white-color: #fff;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #4a6f27;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(93, 138, 49, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* --- Header --- */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Logo Wrapper --- */
.logo {
    display: flex;           /* Menjajarkan logo dan teks menyamping */
    align-items: center;     /* Posisi vertikal di tengah */
    text-decoration: none;    /* Hilangkan garis bawah link */
}

.logo img {
    height: 50px;
    /* Pastikan tidak ada margin-right/bottom yang tidak perlu */
}

/* --- Styling Teks Logo (Font Menarik) --- */
.logo-text {
    font-family: 'Oswald', sans-serif; /* Font Kondens/Resmi */
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color); /* Warna Hijau Pramuka */
    margin-left: 12px;           /* Jarak antara gambar dan teks */
    line-height: 1;              /* Supaya sejajar dengan gambar */
    letter-spacing: 1px;          /* Jarak huruf sedikit renggang agar elegan */
    white-space: nowrap;         /* Mencegah teks turun ke bawah */
}

/* Responsif: Jika di Mobile, Sembunyikan teks agar tidak tabrakan dengan hamburger menu */
@media (max-width: 991px) {
    .logo-text {
        display: none;
    }
}
.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    position: relative;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content .slogan {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    font-style: italic;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--white-color);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: var(--white-color);
    border-radius: 50%;
    animation: scrolling 2s infinite;
}

@keyframes scrolling {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* --- Tombol Cepat Section --- */
.tombol-cepat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tombol-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: var(--white-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.tombol-item:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: var(--white-color);
}

.tombol-item .icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* --- Sambutan Section --- */
.sambutan-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.sambutan-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.sambutan-text p {
    margin-bottom: 15px;
}

.tanda-tangan {
    margin-top: 30px;
    text-align: right;
}

/* --- Activity Grid --- */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.activity-card {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.activity-card .card-body {
    padding: 25px;
}

.activity-card .card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* --- Info Cepat --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.info-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-item p {
    font-size: 1.1rem;
    color: #666;
    text-transform: uppercase;
}

/* --- Social Media Grid --- */
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.social-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.social-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-card h3 img {
    width: 30px;
    height: 30px;
}

/* --- Kontak Grid --- */
.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.kontak-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.kontak-info p {
    margin-bottom: 15px;
}

.kontak-map {
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.kontak-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.social-media a {
    margin-right: 15px;
}

.social-media img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.social-media a:hover img {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .social-grid,
    .kontak-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-media {
        margin-top: 15px;
    }
}