/* Editorial Design System - Modern, Bold, Performance-Focused */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600&display=swap');

/* ==================== */
/* CSS Custom Properties */
/* ==================== */

:root {
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Colors - Monochrome + Accent */
  --color-black: #000000;
  --color-charcoal: #1a1a1a;
  --color-gray: #6b6b6b;
  --color-light-gray: #e5e5e5;
  --color-white: #ffffff;
  --color-off-white: #f8f8f8;

  --color-accent: #8B0000;  /* Dark red accent */

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 10rem;

  /* Layout */
  --max-width: 1400px;
  --content-width: 800px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== */
/* Reset & Base */
/* ==================== */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-charcoal);
  background: var(--color-white);
  overflow-x: hidden;
  padding-top: 90px; /* Account for fixed navigation */
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
}

/* ==================== */
/* Typography */
/* ==================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

h2 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
}

p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
  max-width: 65ch;
}

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

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

/* ==================== */
/* Navigation */
/* ==================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-light-gray);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-xs);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: white;
    padding: var(--space-md);
    transform: translateY(-120%);
    transition: transform var(--transition);
    border-bottom: 1px solid var(--color-light-gray);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-light-gray);
  }

  .mobile-menu-toggle {
    display: block;
  }
}

/* ==================== */
/* Hero Sections */
/* ==================== */

.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg) var(--space-md);
  max-width: var(--max-width);
  margin: var(--space-md) auto 0;
}

.hero-content {
  padding-right: var(--space-lg);
}

.hero-image {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.2);
  animation: colorReveal 2s ease-in-out 1s forwards;
}

@keyframes colorReveal {
  from {
    filter: grayscale(100%) contrast(1.2);
  }
  to {
    filter: grayscale(0%) contrast(1);
  }
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: var(--space-sm);
}

.accent-text {
  color: var(--color-accent);
}

@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: var(--space-sm) var(--space-md);
    margin-top: 0;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-image {
    height: 60vh;
  }
}

/* ==================== */
/* Content Sections */
/* ==================== */

.section {
  padding: var(--space-xxl) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-tight {
  padding: var(--space-xl) var(--space-md);
}

.section-title {
  margin-bottom: var(--space-xl);
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 968px) {
  .section {
    padding: var(--space-lg) var(--space-md);
  }

  .grid-2col {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ==================== */
/* Performance Listings */
/* ==================== */

.performance-list {
  border-top: 1px solid var(--color-light-gray);
}

.performance-item {
  border-bottom: 1px solid var(--color-light-gray);
  padding: var(--space-lg) 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-xl);
  align-items: start;
  transition: var(--transition);
}

.performance-item:hover {
  background: var(--color-off-white);
  padding-left: var(--space-md);
  margin-left: calc(-1 * var(--space-md));
  padding-right: var(--space-md);
  margin-right: calc(-1 * var(--space-md));
}

.performance-date {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.performance-time {
  font-size: 0.875rem;
  color: var(--color-gray);
  margin-top: var(--space-xs);
}

.performance-details h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-xs);
}

.performance-venue {
  font-size: 1rem;
  color: var(--color-gray);
  margin-bottom: var(--space-sm);
}

.performance-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-charcoal);
}

@media (max-width: 768px) {
  .performance-item {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-md) 0;
  }

  .performance-item:hover {
    padding-left: 0;
    margin-left: 0;
    padding-right: 0;
    margin-right: 0;
  }
}

/* ==================== */
/* Footer */
/* ==================== */

footer {
  border-top: 1px solid var(--color-light-gray);
  padding: var(--space-xl) var(--space-md);
  margin-top: var(--space-xxl);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-light-gray);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--color-black);
  border-color: var(--color-black);
  color: white;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ==================== */
/* Utility Classes */
/* ==================== */

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-center {
  text-align: center;
}

.spacer {
  height: var(--space-xxl);
}

.spacer-sm {
  height: var(--space-lg);
}

/* ==================== */
/* Forms */
/* ==================== */

form {
  max-width: 600px;
}

.form-group {
  margin-bottom: var(--space-md);
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="phone"],
textarea {
  width: 100%;
  padding: var(--space-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-light-gray);
  background: var(--color-white);
  transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-black);
}

textarea {
  resize: vertical;
  min-height: 200px;
}

button[type="button"],
button[type="submit"] {
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

button[type="button"]:hover,
button[type="submit"]:hover {
  background: var(--color-accent);
}

button[type="button"]:disabled,
button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.alert {
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  border-radius: 0;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.d-none {
  display: none !important;
}

/* ==================== */
/* Gallery */
/* ==================== */

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.photo-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--color-light-gray);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.photo-item:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--color-white);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  padding: 0;
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
  display: block;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--color-white);
  color: var(--color-black);
  transform: scale(1.1);
}

.lightbox-close {
  top: var(--space-md);
  right: var(--space-md);
  z-index: 2001;
}

.lightbox-prev {
  left: var(--space-md);
  bottom: var(--space-md);
  z-index: 2001;
}

.lightbox-prev:hover {
  transform: scale(1.1);
}

.lightbox-next {
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 2001;
}

.lightbox-next:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-close {
    top: var(--space-sm);
    right: var(--space-sm);
  }

  .lightbox-prev {
    left: var(--space-sm);
  }

  .lightbox-next {
    right: var(--space-sm);
  }
}

/* ==================== */
/* Video Grid */
/* ==================== */

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  max-width: 900px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .video-grid {
    gap: var(--space-lg);
  }
}

/* ==================== */
/* Song List */
/* ==================== */

.song-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.song-columns ul {
  list-style: none;
  padding: 0;
}

.song-columns li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--color-light-gray);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .song-columns {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}
