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

:root {
  --bg:    #080808;
  --line:  rgba(255,255,255,.08);
  --grey:  #555;
  --light: #999;
  --white: #efefef;
  --font:  'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

/* NAV */
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 52px;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,8,8,.9);
  backdrop-filter: blur(12px);
}

.logo-img {
  height: 26px;
  filter: brightness(0) invert(1);
  opacity: .85;
}

nav ul { display: flex; list-style: none; gap: 1.8rem; }
nav a {
  color: var(--light);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s;
}
nav a:hover { color: var(--white); }

.lang-switcher { display: flex; align-items: center; gap: .25rem; }
.lang-btn {
  background: none; border: none;
  color: var(--grey);
  font-family: var(--font);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: .15rem .25rem;
  transition: color .15s;
}
.lang-btn.active { color: var(--white); }
.lang-btn:hover  { color: var(--light); }
.lang-sep { color: var(--grey); user-select: none; font-size: .7rem; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 3rem 4rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 900px;
}

/* PORTFOLIO */
.portfolio-section {
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--line);
}

.filter-tabs {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.tab {
  background: none;
  border: none;
  color: var(--grey);
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  transition: color .2s;
}
.tab.active, .tab:hover { color: var(--white); }
.tab.active { text-decoration: underline; text-underline-offset: 4px; }

/* 2-col grid like Max Ayalla */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  aspect-ratio: 4/3;
}

.item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.item:hover img { transform: scale(1.04); }
.item.hidden { display: none; }

/* Play button */
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.play-inner {
  width: 50px; height: 50px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8,8,8,.4);
  backdrop-filter: blur(4px);
  transition: all .2s;
  padding-left: 3px;
}
.play-inner svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}
.item[data-yt]:hover .play-inner { border-color: var(--white); transform: scale(1.1); }

/* ABOUT */
.about-section {
  border-top: 1px solid var(--line);
  padding: 4rem 2.5rem;
}

.about-img {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  margin: 0 auto;
}

.about-text {
  padding: 4rem 2.5rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  font-size: 1rem;
  color: var(--light);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.insta-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  color: var(--white);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: opacity .2s;
}
.insta-link:hover { opacity: .6; }
.insta-link svg { width: 14px; height: 14px; }

/* CONTACT */
.contact-section {
  border-top: 1px solid var(--line);
  padding: 5rem 2.5rem;
  text-align: center;
}

.contact-section h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--light);
  text-decoration: none;
  font-size: .85rem;
  letter-spacing: .04em;
  transition: color .2s;
}
.contact-link:hover { color: var(--white); }
.contact-link svg { width: 14px; height: 14px; fill: currentColor; opacity: .5; }

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.97);
  backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  width: 90vw;
  max-width: 1000px;
  aspect-ratio: 16/9;
}
.lightbox-inner iframe { width: 100%; height: 100%; border: none; }
.lightbox-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}
.lightbox-close {
  position: absolute;
  top: -2.5rem; right: 0;
  background: none; border: none;
  color: var(--grey);
  font-family: var(--font);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s;
}
.lightbox-close:hover { color: var(--white); }

/* FOOTER */
footer {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
}

/* RESPONSIVE */
@media (max-width: 700px) {
  header { padding: 0 1.5rem; }
  nav ul { display: none; }
  .hero { padding: 52px 1.5rem 3rem; }
  .portfolio-section, .contact-section { padding: 4rem 1.5rem; }
  .grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: .4rem; text-align: center; padding: 1.2rem 1.5rem; }
}
