:root{
  --bg:#0b0b0b;
  --card:#141414;
  --text:#f0f0f0;
  --muted:#b7b7b7;
  --accent:#d4af37; /* gold */
  --overlay:rgba(0,0,0,.6);
  --shadow:0 10px 30px rgba(0,0,0,.3);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Nav */
.nav{
  position:sticky; top:0; z-index:20;
  display:flex; align-items:center; justify-content:space-between;
  padding:1rem 1.25rem;
  /* background:linear-gradient(to bottom, rgba(11,11,11,.9), rgba(11,11,11,.4)); */
  backdrop-filter: blur(0px);
}
.nav a{ color:var(--text); text-decoration:none; margin-left:1rem }
.nav a:hover, .nav a.active{ color:var(--accent) }
.logo{ font-family:'Playfair Display', serif; font-size:1.25rem; letter-spacing:.5px }

/* Hero */
.hero{ position:relative; height:80vh; min-height:520px; overflow:hidden; border-radius:0 0 24px 24px }
.hero-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:contrast(105%) saturate(105%) brightness(80%) }
.hero::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.7) 75%, var(--bg) 100%) }
.hero-overlay{ position:relative; z-index:1; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:1rem }
.hero h1{ font-family:'Playfair Display', serif; font-size:clamp(2rem,5vw,4rem); margin:.2rem 0 ; backface-visibility: hidden;
  transform: translateZ(0); }
.tagline{ color:var(--muted); margin:.25rem 01 1.25rem }
.cta-row{ display:flex; gap:.75rem; flex-wrap:wrap; justify-content:center }

/* Buttons */
.btn{ display:inline-block; padding:.75rem 1rem; border-radius:999px; text-decoration:none; border:1px solid var(--accent); transition:.25s ease; box-shadow:var(--shadow) }
.btn.primary{ background:var(--accent); color:#0a0a0a; font-weight:600 }
.btn.primary:hover{ transform:translateY(-1px) }
.btn.ghost{ background:transparent; color:var(--text) }
.btn.ghost:hover{ background:rgba(212,175,55,.08) }

/* Layout */
.wrap{ max-width:1100px; margin:0 auto; padding:2rem 1rem }
.page-title{ font-family:'Playfair Display', serif; font-size:clamp(1.75rem,3.2vw,2.5rem); margin:0 0 1rem 0 }

/* Featured / Grid */
.featured{ padding:2rem 1rem }
.featured h2{ text-align:center; font-family:'Playfair Display', serif; }
.grid{
  display:grid; gap:14px;
  grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));
}
.card{ position:relative; border-radius:18px; overflow:hidden; background:var(--card); cursor:pointer; outline:none; object-fit: contain;}
.card img{ width:100%; height:100%; display:block; object-fit:cover; aspect-ratio:16/9; filter:brightness(92%) contrast(105%) }
.card:hover img{ transform:scale(1.02); transition:transform .5s ease }
.card-overlay{
  position:absolute; inset:auto 0 0 0; padding:10px 12px;
  background:linear-gradient(180deg, transparent, rgba(0,0,0,.85));
}
.card-overlay h3{ margin:.1rem 0 .15rem 0; font-size:1.05rem }
.card-overlay p{ margin:0; color:var(--muted); font-size:.9rem }

/* Filters */
.filters{ display:flex; flex-wrap:wrap; gap:.5rem; margin:.5rem 0 1.5rem }
.filter-btn{
  padding:.5rem .85rem; border-radius:999px; background:#121212; color:var(--text);
  border:1px solid #222; cursor:pointer; transition:.25s ease
}
.filter-btn:hover{ border-color:var(--accent); transform:translateY(-1px) }
.filter-btn.active{ background:rgba(212,175,55,.09); border-color:var(--accent) }

/* Smooth show/hide */
.project{ transition:opacity .32s ease, transform .32s ease; }
.hide{ opacity:0 !important; transform:scale(.98) !important; pointer-events:none !important }
.fade-in{ animation:fadeIn .5s ease both }
@keyframes fadeIn{ from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none} }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.modal-backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.6); backdrop-filter: blur(2px); }
.modal-panel{
  position:relative; max-width:1000px; margin:4vh auto; background:#0f0f0f; border-radius:20px;
  padding:0; box-shadow:var(--shadow); overflow:hidden; display:grid; grid-template-columns:320px 1fr;

  max-height: 80vh; /* or whatever fits your design */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  
  
}
.modal-poster {
  width: 100%;           /* full width on all devices */
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
}

/* Mobile-specific style */
@media (max-width: 768px) {
  .modal-poster {
    max-height: 40vh;    /* limit vertical space only on mobile */
  }
}



.modal-body{ padding:1.5rem; overflow-y: auto; max-height: 80vh; font-size: 1rem; line-height: 1.6; }
.modal-body h3{ margin-top:0; font-family:'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 1rem; }
.modal-body .meta{ margin-top:-.4rem }
.modal-body .synopsis{ margin:1rem 0 }
.modal-body h4{ font-size: 1.2rem; font-weight: bold; margin-top: 1.5rem; color: var(--text); }
.modal-close{
  position:absolute; top:10px; right:12px; background:transparent; border:none; color:#fff; font-size:2rem; cursor:pointer;
}
.embed {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000; /* optional, looks cleaner if no image */
}

/* keep iframe styling */
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* fallback image styling */
.embed-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* keeps aspect ratio, no zoom */
  background: #000; /* optional */
}


/* About */
.about-grid{ display:grid; gap:24px; grid-template-columns:260px 1fr; align-items:start }
.headshot{ width:100%; border-radius:20px; object-fit:cover; background:#111; aspect-ratio:3/4 }
.bullets{ line-height:1.9 }
.about-actions{ display:flex; gap:.75rem; margin-top:1rem; flex-wrap:wrap }

/* Contact */
.contact-form{ display:grid; gap:.75rem; max-width:580px }
.contact-form label{ display:grid; gap:.4rem; font-weight:600 }
.contact-form input, .contact-form textarea{
  background:#121212; color:var(--text); border:1px solid #222; border-radius:12px; padding:.75rem; outline:none;
}
.contact-form input:focus, .contact-form textarea:focus{ border-color:var(--accent) }
.socials{ margin-top:1.25rem; display:flex; gap:1rem; flex-wrap:wrap }
.socials a{ color:var(--muted); text-decoration:none }
.socials a:hover{ color:var(--accent) }

/* Footer */
.footer{ text-align:center; color:var(--muted); padding:2rem 1rem }
.footer span{ color:var(--text) }

/* Responsive */
@media (max-width: 860px){
  .modal-panel{ grid-template-columns:1fr }
}
@media (max-width: 720px){
  .about-grid{ grid-template-columns:1fr }
  .modal-body{ font-size: 0.9rem; line-height: 1.4; }
}

/* Festivals list improvements */
.festivals-list {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.festivals-list li {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  padding-left:
   0.75rem;
}

.text-link {
  color: inherit;          /* inherit text color so it blends */
  text-decoration: none;   /* remove underline */
  font-weight: inherit;    /* stays bold since inside <b> */
  transition: color 0.2s ease, border-bottom 0.2s ease;
}

.text-link:hover,
.text-link:focus {
  color: var(--muted, #d4af37); /* or your highlight color */

}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.video-overlay button {
  font-family: 'Playfair Display', serif; /* matches your header */
  font-size: 2rem;
  color: white;
  background: rgba(0,0,0,0.5); /* semi-transparent for cinematic look */
  /* padding: 2.75rem 2rem; */
  border: 1px transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}


