* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0f0f0f;
  color: #ffffff;
  line-height: 1.6;
}

/* --- HEADER --- */
header {
  background-color: #1a1a1a;
  padding: 2rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00c9a7;
  box-shadow: 0 0 10px #000;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header p {
  color: #999;
  font-size: 1.1rem;
}

/* --- SOCIAL MEDIA --- */
.social-links {
  margin-top: 0.5rem;
  display: flex;
  gap: 1rem;
}

.social-links a img {
  width: 28px;
  height: 28px;
  filter: brightness(0.9);
  transition: transform 0.3s ease;
}

.social-links a img:hover {
  transform: scale(1.2) rotate(5deg);
}

/* --- NAVIGATION --- */
nav {
  background: #111;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

nav a {
  color: #ccc;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #fff;
}

/* --- SECTION & TITLES --- */
section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #444;
  display: inline-block;
  padding-bottom: 0.25rem;
}

/* --- PROJECTS --- */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project {
  background: #1e1e1e;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.project h3 {
  margin-bottom: 0.5rem;
}

.project h3 a {
  color: #00c9a7;
  text-decoration: none;
}

.project h3 a:hover {
  text-decoration: underline;
}

/* --- CONTACT FORM --- */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea,
.contact button {
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  background: #2a2a2a;
  color: white;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.contact textarea{
  resize: none;
}

.contact button {
  background: #00c9a7;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover {
  background: #00b393;
}

/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 2rem;
  background: #1a1a1a;
  color: #888;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* --- SCROLL-TRIGGERED --- */
.animate {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}
