* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #141414;
  color: #fff;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h1, h2 {
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.1;
}

h1 { font-size: clamp(3rem, 5vw, 7rem); }
h2 { font-size: clamp(2rem, 4vw, 5rem); }

p {
  font-size: 1.5rem;
  font-weight: 500;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.header__brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.header__nav .nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.header__nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.header__nav a:hover {
  color: #f25f4c;
}


section {
  position: relative;
  width: 100%;
  min-height: 100svh;
  padding: 2rem;
}

.intro {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.intro__text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 1s forwards 0.5s;
}

@keyframes fadeSlideIn {
  to { opacity: 1; transform: translateY(0); }
}

.projects {
  position: relative;
}

.projects__header {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 10;
}

.projects__count {
  will-change: transform;
}

.projects__gallery {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  padding: 50svh 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: -1;
  overflow: hidden;
}

.project {
  width: 100%;
  aspect-ratio: 16/9;
  opacity: 0.5;
  transition: all 0.3s ease;
  overflow: hidden;
  will-change: transform;
}

.projects__labels {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.project__name {
  text-transform: uppercase;
  will-change: transform;
}

@media (max-width: 1000px) {
  .projects__gallery { width: calc(100% - 4rem); gap: 25svh; }
  .project__name { color: #fff !important; }
}

@media (max-width: 600px) {
  .header__nav .nav__list {
    gap: 1rem;
    font-size: 0.9rem;
  }
}
