/* Scott Clyve Lighting Designs LLC — site stylesheet (2026 refresh) */
/* Google Fonts are now loaded via <link> tags in each page's <head>
   (with preconnect) instead of @import, since @import blocks the
   page from rendering until the font CSS round-trip finishes. */

:root {
  --navy: #060c2e;
  --navy-deep: #04081d;
  --accent: #7fb8ff;
  --accent-soft: #99ccff;
  --text: #f4f6fb;
  --text-dim: #c6cde0;
  --serif: "Playfair Display", Georgia, "Times New Roman", Times, serif;
  --body-serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Source Sans 3", "Segoe UI", Verdana, Arial, Helvetica, sans-serif;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--navy-deep);
  background-image: url("backgroundfull.jpg");
  background-size: cover;
  background-position: left 0px top 88px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--body-serif);
  font-size: 1.125rem;
  line-height: 1.6;
}

a { color: var(--accent-soft); text-decoration: none; }
a:hover, a:focus { color: #fff; text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; border-radius: 4px; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 8, 29, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(127, 184, 255, 0.25);
}

.header-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.header-badge {
  height: 34px;
  width: auto;
  flex-shrink: 0;
}

.brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--text);
  white-space: nowrap;
}
.brand:hover { color: var(--accent-soft); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.site-nav > ul > li > a,
.site-nav > ul > li > span {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-dim);
  cursor: default;
}
.site-nav > ul > li > a:hover { color: #fff; text-decoration: none; }

.has-sub > span { color: var(--text-dim); }
.has-sub:hover > span { color: #fff; }

/* Desktop: category links live in a persistent left-side navigation bar
   (see the min-width media query below) rather than a hover dropdown. */
.sub-nav li { width: 100%; }
.sub-nav a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  text-transform: none;
  color: var(--text-dim);
}
.sub-nav a:hover { background: rgba(127,184,255,0.12); color: #fff; text-decoration: none; }

@media (min-width: 861px) {
  .has-sub > span { display: none; }

  .sub-nav {
    display: flex;
    position: fixed;
    top: 58px;
    left: 0;
    bottom: 0;
    width: 180px;
    flex-direction: column;
    gap: 0;
    background: rgba(4, 8, 29, 0.55);
    border: none;
    border-right: 1px solid rgba(127, 184, 255, 0.2);
    border-radius: 0;
    box-shadow: none;
    padding: 1.25rem 0;
    margin: 0;
    overflow-y: auto;
    z-index: 50;
  }
  .sub-nav a {
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  main, .site-footer { margin-left: 180px; margin-right: auto; }
}

/* ---------- Main content ---------- */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

main h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.01em;
  margin: 0 0 1.5rem;
  color: #fff;
  text-align: center;
  border-bottom: 1px solid rgba(127,184,255,0.3);
  padding-bottom: 0.75rem;
}

main h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent-soft);
  margin: 2rem 0 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 0.4rem;
}

main p { margin: 0 0 1rem; color: var(--text); }

/* Publication-name lines on the Reviews page act like sub-headers
   (e.g. "Newsday", "Boston Globe") -- add breathing room above them
   so each review reads as its own block. */
main p:has(> b > u),
main p:has(> u > b) {
  margin-top: 2rem;
}

/* Credit lines (Produced By, Lighting By, venue, etc.) on individual
   show/event pages, centered as a block above the photo gallery. */
.page-credits {
  text-align: center;
  margin: 0 0 1.5rem;
}
.page-credits p { margin: 0 0 0.4rem; font-size: 1.4rem; }

main blockquote {
  margin: 0.5rem 0 1rem 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(127,184,255,0.35);
  color: var(--text-dim);
}
main i, main em { color: var(--text-dim); }

/* Photo gallery grids used throughout the site */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, 340px);
  justify-content: center;
  gap: 1.5rem;
  margin: 1.25rem 0;
}
.gallery-item { width: 340px; }
.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.gallery-item img,
.gallery-item a img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.gallery-item a:hover img { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.5); }

.lightbox-trigger { cursor: zoom-in; }
.lightbox-trigger:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.5); }

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 4, 14, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); }

.gallery-caption {
  margin-top: 0.6rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-dim);
  text-align: center;
}
.gallery-caption a { color: var(--text-dim); }
.gallery-caption a:hover { color: #fff; }
.gallery-item:hover .gallery-caption { color: #fff; }

/* Home page feature tiles reuse the gallery grid but slightly larger */
main .gallery + div,
main .gallery + p {
  margin-top: -0.5rem;
  text-align: center;
}

/* ---------- Selected Credits page ---------- */

.credits-list {
  margin: 0 0 2rem;
  padding-left: 1.25rem;
  color: var(--text);
}
.credits-list li { margin-bottom: 0.6rem; line-height: 1.5; }
.credits-list b { color: #fff; }

/* ---------- Contact form ---------- */

.contact-form {
  max-width: 560px;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-dim);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--body-serif);
  font-size: 1rem;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(127,184,255,0.3);
  border-radius: 4px;
  padding: 0.65rem 0.8rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
  background: rgba(255,255,255,0.1);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .honeypot { display: none; }
.contact-form button {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy-deep);
  background: var(--accent-soft);
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.contact-form button:hover { background: #fff; }

.contact-direct {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(127,184,255,0.2);
  color: var(--text-dim);
}

.thankyou-message {
  text-align: center;
  padding: 2rem 0 3rem;
}
.thankyou-message a { font-family: var(--sans); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.03em; }

/* ---------- Footer ---------- */

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid rgba(127,184,255,0.2);
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 0.9rem;
}
.site-footer a { color: var(--accent-soft); }
.site-footer p { margin: 0.25rem 0; }
.footer-badge { display: flex; justify-content: center; margin-bottom: 0.85rem; }
.footer-badge img { width: 56px; height: auto; opacity: 0.9; }

/* ---------- Home page ---------- */

.hero {
  position: relative;
  text-align: center;
  padding: 1.5rem 0 2rem;
}
.hero-logo {
  display: block;
  max-width: 560px;
  margin: 0 auto;
}
.hero-logo-mobile { display: none; }

@media (max-width: 860px) {
  .hero-logo-desktop { display: none; }
  .hero-logo-mobile { display: block; max-width: 280px; }
}

.hero-badge {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.hero-badge img { width: 90px; height: 90px; border-radius: 50%; }

@media (max-width: 860px) {
  .hero-badge {
    position: static;
    margin: 1.25rem auto 0;
  }
}

.specialties { text-align: center; margin-bottom: 2.5rem; }
.specialties h1 {
  border-bottom: none;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.specialty-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-dim);
}
.specialty-list li::before { content: "\2022  "; color: var(--accent); }

.feature-grid {
  margin-bottom: 2.5rem;
}
.feature-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-tile {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
  flex: 0 1 260px;
}
.feature-tile img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-tile:hover img { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.5); }
.feature-tile span {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text-dim);
}
.feature-tile:hover span { color: #fff; }

.quick-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-family: var(--sans);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding-top: 1rem;
  border-top: 1px solid rgba(127,184,255,0.2);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; margin-left: auto; }

  .site-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .site-nav.open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0;
  }
  .site-nav > ul > li { width: 100%; padding: 0.5rem 0; }

  .sub-nav {
    position: static;
    display: flex;
    box-shadow: none;
    border: none;
    background: transparent;
    margin: 0.25rem 0 0 0.75rem;
  }
  .has-sub .sub-nav { display: none; }
  .has-sub.open .sub-nav { display: flex; }

  .header-inner { flex-wrap: wrap; }

  main { padding-top: 1.5rem; }

  .gallery { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); justify-content: stretch; gap: 0.75rem; }
  .gallery-item { width: auto; }
}
