/* ===== Triangle Cinemas v2 Styles ===== */

:root{
  --bg: #07070a;
  --panel: rgba(15,16,22,.72);
  --panel2: rgba(255,255,255,.04);
  --text: #f3f4f6;
  --muted: rgba(255,255,255,.72);
  --brand: #e50914;
  --border: rgba(255,255,255,.12);
  --shadow: 0 14px 40px rgba(0,0,0,.45);
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.45;
}

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

.container{
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Accessibility */
.skip-link{
  position:absolute;
  left:-999px;
  top: 0.5rem;
  background: #fff;
  color:#000;
  padding: .5rem .75rem;
  border-radius: .6rem;
  z-index: 9999;
}
.skip-link:focus{ left: 0.75rem; }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,7,10,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding: .85rem 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: .75rem;
}

.brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, var(--brand), #ff3b30);
  box-shadow: 0 10px 20px rgba(229,9,20,.18);
  font-weight: 900;
  letter-spacing: .5px;
}

/* === Logo: high-contrast badge === */
.brand-mark.logo{
  background: #f8f8f8;              /* neutral light chip */
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 12px;
  padding: 5px;
  box-shadow:
    0 6px 18px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.6);
}

.brand-mark.logo img{
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;

  /* clean edge + depth */
  filter:
    drop-shadow(0 2px 4px rgba(0,0,0,.45));
}

.brand-text{ display:flex; flex-direction:column; line-height:1.05; }
.brand-name{ font-weight: 850; letter-spacing:.2px; }
.brand-sub{ font-size: .85rem; opacity:.78; margin-top: .15rem; }

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

.nav a{
  color: rgba(255,255,255,.78);
  font-weight: 700;
  padding: .45rem .55rem;
  border-radius: .7rem;
}
.nav a:hover{
  color: #fff;
  background: rgba(255,255,255,.06);
}

.header-cta{ display:flex; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding: .78rem 1.05rem;
  border-radius: .85rem;
  border: 1px solid transparent;
  font-weight: 850;
  letter-spacing:.2px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); }

.btn-primary{
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover{ background: #ff1b26; }

.btn-secondary{
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.12);
}
.btn-secondary:hover{ background: rgba(255,255,255,.16); }

.btn-ghost{
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.18);
}
.btn-ghost:hover{ background: rgba(255,255,255,.07); }

/* Hero */
.hero{
  position: relative;
  overflow:hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 430px at 20% 10%, rgba(229,9,20,.24), transparent 60%),
    radial-gradient(900px 450px at 80% 15%, rgba(255,255,255,.07), transparent 65%),
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.88));
  transform: scale(1.02);
  filter: saturate(1.05);
}
.hero-inner{
  position: relative;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.6rem;
  padding: 3rem 0 2.2rem;
}
.hero-copy h1{
  margin: 0 0 .65rem;
  font-size: clamp(1.6rem, 2.3vw + 1rem, 2.65rem);
  line-height: 1.1;
  letter-spacing: .2px;
}
.hero-tagline{
  margin: 0 0 .75rem;
  font-weight: 900;
  opacity: .95;
}
.hero-subtext{
  margin: 0 0 1.25rem;
  max-width: 62ch;
  color: rgba(255,255,255,.86);
}
.hero-buttons{
  display:flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.hero-highlights{
  display:flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.pill{
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.30);
  padding: .45rem .7rem;
  border-radius: 999px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
}

/* Card */
.hero-card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1rem;
}
.card-top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: .75rem;
  margin-bottom: .65rem;
}
.card-title{
  margin:0;
  font-size: 1.05rem;
  letter-spacing:.2px;
}
.card-link{
  color: rgba(255,255,255,.80);
  font-weight: 800;
}
.card-link:hover{ color:#fff; }

/* Posters */
.poster-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
.poster-row{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.poster{
  display:block;
  border-radius: .95rem;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 18px rgba(0,0,0,.28);
  transition: transform .18s ease, border-color .18s ease;
}
.poster:hover{
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(255,255,255,.20);
}
.poster img{
  display:block;
  width:100%;
  height: 180px;
  object-fit: cover;
}
.poster.wide img{
  height: 260px;
}
.placeholder{
  width:100%;
  height: 180px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75);
  font-size: 12px;
}

/* Sections */
.section{
  padding: 3rem 0;
}
.section-head h2{
  margin: 0 0 .25rem;
  font-size: 1.6rem;
}
.section-head p{
  margin: 0;
  color: rgba(255,255,255,.72);
}
.center-actions{
  margin-top: 1.5rem;
  display:flex;
  justify-content:center;
}
.section-dark{
  background: linear-gradient(180deg, rgba(18,20,35,.90), rgba(7,7,10,1));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-soft{
  background: rgba(255,255,255,.03);
  border-top: 1px solid var(--border);
}
.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.6rem;
  align-items: start;
}
.actions{
  margin-top: 1.25rem;
  display:flex;
  gap:.75rem;
  flex-wrap: wrap;
}
.checklist{
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: rgba(255,255,255,.92);
}
.checklist li{ margin: .35rem 0; }
.info-card{
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}
.info-card h3{ margin: 0 0 .2rem; }
.muted{ color: rgba(255,255,255,.72); }
.small{ font-size: .9rem; }
.info-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: .9rem;
}
.info-item{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: .9rem;
  padding: .75rem;
  background: rgba(255,255,255,.03);
}
.info-k{
  display:block;
  font-size:.8rem;
  color: rgba(255,255,255,.70);
  font-weight: 800;
}
.info-v{
  display:block;
  margin-top: .2rem;
  font-weight: 900;
}
.callout{
  background: rgba(15,16,22,.72);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.callout h3{ margin: 0 0 .35rem; }
.address{ font-size: 1.05rem; }
.map{
  border-radius: 1rem;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  background: rgba(0,0,0,.25);
}
.map iframe{
  width: 100%;
  height: 320px;
  border: 0;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 2rem 0 1rem;
  background: rgba(0,0,0,.35);
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-brand{
  font-weight: 950;
  letter-spacing:.2px;
}
.footer-links{
  display:flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links a{
  color: rgba(255,255,255,.78);
  font-weight: 800;
}
.footer-links a:hover{ color:#fff; }
.footer-bottom{
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.72);
}

/* Responsive */
@media (max-width: 920px){
  .hero-inner{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .poster-row{ grid-template-columns: repeat(2, 1fr); }
  .poster.wide img{ height: 240px; }
}
@media (max-width: 520px){
  .nav{ display:none; }
  .poster-grid{ grid-template-columns: repeat(2, 1fr); }
  .poster img{ height: 160px; }
  .poster.wide img{ height: 220px; }
}

/* Admin badges */
.badge.booked{background:rgba(25,135,84,.18);border:1px solid rgba(25,135,84,.45);color:#dff7ea;}
