/* ==========================================================================
   Filmat Edukativë | Marsida Mezja
   Paleta: e bardhë, pana/bezhë, gri e ngrohtë, detaje gold/champagne
   ========================================================================== */

:root {
  --white: #ffffff;
  --cream: #faf7f2;
  --sand: #f3eee5;
  --warm-gray: #6f6860;
  --warm-gray-light: #9a938a;
  --dark: #2e2b26;
  --dark-soft: #3d3932;
  --gold: #b89b5e;
  --gold-dark: #9d8148;
  --gold-soft: #d8c39a;
  --gold-light: #efe7d3;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 10px rgba(46, 43, 38, 0.06);
  --shadow-md: 0 12px 30px rgba(46, 43, 38, 0.10);
  --shadow-lg: 0 24px 60px rgba(46, 43, 38, 0.18);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--gold-dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   BOTONS
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 14px 34px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(184, 155, 94, 0.35);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(184, 155, 94, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--dark-soft);
  border-color: rgba(46, 43, 38, 0.25);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--dark);
  z-index: 102;
}

.navbar:not(.scrolled) .logo {
  color: var(--dark);
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 0 0 4px rgba(184, 155, 94, 0.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-menu a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--dark-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

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

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold-dark);
}

.nav-menu .nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  color: var(--gold-dark);
  transition: background-color 0.3s, color 0.3s;
}

.nav-menu .nav-cta:hover {
  background: var(--gold);
  color: var(--white);
}

.nav-menu .nav-cta::after {
  display: none;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.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);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 0 100px;
  background: linear-gradient(160deg, #ffffff 0%, var(--cream) 35%, var(--sand) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(184, 155, 94, 0.10), transparent 50%),
    radial-gradient(circle at 80% 75%, rgba(184, 155, 94, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 43, 38, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 43, 38, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-style: italic;
  color: var(--warm-gray);
  margin-bottom: 18px;
}

.hero-text {
  font-size: 1rem;
  color: var(--warm-gray);
  max-width: 640px;
  margin: 0 auto 38px;
}

.hero-posters {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.poster-card {
  position: absolute;
  width: clamp(130px, 16vw, 210px);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: rotate(-8deg) translateY(20px);
}

.poster-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  background: var(--gold-light);
}

.poster-card.reveal.visible {
  opacity: 1;
  transform: rotate(-8deg) translateY(0);
}

.poster-1 {
  top: 22%;
  left: clamp(1rem, 6vw, 8rem);
}

.poster-2 {
  top: 26%;
  right: clamp(1rem, 6vw, 8rem);
  transform: rotate(8deg) translateY(20px);
}

.poster-2.reveal.visible {
  transform: rotate(8deg) translateY(0);
}

.poster-card.poster-2 {
  top: 30%;
}

.poster-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 26px 12px 12px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--white);
  background: linear-gradient(to top, rgba(46, 43, 38, 0.7), transparent);
  font-weight: 400;
  text-align: center;
}

.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.mouse {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid var(--warm-gray-light);
  border-radius: 16px;
  position: relative;
}

.mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--gold);
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; top: 7px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 20px; }
}

/* ==========================================================================
   SEKSIONET
   ========================================================================== */

.section {
  padding: 100px 0;
  position: relative;
}

.section-tag {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 32px;
}

/* Rreth */
.section-about {
  background: var(--white);
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.section-about .container {
  max-width: 820px;
  text-align: center;
}

.about-text {
  font-size: 1.1rem;
  color: var(--warm-gray);
  margin-bottom: 48px;
}

.about-quote {
  position: relative;
  background: linear-gradient(135deg, var(--sand), var(--cream));
  padding: 44px 44px 44px 68px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
  text-align: left;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  color: var(--gold);
  position: absolute;
  top: 6px;
  left: 22px;
  line-height: 1;
}

.about-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--dark-soft);
  line-height: 1.6;
}

/* ==========================================================================
   FILMAT
   ========================================================================== */

.section-film-1 {
  background: var(--cream);
}

.section-film-2 {
  background: var(--white);
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.film-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.film-visual {
  position: sticky;
  top: 120px;
}

.poster-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.poster-frame img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  background: var(--gold-light);
}

.film-number {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.film-sub {
  font-size: 1.05rem;
  color: var(--warm-gray);
  margin-bottom: 34px;
  font-weight: 400;
}

.film-block {
  margin-bottom: 26px;
}

.film-block:last-child {
  margin-bottom: 0;
}

.film-block h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.film-block h3::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
}

.film-block p {
  color: var(--warm-gray);
  font-size: 0.98rem;
}

.film-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.film-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.film-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.film-tags li {
  padding: 8px 18px;
  border: 1px solid var(--gold-soft);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--gold-dark);
  background: rgba(184, 155, 94, 0.06);
}

.film-premiere {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--warm-gray);
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 6px;
}

.film-premiere strong {
  color: var(--gold-dark);
  font-weight: 500;
}

.film-gallery {
  margin-top: 30px;
}

.film-gallery h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.film-gallery h3::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.thumb {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 90px;
  background: var(--gold-light);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.thumb:hover img {
  transform: scale(1.08);
}

/* ==========================================================================
   TIMELINE
   ========================================================================== */

.section-timeline {
  background: var(--cream);
}

.timeline-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
  color: var(--warm-gray);
  font-size: 1.05rem;
}

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-soft), var(--gold), var(--gold-soft));
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 78px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: 20px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 155, 94, 0.2);
}

.tl-content h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}

.tl-content p {
  color: var(--warm-gray);
  font-size: 0.95rem;
}

/* ==========================================================================
   VLERAT
   ========================================================================== */

.section-values {
  background: var(--white);
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.value-card {
  background: linear-gradient(160deg, var(--cream), var(--white));
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-soft));
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--warm-gray);
}

/* ==========================================================================
   GALERIA
   ========================================================================== */

.section-gallery {
  background: var(--cream);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--warm-gray);
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.filter-btn:hover {
  color: var(--gold-dark);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border-color: transparent;
}

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

.gallery-item {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gold-light);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.gallery-item.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-item.hide {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.gallery-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px 12px;
  background: rgba(46, 43, 38, 0.72);
  color: var(--white);
  font-size: 0.72rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s;
}

.gallery-item:hover .gallery-tag {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   VIDEO
   ========================================================================== */

.section-video {
  background: var(--white);
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.video-card {
  background: var(--cream);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.video-thumb {
  aspect-ratio: 16/9;
  background: var(--dark);
}

.video-thumb iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--dark);
  padding: 22px 26px 6px;
}

.video-card p {
  color: var(--warm-gray);
  font-size: 0.92rem;
  padding: 0 26px 26px;
}

/* ==========================================================================
   SEKSIONI PËRFUNDIMTAR
   ========================================================================== */

.section-closing {
  background:
    radial-gradient(circle at 50% 50%, rgba(184, 155, 94, 0.10), transparent 60%),
    linear-gradient(160deg, var(--cream), var(--sand));
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 30px 0;
}

.closing-quote {
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: -20px;
}

.closing-inner .section-title {
  margin-bottom: 28px;
}

.closing-inner p {
  color: var(--warm-gray);
  font-size: 1.08rem;
  max-width: 640px;
  margin: 0 auto 40px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--dark);
  color: var(--warm-gray-light);
  padding: 60px 0;
  text-align: center;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-tags {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.footer-copy {
  font-size: 0.82rem;
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 10px;
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(30, 28, 23, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  backdrop-filter: blur(6px);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 82vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  text-align: center;
  color: var(--white);
  font-size: 0.9rem;
  margin-top: 16px;
  padding: 0 20px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  font-size: 1.6rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.8rem;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(184, 155, 94, 0.8);
}

.lightbox-prev[aria-hidden="true"],
.lightbox-next[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
  .film-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .film-visual {
    position: relative;
    top: 0;
    max-width: 420px;
    margin: 0 auto;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-posters .poster-card {
    width: clamp(100px, 14vw, 160px);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(300px, 78vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px 36px;
    background: var(--white);
    box-shadow: -20px 0 50px rgba(46, 43, 38, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 101;
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-toggle {
    display: flex;
  }
  .nav-menu a {
    font-size: 1.05rem;
  }
  .hero-posters {
    display: none;
  }
  .section {
    padding: 76px 0;
  }
  .video-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .film-points {
    grid-template-columns: 1fr;
  }
  .about-quote {
    padding: 36px 28px 36px 56px;
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .thumb-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
  }
  .container {
    padding: 0 18px;
  }
}

/* ==========================================================================
   EXTENDED � Admin-driven features (appended, keeping base design intact)
   Dark mode, header (search/lang/theme), hero slider, AI chat, partners, lightbox fullscreen
   ========================================================================== */

/* ---------- DARK MODE VARIABLES ---------- */
html[data-theme="dark"] {
  --white: #1d1b17;
  --cream: #171512;
  --sand: #201d18;
  --warm-gray: #b9b0a0;
  --warm-gray-light: #8d8475;
  --dark: #f0eae0;
  --dark-soft: #e2d9c8;
  --gold: #c9a96a;
  --gold-dark: #d9bd85;
  --gold-soft: #3a3220;
  --gold-light: #4a4026;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.4);
  --shadow-md: 0 12px 30px rgba(0,0,0,.45);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.5);
  background: var(--cream);
  color-scheme: dark;
}
html[data-theme="dark"] body {
  color: var(--dark);
  background: var(--cream);
}
html[data-theme="dark"] .navbar.scrolled {
  background: rgba(23, 21, 18, 0.92);
}
html[data-theme="dark"] .navbar:not(.scrolled) .logo,
html[data-theme="dark"] .navbar .logo { color: var(--dark); }
html[data-theme="dark"] .nav-menu a { color: var(--dark-soft); }
html[data-theme="dark"] .nav-menu .nav-cta { border-color: var(--gold); color: var(--gold); }
html[data-theme="dark"] .nav-menu .nav-cta:hover { background: var(--gold); color: #1d1b17; }
html[data-theme="dark"] .about-quote { background: linear-gradient(135deg, var(--sand), var(--cream)); }
html[data-theme="dark"] .poster-frame,
html[data-theme="dark"] .thumb,
html[data-theme="dark"] .gallery-item,
html[data-theme="dark"] .value-card { background: var(--gold-light); }
html[data-theme="dark"] .value-card { background: linear-gradient(160deg, var(--sand), var(--cream)); }
html[data-theme="dark"] .value-icon,
html[data-theme="dark"] .film-tags li { background: rgba(201,169,106,.12); }
html[data-theme="dark"] .filter-btn { background: var(--sand); color: var(--dark-soft); }
html[data-theme="dark"] .video-thumb { background: #000; }
html[data-theme="dark"] .footer { background: #0f0e0b; }
html[data-theme="dark"] .timeline::before { background: linear-gradient(to bottom, var(--gold-soft), var(--gold), var(--gold-soft)); }
html[data-theme="dark"] .nav-toggle span { background: var(--dark); }

/* ---------- LOGO images (light/dark) ---------- */
.logo-img { height: 38px; width: auto; display: block; }
.logo-img.is-light { display: block; }
.logo-img.is-dark { display: none; }
html[data-theme="dark"] .logo-img.is-light { display: none; }
html[data-theme="dark"] .logo-img.is-dark { display: block; }

/* ---------- HEADER actions (search / theme / lang) ---------- */
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 4px; }
.icon-btn {
  background: none; border: 1px solid rgba(46,43,38,.18); width: 38px; height: 38px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--dark); transition: border-color .3s, color .3s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
html[data-theme="dark"] .icon-btn { border-color: rgba(240,234,224,.2); color: var(--dark); }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  border: 1px solid rgba(46,43,38,.18); border-radius: 50px; font-size: .88rem; color: var(--dark); cursor: pointer;
  transition: border-color .3s, transform .3s;
}
.lang-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
html[data-theme="dark"] .lang-btn { border-color: rgba(240,234,224,.2); }

/* ---------- SEARCH OVERLAY ---------- */
.search-overlay {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  background: rgba(23,21,18,.12); backdrop-filter: blur(4px);
  transform: translateY(-100%); transition: transform .35s var(--ease);
}
.search-overlay.open { transform: translateY(0); }
.search-box {
  background: var(--white); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px 24px 18px; position: relative;
}
.search-box form { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--gold-light); padding-bottom: 10px; }
.search-ic { color: var(--gold-dark); flex-shrink: 0; }
.search-box input {
  flex: 1; border: none; background: none; font-size: 1.15rem; color: var(--dark);
  font-family: var(--font-sans); outline: none;
}
.search-close { background: none; border: none; font-size: 1.6rem; color: var(--warm-gray); cursor: pointer; line-height: 1; }
.search-results { max-height: 50vh; overflow-y: auto; padding-top: 8px; }
.search-result {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer;
  transition: background .2s;
}
.search-result:hover { background: var(--panel, var(--cream)); }
.search-result img.thumb { width: 52px; height: 40px; object-fit: cover; border-radius: 6px; background: var(--gold-light); flex-shrink: 0; }
.sr-main { font-size: .95rem; color: var(--dark); }
.sr-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-dark); }
.sr-desc { font-size: .82rem; color: var(--warm-gray); display: block; }
.search-empty { padding: 14px; color: var(--warm-gray); text-align: center; }

/* ---------- HERO SLIDER ---------- */
.hero-slide { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 140px 0 110px; }
.hero-slider .hero-slide:not(.active) { display: none; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(23,21,18,.35), rgba(23,21,18,.55)); }
.hero-slide.active .hero-content { animation: fadeSlide .8s var(--ease); }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(24px);} to { opacity: 1; transform: translateY(0);} }
.hero-controls { position: absolute; bottom: 88px; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 18px; }
.hero-ctrl {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(23,21,18,.25); color: #fff; font-size: 1.4rem; cursor: pointer; display:flex; align-items:center; justify-content:center;
  transition: background .3s;
}
.hero-ctrl:hover { background: var(--gold); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.4); transition: background .3s, transform .3s; }
.hero-dot.active { background: var(--gold); transform: scale(1.2); }

/* ---------- AI CHAT ---------- */
.ai-chat-root { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ai-chat-root[data-position="bottom-left"] { right: auto; left: 24px; }
.ai-fab {
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff;
  box-shadow: 0 10px 24px rgba(184,155,94,.4); display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.ai-fab:hover { transform: translateY(-4px); }
.ai-chat {
  width: min(360px, calc(100vw - 40px)); background: var(--white); border: 1px solid var(--gold-light);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; max-height: 72vh;
}
.ai-chat[hidden] { display: none; }
.ai-chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; font-family: var(--font-serif); }
.ai-dot { width: 9px; height: 9px; border-radius: 50%; background: #7be37b; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.ai-close { margin-left: auto; background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; line-height: 1; }
.ai-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.ai-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; white-space: pre-wrap; }
.ai-msg.bot { background: var(--cream); border: 1px solid var(--gold-light); color: var(--dark); align-self: flex-start; border-bottom-left-radius: 4px; }
.ai-msg.me { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.ai-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--gold-light); }
.ai-input input { flex: 1; padding: 11px 14px; border: 1px solid var(--gold-light); border-radius: 50px; background: var(--cream); color: var(--dark); outline: none; }
.ai-input button { width: 42px; height: 42px; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; cursor: pointer; font-size: 1.1rem; }
.ai-typing { display: inline-flex; gap: 4px; padding: 12px 16px; }
.ai-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: aiBlink 1.2s infinite; }
.ai-typing span:nth-child(2) { animation-delay: .2s; }
.ai-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes aiBlink { 0%,100% { opacity: .25; } 50% { opacity: 1; } }

/* ---------- LIGHTBOX fullscreen ---------- */
.lightbox-full {
  position: absolute; top: 24px; right: 84px; background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
}
.lightbox-full:hover { background: rgba(184,155,94,.8); }
.lightbox.fullscreen .lightbox-content img { max-height: 96vh; }

/* ---------- PARTNERS ---------- */
.partners-strip { background: var(--sand); border-top: 1px solid var(--gold-light); }
.partners-row { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; align-items: center; }
.partner-logo { height: 46px; width: auto; opacity: .7; filter: grayscale(.4); transition: opacity .3s, filter .3s; }
.partner-logo:hover { opacity: 1; filter: none; }

/* ---------- Prevent horizontal scroll ---------- */
html, body { overflow-x: hidden; }
.film-grid-reverse .film-visual { order: 2; }

/* ---------- Section films header ---------- */
.section-films .section-title { text-align: center; }
.section-films .section-tag { text-align: center; }

/* ---------- Masonry gallery ---------- */
.gallery-grid.masonry { columns: 3; gap: 18px; }
.gallery-grid.masonry .gallery-item { break-inside: avoid; aspect-ratio: auto; margin-bottom: 18px; }
@media (max-width: 992px) {
  .gallery-grid.masonry { columns: 2; }
}
@media (max-width: 560px) {
  .gallery-grid.masonry { columns: 2; gap: 10px; }
  .gallery-grid.masonry .gallery-item { margin-bottom: 10px; }
}

/* ---------- Responsive header fixes ---------- */
@media (max-width: 768px) {
  .nav-actions { margin-top: 8px; }
  .search-box { padding: 18px 16px 14px; }
  .hero-slide { min-height: 92vh; padding-top: 130px; }
  .hero-controls { bottom: 74px; }
}

/* ============================================================
   Hero: alignment + background types + actions buttons
   ============================================================ */
.hero-slide.align-left .hero-content { align-items: flex-start; text-align: left; margin-right: auto; }
.hero-slide.align-center .hero-content { align-items: center; text-align: center; }
.hero-slide.align-right .hero-content { align-items: flex-end; text-align: right; margin-left: auto; }
.hero-slide .hero-content { display: flex; flex-direction: column; }
.hero-slide.bg-solid .hero-eyebrow,
.hero-slide.bg-solid .hero-title,
.hero-slide.bg-solid .hero-subtitle,
.hero-slide.bg-solid .hero-text { color: var(--dark, #2e2b26); }
.hero-slide.bg-solid .hero-eyebrow { color: var(--gold-dark, #9d8148); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; margin-top: 22px; }
.hero-slide.align-center .hero-actions { justify-content: center; }
.hero-slide.align-right .hero-actions { justify-content: flex-end; }
.btn-hero-outline {
  background: transparent; border: 1.5px solid rgba(255,255,255,.75); color: #fff;
}
.hero-slide.bg-solid .btn-hero-outline { border-color: var(--gold-dark, #9d8148); color: var(--dark, #2e2b26); }
.btn-hero-outline:hover { background: rgba(255,255,255,.12); }
.hero-slide.bg-solid .btn-hero-outline:hover { background: var(--gold-light, #e6dbc3); }

/* ---------- Local video player + responsive embeds ---------- */
.video-embed { position: relative; width: 100%; padding-top: 56.25%; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.local-video { width: 100%; aspect-ratio: 16/9; display: block; background: #000; border-radius: 10px; }
.video-placeholder { padding: 22px; color: var(--warm-gray, #6f6860); text-align: center; }

/* ---------- Project page helpers ---------- */
.project-hero-grid { margin-bottom: 0; }
.film-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 18px; }
.meta-chip {
  display: inline-flex; gap: 6px; align-items: center; padding: 6px 14px;
  background: var(--cream, #f3eee5); border: 1px solid var(--gold-light, #e0d5b8);
  border-radius: 50px; font-size: .82rem; color: var(--dark, #2e2b26);
}
.film-info .film-block p.overflow {
  overflow-wrap: break-word; list-style-position: inside;
}
.film-info .film-block p.overflow.rich-text,
.film-info .film-block .overflow h2,
.film-info .film-block .overflow h3,
.film-info .film-block .overflow ul,
.film-info .film-block .overflow ol { margin-bottom: .6em; }

