/* --- HERO SECTION --- */
.hero-section {
  min-height: 100vh;
  padding: 9rem 6% 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 2rem;
  background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(129, 140, 248, 0.08) 0%, transparent 40%);
}
.hero-content {
  flex: 1;
  z-index: 2;
}
.welcome-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}
.welcome-text .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.class-desc {
  margin-top: 1.5rem;
}
.class-desc h2 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--text-main);
}
.class-desc h3 {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.4rem;
}

.more-btn-container {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.modern-btn {
  display: inline-block;
  padding: 14px 34px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #07090e;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
  transition: all 0.3s ease;
}
.modern-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(56, 189, 248, 0.6);
}
.outline-btn {
  display: inline-block;
  padding: 12px 32px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.outline-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(56, 189, 248, 0.1);
}

/* --- HERO IMAGES --- */
.hero-images {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 480px;
  flex: 1;
}
.hero-images img {
  position: absolute;
  width: 62%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-images img:hover {
  transform: scale(1.05) translateY(-10px);
  z-index: 10;
  border-color: var(--primary);
  box-shadow: 0 30px 60px rgba(56, 189, 248, 0.2);
}
.img-1 {
  top: 0;
  left: 0;
  transform: rotate(-4deg);
}
.img-2 {
  top: 50px;
  right: 0;
  transform: rotate(5deg);
}
.img-3 {
  bottom: 0;
  left: 15%;
  transform: rotate(-2deg);
}

/* --- INFINITE MARQUEE --- */
.marquee-wrapper {
  width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  transform: rotate(-2deg) scale(1.05);
  margin-top: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.marquee-content {
  display: inline-block;
  animation: scrollText 25s linear infinite;
  color: #07090e;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.marquee-content span {
  margin: 0 15px;
}
@keyframes scrollText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* --- STATISTIK & TECH STACK --- */
.info-section {
  padding: 4rem 6%;
  text-align: center;
}
.stats-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.stat-box {
  background: rgba(17, 24, 39, 0.5);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}
.stat-box:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 15px 40px rgba(56, 189, 248, 0.1);
}
.stat-box h2 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.stat-box p {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.tech-stack h3 {
  margin-bottom: 1.5rem;
  color: var(--text-main);
  font-size: 1.5rem;
}
.tech-stack .tags {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.tech-stack span {
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.3s;
  cursor: pointer;
}
.tech-stack span:hover {
  background: var(--primary);
  color: #07090e;
  box-shadow: 0 5px 20px rgba(56, 189, 248, 0.4);
}

/* --- SECTION TITLE --- */
.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-title h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.section-title h2 span {
  color: var(--primary);
}
.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* --- KEAHLIAN SECTION --- */
.keahlian-section {
  padding: 6rem 6%;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.keahlian-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.keahlian-card {
  background: rgba(17, 24, 39, 0.8);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.keahlian-card:hover {
  transform: translateY(-10px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 50px rgba(56, 189, 248, 0.15);
}
.skill-img {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skill-icon {
  width: 60px;
  height: 60px;
  color: rgba(255, 255, 255, 0.9);
}
.placeholder-1 {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}
.placeholder-2 {
  background: linear-gradient(135deg, #5b21b6, #8b5cf6);
}
.placeholder-3 {
  background: linear-gradient(135deg, #064e3b, #10b981);
}
.skill-info {
  padding: 2rem;
}
.skill-info .badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.skill-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}
.skill-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- TIMELINE SECTION --- */
.timeline-section {
  padding: 6rem 6%;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-container {
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding-left: 2.5rem;
  position: relative;
}
.timeline-item {
  margin-bottom: 3rem;
  position: relative;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-item .dot {
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 15px var(--primary);
  transform: translateX(-50%);
  border: 4px solid var(--bg-dark);
}
.timeline-item h4 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.timeline-item p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* --- GALLERY SECTION --- */
.gallery-section {
  min-height: 100vh;
  padding: 7rem 6%;
}
.gallery-title {
  text-align: center;
  margin-bottom: 3.5rem;
}
.gallery-title h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.gallery-title h1 span {
  color: var(--primary);
}
.gallery-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}
.slider-container {
  display: flex;
  width: 100%;
  height: 70vh;
  gap: 16px;
  max-width: 1300px;
  margin: 0 auto;
}
.slide2 {
  flex: 1;
  border-radius: 24px;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.4) saturate(0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.slide2.active {
  flex: 9;
  filter: brightness(1) saturate(1.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  border-color: rgba(56, 189, 248, 0.3);
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
    gap: 4rem;
  }
  .more-btn-container {
    justify-content: center;
  }
  .hero-images {
    width: 100%;
    height: 380px;
    max-width: 400px;
    margin: 0 auto;
  }
  .hero-images img {
    width: 250px;
  }
  .stats-container {
    gap: 1.5rem;
  }
  .slider-container {
    flex-direction: column;
    height: auto;
  }
  .slide2 {
    height: 200px;
    width: 100%;
    filter: brightness(0.7);
  }
  .slide2.active {
    flex: unset;
    height: 350px;
  }
}

/* --- CTA / SOCIAL MEDIA SECTION --- */
.cta-section {
  padding: 6rem 6% 8rem;
  text-align: center;
}
.cta-container {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(11, 15, 25, 0.9));
  backdrop-filter: blur(15px);
  border-radius: 30px;
  padding: 4.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease;
}
.cta-container:hover {
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 25px 60px rgba(56, 189, 248, 0.1);
}
.cta-container h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-container h2 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-container > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Tombol Sosmed Glow */
.social-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  padding: 14px 28px;
  border-radius: 50px;
  color: var(--text-main);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-card i {
  width: 20px;
  height: 20px;
  transition: 0.3s;
}

/* Efek Warna Nyala Pas Di-hover */
.social-card.ig:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(220, 39, 67, 0.4);
}
.social-card.github:hover {
  background: #ffffff;
  color: #000;
  border-color: transparent;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}
.social-card.yt:hover {
  background: #ff0000;
  border-color: transparent;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.4);
}

.cta-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.mt-2 {
  margin-top: 1rem;
}
