/* Laura Altman - Clean minimal stylesheet */

@font-face {
  font-family: "Proxima Nova";
  src: url("/fonts/proxima-nova-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("/fonts/proxima-nova-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("/fonts/proxima-nova-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --text: #333;
  --bg: #fff;
  --accent: #666;
  --border: #e5e5e5;
  --link: #333;
  --link-hover: #000;
  --max-width: 1100px;
  --shadow: rgba(0,0,0,0.15);
}

/* Dark mode — explicit toggle */
:root[data-theme="dark"] {
  --text: #e0e0e0;
  --bg: #1a1a1a;
  --accent: #999;
  --border: #333;
  --link: #e0e0e0;
  --link-hover: #fff;
  --shadow: rgba(0,0,0,0.4);
}

/* Dark mode — system preference (auto) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text: #e0e0e0;
    --bg: #1a1a1a;
    --accent: #999;
    --border: #333;
    --link: #e0e0e0;
    --link-hover: #fff;
    --shadow: rgba(0,0,0,0.4);
  }
}

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

body {
  font-family: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
}

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

/* Layout - Sidebar */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
}

/* Header / Sidebar */
.site-header {
  width: 220px;
  flex-shrink: 0;
  padding: 40px 25px;
  border-right: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.site-title {
  display: block;
  margin-bottom: 30px;
}

.site-logo {
  max-width: 180px;
  height: auto;
}

.site-logo-dark { display: none; }
:root[data-theme="dark"] .site-logo-light { display: none; }
:root[data-theme="dark"] .site-logo-dark { display: block; }

.site-title:hover {
  text-decoration: none;
}

/* Navigation */
.site-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 8px 0;
  display: block;
}

.nav-item > a:hover,
.nav-item > a.active {
  color: var(--link-hover);
}

/* Dropdown menus */
.dropdown {
  display: none;
  background: var(--bg);
  padding: 5px 0 5px 15px;
}

.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 5px 0;
  font-size: 0.85rem;
  color: var(--accent);
}

.dropdown a:hover,
.dropdown a.active {
  color: var(--text);
}

/* Main content */
.site-main {
  flex: 1;
  padding: 50px 40px;
  max-width: var(--max-width);
  margin-left: 220px;
  width: calc(100% - 220px);
}

/* Page content */
.page-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-content h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
  color: #000;
}

:root[data-theme="dark"] .page-content h1 { color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .page-content h1 { color: #fff; }
}

.page-content hr {
  display: none;
}

.page-content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 35px 0 15px;
}

.page-content p {
  margin-bottom: 1.2em;
  color: var(--accent);
}

.page-content a {
  color: #000;
}

:root[data-theme="dark"] .page-content a {
  color: #fff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .page-content a {
    color: #fff;
  }
}

.page-content ul, .page-content ol {
  margin-bottom: 1.2em;
  padding-left: 25px;
}

.page-content li {
  margin-bottom: 0.5em;
}

.page-content blockquote {
  border-left: 3px solid var(--border);
  padding: 15px 20px;
  margin: 20px 0;
  color: var(--accent);
  font-style: italic;
  line-height: 1.8;
}

.page-content blockquote p {
  margin-bottom: 0.8em;
}

.page-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Homepage */
.homepage {
  text-align: center;
}

.hero-image {
  width: 500px;
  max-width: 100%;
  margin: 40px auto;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* Shows */
.shows-page h1 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 30px;
  text-align: center;
}

.shows-page h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin: 40px 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.shows-list {
  list-style: none;
}

.show-item {
  display: flex;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.show-item:first-child {
  padding-top: 0;
}

.show-date-block {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  line-height: 1.2;
}

.show-date-block .month {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent);
}

.show-date-block .day {
  display: block;
  font-size: 1.8rem;
  font-weight: 300;
}

.show-date-block .year {
  display: block;
  font-size: 0.75rem;
  color: var(--accent);
}

.show-details {
  flex: 1;
}

.show-details .show-title {
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}

.show-time, .show-venue, .show-tickets {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 3px;
}

.map-link {
  color: var(--accent);
  font-size: 0.85rem;
}

.show-image {
  flex-shrink: 0;
  width: 120px;
}

.show-image img {
  width: 100%;
}

/* Past shows - subdued */
.past-shows .show-item {
  opacity: 0.7;
}

.past-shows .show-item:hover {
  opacity: 1;
}

.no-shows {
  text-align: center;
  color: var(--accent);
  padding: 40px 0;
}

/* Single show */
.show-single {
  max-width: 700px;
  margin: 0 auto;
}

.show-single .show-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 30px;
}

.show-single .show-title {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 15px;
  text-align: center;
}

.show-single .show-meta {
  text-align: center;
  margin-bottom: 30px;
  color: var(--accent);
}

.show-single .show-meta > div {
  margin-bottom: 5px;
}

.show-single .show-description {
  margin-bottom: 40px;
}

.show-single .show-links {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.show-single .show-links a {
  margin-right: 20px;
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.btn:hover {
  background: var(--link-hover);
  color: var(--bg);
}

/* Videos / Embeds */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.video-item {
  aspect-ratio: 16/9;
}

.video-item iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Music pages */
.album-feature {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.album-cover {
  flex-shrink: 0;
  width: 250px;
}

.album-cover img {
  width: 100%;
}

.album-info h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.album-info .label {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 15px;
}

/* Image gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin: 30px 0;
}

.image-gallery img {
  width: 100%;
  height: auto;
}

.image-gallery figcaption {
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 5px;
}

/* Collaborations */
.collaboration {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  align-items: flex-start;
}

.collaboration-image {
  flex-shrink: 0;
  width: 250px;
}

.collaboration-image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
}

.collaboration.small .collaboration-image {
  width: 150px;
}

.collaboration.small .collaboration-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.collaboration-text h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.collaboration-text .members {
  font-style: italic;
  color: var(--accent);
  margin-bottom: 10px;
  line-height: 1.6;
}

.collaboration-text .description {
  margin-bottom: 15px;
}

.collaboration-text .collab-links {
  margin-top: 10px;
}

.collaboration-text .collab-links a {
  margin-right: 15px;
}

.btn-listen {
  display: inline-block;
  padding: 12px 30px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 10px;
}

.btn-listen:hover {
  color: var(--bg);
  opacity: 0.8;
}

/* Footer */
.site-footer {
  padding: 30px 20px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-left: 220px;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  margin-right: 15px;
  color: var(--accent);
}

.footer-links a:hover {
  color: var(--text);
}

/* Theme toggle */
.theme-switcher {
  position: relative;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 20px;
}

.theme-toggle {
  cursor: pointer;
  color: var(--accent);
  background: none;
  border: none;
  padding: 10px;
  margin: -10px;
  display: flex;
  align-items: center;
  box-shadow: none;
}

.theme-toggle:hover {
  color: var(--link-hover);
  background: none;
  transform: none;
}

.theme-icon {
  display: none;
}

/* Scroll to top */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0.7;
}

.scroll-to-top:hover {
  opacity: 1;
}


/* Mobile subnav — hidden on desktop */
.mobile-subnav {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .site-wrapper {
    flex-direction: column;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 15px 20px 8px 20px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    z-index: 1000;
    flex-direction: column;
  }

  .site-title {
    margin-bottom: 10px;
  }

  .site-logo {
    max-width: 120px;
  }

  .site-nav {
    flex-direction: column;
    gap: 0;
    flex: 0;
  }

  .nav-main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 15px;
  }

  /* Hide desktop dropdowns on mobile */
  .desktop-dropdown {
    display: none !important;
  }

  /* Mobile subnav: horizontal row below main nav */
  .mobile-subnav {
    display: none;
    width: 100%;
    gap: 15px;
    padding: 5px 0 2px;
  }

  .mobile-subnav.visible {
    display: flex;
  }

  .mobile-subnav a {
    font-size: 0.8rem;
    color: var(--accent);
    white-space: nowrap;
  }

  .mobile-subnav a.active {
    color: var(--text);
    font-weight: 600;
  }

  .nav-item > a {
    font-size: 0.85rem;
    padding: 5px 0;
  }

  /* Theme switcher at top right on mobile */
  .theme-switcher {
    position: absolute;
    top: 15px;
    right: 20px;
    margin-top: 0;
    padding-top: 0;
  }

  .theme-menu {
    bottom: auto;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
  }

  .site-main {
    margin-left: 0;
    margin-top: 170px;
    width: 100%;
    padding: 30px 20px;
  }

  .site-footer {
    margin-left: 0;
  }

  .show-item {
    flex-wrap: wrap;
  }

  .show-image {
    width: 100%;
    order: -1;
    margin-bottom: 15px;
  }

  .album-feature {
    flex-direction: column;
  }

  .album-cover {
    width: 100%;
    max-width: 300px;
  }

  .collaboration {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .collaboration-image {
    width: 200px;
  }

  .collaboration-image img {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {

  .video-grid {
    grid-template-columns: 1fr;
  }
}
