/* Basurero Films — minimal dark, fixed video background */

:root{
  --bg: #050505;
  --fg: #f2f2f2;
  --muted: rgba(242,242,242,.72);
  --max: 1100px;
}

*{ box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
}

/* Fixed background video */
.bg{
  position: fixed;
  inset: 0;
  z-index: -3;
  background: var(--bg);
}
.bg video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(1);
}
.bg .overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.35) 0%,
    rgba(0,0,0,.25) 40%,
    rgba(0,0,0,.45) 100%
  );
}

@media (prefers-reduced-motion: reduce){
  .bg video{ display:none; }
  .bg{ background: url("assets/poster.jpg") center/cover no-repeat; }
}

/* Top bar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 18px 18px 10px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}
.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
}

.hamburger{
  width: 46px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(0,0,0,.25);
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.logo{
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.logo img{
  height: 54px;
  width: auto;
  opacity: .92;
}

.drawer-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 50;
  display: none;
}
.drawer{
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(360px, 92vw);
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(12px);
  border-right: 1px solid rgba(255,255,255,.12);
  z-index: 60;
  transform: translateX(-102%);
  transition: transform .22s ease;
  padding: 18px;
}
.drawer.open{ transform: translateX(0); }
.drawer-backdrop.open{ display: block; }

.drawer-header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.drawer-title{
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  text-transform: uppercase;
}
.drawer-close{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.25);
  color: var(--fg);
  border-radius: 10px;
  width: 40px;
  height: 38px;
  cursor: pointer;
}
.nav{
  display: grid;
  gap: 10px;
  margin-top: 6px;
}
.nav a{
  text-decoration: none;
  color: var(--fg);
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.nav a:hover{ background: rgba(255,255,255,.07); }
.nav a.active{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
}

main{
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 18px 80px;
}

.hero{
  min-height: calc(100vh - 84px);
}
.btn{
  text-decoration: none;
  color: var(--fg);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.25);
}
.btn:hover{ background: rgba(255,255,255,.06); }

.section-title{
  margin: 0 0 18px;
  font-size: 22px;
  letter-spacing: .02em;
}

.grid{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(12, 1fr);
}
.card{
  grid-column: span 4;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
}
.card .thumb{
  aspect-ratio: 16/9;
  background: rgba(255,255,255,.06);
  display:grid;
  place-items:center;
}
.card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.card .body{
  padding: 14px 14px 16px;
}
.card .title{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 620;
}
.card .meta{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.card .desc{
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.45;
}
.card .awards{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-style: italic;
}

/* Video embed in card thumbnail */
.video-embed{
  position: relative;
  aspect-ratio: 16/9;
}
.video-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 980px){
  .card{ grid-column: span 6; }
}
@media (max-width: 620px){
  .card{ grid-column: span 12; }
  .logo img{ height: 40px; }
}

/* About page */
.about-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 180px);
  text-align: center;
  padding: 40px 18px;
}
.about-logo{
  max-width: 320px;
  width: 100%;
  height: auto;
  margin-bottom: 40px;
  opacity: .92;
}
.about-text{
  max-width: 600px;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}
.about-contact{
  margin-top: 32px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}
.about-contact a{
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}
