/* General Styles */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

a {
  text-decoration: none;
  color: #3a86ff;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff006e;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80vh;
  text-align: center;
  background: linear-gradient(135deg, #fdfdfd, #e0e0e0);
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 20px;
}

.nav-links a {
  margin: 0 15px;
  font-weight: bold;
  position: relative;
}

.nav-links a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #3a86ff;
  transition: width 0.3s;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Box */
.section-box {
  padding: 80px 20px;
  margin: 20px auto;
  max-width: 1200px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

/* About Me Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.about-card {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-card h3 {
  margin-top: 0;
  color: #3a86ff;
}

.portrait-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.portrait {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Interests Section */
.interests-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  justify-items: center;
  margin-top: 40px;
}

.interest-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  max-width: 350px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.interest-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.interest-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.interest-card h3 {
  margin: 10px 0 8px 0;
}

.interest-card p {
  font-size: 0.95rem;
  color: #555;
}

.button {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 25px;
  background-color: #3a86ff;
  color: #fff;
  font-weight: bold;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #ff006e;
}

/* Contact Section */
.contact-card {
  background: #f4f4f4;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

/* Footer */
footer {
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
  color: #777;
  background-color: #f0f0f0;
}

/* Responsive */
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .interests-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .hero h1 {
    font-size: 4rem;
  }

  .subtitle {
    font-size: 1.6rem;
  }

  .interests-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
