/* =============================================
   HIGH ROLLER FILMS — Main Stylesheet
   ============================================= */

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

:root {
  --red: #D41F2A;
  --red-dark: #a8161f;
  --black: #0a0a0a;
  --dark: #111111;
  --dark-mid: #1a1a1a;
  --mid: #242424;
  --light: #f0ece6;
  --muted: #888888;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--light);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.accent {
  color: var(--red);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  padding: 0.75rem 2.2rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--light);
  border-color: var(--light);
}

.btn-outline:hover {
  background: var(--light);
  color: var(--black);
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4%;
  transition: background 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.8rem 4%;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  white-space: nowrap;
}

.nav-logo img {
  /* Crop to the top icon portion — bottom text is unreadable at nav size */
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: top center;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-yt {
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-yt:hover {
  color: var(--red);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--light);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  overflow: hidden;
}

#yt-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Scale up by 1.35× to push 2.40:1 letterbox bars off-screen */
  width: 100vw;
  height: 76vw;
  min-height: 135vh;
  min-width: 240vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.65) 100%),
    linear-gradient(135deg, rgba(212,31,42,0.12) 0%, transparent 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(900px, 92%);
  margin-inline: auto;
  text-align: center;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(240,236,230,0.65);
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}

.hero-scroll span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- SECTION BASE ---- */
.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 3rem;
  letter-spacing: 0.04em;
}

/* ---- FILMS & MUSIC VIDEOS ---- */
.music-videos {
  background: var(--black);
}

.commercials {
  background: var(--dark);
}

.mv-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.films {
  background: var(--dark);
}

.films .section-title,
.films .section-sub {
  text-align: center;
}

.films-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.film-card {
  background: var(--dark-mid);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.film-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
}

.film-embed {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--black);
}

.film-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.film-poster {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.placeholder-poster {
  background:
    linear-gradient(135deg, var(--mid) 0%, var(--dark-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-poster::before {
  content: '▶';
  font-size: 3rem;
  color: rgba(255,255,255,0.06);
}

.film-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.film-year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--red);
}

.film-info {
  padding: 1.25rem;
}

.film-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.film-info p {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ---- ABOUT ---- */
.about {
  background: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: rgba(240,236,230,0.7);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.about-text .btn {
  margin-top: 1rem;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
  padding-left: 2rem;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-pct {
  font-size: 0.5em;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- CONTACT ---- */
.contact {
  background: var(--dark);
}

.contact-inner {
  max-width: 720px;
}

.contact .section-title,
.contact .section-sub {
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: var(--dark-mid);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.9rem 1.1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
}

.contact-email {
  text-align: center;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.contact-email a {
  color: var(--red);
  transition: opacity 0.2s;
}

.contact-email a:hover {
  opacity: 0.75;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 0;
}

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

.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: top center;
  opacity: 0.7;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
}

.footer-social a {
  color: var(--muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: var(--red);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 2rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 200;
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual {
    padding-left: 0;
    padding-top: 2rem;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-direction: row;
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---- FADE-IN ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
