/* === LIQUID GLASS THEME — Full Portfolio === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #e0f7fa, #f5f5f5, #e8f5e9);
  background-size: 400% 400%;
  animation: gradientBG 18s ease infinite;
  color: #0d47a1;
  min-height: 100vh;
  padding-top: 80px;
  line-height: 1.6;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

a {
  text-decoration: none;
  color: inherit;
}

.section {
  padding: 120px 5% 80px;
  max-width: 1400px;
  margin: 0 auto;
}

/* === Navbar Glass === */
.glass-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  margin: 16px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
}

.logo {
  font-size: 26px;
  font-weight: 800;
  color: #0d47a1;
  text-shadow: 0 1px 2px rgba(255,255,255,0.7);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-weight: 600;
  font-size: 17px;
  color: #0d47a1;
  text-shadow: 0 1px 1px rgba(255,255,255,0.6);
  transition: all 0.3s ease;
  padding: 6px 12px;
  border-radius: 12px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

/* === Hero Home === */
.hero-glass {
  text-align: center;
  padding: 60px 40px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
  max-width: 900px;
  margin: 0 auto 60px;
}

.hero-glass h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-glass h1 span {
  background: linear-gradient(90deg, #0d47a1, #1976d2, #0288d1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-glass p {
  font-size: 1.4rem;
  color: #1a237e;
  font-weight: 500;
}

/* === Home Projects === */
.home-projects {
  text-align: center;
  padding: 0 5%;
}

.home-projects h2 {
  font-size: 2.3rem;
  margin-bottom: 40px;
  color: #0d47a1;
  font-weight: 700;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.project-card-glass {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card-glass:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.45);
}

.project-card-glass img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.view-all a {
  display: inline-block;
  padding: 12px 32px;
  background: rgba(13, 71, 161, 0.2);
  color: #0d47a1;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 50px;
  border: 1px solid rgba(13, 71, 161, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.view-all a:hover {
  background: rgba(13, 71, 161, 0.35);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.2);
}

/* === Konten Umum === */
.content-glass {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
}

.content-glass h1 {
  font-size: 2.6rem;
  margin-bottom: 30px;
  color: #0d47a1;
  font-weight: 800;
}

/* === About === */
.about-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.profile-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.2);
  transition: transform 0.4s ease;
}

.profile-img:hover {
  transform: scale(1.06);
}

.about-text {
  max-width: 600px;
  font-size: 1.1rem;
  color: #1a237e;
  text-align: left;
}

/* === Project Cards === */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.project-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.45);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-card h3 {
  padding: 18px 20px 8px;
  font-size: 1.35rem;
  color: #0d47a1;
}

.project-card p {
  padding: 0 20px 20px;
  color: #1a237e;
  font-size: 1.05rem;
}

/* === Contact === */
.social-icons {
  margin: 25px 0;
}

.social-icons a {
  display: inline-block;
  font-size: 2.5rem;
  margin: 0 22px;
  color: #0d47a1;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #0288d1;
  transform: scale(1.25) rotate(8deg);
}

/* === Footer === */
.glass-footer {
  text-align: center;
  padding: 24px;
  margin-top: 60px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  color: #0d47a1;
  font-weight: 500;
  font-size: 1rem;
}

/* === Responsif === */
@media (max-width: 900px) {
  .projects-grid,
  .projects-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

  .content-glass {
    padding: 40px 20px;
  }

  .content-glass h1,
  .hero-glass h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .glass-nav {
    flex-direction: column;
    gap: 12px;
    margin: 12px;
    padding: 16px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero-glass p {
    font-size: 1.2rem;
  }

  .section {
    padding: 100px 5% 60px;
  }
}