* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #FEFBD8;
    color: #333;
    line-height: 1.6;
}

/* Navigasi */
nav {
    display: flex;
    justify-content: space-between;
    background-color: #987D9A; /* Dark Purple */
    padding: 10px 20px;
    color: #fff;
}

nav .logo h1 {
    margin-left: 20px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

nav ul li a:hover {
    color: #EEC8B9; /* Peachy Beige */
}

/* Hero Section */
.hero {
    background: url('img/fotollc.jpg') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-text h2 {
    font-size: 48px;
    color: #FEFBD8; /* Light Yellow */
}

.hero-text p {
    font-size: 20px;
    color: #EEC8B9; /* Peachy Beige */
}
img {
    max-width: 100%;
    height: auto;
}


/* Tentang Kami */
.about {
    padding: 50px 20px;
    text-align: center;
    background-color: #BB9AB1; /* Medium Purple */
    color: #fff;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #FEFBD8; /* Light Yellow */
}

/* Program Kami */
.programs {
    padding: 50px 20px;
    background-color: #FEFBD8; /* Light Yellow */
    text-align: center;
}

.programs h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #987D9A; /* Dark Purple */
}

.program-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.program {
    background-color: #EEC8B9; /* Peachy Beige */
    padding: 20px;
    width: 300px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.program h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #987D9A; /* Dark Purple */
}

.program p {
    font-size: 16px;
}

/* Kontak */
.contact {
    padding: 50px 20px;
    background-color: #BB9AB1; /* Medium Purple */
    text-align: center;
    color: #FEFBD8;
}

.contact form {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: 0 auto;
}

.contact form label {
    margin-top: 10px;
}

.contact form input, 
.contact form textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact form button {
    margin-top: 15px;
    padding: 10px;
    background-color: #987D9A; /* Dark Purple */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact form button:hover {
    background-color: #EEC8B9; /* Peachy Beige */
}

/* Footer */
footer {
    background-color: #987D9A; /* Dark Purple */
    color: #FEFBD8; /* Light Yellow */
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

.ketua {
    padding: 50px 20px;
    background-color: #FEFBD8; /* Light Yellow */
    text-align: center;
}

.ketua-container {
    display: inline-block;
    background-color: #BB9AB1; /* Medium Purple */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
}

.ketua-container img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.ketua-container p {
    font-size: 16px;
    color: #333;
}

/* Sosial Media Section */
.sosmed {
    padding: 50px 20px;
    text-align: center;
    background-color: #BB9AB1; /* Medium Purple */
    color: #FEFBD8; /* Light Yellow */
}

.sosmed h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #FEFBD8;
}

.sosmed-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.sosmed-icon {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #987D9A; /* Dark Purple */
    color: #FEFBD8;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.sosmed-icon img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.sosmed-icon:hover {
    background-color: #EEC8B9; /* Peachy Beige */
    transform: scale(1.05);
}

.sosmed-icon:hover img {
    transform: rotate(10deg);
}

.sosmed-icon.instagram:hover {
    color: #C13584; /* Instagram Brand Color */
}

.sosmed-icon.youtube:hover {
    color: #FF0000; /* YouTube Brand Color */
}

.sosmed-icon.email:hover {
    color: #333333; /* Dark Grey for Email */
}

/* Styling Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

/* Ketua Section */
.ketua-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: auto;
}

.ketua-container img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    margin-right: 20px;
}

.ketua-info {
    flex: 1;
    text-align: left;
    color: #333;
}

@media (max-width: 768px) {
  nav ul {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }
}

/* Responsive Design for Mobile Devices */

/* Navigation */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .logo h1 {
        font-size: 24px;
        margin-left: 0;
    }
}

/* Hero Section */
@media (max-width: 768px) {
    .hero-text h2 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 18px;
    }
}

/* About and Programs */
@media (max-width: 768px) {
    .about, .programs, .contact, .sosmed {
        padding: 30px 10px;
    }

    .about h2,
    .programs h2,
    .sosmed h2 {
        font-size: 28px;
    }

    .program-list {
        flex-direction: column;
        align-items: center;
    }

    .program {
        width: 90%;
        max-width: 400px;
    }
}

/* Ketua Section */
@media (max-width: 768px) {
    .ketua-container {
        flex-direction: column;
        align-items: center;
    }

    .ketua-container img {
        width: 150px;
        margin: 0 0 15px 0;
    }

    .ketua-info {
        text-align: center;
    }
}

/* Social Media Section */
@media (max-width: 768px) {
    .sosmed-links {
        flex-direction: column;
        gap: 15px;
    }

    .sosmed-icon {
        padding: 10px;
        width: 80%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
  .sosmed-icon {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .program {
    margin: 15px 0;
  }
}

/* Footer */
@media (max-width: 768px) {
    footer {
        padding: 15px 10px;
        font-size: 14px;
    }
}

.karya-btn-container {
    text-align: center;
    margin: 30px 0;
}

.karya-btn {
    display: inline-block;
    background: #BB9AB1;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.karya-btn:hover {
    background: #005fa3;
}

.program-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.program {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 20px;
  margin: 15px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.program:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
