/* ========================================
   RESET + GLOBAL
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f4ed;
  color: #213a78;
  line-height: 1.6;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');


/* ========================================
   NAVBAR
======================================== */
header {
  background-color: #213a78;
  padding: 20px 50px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #f5f4ed;
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #f5f4ed;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.8;
}


/* ========================================
   HERO IMAGE
======================================== */
.hero-image-section {
  height: 100vh;
  width: 100%;
  background: #fff;
  padding-top: 100px;
  text-align: center;
}

.hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 1090px;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 9px;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.hero-img:hover {
  transform: scale(1.05);
}

.hero-btn {
  display: inline-block;
  padding: 8px 20px;
  background-color: #213a78;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 15px;
  margin-top: 8px;
  transition: transform 0.3s ease, background 0.2s ease;
}

.hero-btn:hover {
  transform: scale(1.05);
  background-color: #112f5a;
}


/* ========================================
   MARQUEE
======================================== */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  background: #f5c84c;
  padding: 15px 0;
}

.marquee {
  display: flex;
  white-space: nowrap;
  animation: scroll 15s linear infinite;
}

.marquee span {
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  color: #213a78;
  padding-right: 3rem;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}


/* ========================================
   RESUME SECTION
======================================== */
.resume-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #213a78 0%, #213a78 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.container {
  max-width: 1100px;
  width: 100%;
}

.resume-card {
  background: linear-gradient(135deg, rgba(23, 37, 84, 0.5), rgba(30, 58, 138, 0.3));
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 1300px;
  min-height: 600px;
}

/* Profile Image */
.profile-image {
  flex-shrink: 0;
  width: 260px;
  height: 390px;
  background: rgba(30, 58, 138, 0.5);
  border-radius: 1rem;
  overflow: hidden;
  border: 3px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  margin-top: 3.5rem;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  height: 100%;
}

/* Header */
.header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.greeting {
  color: #fbbf24;
  font-size: 1.5rem;
  font-weight: bold;
}

.name {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  font-style: italic;
  background: linear-gradient(135deg, #1e3a8a, #172554);
  padding: 0.6rem 1.5rem;
  border-radius: 1rem;
  width: fit-content;
}

/* Description Box */
.description-box {
  background: #fbbf24;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.description-text {
  color: #1f2937;
  font-size: 0.95rem;
}

/* Software */
.software-section {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.software-title {
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: bold;
  font-style: italic;
}

.software-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.software-icon {
  width: 43px;
  height: 43px;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.software-icon:hover {
  transform: scale(1.1);
}

.software-icon img {
  width: 35px;
  height: 35px;
}


/* ========================================
   EXPERIENCE SECTION
======================================== */
.experience-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 40px;
}

/* Title */
.title {
  font-size: 3rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 60px;
  text-align: center;
}

/* Card Layout */
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}

/* Individual Card */
.card {
  position: relative;
  background-color: #f5c84c;
  border-radius: 20px;
  padding: 50px 30px 25px;
  width: 350px;

  /* CENTER semua teks kecuali bullet */
  text-align: center;

  box-shadow: 0 0 0 rgba(0,0,0,0.25);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* Card Header */
.card-header {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #213a78;
  color: #fff;
  font-weight: 700;
  font-style: italic;
  border-radius: 25px;
  padding: 10px 45px;
  font-size: 1.1rem;
  min-width: 300px;
  text-align: center;
}

/* Bullet List */
.card ul {
  list-style: disc;
  padding-left: 20px;

  /* bullet harus kiri agar rapi */
  text-align: left;

  font-size: 0.95rem;
  color: #000;
  line-height: 1.6;
}


/* ========================================
   WORK CAROUSEL
======================================== */
.work-carousel-section {
  background-color: #213a78;
  padding: 80px 0;
  text-align: center;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work-carousel-title {
  color: #f5f4ed;
  font-size: 3rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 50px;
}

.work-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 40px;
}

.work-carousel::-webkit-scrollbar {
  height: 6px;
}

.work-carousel::-webkit-scrollbar-thumb {
  background: #f5c84c;
  border-radius: 8px;
}

.work-box {
  min-width: 350px;
  background: #f5c84c;
  border-radius: 25px;
  padding: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.work-box:hover {
  transform: translateY(-6px);
}

.work-box img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
}

.work-desc {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #213a78;
}

.work-desc-small {
  font-size: 0.85rem;
  color: #213a78;
  line-height: 1.3;
}


/* ========================================
   MODAL FULLSCREEN
======================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal:target {
  display: flex;
}

.modal-bg {
  position: absolute;
  inset: 0;
}

.modal-content {
  background: transparent;
  padding: 0;
  border-radius: 0;
  z-index: 10;
}

.modal-content img {
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
}

.modal-content p {
  display: none;
}

/* ========================================
   MARQUEE
======================================== */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  background: #f5c84c;
  padding: 15px 0;
}

.marquee {
  display: flex;
  white-space: nowrap;
  animation: scroll 15s linear infinite;
}

.marquee span {
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  color: #213a78;
  padding-right: 3rem;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}

/* ========================================
   CONTACT
======================================== */
.contact {
  background-color: #fff;
  color: #213a78;
  text-align: center;
  padding: 60px 20px;
}

.contact p {
  transition: 0.25s ease;
}

.contact p:hover {
  transform: scale(1.08);
  opacity: 0.85;
}

.contact a {
  color: #213a78;
  text-decoration: none;
}


/* ========================================
   FOOTER
======================================== */
footer {
  background-color: #162957;
  color: #f5f4ed;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}


/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  .resume-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .name {
    font-size: 2.2rem;
  }
  .profile-image {
    width: 240px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .resume-card {
    padding: 1.5rem;
  }
  .profile-image {
    width: 200px;
    height: 250px;
  }
  .name {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .profile-image {
    width: 180px;
    height: 220px;
  }
  .name {
    font-size: 1.8rem;
  }
}
