/* ==========================================================================
   NADIA LEBIK — OFICJALNY PORTAL WIZYTÓWKOWY & ARCHIWUM TWÓRCZOŚCI
   Stylistyka: Haute Cinéma / Luksusowy Modernizm / Deep Noir & Champagne Gold
   ========================================================================== */

:root {
  --bg-primary: #0a0b0e;
  --bg-secondary: #111318;
  --bg-card: rgba(22, 25, 33, 0.75);
  --bg-card-hover: rgba(29, 33, 44, 0.95);
  --bg-glass: rgba(18, 20, 26, 0.65);
  
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa820a;
  --gold-gradient: linear-gradient(135deg, #f6e27a 0%, #cb9b51 50%, #9a7432 100%);
  --gold-subtle: rgba(212, 175, 55, 0.15);
  --gold-glow: rgba(212, 175, 55, 0.35);

  --accent-red: #c53030;
  --accent-burgundy: #501620;
  
  --text-main: #f5f5f7;
  --text-muted: #a0a5b5;
  --text-dim: #6e7387;
  --text-gold: #e2ba59;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-gold-hover: rgba(212, 175, 55, 0.6);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.2);

  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

/* Reset & Podstawowe */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(212, 175, 55, 0.18);
  background: 
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(80, 22, 32, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    var(--bg-primary);
  background-attachment: scroll;
}

body.menu-open,
body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Subtle Film Grain */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  opacity: 0.025;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3, h4, .serif-font {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.3;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

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

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

/* Gradient Text */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Section Header Shared */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-head.text-left {
  text-align: left;
  margin: 0 0 3rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 11, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.site-nav.scrolled {
  background: rgba(10, 11, 14, 0.95);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-main);
  line-height: 1;
}

.brand-role {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  touch-action: manipulation;
  -webkit-touch-callout: none;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0b0c10;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(212, 175, 55, 0.5);
  color: #000;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--gold-subtle);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
}

.mobile-drawer-cta {
  display: none;
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  touch-action: manipulation;
  z-index: 1100;
  transition: var(--transition-smooth);
}

.toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.mobile-toggle.active .toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .toggle-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
}

.hero-lead {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  color: var(--text-muted);
  margin: 1.5rem 0 2rem;
  max-width: 620px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-quote-highlight {
  position: relative;
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  background: var(--bg-card);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  backdrop-filter: blur(12px);
}

.hero-quote-highlight p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-light);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.2rem;
}

/* Hero Portrait Showcase */
.hero-portrait-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-badges-container {
  display: contents;
}

.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.35), rgba(255, 255, 255, 0.05), rgba(80, 22, 32, 0.3));
  box-shadow: var(--shadow-lg), 0 0 50px rgba(212, 175, 55, 0.15);
  transition: var(--transition-smooth);
}

.portrait-frame:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(212, 175, 55, 0.25);
}

.portrait-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: contrast(1.04) brightness(0.98);
  transition: transform 0.6s ease;
}

.portrait-frame:hover .portrait-img {
  transform: scale(1.03);
}

.portrait-badge-floating {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: rgba(14, 16, 22, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: var(--shadow-md);
  max-width: 280px;
}

.badge-icon {
  font-size: 1.8rem;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.badge-text-primary {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.badge-text-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.portrait-badge-right {
  position: absolute;
  top: 30px;
  right: -24px;
  background: rgba(14, 16, 22, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
  text-align: center;
}

.badge-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-light);
}

.badge-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Stats Bar */
.hero-stats-bar {
  margin-top: 4.5rem;
  padding: 2.2rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-val {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.stat-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ==========================================================================
   ABOUT & PHILOSOPHY
   ========================================================================== */
.about-section {
  padding: 100px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-portrait-card {
  position: relative;
}

.about-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  background: var(--bg-secondary);
}

.about-image-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.about-image-frame:hover img {
  transform: scale(1.04);
}

.about-quote-box {
  margin-top: 1.5rem;
  padding: 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-light);
  text-align: center;
}

.about-text p {
  margin-bottom: 1.4rem;
  font-size: 1.08rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-box {
  padding: 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.highlight-box:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.highlight-icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.highlight-box h4 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.highlight-box p {
  font-size: 0.85rem;
  margin: 0;
}

/* ==========================================================================
   AWARDS & RECOGNITION (OSIĄGNIĘCIA I NAGRODY)
   ========================================================================== */
.awards-section {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0d0f14 50%, var(--bg-primary) 100%);
  position: relative;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.award-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.award-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--border-subtle);
  transition: var(--transition-smooth);
}

.award-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  background: var(--bg-card-hover);
}

.award-card:hover::before {
  background: var(--gold-gradient);
}

.award-card.featured {
  border-color: var(--border-gold);
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), rgba(22, 25, 33, 0.85));
}

.award-card.featured::before {
  background: var(--gold-gradient);
}

.award-year {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  background: var(--gold-subtle);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
}

.award-trophy {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.award-title {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.award-category {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.award-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.award-project-tag {
  margin-top: auto;
  padding-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   FILMOGRAPHY (FILMOPOLSKI & KLUCZOWE DZIEŁA)
   ========================================================================== */
.filmography-section {
  padding: 110px 0;
  position: relative;
}

.filmpolski-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(20, 24, 32, 0.85) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-md);
}

.fp-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.fp-content p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Filters */
.film-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  border-color: var(--border-gold);
  color: var(--text-main);
}

.filter-btn.active {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #0c0d12;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}

/* Film Grid */
.films-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.film-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.film-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg), 0 8px 24px rgba(0, 0, 0, 0.4);
  background: var(--bg-card-hover);
}

.film-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.film-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.film-badge.gold {
  background: var(--gold-subtle);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}

.film-badge.red {
  background: rgba(197, 48, 48, 0.18);
  color: #feb2b2;
  border: 1px solid rgba(197, 48, 48, 0.4);
}

.film-year {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-primary);
  font-weight: 600;
}

.film-card h4 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
  color: var(--text-main);
  line-height: 1.2;
}

.film-director {
  font-size: 0.85rem;
  color: var(--text-gold);
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.film-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.film-cast-info {
  margin: 0.6rem 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.film-cast-info strong {
  color: var(--text-main);
}

.film-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.55;
}

.film-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.film-tag {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
}

/* ==========================================================================
   INTERVIEWS & MEDIA HUB
   ========================================================================== */
.interviews-section {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #101218 50%, var(--bg-primary) 100%);
}

.media-featured-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.media-content h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.media-tag-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.media-platform {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: #ff0000;
  color: #fff;
}

.media-content p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.media-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.media-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.media-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.media-card-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.media-card h4 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
  line-height: 1.3;
}

.media-source {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gold);
  margin-bottom: 1rem;
}

.media-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.media-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
}

.media-link:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Tips Accordion for Actors */
.tips-wrapper {
  margin-top: 5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.tips-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.accordion-item:hover {
  border-color: var(--border-gold);
}

.accordion-header {
  padding: 1.2rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.accordion-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.tip-num {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-primary);
}

.accordion-icon {
  font-size: 1.1rem;
  color: var(--gold-light);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.accordion-item.active .accordion-body {
  padding-bottom: 1.2rem;
  max-height: 250px;
}

/* ==========================================================================
   FESTIVAL JOURNEY & LOCATIONS (GDZIE BYŁA)
   ========================================================================== */
.journey-section {
  padding: 110px 0;
  position: relative;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.journey-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.journey-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.journey-place {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  margin-bottom: 0.6rem;
}

.journey-card h4 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.journey-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.journey-role-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
}

/* ==========================================================================
   PHOTO GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0d0f14 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.gallery-item.span-2 {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 11, 14, 0.9) 0%, rgba(10, 11, 14, 0.2) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.gallery-sub {
  font-size: 0.8rem;
  color: var(--gold-light);
}

/* ==========================================================================
   QUOTES CAROUSEL
   ========================================================================== */
.quotes-section {
  padding: 90px 0;
  position: relative;
}

.quote-carousel {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  color: var(--gold-primary);
  opacity: 0.4;
  margin-bottom: 1rem;
}

.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.quote-author {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.quote-author-title {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER & CONTACT
   ========================================================================== */
.site-footer {
  padding: 90px 0 40px;
  background: #060709;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 380px;
  margin-top: 1rem;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 1.4rem;
  color: var(--text-main);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 5px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-item span.icon {
  color: var(--gold-primary);
  font-size: 1.2rem;
}

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   LIGHTBOX MODAL (iOS & TOUCH FIRST)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 7, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: calc(env(safe-area-inset-top, 0px) + 1rem) max(1rem, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 1rem) max(1rem, env(safe-area-inset-left, 0px));
  opacity: 0;
  transition: opacity 0.3s ease;
  touch-action: pan-y;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-image {
  max-width: 100%;
  max-height: 75vh;
  max-height: calc(78dvh - 60px);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-gold);
  object-fit: contain;
}

.modal-caption {
  margin-top: 1rem;
  color: var(--gold-light);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  padding: 0 0.5rem;
}

.modal-close {
  position: fixed;
  top: max(1.2rem, calc(env(safe-area-inset-top, 0px) + 0.8rem));
  right: max(1.2rem, calc(env(safe-area-inset-right, 0px) + 0.8rem));
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(20, 22, 28, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2200;
  touch-action: manipulation;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.modal-close:hover,
.modal-close:active {
  transform: scale(1.1);
  background: var(--gold-primary);
  color: #000;
}

/* ==========================================================================
   RESPONSIVE DESIGN (IPHONE & MOBILE OPTIMIZED)
   ========================================================================== */

/* Navbar Safe Area on All iOS Screens */
.site-nav {
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-portrait-wrapper {
    order: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    width: 100%;
  }

  .portrait-frame {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-badges-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
    margin-top: 1rem;
    position: static;
  }

  .portrait-badge-floating,
  .portrait-badge-right {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
    box-shadow: var(--shadow-sm);
  }

  .portrait-badge-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.75rem 1.2rem;
  }

  .portrait-badge-right .badge-number {
    font-size: 1.6rem;
  }

  .portrait-badge-right .badge-label {
    margin: 0;
    font-size: 0.82rem;
  }
  
  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }
  
  .awards-grid, .journey-grid, .media-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 868px) {
  .nav-inner {
    height: 72px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(7, 8, 10, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
    padding: calc(env(safe-area-inset-top, 20px) + 2rem) 2rem calc(env(safe-area-inset-bottom, 20px) + 2rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    z-index: 1050;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-link:active,
  .nav-link.active {
    color: var(--gold-primary);
  }

  .mobile-drawer-cta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 270px;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-drawer-cta .btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.4rem;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

  .media-featured-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.span-2 {
    grid-column: span 1;
  }

  .accordion-grid {
    grid-template-columns: 1fr;
  }

  .filmpolski-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
  }
}

/* ==========================================================================
   IPHONE & SMALL SCREENS (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .hero-section {
    padding: calc(90px + env(safe-area-inset-top, 0px)) 0 45px;
  }

  .hero-portrait-wrapper {
    margin-bottom: 1.8rem;
  }

  .portrait-frame {
    max-width: 270px;
    margin: 0 auto;
  }

  .hero-badges-container {
    max-width: 270px;
    gap: 0.65rem;
    margin-top: 0.85rem;
  }

  .section-badge {
    font-size: 0.74rem;
    padding: 0.35rem 0.8rem;
    text-align: center;
    line-height: 1.35;
    max-width: 100%;
    display: inline-flex;
    justify-content: center;
  }

  h1 {
    font-size: clamp(1.9rem, 7.2vw, 2.5rem);
    line-height: 1.16;
  }

  h2 {
    font-size: clamp(1.75rem, 6.5vw, 2.1rem);
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1.1rem 0 1.4rem;
  }

  .hero-quote-highlight {
    padding: 1rem 1.15rem;
    margin: 1.4rem 0;
  }

  .hero-quote-highlight p {
    font-size: 1.02rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.3rem;
    font-size: 0.95rem;
  }

  .hero-stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    padding: 1.5rem 1rem;
    margin-top: 2.5rem;
  }

  .stat-item::after {
    display: none !important;
  }

  .stat-val {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* Native iOS-style Horizontal Filter Pills */
  .film-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.55rem;
    padding: 0.4rem 0.2rem 0.8rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .film-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 0.52rem 1.15rem;
  }

  .films-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .film-card {
    padding: 1.4rem;
  }

  .film-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .awards-grid,
  .journey-grid,
  .media-cards-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .gallery-item {
    aspect-ratio: 4 / 3;
  }

  /* Make captions visible and legible on touch devices without needing hover */
  .gallery-overlay {
    opacity: 0.92;
    background: linear-gradient(to top, rgba(10, 11, 14, 0.95) 0%, rgba(10, 11, 14, 0.4) 60%, transparent 100%);
    padding: 1.2rem;
  }

  .gallery-caption {
    font-size: 1rem;
  }

  .gallery-sub {
    font-size: 0.8rem;
  }

  .media-featured-grid {
    padding: 1.2rem;
    gap: 1.5rem;
  }

  .media-content h3 {
    font-size: 1.35rem;
  }

  .media-tag-row {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .accordion-header {
    padding: 1.05rem 1.15rem;
  }

  .accordion-title {
    font-size: 0.98rem;
    gap: 0.6rem;
  }

  .tip-num {
    font-size: 1.15rem;
  }

  .accordion-body {
    padding: 0 1.15rem;
    font-size: 0.92rem;
  }

  .quote-carousel {
    padding: 2.2rem 1.2rem;
  }

  .quote-text {
    font-size: 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .site-footer {
    padding-bottom: calc(env(safe-area-inset-bottom, 20px) + 2rem);
  }
}
