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

body {
  font-family: "Segoe UI", Tahoma, poppins, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, #134e4a 0%, #0f766e 100%);
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #fbbf24;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  color: white;
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 5C50 5 10 40 10 90C10 120 25 145 50 145C75 145 90 120 90 90C90 40 50 5 50 5Z" fill="rgba(251,191,36,0.05)" stroke="rgba(251,191,36,0.1)" stroke-width="2"/></svg>');
  opacity: 0.3;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

/* Section Styles */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #0f766e;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #fbbf24;
  margin: 1rem auto;
  border-radius: 2px;
}

/* ===== HORIZONTAL TIMELINE ===== */
.timeline-wrapper {
  position: relative;
  overflow-x: auto;
  padding: 0 1rem;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #0f766e, #14b8a6);
  transform: translateY(-50%);
  z-index: 0;
}

.timeline {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
  min-width: 700px;
  padding: 180px 0;
}

.timeline-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  padding: 0 0.75rem;
}

.timeline-content {
  background: white;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 160px;
  text-align: center;
  position: absolute;
}

.timeline-item:nth-child(odd) .timeline-content {
  bottom: calc(50% + 28px);
  border-bottom: 3px solid #0f766e;
}

.timeline-item:nth-child(even) .timeline-content {
  top: calc(50% + 28px);
  border-top: 3px solid #14b8a6;
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  background: #14b8a6;
  transform: translateX(-50%);
  z-index: 1;
  height: 24px;
}

.timeline-item:nth-child(odd)::after {
  bottom: 50%;
  margin-bottom: 4px;
}

.timeline-item:nth-child(even)::after {
  top: 50%;
  margin-top: 4px;
}

.timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: #fbbf24;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #0f766e;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.timeline-date {
  color: #0f766e;
  font-weight: bold;
  font-size: 0.78rem;
  margin-bottom: 0.4rem;
  display: block;
}

.timeline-content h3 {
  color: #134e4a;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.timeline-content p {
  color: #666;
  font-size: 0.8rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .timeline-wrapper {
    overflow-x: visible;
  }
  .timeline {
    flex-direction: column;
    min-width: unset;
    padding: 0;
    gap: 0;
  }
  .timeline-line {
    display: none;
  }
  .timeline-item {
    flex-direction: row;
    align-items: flex-start;
    padding: 0 0 2rem 3rem;
    min-height: unset;
  }
  .timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    transform: none;
  }
  .timeline-content {
    position: static;
    max-width: 100%;
    text-align: left;
    border-bottom: none !important;
    border-top: none !important;
    border-left: 3px solid #0f766e;
    border-radius: 0 12px 12px 0;
  }
  .timeline-item::after {
    left: 9px;
    top: 20px;
    width: 2px;
    height: calc(100% - 20px);
    margin: 0;
    bottom: unset;
  }
  .timeline-item:last-child::after {
    display: none;
  }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    top: unset;
    bottom: unset;
  }
}

/* Mentors Grid */
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.mentor-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.mentor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(15, 118, 110, 0.2);
}

.mentor-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.mentor-card h3 {
  color: #134e4a;
  margin-bottom: 0.5rem;
}

.mentor-role {
  color: #0f766e;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.mentor-org {
  color: #666;
  font-size: 0.9rem;
}

.mentor-photo {
  width: 110px;
  height: 110px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #14b8a6;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mentor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* kurator Grid */
.kurator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.kurator-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.kurator-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(15, 118, 110, 0.2);
}

.kurator-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.kurator-card h3 {
  color: #134e4a;
  margin-bottom: 0.5rem;
}

.kurator-role {
  color: #0f766e;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.kurator-org {
  color: #666;
  font-size: 0.9rem;
}

.kurator-photo {
  width: 110px;
  height: 110px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #14b8a6;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.kurator-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Participants */
.participants-list {
  display: grid;
  gap: 2rem;
}

.participant-card {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid #0f766e;
}

.participant-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.participant-header h3 {
  color: #134e4a;
  flex: 1;
}

.location-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #0f766e;
}

.members-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.member-item {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #333;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 1.5rem;
}

.gallery-category {
  font-size: 0.8rem;
  font-weight: 500;
  color: #f4af00;
  margin-bottom: 0.25rem;
}

.gallery-title {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Footer */
footer {
  background: #134e4a;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #134e4a;
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

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

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline-item {
    padding-left: 1.5rem;
  }
}

/* SVG Icons Inline */
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Section */
#tentang {
  padding: 80px 5%;
  background-color: #f9fafb;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  font-weight: 700;
}
/* ===== VIDEO SECTION ===== */

.video-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.video-card {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  width: 500px;
  text-align: center;
}

.video-card h3 {
  margin-bottom: 1rem;
  color: #134e4a;
}

.video-card h4 {
  margin-bottom: 1rem;
  color: #d69213;
  font-weight: 600;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* Grid */
.tentang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Card */
.tentang-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover effect */
.tentang-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* Icon */
.tentang-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Title */
.tentang-card h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Text */
.tentang-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.tentang-card {
  height: 100%;
}

/* Container agar logo & nama sejajar */
.sanggar-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Logo Lingkaran */
.sanggar-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;

  /* background menyesuaikan warna umum logo */
  background: #ffffff; /* ganti sesuai warna dasar logo */

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

/* Gambar Logo */
.sanggar-photo img {
  width: 85%; /* lebih kecil agar tidak mentok */
  height: 75%;
  object-fit: contain; /* FULL tidak terpotong */
}

/* Logo Lingkaran */
.semarak-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;

  /* background menyesuaikan warna umum logo */
  background: #d5f3f3; /* ganti sesuai warna dasar logo */

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

/* Gambar Logo */
.semarak-photo img {
  width: 95%; /* lebih kecil agar tidak mentok */
  height: 75%;
  object-fit: contain; /* FULL tidak terpotong */
}

/* Judul */
.sanggar-info h3 {
  margin: 0;
}

.sanggar-info h3 {
  margin: 0;
}

/* ================= MODAL MEMBER ================= */

.member-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  width: 320px;
  position: relative;
  animation: fadeInUp 0.3s ease;
}

.modal-content img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.modal-content h3 {
  margin-bottom: 5px;
  color: #134e4a;
}

.modal-content p {
  color: #0f766e;
  font-weight: 600;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

.sanggar-info h3 {
  margin: 0;
}
