:root {
--primary: #7c5cff;
--secondary: #00d4ff;
--bg: #0f1724;
--text: #e6eef8;
--muted: #9aa4b2;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: #fff;
  padding: 8px;
  color: #000;
  z-index: 100;
  transition: top 0.3s;
  text-decoration: none;
}

.skip-link:focus {
  top: 10px;
}

header {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  backdrop-filter: blur(5px);
}

header h1 {
  margin: 0;
  font-size: 1.6rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: var(--secondary);
  transform: translateY(-3px);
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
}

.hero-text {
  flex: 1;
}

.hero-text h2 {
  font-size: 3rem;
}

.hero-image img {
  width: 280px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.skills-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.skill-card {
  background: #0b2fa5; 
  padding: 2rem 3rem;
  border-radius: 40px;
  width: 300px;
  text-align: center;
  color: white;
  font-family: Georgia, serif;
  position: relative;
  box-shadow: 4px 4px 15px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

.skill-card h3 {
  margin: 0;
  font-size: 1rem;
}

.skill-card p {
  margin: 5px 0 0;
  font-size: 1rem;
  opacity: 0.9;
}

.skill-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.5);
}

.skill-card:hover .plus {
  opacity: 1;
}

section {
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: auto;
}

img {
  border-radius: 10px;
  width: 200px;
  display: block;
  margin-bottom: 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.project-info {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 2rem;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.5s ease;
  text-align: center;
}

.project-card:hover img {
  transform: scale(1.2);
  opacity: 0.2;
}

.project-card:hover .project-info {
  opacity: 1;
}

.project-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

footer {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  margin-top: 3rem;
}

.footer-skip {
  display: inline-block;
  margin-top: 10px;
  color: var(--secondary);
  text-decoration: underline;
  font-weight: bold;
  font-size: 1rem;
}


@media (min-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  #hero h2 {
    font-size: 3rem;
  }

  section {
    padding: 4rem 2rem;
  }
}
