/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f9fbfd;
  color: #1e2a47;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #598bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #6b49ff;
  outline: none;
}

/* Header / Hero */
header {
  background: linear-gradient(135deg, #cce7ff 0%, #f0faff 100%);
  padding: 60px 20px 80px;
  text-align: center;
  box-shadow: inset 0 -10px 30px -15px rgba(110, 166, 245, 0.986);
  position: relative;
}

header .profile-pic {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #3078ff;
  box-shadow: 0 0 20px rgba(56, 69, 252, 0.596);
  margin: 0 auto 24px;
}

header h1 {
  font-size: 2.75rem;
  margin: 0 0 8px;
  font-weight: 700;
  color: #0d1d3a;
}

header p {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: #3a4d7c;
}

nav {
  margin-top: 36px;
}

nav a {
  font-weight: 600;
  font-size: 1rem;
  margin: 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  display: inline-block;
}

nav a:hover,
nav a:focus {
  border-color: #1e60ff;
}

/* Main Content */
main {
  max-width: 900px;
  background: white;
  margin: -80px auto 80px;
  padding: 40px 30px 60px;
  border-radius: 15px;
  box-shadow: 0 16px 40px rgba(30, 96, 255, 0.12);
  position: relative;
  z-index: 1;
}

section {
  margin-bottom: 48px;
}

section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 3px solid #cce7ff;
  padding-bottom: 8px;
  color: #1e2a47;
}

.about p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #3a4d7c;
  margin: 0;
}

#projects {
  padding: 40px;
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
}

.projects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project-card {
  background-color: #fcfcfc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(25, 21, 255, 0.1);
  max-width: 300px;
  width: 100%;
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
}

.project-card h3 {
  margin: 15px;
  font-size: 1.2rem;
  color: #7268ff;
}

.project-card p {
  margin: 0 15px 15px;
  color: #000000;
  font-size: 0.95rem;
  line-height: 1.4;
}

.profile-pic {
  width: 140px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #1e60ff;
  box-shadow: 0 0 20px rgba(0, 76, 255, 0.35);
  margin: 0 auto 24px;
  display: block;
}

/*Container Story*/
.judul {
    text-align: center;
    margin-bottom: 40px;
}

.judul h4 {
    font-size: 1.8rem;
    color: #222;
    padding-top: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.image-wrapper img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.teks {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    max-width: 800px;
    text-align: justify;
}

/* Footer */
footer {
  background-color: #1f2937;
  color: #fff;
  padding: 30px 20px 15px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* RYZCLE */
.footer-content-rz {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
}

.nav-ryzcle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.logoR {
  width: 150px;
  height: 100px;
  object-fit: contain;
}
/* END */

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

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

  /* Transition untuk hover smooth */
  transition: transform 0.3s ease, color 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.social-icons a {
  font-size: 26px;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #38bdf8;
  transform: scale(1.2);
}

.footer-divider {
  width: 80%;
  height: 1px;
  background-color: #c2c2c2;
}

footer p {
  font-size: 14px;
  color: #ffffff;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .nav-links {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .social-icons {
    justify-content: center;
  }
}
/* End .Footer*/

/*Story Responsif*/
@media (min-width: 768px) {
  .image-wrapper img {
    width: 45%;
  }

  .teks {
    font-size: 1.2rem;
  }
}

/*Responsive*/
@media (max-width: 600px) {
  .profile-pic {
    width: 100px;
  }
}
@media (max-width: 360px) {
  .profile-pic {
    width: 80px;
  }
}

@media (max-width: 600px) {
  header {
    padding: 40px 20px 60px;
  }
  header h1 {
    font-size: 2rem;
  }
  header p {
    font-size: 1rem;
  }
  nav a {
    margin: 0 12px;
    font-size: 0.875rem;
  }
  main {
    margin: -60px 15px 60px;
    padding: 30px 20px 40px;
  }
}
