@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background:#F7CAC9;
  z-index: 99;
}

.nav__content {
  max-width: 1200px;
  margin: auto;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #E46E6E;
  transition: 0.3s;
}
nav .logo a:hover {
  color: #ffa7a7;
}

nav .checkbox,
nav input {
  display: none;
}

nav .checkbox i {
  font-size: 2rem;
  color: #fb8a8a;
  cursor: pointer;
}

ul {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  transition: left 0.3s;
}

ul li a {
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: #E46E6E;
  border: 2px solid transparent;
  transition: 0.3s;
}
ul li a:hover {
  border-top-color: #ff8a8a;
  border-bottom-color: #ff8a8a;
  color: #ff8a8a;
}

.section {
  background: #FFF0F5;
}

.section__container {
  min-height: 100vh;
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.subtitle {
  letter-spacing: 2px;
  color: #c53d3d;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.title {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 3rem;
  color: #E46E6E;
  margin-bottom: 1rem;
}
.title span {
  font-weight: 600;
}

.description {
  line-height: 1.5rem;
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.3rem;
}

.action__btns {
  display: flex;
  gap: 1rem;
}

.action__btns button {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 1rem 2rem;
  border: 2px solid #ed7f7f;
  border-radius: 10px;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
}

.download_cv {
  color: #E46E6E;
}

.download_cv.download_cv {
  background: #E46e6e;
  color: #fff;
  transform: translateY(-3px);
}

.image {
  display: grid;
  place-items: center;
}
.image img {
  width: min(25rem, 90%);
}

@media (width < 750px){
  nav .checkbox {
    display: block;
  }

  ul {
    position: absolute;
    width: 100%;
    height: calc(100vh - 85px);
    left: -100%;
    top: 85px;
    background:#ffffff;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
  }
  nav #check:checked ~ ul {
    left: 0;
  }

  ul li a {
    font-size: 1.25rem;
  }

  .section__container {
    padding: 10rem 1rem 5rem;
    text-align: center;
    grid-template-columns: 1fr;
  }

  .image {
    grid-area: 1/1/2/2;
  }

  .action__btns {
    margin: auto;
  }
}

   /* DEFAULT ABOUT STYLE */
  .about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 10rem 3rem;
    color:#ff7b43;
    background-color: #FAE3D9;
    
  }

.about-content {
  max-width: 600px;
}

.about-content p {
  margin-top: 0.5 rem;
  line-height: 1.6;
  font-size: 1.5rem;
  color: #333
}
.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about h2 span {
  color: #E46E6E;
}

.about h2{
  color: #E46E6E;
}

.about h3 span {
  color:#b13ba5;
}

.about-content h3 {
  margin-bottom: 1 rem;
  color: #000000;
}

.about-img img {
  height: 25rem;
  width: auto;
  border-radius: 10px;
}

.about-content {
  .speciality {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.speciality li {
  list-style: none;
  padding: 0.6rem 1.2rem;
  background: rgba(244, 0, 0, 0.15);
  border: 2px solid #e75480;
  border-radius: 8px;
  font-weight: 500;
  color: #444;
  transition: 0.3s;
}

.speciality li:hover {
  background: #fde2e4;
  color: #444;
  transform: translateY(-3px);
}

.speciality-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1rem;
  color: #E75480;
}

.speciality-title span{
  color: #E75480;
}
.speciality image{
    width: 30%;
  }
}

/* RESPONSIVE */
@media (width < 750px) {
  .about {
    flex-direction: column;
    text-align: center;
  }

  .about-img img {
    width: 30%;
  }
}

/* SKILLS TIMELINE STYLE */
.skills {
  background: #fdf5f8;
  padding: 10rem 3rem;
  min-height: 100vh;
}

.skills-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #E46E6E;
  margin-bottom: 10px;
}

.skills-tagline {
  font-size: 16px;
  color: #666;
}

.skills-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Hard kiri, Soft kanan */
  gap: 3rem;
  align-items: start;
}

.skills-category {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.skills-subtitle {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #c93879;
  border-left: 5px solid #ff82a9;
  padding-left: 10px;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skill-icon {
  font-size: 28px;
  color: #c93879;
  flex-shrink: 0;
}

.skill-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.skill-bar {
  width: 220px;
  height: 8px;
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.skill-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff82a9, #c93879);
  border-radius: 6px;
}


/* PROJECT */
.projects {
  background-color: #FAE3D9;
  padding: 8rem 3rem;
  text-align: center;
}

.projects .section-title {
  font-size: 2rem;
  color: #E46E6E;
  margin-bottom: 1rem;
}

.projects .section-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 3rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(31,111,214,0.08);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-title {
  color: #E46E6E;
}

.project-desc {
  color: #555;
}

.project-img {
  width: 35%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.projects-grid .project-card:last-child .project-img {
  margin-top: 20px;
  padding-top: 20px;
}

/* EDUCATION */
.education {
  background-color: #FFF0F5;
  padding: 12rem 3rem;
}

.education .section-title {
  text-align: center;
  font-size: 2rem;
  color: #E46E6E;
  margin-bottom: 3rem;
}

.timeline {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 5px solid #E46E6E;
  box-shadow: 0 6px 18px rgba(31,111,214,0.08);
}

.timeline-title {
  font-size: 1.2rem;
  color: #E46E6E;
  margin-bottom: 0.3rem;
}

.timeline-date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.8rem;
  display: block;
}

.timeline-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* CONTACT - Redesigned */
.contact {
  background: linear-gradient(135deg, #FAE3D9, #FFD6C0);
  padding: 8rem 2rem;
  font-family: 'Poppins', sans-serif;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
  gap: 2rem;
}

.contact-info {
  flex: 1 1 400px;
  background-color: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.contact-info:hover {
  transform: translateY(-5px);
}

.contact-info h2 {
  font-size: 2.2rem;
  color: #E46E6E;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-info p {
  margin: 0.8rem 0;
  color: #555;
  font-size: 1rem;
}

.contact-info a {
  color: #E46E6E;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: #ff4d4d;
}

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  margin-right: 1rem;
  font-size: 1.8rem;
  color: #E46E6E;
  transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
  color: #ff4d4d;
  transform: scale(1.2);
}

.contact-form {
  flex: 1 1 400px;
  background-color: #fff;
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s;
}

.contact-form:hover {
  transform: translateY(-5px);
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #ddd;
  outline: none;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #E46E6E;
  box-shadow: 0 0 8px rgba(228,110,110,0.3);
}

.btn-submit {
  background: linear-gradient(135deg, #E46E6E, #ff4d4d);
  color: #fff;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(228,110,110,0.4);
}


/* FOOTER */
.footer {
  background-color: #F7CAC9;
  padding: 1rem;
  text-align: center;
}

.footer p {
  margin-bottom: 0.5rem;
  color: #333;
}

.footer-nav a {
  margin: 0 0.5rem;
  color: #E46E6E;
  font-weight: 600;
  transition: 0.3s;
}

.footer-nav a:hover {
  color: #ff4d4d;
}

.footer-social {
  margin-top: 0.5rem;
}

.footer-social a {
  margin: 0 0.5rem;
  font-size: 1.3rem;
  color: #E46E6E;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #ff4d4d;
}

/* RESPONSIVE CONTACT */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

ul li a.active {
  color: #ff4d4d;
  border-top-color: #ff4d4d;
  border-bottom-color: #ff4d4d;
}

/* Smooth scroll untuk semua anchor link */
html {
  scroll-behavior: smooth;
}
