* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #ffffff 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid #f97316;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Mengurangi padding horizontal & gap antar item */
.navigation ul {
  display: flex;
  list-style: none;
  gap: 1.2rem; /* dari 2rem jadi lebih rapat */
  margin: 0;
  flex-wrap: wrap; /* penting jika banyak nav list */
}

.nav-list {
  display: flex;
  gap: 0.8rem; /* dari 1.5rem jadi lebih hemat ruang */
  align-items: center;
  flex-wrap: wrap; /* biar ngga overflow di layar kecil */
}

/* Mengurangi padding tiap link supaya tidak terlalu besar */
.navigation a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.navigation a:hover {
  color: #f97316;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 250px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 1000;
  border: 1px solid #e5e7eb;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
}

.dropdown-content a:hover {
  background-color: #f3f4f6;
  color: #f97316;
}

.dropdown-content a:hover {
  background: #f9fafb;
}

/* Dropdown submenu ke kanan */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-subcontent {
  position: absolute;
  top: 0;
  left: 100%;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s;
  z-index: 1000;
  border: 1px solid #e5e7eb;
}

.dropdown-submenu:hover > .dropdown-subcontent {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Optional: styling item submenu */
.dropdown-subcontent a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  white-space: nowrap;
  color: #374151;
  text-decoration: none;
}

.dropdown-subcontent a:hover {
  background-color: #f3f4f6;
  color: #f97316;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #374151;
}
/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem 0;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e5e7eb;
    z-index: 999;
  }

  .navigation.open {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .dropdown-content,
  .dropdown-submenu > .dropdown-subcontent {
    position: relative;
    top: 0;
    left: 0;
    transform: translateX(0);
    opacity: 1 !important;
    visibility: visible !important;
    border: none;
    box-shadow: none;
    background: #f9fafb;
    padding: 0;
    border-radius: 0;
    display: none;
  }

  .dropdown:hover > .dropdown-content,
  .dropdown-submenu:hover > .dropdown-subcontent {
    display: block;
  }

  .dropdown-content a,
  .dropdown-subcontent a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
  }

  .dropdown-content a:last-child,
  .dropdown-subcontent a:last-child {
    border-bottom: none;
  }

  .dropdown-submenu {
    margin-left: 1rem;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f97316 100%);
  padding: 10rem 0 5rem;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
}

.hero-icon {
  width: 200px; /* Lebih besar */
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.hero-logo {
  width: 45%;
  height: auto;
  object-fit: contain;
}

/* Responsif: untuk layar kecil */
@media (max-width: 768px) {
  .hero-icon {
    width: 100px;
    height: 100px;
  }

  .hero-logo {
    width: 80%;
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.hero-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.button-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  color: #1f2937;
  transition: all 0.3s;
  border: 2px solid rgba(249, 115, 22, 0.1);
}

.button-card:hover {
  transform: translateY(-5px);
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.button-icon {
  width: 48px;
  height: 48px;
  background: #f97316;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.button-card h3 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.button-card p {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background: #f97316;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary-grid {
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 10px;
  justify-content: center; /* tombol rata tengah */
}

.btn-group .btn-primary {
  flex: 1; /* tombol sama panjang (opsional) */
}

.btn-secondary {
  background: transparent;
  color: #f97316;
  border: 2px solid #f97316;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #f97316;
  color: white;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h3 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
}

.section-header p {
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 64px;
  height: 4px;
  background: #f97316;
  margin: 1rem auto 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h4 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #fed7aa;
  transition: all 0.3s;
}

.value-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: #fed7aa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #f97316;
  font-size: 2rem;
}

.value-card h5 {
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Unggah Section */
.upload-section {
  padding: 5rem 0;
  background: #f9fafb;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.upload-card {
  background: white;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  text-align: center;
  padding: 2rem;
  transition: all 0.3s ease;
}

.upload-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.upload-icon {
  width: 80px;
  height: 80px;
  background: #fff7ed;
  color: #f97316;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.upload-card h4 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.upload-card p {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.upload-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #f97316;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s;
  text-decoration: none;
}

.upload-btn:hover {
  background: #ea580c;
  transform: scale(1.05);
}

/* Special Events */
.special-events {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.event-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s;
}

.event-link:hover {
  transform: translateY(-3px);
}

.event-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #fed7aa;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.event-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  z-index: 10;
}

.event-status.active {
  background: #10b981;
  color: white;
}

.event-status.upcoming {
  background: #3b82f6;
  color: white;
}

.event-status.completed {
  background: #6b7280;
  color: white;
}

.event-callsign {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.125rem;
  z-index: 10;
}

.event-content {
  padding: 1.5rem;
}

.event-content h4 {
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.detail-item i {
  color: #f97316;
  width: 12px;
}

/* News Section */
.news {
  padding: 5rem 0;
  background: white;
}

.news-tabs {
  max-width: 1200px;
  margin: 0 auto;
}

.tab-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.tab-btn {
  background: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  border-right: 1px solid #e5e7eb;
}

.tab-btn:last-child {
  border-right: none;
}

.tab-btn.active {
  background: #f97316;
  color: white;
}

.tab-btn:hover:not(.active) {
  background: #f9fafb;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.news-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #b45309;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.news-content {
  padding: 1.5rem;
}

.news-content h4 {
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.news-content p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.read-more {
  color: #f97316;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.read-more:hover {
  color: #ea580c;
}

.section-center {
  text-align: center;
  margin-top: 2rem;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo-icon {
  width: 320px;
  height: auto;
  /* background: #ffffff; --> hapus background */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.5rem 0; /* opsional, agar tidak mepet atas/bawah */
  border-radius: 0; /* hilangkan sudut membulat jika tidak perlu */
}

.footer-logo-icon img.footer-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-section p {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section h5 {
  color: #fbbf24;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #fbbf24;
}

.social-media {
  display: flex;
  gap: 0.75rem;
}

.social-media a {
  width: 32px;
  height: 32px;
  background: #f97316;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.social-media a:hover {
  background: #ea580c;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #d1d5db;
}

.contact-item i {
  color: #f97316;
  margin-top: 0.125rem;
  width: 16px;
}
.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 3 kolom */
  gap: 0rem; /* jarak antar logo, lebih rapat dari 1rem */
  align-items: center;
  justify-items: center;
  margin-top: 2rem;
}

.partner {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem; /* padding kecil agar tidak terlalu dempet */
}

.partner img {
  max-height: 150%;
  width: auto;
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fbbf24;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navigation {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .hero-buttons {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .tab-buttons {
    grid-template-columns: 1fr;
  }

  .tab-btn {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .tab-btn:last-child {
    border-bottom: none;
  }

  .footer-bottom {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.875rem;
  }

  .footer-author {
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
    font-size: 0.7rem;
    color: #9ca3af;
    opacity: 0.8;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 8rem 0 3rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-header h3 {
    font-size: 2rem;
  }

  .button-card {
    padding: 1.5rem;
  }

  .event-content,
  .news-content {
    padding: 1rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Hover effects */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* SVG Get Wave*/
svg {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -1px;
}

@media (max-width: 768px) {
  svg {
    width: 100vw;
    height: auto;
    display: block;
    margin-bottom: -5px;
  }

  body,
  html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
}
