:root {
  --primary-color: #272142;
  --secondary-color: #f65282;
  --background-color: #fdfcff;
  --text-color: #555;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-color);
  color: var(--primary-color);
  line-height: 1.7;
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.hero-content {
  max-width: 800px;
  width: 100%;
}

.intro-text {
  font-size: 20px;
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 70px;
  font-weight: 700;
}

.hero h2 {
  font-size: 26px;
  font-weight: 400;
  color: var(--text-color);
  margin: 15px 0;
}

.hero-description {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-buttons a {
  display: inline-block;
}

.about-link,
.contact-link {
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.about-link {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.about-link:hover {
  background: var(--secondary-color);
  color: white;
}

.contact-link {
  background: var(--secondary-color);
  color: white;
}

.contact-link:hover {
  opacity: 0.9;
}

#projects img {
  transition: 0.3s ease;
  width: 100%;
}

#projects img:hover {
  transform: scale(1.03);
}

/* CONTACT SECTION */
#contact {
  background: white;
}

.email-link {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 42px;
  }

  .hero h2 {
    font-size: 18px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
