/* style-sotk.css - CSS Khusus untuk SOTK.html (Konsisten dengan Tema Utama) */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9; /* Latar belakang mirip utama */
    line-height: 1.6;
}

/* Header - Mirip Header Utama */
header {
    background: #068042;
    color: white;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    vertical-align: middle;
}

.header-text h1 {
    margin: 0;
    font-size: 20px;
    display: inline-block;
    margin-left: 10px;
    color: white;
}

.header-text p {
    margin: 0;
    font-size: 14px;
    margin-left: 10px;
    color: white;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffcc00;
}

/* Main Content */
.sotk-main {
    padding-top: 80px; /* Offset untuk fixed header */
    min-height: calc(100vh - 200px); /* Pastikan cukup tinggi */
}

.sotk-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #f9f9f9, #ffffff);
    border-radius: 10px;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out; /* Animasi fade-in saat load */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.sotk-section h2 {
    color: #068042;
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 10px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.sotk-section > p {
    font-size: 18px;
    color: #333;
    margin: 0 0 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sotk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Grid responsif, min 2 kolom di desktop */
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.sotk-card {
    background: linear-gradient(135deg, #068042, #056d35);
    border-radius: 15px;
    padding: 30px 20px;
    color: white;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sotk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #ffcc00; /* Aksen kuning di atas */
}

.card-icon {
    font-size: 48px; /* Icon besar */
    margin-bottom: 15px;
    display: block;
}

.sotk-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sotk-card p {
    margin: 0;
    font-size: 16px;
    color: #f0f0f0;
    font-weight: 500;
}

.sotk-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Footer - Copy dari Utama untuk Konsistensi */
footer {
    background: #068042;
    color: white;
    padding: 20px 0;
    text-align: left;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left, .footer-middle, .footer-right {
    margin: 10px 0;
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.footer-left-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footer-left img {
    height: 100px;
    vertical-align: middle;
    margin-right: 20px;
}

.footer-text h3 {
    font-size: 24px;
    margin: 0;
    color: white;
}

.footer-text p {
    font-size: 14px;
    margin: 5px 0 0;
    color: white;
}

.footer-middle h3, .footer-right h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: white;
}

.footer-middle p, .footer-right p {
    font-size: 14px;
    margin: 5px 0;
    color: white;
}

.social-icons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    text-decoration: none;
}

.icon {
    margin-right: 5px;
}

.footer-link {
    color: white;
    text-decoration: none;
    margin: 5px 0;
    display: block;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffcc00;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
    color: white;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .sotk-grid {
        grid-template-columns: 1fr; /* 1 kolom di mobile */
        gap: 20px;
    }
    
    .sotk-section h2 {
        font-size: 36px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-left-row {
        justify-content: center;
    }
}

/* Sembunyikan tombol toggle di desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* Responsif di layar kecil */
@media (max-width: 768px) {
  .nav-menu ul {
    display: none;              /* disembunyikan dulu */
    flex-direction: column;
    background: #006400;        /* contoh warna latar */
    padding: 10px;
    position: absolute;
    top: 100%;
    left: 0%;
    right: 0%;
    width: 200px;
    border-radius: 8px;
  }

  .navbar {
  display: flex;
  justify-content: flex-start; /* semua elemen ditumpuk ke kiri */
  align-items: center;
  padding: 10px 20px;
}

  .nav-menu ul.active {
    display: flex;              /* tampil ketika toggle ditekan */
  }

  .menu-toggle {
    display: block;             /* tombol muncul di mobile */
    margin-right: 10px;
  }
}
