/* Regular 400 */
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-light.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* Medium 500 */
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

/* Semibold 600 */
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

/* Bold 700 */
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

.dark-mode .title {
  color:#0d7377;
}

.dark-mode .menu {
  color: rgba(255,255,255,0.5);
}

.dark-mode .menu:hover,
.dark-mode .menu.active {
  color:#0d7377;
}

/* ======== Default ======== */
body {
  font-family: 'SF Pro Rounded', sans-serif;
  margin: 0;
  background: #fff;
  color: #222;
}

.container {
  padding: 25px;
}

.title {
  color: #006a4e;
  font-size: 22px;
  margin-bottom: 25px;
  margin-left: 30px;
}

.content-wrapper {
  display: flex;
  gap: 40px;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 250px;
}

.menu {
  background: none;
  border: none;
  text-align: left;
  padding: 10px 0;
  font-size: 15px;
  cursor: pointer;
  color: #333;
  border-bottom: 1px solid #ddd;
}

.menu:hover,
.menu.active {
  color: #006a4e;
  font-weight: bold;
}

/* Konten */
.main {
  flex: 1;
}

.main p {
  font-size: 15px;
  line-height: 1.75;
}

.tab-content {
  display: none;
  line-height: 1.6;
}

.tab-content.active {
  display: block;
}

.dev-team.creative {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.dev-card {
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dev-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.dev-card .dev-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.dev-card h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.dev-card .role {
  font-size: 0.95rem;
  margin: 0.4rem 0;
  opacity: 0.9;
}

.dev-card .desc {
  font-size: 0.9rem;
  margin-top: 0.6rem;
  line-height: 1.4;
  opacity: 0.95;
}

/* Warna aksen berbeda tiap orang */
.accent-blue {
  background: linear-gradient(135deg, #0077ff, #00c6ff);
}
.accent-pink {
  background: linear-gradient(135deg, #ff4b7d, #ff758c);
}
.accent-green {
  background: linear-gradient(135deg, #28c76f, #48e98a);
}

.tab-content pre {
  white-space: pre-wrap;     
  overflow-x: auto;          
  max-width: 100%;            
  font-family: 'SF Pro Rounded', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  padding: 10px;
  border-radius: 6px;   
  padding-left: 1.5em;  
}



/* ================= RESPONSIVE ================= */

/* Mobile (max 576px) */
@media (max-width: 576px) {
  .container {
    padding: 15px;
  }

  .title {
    font-size: 18px;
    margin-left: 0;
    text-align: center;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .sidebar {
    min-width: 100%;
  }

  .menu {
    font-size: 14px;
    padding: 8px 0;
  }

  .main p {
    font-size: 14px;
    line-height: 1.6;
  }

  .dev-team.creative {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .dev-card {
    padding: 1rem;
  }

  .dev-card h3 {
    font-size: 1.1rem;
  }
  
  .tab-content pre {
    font-size: 14px;   /* lebih kecil di tablet */
    line-height: 1.6;
  }
}

/* Tablet (577px – 991px) */
@media (min-width: 577px) and (max-width: 991px) {
  .container {
    padding: 20px;
  }

  .title {
    font-size: 20px;
    margin-left: 15px;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 25px;
  }

  .sidebar {
    min-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .menu {
    flex: 1 1 calc(50% - 10px);
    border-bottom: none;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
  }

  .main {
    flex: 1;
  }

  .dev-team.creative {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
  }
}

/* Desktop (≥ 992px) */
@media (min-width: 992px) {
  .container {
    padding: 25px 40px;
  }

  .title {
    font-size: 22px;
  }

  .content-wrapper {
    flex-direction: row;
    gap: 40px;
  }

  .sidebar {
    min-width: 250px;
  }

  .dev-team.creative {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  
  .tab-content pre {
    font-size: 13px;   /* lebih kecil di HP */
    line-height: 1.5;
  }
}
