:root {
  --black: #0b0b0b;
  --white: #f5f5f5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  padding: 5rem 6rem;
  gap: 4rem;
}

.hero-left h1 {
  font-size: 5rem;
  font-weight: 800;
}

.hero-left span {
  font-weight: 300;
  opacity: 0.6;
}

.hero-left h2 {
  margin-top: 1.2rem;
  font-weight: 400;
  opacity: 0.8;
}

.hero-left p {
  margin-top: 1.8rem;
  max-width: 480px;
  opacity: 0.85;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.2rem;
}

.hero-actions a {
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  border: 1px solid currentColor;
  transition: all 0.3s ease;
}

.hero-actions a:hover {
  transform: translateY(-3px);
}

.hero-actions .outline {
  opacity: 0.6;
}

/* HERO IMAGE */
.hero-right img {
  width: 100%;
  max-width: 300px;
  border-radius: 18px;
  filter: grayscale(100%);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
  transition: all 0.6s ease;
}

.hero-right img:hover {
  transform: translateY(-6px);
  filter: grayscale(0%);
}

/* SECTIONS */
.section {
  padding: 6rem 3rem;
}

.section > * {
  max-width: 900px;
  margin: auto;
}

.section.light {
  background: var(--white);
  color: var(--black);
}

.section.dark {
  background: var(--black);
  color: var(--white);
}

.section h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

/* EXPERIENCE CARDS */
.card {
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 18px;
  background: rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section.dark .card {
  background: rgba(255,255,255,0.05);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.card small {
  opacity: 0.6;
}

/* SKILLS */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skills span {
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.section.dark .skills span {
  background: rgba(255,255,255,0.08);
}

.skills span:hover {
  transform: translateY(-4px);
}

/* PROJECTS – LIQUID / GLASS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.project-card {
  padding: 2.2rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 30px 60px rgba(0,0,0,0.6);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.section.light .project-card {
  background: rgba(0,0,0,0.05);
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 40px 80px rgba(0,0,0,0.7);
}

.project-card span {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* CONTACT */
.contact-box {
  text-align: center;
  padding: 4rem 3rem;
  border-radius: 24px;
  background: rgba(0,0,0,0.05);
}

.contact-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.contact-actions a {
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  border: 1px solid currentColor;
  transition: transform 0.3s ease;
}

.contact-actions a:hover {
  transform: translateY(-3px);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 3rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 4rem 2rem;
  }

  .hero-left h1 {
    font-size: 3.8rem;
  }

  .contact-actions {
    flex-direction: column;
  }
}
