/* === GLOBAL STYLE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #F1F2ED;
  color: #121D00;
  line-height: 1.7;
}

/* === HEADER === */
header {
  background: linear-gradient(120deg, #0C3C01, #586D49);
  color: #F1F2ED;
  text-align: center;
  padding: 80px 20px 60px;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

header h1 {
  font-size: 2.5em;
  font-weight: 700;
  letter-spacing: 1px;
}

header p {
  font-size: 1.1em;
  opacity: 0.9;
  margin-top: 10px;
}

header img {
  width: 180px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin-top: 25px;
  border: 4px solid #A2A382;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}


/* === SECTION === */
section {
  padding: 60px 12%;
}

section h2 {
  text-align: center;
  font-size: 1.9em;
  margin-bottom: 25px;
  color: #0C3C01;
  position: relative;
  font-weight: 600;
}

section h2::after {
  content: '';
  width: 70px;
  height: 4px;
  background: #A2A382;
  display: block;
  margin: 12px auto 0;
  border-radius: 3px;
}

/* === ABOUT === */
#about p {
  text-align: justify;
  background: #FFFFFF;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

#about p:hover {
  transform: scale(1.01);
}

/* === SKILLS === */
#skills ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

#skills li {
  background: #FFFFFF;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

#skills li:hover {
  background-color: #A2A382;
  color: #FFFFFF;
  transform: translateY(-6px);
}

/* === PROJECTS === */
.project {
  background: #FFFFFF;
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.project h3 {
  color: #0C3C01;
  margin-bottom: 12px;
}

.project a {
  text-decoration: none;
  color: #586D49;
  font-weight: 600;
}

.project a:hover {
  color: #0C3C01;
  text-decoration: underline;
}

/* === CONTACT === */
#contact p {
  text-align: center;
  margin: 10px 0;
}

#contact a {
  color: #0C3C01;
  text-decoration: none;
  font-weight: 500;
}

#contact a:hover {
  color: #586D49;
}

/* === FOOTER === */
footer {
  text-align: center;
  background: #121D00;
  color: #F1F2ED;
  padding: 25px;
  font-size: 0.95em;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: 50px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  section {
    padding: 40px 8%;
  }

  header h1 {
    font-size: 2em;
  }

  header p {
    font-size: 1em;
  }

  header img {
    width: 130px;
    height: 130px;
  }
}
