/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Scroll Behavior */
html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

section {
  scroll-snap-align: start;
}

/* Body */
body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at center, #0b0d17 0%, #070710 100%);
  color: #ccc;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  position: relative;
}

.hero-content h1 {
  font-size: 5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #5c7cfa, #a463f2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1rem;
  color: #aaa;
}

/* Arrow Scroll */
.arrow {
  position: absolute;
  bottom: 40px;
  font-size: 1.5rem;
  color: #888;
  text-decoration: none;
  animation: bounce 2s infinite;
  transition: color 0.3s;
}

.arrow:hover {
  color: #a463f2;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(10px);
  }
  60% {
    transform: translateY(5px);
  }
}

/* Projects Section */
.projects {
  min-height: 100vh;
  background: radial-gradient(circle at center, #070710 0%, #000 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 5%;
  scroll-snap-align: start;
}

.projects h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
  color: #fff;
}

/* Grid Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 1200px;
}

/* Project Card */
.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(164, 99, 242, 0.4);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  color: #fff;
}

.project-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-info p {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 15px;
}

/* Button */
.project-info .buttons a {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 25px;
  background: linear-gradient(90deg, #5c7cfa, #a463f2);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(92, 124, 250, 0.3);
}

.project-info .buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(164, 99, 242, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Skills Section */
.skills {
  text-align: center;
  padding: 100px 5%;
}

.skills h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: #fff;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.skill {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 0 10px rgba(164, 99, 242, 0.2);
  transition: all 0.3s ease;
}

.skill:hover {
  background: linear-gradient(90deg, #5c7cfa, #a463f2);
  box-shadow: 0 0 25px rgba(164, 99, 242, 0.5);
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Section */
.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.footer h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer p {
  color: #ccc;
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}

.footer-email i {
  color: #a463f2;
  font-size: 1.2rem;
}

.footer-email a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-email a:hover {
  color: #a463f2;
}

.footer-actions .btn {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-actions .btn:hover {
  background: linear-gradient(90deg, #5c7cfa, #a463f2);
  color: #fff;
  transform: translateY(-3px);
}

.socials {
  margin-top: 25px;
}

.socials a {
  color: #fff;
  font-size: 1.3rem;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.socials a:hover {
  color: #a463f2;
  transform: translateY(-3px);
}