/* RESET DASAR */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f8f9f5;
  color: #2d3d2a;
  line-height: 1.6;
  font-family: "Poppins", sans-serif;
}

body,
button,
input,
select,
textarea,
table {
  font-family: "Poppins", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

p,
a,
li,
span {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 60px;
}


/* Navbar container */
nav {
  background: linear-gradient(90deg, #9ebd13 0%, #008552 100%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

/* icon */
.icon {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

/* Menu toggle (hamburger) */
.menu-toggle {
  display: none; /* sembunyikan di desktop */
  cursor: pointer;
  color: #333;
}

/* Nav links container */
.nav-links {
  display: flex;
  gap: 15px;
}

/* Nav links style */
.nav-links a {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Hover effect */
.nav-links a:hover {
  color: #ffc400;
}

/* Underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #ffc400;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #9ebd13 0%, #008552 100%);
    flex-direction: column;
    align-items: center;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 10px 10px;
  }
  .nav-links a {
    padding: 12px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links.active {
    max-height: 500px;
  }
}


/* HEADER */
header {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(rgba(0, 60, 0, 0.6), rgba(0, 60, 0, 0.6)),
    url("/images/Gedung-Baru-UNWAHA.jpg") center/cover no-repeat;
  color: white;
  border-bottom: 5px solid #2e7d32;
}

.logo-container {
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-content: center;
}

.logo-container img {
  width: 60px;
  height: auto;
  max-width: 100%;
}


.hero-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 800px;
  margin: auto;
  font-style: italic;
}

/* SECTION */
section {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

section h2 {
  text-align: center;
  color: #1b5e20;
  margin-bottom: 20px;
}

section h2 i {
  margin-right: 8px;
}

/* NARASUMBER */
.speakers {
  margin: 50px auto;
  margin-top: 10px;
  text-align: center;
  background: transparent;
}

.speakers h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

.speakers-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  justify-items: center;
}

.speaker {
  max-width: 200px;
  width: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.speaker img {
  width: 100%;
  aspect-ratio: 3 / 4; 
  object-fit: contain;
  transition: transform 0.2s ease;
}

.speaker img:hover {
  transform: scale(1.1);
}

.infobox {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.infobox h3 {
  margin: 0;
  font-size: clamp(0.8rem, 2vw, 1rem);
  color: #ffcc00;
  font-weight: 800;
  text-align: left;
}

.infobox p {
  margin: 5px 0 0;
  font-size: clamp(0.65rem, 1.5vw, 0.55rem);
  color: #ffffff;
  text-align: left;
}


@media (max-width: 768px) {
  .speakers-container {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .speakers-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .speaker {
    max-width: 160px;
  }
}

/* CALL FOR PAPER */
.intro-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.intro-col {
  background: #f9fff9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

.intro-col h3 {
  color: #1b5e20;
  font-size: 1.2rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #4caf50;
  padding-bottom: 5px;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.scope-item {
  background: #e8f5e9;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  font-weight: 500;
  transition: transform 0.3s ease, background 0.3s ease;
}

.scope-item:hover {
  transform: translateY(-5px);
  background: #c8e6c9;
}

/* PUB LIST */
.pub-list {
  list-style: none;
  padding: 0;
}

.pub-list li {
  padding: 8px 10px;
  background: #e8f5e9;
  margin-bottom: 6px;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.pub-list li:hover {
  transform: translateY(-3px);
  background: #c8e6c9;
}

.pub-list li a {
  text-decoration: none;
  color: inherit;
  display: flex;
  justify-content: space-between;
}

.pub-list li span {
  font-weight: bold;
  color: #2e7d32;
}

/* TIMELINE + TOUR */
.timeline-tour {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.timeline,
.tour-religi {
  flex: 1;
  background: #f9fff9;
  padding: 20px;
  border-radius: 10px;
}

.timeline h3,
.tour-religi h3 {
  font-size: 20px;
  color: #0b7a0b;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.underline {
  height: 2px;
  background-color: #0b7a0b;
  margin-bottom: 15px;
}

.timeline-item {
  margin-bottom: 15px;
  padding: 10px;
  background: #fff;
  border-left: 4px solid #0b7a0b;
  border-radius: 5px;
}

.tour-religi img {
  max-width: 100%;
  border-radius: 10px;
}

/* TABLE */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.fee-table th {
  background: #2e7d32;
  color: white;
  padding: 10px;
}

.fee-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

.fee-table tr:nth-child(even) {
  background: #f2f2f2;
}

/* INFORMATION */
.information {
  margin-top: 40px;
}

.information h2 {
  font-size: 24px;
  color: #0b7a0b;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.info-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.info-box {
  flex: 1;
  border: 2px solid #ccc;
  padding: 20px;
  border-radius: 5px;
  background: #fff;
}

.info-title {
  font-size: 18px;
  color: #1b5e20;
  margin: 10px 0 5px;
}

.btn-green {
  display: inline-block;
  background: #00c853;
  color: white;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  margin-bottom: 15px;
}

.wa-link {
  color: #1b5e20;
  text-decoration: none;
  font-weight: bold;
}

.wa-link:hover {
  text-decoration: underline;
}

.bank-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bank-logo {
  height: 30px;
}

.bank-number {
  font-size: 20px;
  font-weight: bold;
}

.info-title-center {
  font-size: 24px;
  color: #0b7a0b;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0b7a0b;
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.copy-btn {
  background: #0b7a0b;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.animated-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.animated-btn:active {
  transform: scale(0.95);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.online-offline p {
  margin: 5px 0;
}

.highlight {
  color: #0b7a0b;
  font-weight: bold;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(90deg, #9ebd13 0%, #008552 100%);
  color: white;
  font-size: 0.9rem;
}

.footer-copy {
  margin-bottom: 10px;
}

.footer-follow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px; /* jarak antara teks dan ikon */
}

.footer-follow span {
  font-weight: bold;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #ffd700; /* warna saat hover */
}


/* RESPONSIVE */

/* Tablet and below (1024px) */
@media (max-width: 1024px) {
  .intro-columns,
  .timeline-tour,
  .info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .speakers-container {
    justify-content: center;
    gap: 15px;
  }

  .speaker {
    width: 120px;
    height: auto;
  }

  section {
    margin: 30px 15px;
    padding: 15px;
  }

  header {
    padding: 50px 15px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    max-width: 90%;
  }
}

/* Mobile phones (600px and below) */
@media (max-width: 600px) {
  .logo-container {
    flex-direction: column;
    gap: 15px;
  }

  .hero-title {
    font-size: 1.3rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .intro-columns,
  .timeline-tour,
  .info-container {
    gap: 15px;
  }

  section {
    margin: 20px 10px;
    padding: 10px;
  }

  .speakers-container {
    gap: 10px;
  }

  .speaker {
    width: 100px;
    height: 8rem;
  }

  .fee-table th,
  .fee-table td {
    padding: 8px 5px;
    font-size: 0.85rem;
  }

  .btn-green {
    font-size: 16px;
    padding: 8px 15px;
  }

  footer {
    font-size: 0.8rem;
    padding: 10px 5px;
  }
}
