/* ═══════════════════════════════════════════
   TWS Films — Showcase Site CSS
   Dark Cinematic Theme
═══════════════════════════════════════════ */

:root {
  --gold: #f5c842;
  --gold-dim: #c9a020;
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #18181f;
  --surface: #1e1e28;
  --surface2: #252530;
  --text: #e8e8f0;
  --text-dim: #9090a8;
  --red: #e63946;
  --green: #2ec27e;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --shadow: 0 8px 32px rgba(0,0,0,0.6);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.accent { color: var(--gold); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn-primary:hover { background: #ffe066; transform: translateY(-2px); text-decoration: none; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-secondary:hover { background: rgba(245,200,66,0.12); transform: translateY(-2px); text-decoration: none; }

/* ═══════════════════ HEADER ═══════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { color: var(--gold); font-size: 1.3rem; }
.logo-text { font-size: 1.5rem; font-weight: 800; color: var(--text); letter-spacing: 0.05em; font-family: 'Bebas Neue', sans-serif; }

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); }

.cta-btn {
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  white-space: nowrap;
  transition: background var(--transition);
  text-decoration: none;
}
.cta-btn:hover { background: #ffe066; text-decoration: none; }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  gap: 1rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text); font-weight: 500; font-size: 1rem; text-decoration: none; }

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,15,0.7) 0%,
    rgba(10,10,15,0.5) 40%,
    rgba(10,10,15,0.85) 80%,
    var(--bg) 100%
  );
  z-index: 1;
}

.filmstrip {
  display: flex;
  width: 200%;
  height: 100%;
  animation: filmScroll 30s linear infinite;
}
.filmstrip img {
  flex-shrink: 0;
  width: calc(100% / 8);
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.4) saturate(0.7);
}
@keyframes filmScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(245,200,66,0.15);
  border: 1px solid rgba(245,200,66,0.3);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 400;
  line-height: 1.0;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--gold);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ═══════════════════ AD SLOTS ═══════════════════ */
.ad-slot {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ad-slot--leaderboard { min-height: 90px; padding: 0.5rem; }
.ad-slot--rectangle { min-height: 280px; padding: 1rem; }
.ad-slot--inline { min-height: 120px; padding: 0.5rem; }

.ad-placeholder {
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ad-slot--rectangle .ad-placeholder { max-width: 300px; min-height: 250px; }

/* ═══════════════════ STATS BAR ═══════════════════ */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2.5rem 1.5rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Bebas Neue', sans-serif;
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.35rem;
}

/* ═══════════════════ SECTIONS ═══════════════════ */
.section { padding: 6rem 0; }
.section--dark { background: var(--bg2); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-head h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.05;
  letter-spacing: 0.04em;
}
.section-desc { color: var(--text-dim); font-size: 1rem; }

/* ═══════════════════ FILTER BAR ═══════════════════ */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.filter-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.filter-btn.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  font-weight: 700;
}

/* ═══════════════════ VIDEO GRID ═══════════════════ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.video-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(245,200,66,0.25);
}
.video-card.hidden { display: none; }

.thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg3);
  cursor: pointer;
  overflow: hidden;
}
.thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
}
.thumb-wrap:hover .thumb {
  transform: scale(1.04);
  filter: brightness(0.7);
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.thumb-wrap:hover .play-btn { opacity: 1; }
.play-btn span {
  width: 64px;
  height: 64px;
  background: rgba(245,200,66,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: transform var(--transition);
}
.thumb-wrap:hover .play-btn span { transform: scale(1.1); }

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(245,200,66,0.9);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.badge.cartoon { background: rgba(64,180,255,0.9); color: #000; }
.badge.music { background: rgba(200,100,255,0.9); color: #fff; }
.badge.web-badge { background: rgba(46,194,126,0.92); color: #000; }

.live-dot {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(46,194,126,0.5);
  color: #2ec27e;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.live-dot span {
  width: 6px;
  height: 6px;
  background: #2ec27e;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  display: inline-block;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.web-play span { font-size: 2rem; }

.card-info {
  padding: 1.1rem 1.25rem 1.25rem;
}
.card-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.card-info p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }

/* ═══════════════════ SERVICES GRID ═══════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover { border-color: rgba(245,200,66,0.35); transform: translateY(-3px); }
.service-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }

/* ═══════════════════ WHY US ═══════════════════ */
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-text h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
}
.why-list { display: flex; flex-direction: column; gap: 0.85rem; }
.why-list li { display: flex; gap: 0.75rem; font-size: 0.95rem; color: var(--text-dim); align-items: flex-start; }
.check { color: var(--gold); font-weight: 800; font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.why-visual { display: flex; flex-direction: column; gap: 1rem; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: border-color var(--transition);
}
.stat-card:hover { border-color: rgba(245,200,66,0.3); }
.stat-card.highlight { border-color: rgba(245,200,66,0.4); background: rgba(245,200,66,0.05); }
.big-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-card span:last-child { font-size: 0.85rem; color: var(--text-dim); }

/* ═══════════════════ CONTACT ═══════════════════ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }

label { font-size: 0.85rem; font-weight: 600; color: var(--text-dim); }

input, select, textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition);
  width: 100%;
  outline: none;
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
select option { background: var(--bg2); }
textarea { resize: vertical; }

.submit-btn {
  align-self: flex-start;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
}

.form-note { font-size: 0.78rem; color: var(--text-dim); }

.form-success {
  background: rgba(46,194,126,0.12);
  border: 1px solid var(--green);
  color: var(--green);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.contact-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.contact-info p { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 0.4rem; }
.contact-info a { color: var(--gold); }
.contact-info ul { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-info li { font-size: 0.85rem; color: var(--text-dim); padding-left: 1rem; position: relative; }
.contact-info li::before { content: '•'; position: absolute; left: 0; color: var(--gold); }

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
  background: #050508;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-brand .logo-icon { font-size: 1.5rem; color: var(--gold); }
.footer-brand .logo-text { font-size: 1.8rem; font-weight: 400; color: var(--text); font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.05em; }
.footer-brand p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }
.footer-links h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 1rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: var(--text-dim); font-size: 0.9rem; transition: color var(--transition); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.83rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--gold); }

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 900px) {
  .why-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-sidebar { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .nav-links, .cta-btn { display: none; }
  .hamburger { display: block; }
  .section { padding: 4rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .stats-bar { gap: 1.5rem; }
  .hero-title { font-size: 2.4rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .services-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 0.4rem; }
  .filter-btn { font-size: 0.8rem; padding: 0.45rem 0.9rem; }
}

/* ═══════════════════ UTILITY ═══════════════════ */
@media (prefers-reduced-motion: reduce) {
  .filmstrip { animation: none; }
  * { transition: none !important; animation: none !important; }
}
