/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0e0e10;
  color: #f0eaff;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.5s ease;
}

header {
  background: linear-gradient(135deg, #1f1b2e, #3b2d52);
  color: #f0eaff;
  padding: 3rem 2rem;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

header h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

header p {
  font-size: 1.3rem;
  margin-top: 0.5rem;
  color: #c0b6f5;
}

section {
  padding: 2.5rem 5%;
  animation: fadeInUp 0.8s ease-in-out;
}

.highlight {
  color: #b56bff;
  font-weight: bold;
  text-shadow: 0 0 5px #b56bff;
}

.card {
  background: #191622;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(181, 107, 255, 0.2);
  padding: 2rem;
  margin: 1.5rem 0;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(181, 107, 255, 0.4);
  background: #221c31;
}

h2 {
  margin-bottom: 1.2rem;
  color: #b56bff;
  font-size: 2.2rem;
  border-left: 5px solid #b56bff;
  padding-left: 1rem;
}

.project a, .card a {
  text-decoration: none;
  color: #b56bff;
  font-weight: 600;
  display: inline-block;
  margin-top: 0.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.project a:hover, .card a:hover {
  color: #d5afff;
  transform: scale(1.05);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding-top: 1rem;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.gallery img:hover {
  transform: scale(1.03);
  border-color: #b56bff;
  box-shadow: 0 8px 24px rgba(181, 107, 255, 0.4);
}

footer {
  background: linear-gradient(to right, #1f1b2e, #3b2d52);
  color: #f0eaff;
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
  font-size: 0.95rem;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }
  header p, h2 {
    font-size: 1.1rem;
  }
  .card {
    padding: 1.2rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
