html { width: 100%; }
body { width: 100%; }

body {
  margin: 0;
  font-family: 'Century Gothic', Verdana, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #cfe2e5;
  background-color: #000508;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body div.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- Navbar ---- */
.navbar { background: #000508; opacity: .9; }
.navbar-fixed-top { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; }
.navbar .container { padding: 0 15px; max-width: 1200px; margin: 0 auto; }

.navbar-header {
  z-index: 9999;
  float: left;
  padding: 10px 0;
}
.navbar-brand {
  font-size: 20px;
  color: #cfe2e5 !important;
  text-decoration: none;
  line-height: 20px;
  padding: 10px 15px;
  display: inline-block;
}
.navbar-brand:hover { color: #e8bd12 !important; }

.navbar-collapse { float: right; padding-top: 10px; }

.nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.nav > li > a {
  font-size: 16px;
  color: #cfe2e5;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
}
.nav > li > a:hover { color: #e8bd12; background: none; }

/* Hamburger button */
.navbar-toggle {
  display: none;
  background: none;
  border: 1px solid #cfe2e5;
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
  float: right;
  margin: 8px 0;
}
.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #cfe2e5;
  margin: 4px 0;
}

/* ---- Hero Gallery ---- */
#home-gallery {
  width: 100%;
  height: 680px;
  overflow: hidden;
  position: relative;
  margin-top: 40px;
}

.slideshow {
  width: 100%;
  height: 100%;
  position: relative;
}

.slideshow-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slideshow-slide.active { opacity: 1; }

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.5);
  color: #cfe2e5;
  border: none;
  padding: 15px 20px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}
.slideshow-arrow:hover { background: rgba(0,0,0,0.85); color: #e8bd12; }
.slideshow-arrow.prev { left: 20px; }
.slideshow-arrow.next { right: 20px; }

/* Mobile video (hidden on desktop, shown on mobile) */
#mobileVideoContainer {
  display: none;
  overflow: hidden;
}
#mobileVideoContainer img { width: 100%; display: block; }

/* ---- General layout ---- */
.container { padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-sm-3 { width: 25%; padding: 0 15px; box-sizing: border-box; }
.col-sm-4 { width: 33.333%; padding: 0 15px; box-sizing: border-box; }
.col-sm-6 { width: 50%; padding: 0 15px; box-sizing: border-box; }
.col-sm-12 { width: 100%; padding: 0 15px; box-sizing: border-box; }
.col-sm-offset-3 { margin-left: 25%; }

/* ---- Links ---- */
a { color: #e8bd12; text-decoration: none; }
a.title-link { color: #cfe2e5; text-decoration: none; }
a.title-link:hover { color: #ffe400; }
a:hover { color: #ffe400; }
a.more-link { font-size: 18px; }

/* ---- Section headers ---- */
.section-subheader { font-size: 16px; font-weight: normal; color: #cfe2e5; margin: 0 0 12px; }
.press-list { list-style: none; padding: 0; margin: 0; }
.press-list li { margin-bottom: 6px; font-size: 14px; }
.press-list a { color: #e8bd12; }
.press-list a:hover { color: #ffe400; }

.section-header {
  font-size: 40px;
  line-height: 44px;
  text-align: center;
  font-weight: normal;
  text-transform: uppercase;
  margin-top: 100px;
  margin-bottom: 55px;
  color: #cfe2e5;
  width: 100%;
}

.section-description {
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  font-weight: normal;
  margin-bottom: 50px;
}

/* ---- Intro/About ---- */
#intro-description {
  width: 55%;
  font-size: 24px;
  line-height: 36px;
  margin: 0 auto;
  padding: 50px 0;
  text-align: center;
}
#intro-description h3 { font-weight: normal; }
#intro-description a { color: #e8bd12; }

/* ---- Projects / Press thumbnails ---- */
.thumbnail-img {
  height: 160px;
  overflow: hidden;
  margin: 0 0 24px;
}
.thumbnail-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.col-sm-3 { font-size: 14px; line-height: 22px; text-align: center; }
.col-sm-3 h3 {
  font-size: 18px;
  line-height: 26px;
  text-transform: uppercase;
  color: #cfe2e5;
}

.see-more { text-align: center; margin-top: 75px; width: 100%; }
a.see-all-link { padding: 20px; border: solid 1px #cfe2e5; color: #cfe2e5; }
a.see-all-link:hover { color: #e8bd12; border-color: #e8bd12; }

/* ---- Artists ---- */
#artist-list {
  font-size: 20px;
  line-height: 22px;
  text-align: center;
}
#artist-list ul { list-style: none; padding: 0; margin: 0; }
#artist-list li { padding: 10px 0; }
#artist-list li a { color: #e8bd12; }

/* ---- Contact ---- */
#contact-section {
  font-size: 18px;
  text-align: center;
  margin-bottom: 120px;
  padding: 30px 0;
  width: 100%;
}

/* ---- Vimeo embed ---- */
.video-wrapper {
  text-align: center;
  margin: 30px 0;
}
.video-wrapper iframe { max-width: 100%; }

/* ---- Project pages ---- */
.project-page { max-width: 960px; margin: 80px auto 60px; padding: 0 20px; }
.project-title { font-size: 36px; font-weight: normal; text-transform: uppercase; color: #cfe2e5; margin-bottom: 8px; text-align: center; }
.project-date { font-size: 16px; color: #7a9fa5; margin-bottom: 30px; text-align: center; }
.project-intro { font-size: 16px; color: #cfe2e5; margin: 12px 0 0; text-align: center; }
.project-body { font-size: 18px; line-height: 30px; margin-bottom: 40px; }
.project-body p { margin-bottom: 20px; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin-bottom: 40px; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.back-link { font-size: 16px; margin-top: 20px; }
.back-link a { color: #cfe2e5; border: 1px solid #cfe2e5; padding: 10px 18px; display: inline-block; }
.back-link a:hover { color: #e8bd12; border-color: #e8bd12; }

/* ---- Project slideshow (one image at a time) ---- */
.project-slideshow { position: relative; margin-bottom: 30px; background: #000; line-height: 0; }
.pslide { display: none; }
.pslide.active { display: block; }
.pslide .gallery-link, .pslide a { display: block; }
.pslide img { width: 100%; height: auto; display: block; cursor: zoom-in; }
.pslide-prev, .pslide-next { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; width: 44px; height: 60px; cursor: pointer; z-index: 10; padding: 0; opacity: 0.75; transition: opacity 0.2s; display: flex; align-items: center; justify-content: center; }
.pslide-prev { left: 10px; }
.pslide-next { right: 10px; }
.pslide-prev:hover, .pslide-next:hover { opacity: 1; }
.pslide-prev::before, .pslide-next::before { content: ''; display: block; width: 18px; height: 18px; border-top: 2.5px solid #fff; border-right: 2.5px solid #fff; filter: drop-shadow(0 0 3px rgba(0,0,0,0.8)); }
.pslide-prev::before { transform: rotate(-135deg); margin-left: 5px; }
.pslide-next::before { transform: rotate(45deg); margin-right: 5px; }

/* ---- Lightbox ---- */
#lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; }
#lightbox.open { display: flex; }
#lightbox img { max-width: 80vw; max-height: 88vh; object-fit: contain; box-shadow: 0 0 40px rgba(0,0,0,0.8); cursor: default; }
#lightbox-close { position: absolute; top: 20px; right: 30px; color: #cfe2e5; font-size: 36px; cursor: pointer; line-height: 1; z-index: 10001; }
#lightbox-prev, #lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #cfe2e5; border: none; font-size: 60px; line-height: 1; padding: 10px 22px; cursor: pointer; z-index: 10001; transition: background 0.2s; }
#lightbox-prev:hover, #lightbox-next:hover { background: rgba(0,0,0,0.85); color: #e8bd12; }
#lightbox-prev { left: 15px; }
#lightbox-next { right: 15px; }

/* ---- About page inline photos ---- */
.article-row { display: flex; flex-wrap: wrap; margin: 0 -15px 40px; align-items: flex-start; }
.inner-col { width: 50%; padding: 0 15px; box-sizing: border-box; }
.article-photo { width: 50%; padding: 0 15px 20px; box-sizing: border-box; }
.article-photo img { width: 100%; height: auto; display: block; }
.article-photos { width: 50%; padding: 0 15px; box-sizing: border-box; }
.article-photos img { width: 100%; height: auto; display: block; margin-bottom: 15px; }
.about-intro { font-size: 18px; line-height: 30px; margin-bottom: 20px; }
.about-gallery { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.about-gallery .gallery-link { flex: 1 1 28%; min-width: 200px; }
.about-gallery .gallery-link img { width: 100%; height: auto; display: block; transition: opacity 0.2s; cursor: zoom-in; }
.about-gallery .gallery-link:hover img { opacity: 0.85; }
.about-h2 { font-size: 22px; font-weight: normal; text-transform: uppercase; color: #cfe2e5; margin: 40px 0 15px; }
.article-row .inner-col .about-h2:first-child { margin-top: 0; }
.program-title { color: #e8bd12; font-size: 16px; text-transform: none; font-weight: bold; margin: 40px 0 10px; }

/* ---- Queens program accordion ---- */
.program-night { margin-bottom: 16px; }
.program-night-header { padding: 4px 0; }
.program-night-header .night-date { display: block; font-size: 15px; color: #cfe2e5; font-weight: bold; }
.program-night-header .night-title { font-size: 16px; font-weight: normal; color: #cfe2e5; margin: 8px 0 2px; line-height: 1.8; text-transform: none; }
.program-night-header .night-subtitle { font-size: 14px; color: #cfe2e5; font-style: italic; margin: 0; }
.program-toggle { background: none; border: none; padding: 0; cursor: pointer; font-size: 15px; font-family: inherit; color: #cfe2e5; display: inline; font-weight: normal; }
.program-toggle:hover { color: #fff; }
.program-toggle::after { content: ' ▾'; }
.program-toggle.open::after { content: ' ▴'; }
.program-night-body { display: none; padding: 8px 0 4px; font-size: 15px; line-height: 24px; color: #cfe2e5; }
.program-night-body.open { display: block; }
.program-night-body p { margin-bottom: 10px; }

/* ---- Press cards — equal-height flex columns ---- */
.press-row .col-sm-3 { display: flex; flex-direction: column; }
.press-row .thumbnail-img { flex-shrink: 0; }
.press-row h3 { flex-shrink: 0; margin: 10px 0 4px; }
.press-row .press-blurb { flex: 1; font-size: 14px; line-height: 22px; margin: 0; }
.press-row .press-link { color: #e8bd12; display: inline-block; margin-top: 6px; font-size: 14px; flex-shrink: 0; }
.press-row .press-link:hover { color: #ffe400; }

@media (max-width: 768px) {
  .inner-col { width: 100%; }
  .article-photo { width: 100%; }
  .article-photos { width: 100%; }
  .about-gallery .gallery-link { flex: 1 1 100%; }
}

/* ---- Footer ---- */
#footer {
  width: 100%;
  font-size: 14px;
  padding: 40px 0;
  text-align: center;
  color: #cfe2e5;
  background-color: #000d14;
  margin-top: 120px;
}
#footer p { margin: 0 0 10px; }
#credits { width: 100%; text-align: center; }
#credits p { padding: 1% 20%; }

.clear { clear: both; }

/* ---- Call to action (top-right) ---- */
#call-to-action {
  position: fixed;
  top: 15px;
  right: 8%;
  z-index: 9999;
  width: 135px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .navbar-toggle { display: block; }
  .navbar-collapse { float: none; display: none; clear: both; }
  .navbar-collapse.open { display: block; }
  .nav { flex-direction: column; }
  .nav > li > a { padding: 12px 15px; border-top: 1px solid #222; }

  #home-gallery { display: none; }
  #mobileVideoContainer { display: block; }

  #intro-description { width: 95%; font-size: 18px; line-height: 28px; }
  .col-sm-3 { width: 50%; }
  .col-sm-4 { width: 100%; }
  .col-sm-6 { width: 100%; }
  .col-sm-offset-3 { margin-left: 0; }
  .section-header { font-size: 28px; margin-top: 60px; margin-bottom: 30px; }
  #credits p { padding: 1% 5%; }
  .navbar-brand { font-size: 16px; }
}

@media (max-width: 480px) {
  .col-sm-3 { width: 100%; margin-bottom: 40px; }
  #intro-description { padding: 30px 15px; }
  .section-header { font-size: 24px; margin-top: 40px; }
  #footer { margin-top: 60px; }
}
