/* =========================
   FONT FACE
========================= */

@font-face {
  font-family: "Satoshi";
  src: url("./assets/fonts/Satoshi-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi";
  src: url("./assets/fonts/Satoshi-VariableItalic.ttf") format("truetype");
  font-weight: 300 900;
  font-style: italic;
}

/* =========================
   ROOT
========================= */

:root {
  --font-script: "Architects Daughter", cursive;
  --font-serif: "Instrument Serif", serif;
  --font-sans: "Satoshi", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --bg: #050505;
  --text: #ffffff;
  --muted: rgb(255, 255, 255);

  --section-padding: clamp(1.5rem, 5vw, 8rem);
}

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BODY
========================= */

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  margin: 0 auto;
}

/* =========================
   HERO
========================= */

.hero {
  padding-top: 2rem;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* =========================
   NAV
========================= */
.nav-container {
  width: 80%;
  margin: auto;
  padding-top: 2rem;
  position: sticky;
  top: 0;
  z-index: 100000000000000000;
}
nav {
  padding-left: 5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.4);
}

.name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  align-self: flex-end;
  color: #ff3e10;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin-right: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff3e10;
}

/* =========================
   HERO CONTENT
========================= */

.hero-content {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.description span {
  color: white;
  font-family: var(--font-script);
}

/* =========================
   BRUSH IMAGE
========================= */

.brush-wrapper {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(-8deg) translateY(-5%);
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 5;
}

.brush {
  width: 120vw;
  max-width: 1300px;
  opacity: 0.95;
  transform: rotate(-8deg);
}

/* =========================
   TEXT CONTENT
========================= */

.hero-text {
  position: relative;
  z-index: 10;
  max-width: 850px;
}

.designer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

.designer span {
  color: #ff3e10;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 11vw, 10rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.accent {
  font-family: var(--font-script);
  display: inline-block;
  transform: rotate(-2deg);
}

.description {
  margin-top: 2rem;
  max-width: 30ch;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.signature {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: white;
}

/* =========================
   PROJECTS SECTION
========================= */

#Projects {
  position: relative;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  z-index: 200;
  padding-top: 1rem;
}

.projects-headline {
  width: 100%;
  font-family: var(--font-sans);
  background-color: #050505;
  letter-spacing: -0.25rem;
  position: relative;
  z-index: 10;
  font-size: 8rem;
  margin-top: 8rem;
  font-size: clamp(3rem, 10vw, 8rem);
  letter-spacing: -0.08em;
  line-height: 0.9;
  margin-bottom: 6rem;
}

#Projects ul li {
  list-style: none;
}

.skills-wrapper {
  display: grid;
  grid-template-columns: auto auto auto;
  row-gap: 1rem;
}

.projects-section {
  position: relative;
  z-index: 10;
  background: var(--bg);
  padding-block: 8rem;
}

.project-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.project-description {
  max-width: 45ch;
  line-height: 1.8;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--muted);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.project-meta span {
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--muted);
}

/* =========================
   SHOWCASE LAYOUT
========================= */

.project-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-left {
  display: flex;
  gap: 2rem;
}

.project-number {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  color: #ff3e10;
}

.project-content {
  max-width: 700px;
}

.project-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 1.5rem;
  background: #111;
}

.project-preview img,
.project-preview iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  transition: transform 0.6s ease;
}

.project-showcase:hover .project-preview img {
  transform: scale(1.03);
}

/* =========================
   SKILLS SECTION
========================= */

.skills-video {
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  transform: translateX(-50%);
  opacity: 0.25;
  /* filter: grayscale(1) contrast(1.2) brightness(100); */
  z-index: 1;
}

#skills {
  background: var(--bg);
}

.projects-container,
.skills-container {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
}

.skills-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-bottom: 2rem;
}

.skills-headline {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  max-width: 12ch;
  margin-bottom: 6rem;
}

.skills-grid {
  display: flex;
  align-items: flex-start;
  padding-block: 6rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  -ms-overflow-style: none;

  /* Firefox */

  /* Chrome, Safari, and Opera */
  &::-webkit-scrollbar {
    display: none;
  }
}
.skills-grid::-webkit-scrollbar {
  display: none;
}

.skill-card {
  position: relative;
  border: 1px solid transparent;
  width: 280px;
  min-width: 280px;
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: 12px 0 32px -12px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    transform 0.35s ease,
    background 0.35s ease;
  z-index: 1;
}

.skill-card:not(:first-child) {
  margin-left: -120px;
}

.skill-card:hover {
  transform: translateY(-16px) rotate(3deg);
  border-color: rgba(255, 255, 255, 0.16);
}

.skill-card:hover ~ .skill-card {
  transform: translateX(120px);
}

.skill-card i {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: white;
}

.skill-card h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.skill-card p {
  line-height: 1.8;
  color: var(--muted);
}

/* =========================
   CONTACT SECTION
========================= */

#skills,
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section {
  background: #050505;
  color: white;
}

.contact-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 8rem;
}

.contact-headline {
  font-family: var(--font-sans);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  max-width: 8ch;
}

.contact-cta {
  padding-top: 2rem;
}

.contact-cta p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 28ch;
  margin-bottom: 3rem;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border: 1px solid #ff3e10;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #ff3e10;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.contact-button:hover {
  background: #ff3e10;
  color: black;
}

.contact-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
}

.contact-column {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 2rem;
}

.contact-link {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #ff3e10;
  text-decoration: none;
  margin-bottom: 4rem;
}

.phone-label {
  margin-bottom: 1.5rem;
}

.contact-phone {
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-links a {
  text-decoration: none;
  color: white;
  font-size: 1.25rem;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.6;
}

.newsletter-text {
  max-width: 24ch;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 3rem;
}

.newsletter-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.newsletter-form input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  width: 100%;
  font-size: 1rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter-form button {
  background: none;
  border: none;
  color: white;
  font-family: var(--font-mono);
  cursor: pointer;
}

/* =========================
   SECTION PADDING (unified)
========================= */

.hero,
#Projects,
#skills,
.contact-section {
  padding-inline: var(--section-padding);
  position: relative;
  overflow: visible;
}

#Projects,
#skills,
.contact-section {
  padding-block: 6rem;
}

.contact-top,
.contact-bottom {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin-inline: auto;
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin-inline: auto;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .project-showcase {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .project-preview {
    width: 100%;
  }

  .contact-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 850px) {
  .hero-content {
    align-items: flex-start;
    padding-top: 5rem;
  }

  .brush {
    width: 130vw;
    transform: rotate(-10deg);
  }

  .hero-headline {
    font-size: clamp(4rem, 12vw, 6rem);
  }

  .description {
    max-width: 34ch;
  }

  .project-left {
    flex-direction: column;
    gap: 1rem;
  }

  .project-number {
    font-size: clamp(3rem, 8vw, 5rem);
  }
}

@media (max-width: 700px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
  }

  .nav-links a {
    font-size: 0.68rem;
  }

  .hero-content {
    padding-top: 4rem;
  }

  .brush {
    width: 160vw;
    opacity: 0.8;
  }

  .hero-headline {
    font-size: clamp(3.5rem, 15vw, 5rem);
    line-height: 0.95;
  }

  .description {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .projects-headline {
    margin-top: 4rem;
    margin-bottom: 3rem;
    letter-spacing: -0.05rem;
  }

  .project-showcase {
    padding: 3rem 0;
  }

  .project-meta span {
    padding: 0.6rem 1rem;
  }

  .skills-headline {
    margin-bottom: 4rem;
  }

  .skill-card {
    padding: 2rem;
  }

  .contact-bottom {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-link,
  .contact-phone {
    font-size: 1.5rem;
  }

  .footer-links a {
    font-size: 1.2rem;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  :root {
    --section-padding: 1.25rem;
  }

  .nav-links {
    gap: 0.8rem 1rem;
  }

  .hero-headline {
    font-size: clamp(2.8rem, 16vw, 4rem);
  }

  .brush {
    width: 190vw;
  }

  .description {
    font-size: 0.88rem;
  }

  .contact-top {
    margin-bottom: 4rem;
  }
}

@media (max-width: 380px) {
  .hero-headline {
    font-size: 2.5rem;
  }

  .designer {
    font-size: 0.6rem;
    letter-spacing: 0.28em;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .description {
    font-size: 0.82rem;
  }
}
