/* ==========================================================================
   Dustin Godwin — Cinematic Portfolio Design System
   Sleek, Minimalist, High-Contrast Hollywood Aesthetic
   ========================================================================== */

:root {
  --bg-black: #0d0d0f;
  --bg-card: #151518;
  --bg-card-hover: #1c1c21;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 255, 255, 0.25);
  --text-white: #ffffff;
  --text-grey: #a1a1aa;
  --text-muted: #71717a;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-black);
}

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Helpers */
.font-mono-clean {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.tracking-wide-caps {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* DGA Circle Emblem */
.dga-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: -0.05em;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  color: #ffffff;
}

/* Hero Section Overlay Vignette */
.hero-gradient-overlay {
  background: linear-gradient(
    180deg,
    rgba(13, 13, 15, 0.4) 0%,
    rgba(13, 13, 15, 0.7) 60%,
    rgba(13, 13, 15, 1) 100%
  );
}

/* The Wall of Brands - Crisp White Tiles with Prominent Vector Logos */
.brand-tile {
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.6rem;
  border-radius: 2px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  height: 5.25rem;
  min-height: 5.25rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.brand-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

.brand-tile svg {
  height: 2.75rem;
  max-height: 2.9rem;
  width: 92%;
  max-width: 94%;
  display: block;
  margin: 0 auto;
  filter: grayscale(100%) contrast(125%);
}

.brand-tile img {
  height: 2.85rem;
  max-height: 2.85rem;
  width: auto;
  max-width: 88%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: grayscale(100%) contrast(125%);
}

/* Clean Cinematic Card */
.cinema-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinema-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
}

/* Image Zoom Effect */
.cinema-img-zoom {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .cinema-img-zoom {
  transform: scale(1.03);
}

/* Input Fields on Dark */
.cinema-input {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  border-radius: 2px;
  width: 100%;
  transition: border-color 0.2s ease;
}

.cinema-input:focus {
  outline: none;
  border-color: #ffffff;
}

.cinema-input::placeholder {
  color: #52525b;
}

/* Minimalist Button */
.cinema-btn-primary {
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cinema-btn-primary:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

.cinema-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cinema-btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

/* Radio / Chip Options */
.crew-chip {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-grey);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
  user-select: none;
}

.crew-chip.active {
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  border-color: #ffffff;
}

/* Custom Minimal Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #09090b;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Video Modal */
#videoModal.active {
  display: flex;
  animation: modalFade 0.2s ease-out forwards;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
