/**
 * JK! Studios - Professional Styles
 * Enhanced spacing and professional design
 */

/* ============================================
   CSS Variables (Design Tokens)
   ============================================ */
:root {
  --black: #0a0a0a;
  --off-black: #1a1a1a;
  --white: #f5f2ec;
  --off-white: #e0ddd5;
  --accent: #e8c84a;
  --accent2: #e84a6f;
  --text-dim: #888;
  --red: #e8192e;
  --yellow: #e8c84a;
  --pink: #e84a6f;
  --teal: #4ae8d6;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  --border: 1px solid rgba(255,255,255,0.1);
  --border-accent: 1px solid rgba(232, 200, 74, 0.3);
  --border-radius: 4px;
  --shadow: 0 4px 12px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --container-max: 1400px;
}

/* ============================================
   Base Styles
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px; /* Account for fixed nav */
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: normal;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

h3 {
  font-size: clamp(1.7rem, 5vw, 2.5rem);
}

h4 {
  font-size: clamp(1.3rem, 4vw, 2rem);
}

p {
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--white);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
}

.btn-primary:hover {
  background: #f0d660;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(245,242,236,0.35);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: #ff1a33;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.btn-black {
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-black:hover {
  background: #1a1a1a;
}

.btn-white {
  background: var(--white);
  color: var(--black);
}

.btn-white:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xxl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  margin-bottom: var(--spacing-sm);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255,255,255,0.7);
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: rgba(255,255,255,0.05);
  border: var(--border);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  transition: var(--transition);
  margin-bottom: var(--spacing-md);
}

.card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.card-header {
  margin-bottom: var(--spacing-md);
}

.card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  margin-bottom: var(--spacing-xs);
}

.card-subtitle {
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-sm);
}

/* ============================================
   Forms
   ============================================ */
form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

input[type='email'],
input[type='text'],
textarea {
  padding: 0.9rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

input[type='email']:focus,
input[type='text']:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(232, 200, 74, 0.1);
}

textarea {
  min-height: 150px;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--off-black);
  border-top: var(--border-accent);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-logo {
  width: 140px;
  height: auto;
  margin-bottom: var(--spacing-sm);
}

.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-md);
  color: var(--white);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1.2rem;
  border-radius: 50%;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom p {
  margin: 0;
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

/* ============================================
   Tag Component
   ============================================ */
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.tag::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: var(--accent);
}

/* ============================================
   Stat Row
   ============================================ */
.stat-row {
  display: flex;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: var(--spacing-xs);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  position: relative;
  margin-top: 0;
  padding-top: 80px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--spacing-xxl) var(--spacing-lg);
  position: relative;
  z-index: 2;
  background: var(--black);
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin: var(--spacing-sm) 0 var(--spacing-md);
}

.hero-title .exclaim {
  color: var(--accent2);
  display: inline-block;
}

.hero-title .studios-word {
  display: block;
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.2em;
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  opacity: 0.8;
  margin: var(--spacing-lg) 0 var(--spacing-xl);
  line-height: 1.7;
  max-width: 30ch;
}

.hero-sub strong {
  font-style: normal;
  font-weight: 600;
  color: var(--white);
  opacity: 1;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* ============================================
   Cast Grid
   ============================================ */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  height: 100%;
  width: 100%;
}

.cast-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  transition: var(--transition);
}

.cast-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.cast-card:hover img {
  transform: scale(1.05);
}

.cast-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  padding: var(--spacing-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--transition);
}

.cast-card:hover .cast-name {
  opacity: 1;
}

.cast-card.yellow { border-color: var(--yellow); }
.cast-card.pink { border-color: var(--pink); }
.cast-card.red { border-color: var(--red); }
.cast-card.teal { border-color: var(--teal); }

/* ============================================
   Divider Strip
   ============================================ */
.divider-strip {
  background: var(--off-black);
  padding: var(--spacing-md) 0;
  position: relative;
  overflow: hidden;
  border-top: var(--border);
  border-bottom: var(--border);
}

.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}

.ticker span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 var(--spacing-lg);
  opacity: 0.7;
}

.ticker .dot {
  color: var(--accent);
  opacity: 1;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   Grain Overlay
   ============================================ */
.grain-overlay {
  position: fixed;
  inset: 0;
  background-image: url(""data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E"");
  opacity: 0.032;
  pointer-events: none;
  z-index: 999;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
  :root {
    --spacing-xxl: 3.5rem;
    --spacing-xl: 2.5rem;
    --spacing-lg: 1.8rem;
  }
  
  .hero-title {
    font-size: clamp(3.5rem, 8vw, 7rem);
  }
  
  .hero-title .studios-word {
    font-size: clamp(1.8rem, 4vw, 3rem);
  }
  
  .footer-grid {
    gap: var(--spacing-lg);
  }
}

@media (max-width: 1024px) {
  :root {
    --spacing-xxl: 3rem;
    --spacing-xl: 2rem;
    --spacing-lg: 1.5rem;
  }
  
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  
  .hero-text {
    padding: var(--spacing-xl);
    text-align: center;
    align-items: center;
    border-right: none;
    border-bottom: var(--border-accent);
  }
  
  .stat-row {
    justify-content: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .cast-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  .hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
  }
  
  .hero-title .studios-word {
    font-size: clamp(1.7rem, 4vw, 2.8rem);
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-xxl: 2.5rem;
    --spacing-xl: 1.8rem;
    --spacing-lg: 1.3rem;
    --spacing-md: 1.2rem;
    --spacing-sm: 0.9rem;
  }
  
  body {
    padding-top: 70px;
  }
  
  .hero {
    padding-top: 70px;
    min-height: 70vh;
  }
  
  .hero-text {
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 5rem);
  }
  
  .hero-title .studios-word {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }
  
  .hero-sub {
    font-size: 1rem;
    margin: var(--spacing-md) 0 var(--spacing-lg);
  }
  
  .hero-cta {
    gap: var(--spacing-sm);
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    text-align: center;
    padding: 1.1rem 2rem;
  }
  
  .stat-row {
    flex-direction: column;
    gap: var(--spacing-lg);
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
  }
  
  .stat-num {
    font-size: 2.2rem;
  }
  
  .cast-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .section-header {
    margin-bottom: var(--spacing-lg);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
  
  .footer-social {
    order: -1;
  }
  
  .tag {
    font-size: 0.7rem;
    gap: 0.5rem;
  }
  
  .tag::before {
    width: 1.5rem;
  }
  
  .ticker span {
    font-size: 0.8rem;
    padding: 0 var(--spacing-md);
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-xxl: 2rem;
    --spacing-xl: 1.5rem;
    --spacing-lg: 1rem;
    --spacing-md: 0.8rem;
    --spacing-sm: 0.6rem;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .hero-text {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .hero-title {
    font-size: clamp(2rem, 12vw, 4rem);
  }
  
  .hero-title .studios-word {
    font-size: clamp(1.2rem, 6vw, 2rem);
  }
  
  .hero-sub {
    font-size: 0.95rem;
    margin: var(--spacing-sm) 0 var(--spacing-md);
  }
  
  .stat-row {
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
  }
  
  .stat-num {
    font-size: 2rem;
  }
  
  .cast-grid {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: var(--spacing-md);
  }
  
  .card-title {
    font-size: 1.5rem;
  }
  
  .ticker span {
    font-size: 0.7rem;
    padding: 0 var(--spacing-sm);
  }
  
  .footer-col h4 {
    font-size: 1.1rem;
  }
  
  .social-link {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}
