/* General Styling */
:root {
    --primary-color: #20c4c9; /* Turquoise */
    --secondary-color: #DAA520; /* Gold */
    --text-color: #333;
    --light-bg: #f4f4f4;
    --dark-bg: #222;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #c9931b; /* Slightly darker gold */
    text-decoration: none;
}

.section {
    padding: 60px 0;
    text-align: center;
}

.section:nth-of-type(even) {
    background-color: var(--white);
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: var(--text-color);
}

h1 {
    font-size: 2.8em;
    color: var(--white);
}

h2 {
    font-size: 2.2em;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Header & Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://app.syiar.id/foto/aset/a412930c-0c0c-46a7-beaa-f41dc415d946.jpeg') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--white);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 2em;
    color: var(--white);
    cursor: pointer;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Activities Section */
.activities {
    background-color: var(--light-bg);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.activity-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.activity-card h3 {
    margin: 15px 15px 10px;
    color: var(--primary-color);
}

.activity-card p {
    font-size: 0.95em;
    padding: 0 15px 15px;
    color: #666;
}

.activity-card .activity-date {
    display: block;
    font-size: 0.85em;
    color: #888;
    padding: 0 15px 15px;
    font-style: italic;
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* Contact Section */
.contact ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.contact ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.contact ul li a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(0,0,0,0.9);
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        padding: 20px 0;
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-toggle {
        display: block; /* Show on mobile */
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    h2 {
        font-size: 1.8em;
    }

    .activity-grid, .gallery-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8em;
    }

    .hero-content p {
        font-size: 0.9em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .section {
        padding: 40px 0;
    }
}
