/* ==========================================================================
   ABOUT PAGE STYLES (FLOAT VERSION)
   ========================================================================== */

/* Smooth Page Entrance Transition */
.fade-in-page {
  animation: fadeInPage 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInPage {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

.about-text-heading {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 2rem;
}

/* CONTAINER UTAMA: Tempat foto dan teks menyatu */
.about-story-block {
  margin-bottom: 4rem;
  display: block; /* Wajib block biar efek float bekerja */
}

/* FOTO: Dibuat mengambang di kiri */
.profile-avatar-float {
  float: left;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin-right: 2rem;       /* Jarak foto ke teks di kanannya */
  margin-bottom: 1rem;      /* Jarak foto ke teks di bawahnya */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 4px solid var(--bg-body);
  background: var(--border-color);
}

.profile-avatar-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEKS BIO: Mengalir bebas melingkari foto */
.about-story-block p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* CLEARFIX: Pengaman biar grid skill di bawah gak ikutan rusak gara-gara efek float */
.about-story-block::after {
  content: "";
  clear: both;
  display: table;
}

/* Skills & Core Focus Section */
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.skill-card {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.8rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .skill-card {
  background: rgba(5, 5, 5, 0.6);
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.skill-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.skill-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-main);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

[data-theme="dark"] .tag {
  background: rgba(255, 255, 255, 0.05);
}