@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital@0;1&family=Inter:wght@300;400;600;700&display=swap");

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

body {
  font-family: "Inter", sans-serif;
  background: #020617;
  color: #e5e7eb;
  overflow-x: hidden;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 55vh;
  background: url("https://images.unsplash.com/photo-1518770660439-4636190af475")
    center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 50px 60px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(2, 6, 23, 0.9),
    rgba(2, 6, 23, 0.5)
  );
}

.hero-content {
  position: relative;
  max-width: 600px;
  animation: slideHero 1.2s ease forwards;
}

@keyframes slideHero {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 56px;
  margin-bottom: 8px;
}

.hero h2 {
  font-size: 24px;
  font-style: italic;
  color: #38bdf8;
}

.hero p {
  margin-top: 12px;
  font-size: 16px;
  opacity: 0.9;
}

/* ================= WHO I AM ================= */
.who {
  position: relative;
  min-height: 70vh;
  background: url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b")
    center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 80px 60px;
  overflow: hidden;
}

.who-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(2,6,23,0.92), rgba(2,6,23,0.65)),
    radial-gradient(circle at left, rgba(56,189,248,0.18), transparent 60%);
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
}

.who-content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.who-text {
  animation: whoFade 1.4s ease forwards;
}

@keyframes whoFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.who-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 22px;
}

.who-text p {
  font-size: 18px;
  line-height: 1.9;
  max-width: 520px;
}

.who-text .sub {
  margin-top: 14px;
  font-style: italic;
  opacity: 0.85;
}

/* CONTACT LINKS */
.contact-links {
  margin-top: 28px;
  display: flex;
  gap: 30px;
}

.contact-links a {
  text-decoration: none;
  color: #38bdf8;
  font-weight: 500;
  position: relative;
}

.contact-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #38bdf8;
  transition: width 0.35s ease;
}

.contact-links a:hover::after {
  width: 100%;
}

/* ================= SKILLS ================= */
.skills-section {
  padding: 90px 40px;
  text-align: center;
  background: radial-gradient(circle at top, #020617, #000);
}

.skills-section h3 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin-bottom: 45px;
}

.skills-grid span {
  display: inline-block;
  margin: 12px;
  padding: 14px 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, #1e293b, #020617);
  transition: all 0.4s ease;
}

.skills-grid span:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px rgba(56,189,248,0.45);
}

/* ================= EXPERIENCE ================= */
.experience {
  padding: 100px 60px;
  background: url("https://images.unsplash.com/photo-1605902711622-cfb43c44367f")
    center / cover fixed;
}

.experience h3 {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 38px;
  margin-bottom: 65px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.glass-card {
  backdrop-filter: blur(14px);
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 32px;
  border-radius: 22px;
  transition: all 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 35px 80px rgba(0,0,0,0.6);
}

.glass-card h4 {
  color: #22c55e;
  margin-bottom: 6px;
}

.glass-card span {
  font-size: 14px;
  opacity: 0.8;
}

.glass-card p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.7;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 45px;
  font-size: 14px;
  background: #020617;
  opacity: 0.8;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero {
    height: auto;
    padding: 50px 30px;
  }

  .who {
    padding: 60px 30px;
  }

  .who-content {
    grid-template-columns: 1fr;
  }
}
