/* =============================================
   The Idaho Yodeler - Memorial Site
   A tribute to Buzz Goertzen (1936-2025)
   Color Scheme: Black, White, and Gold
   ============================================= */

/* CSS Variables - Color Scheme */
:root {
  --primary-black: #1a1a1a;
  --primary-black-light: #2d2d2d;
  --primary-black-dark: #0d0d0d;
  --gold: #c9a227;
  --gold-light: #d4b84a;
  --gold-dark: #a8861f;
  --white: #ffffff;
  --off-white: #f8f8f8;
  --cream: #faf8f5;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #6b6b6b;
  --shadow: rgba(0, 0, 0, 0.15);
  --shadow-dark: rgba(0, 0, 0, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', serif;
  font-weight: normal;
  line-height: 1.3;
  color: var(--primary-black);
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }

p {
  margin-bottom: 1.2rem;
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-alt {
  background-color: var(--off-white);
}

/* Header */
.header {
  background: var(--primary-black);
  color: var(--text-light);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow-dark);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--gold);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Navigation */
.nav {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  background-color: var(--gold);
  color: var(--primary-black);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px 10px;
}

/* Hero Section - With Banner */
.hero {
  background: var(--primary-black);
  color: var(--text-light);
  text-align: center;
  padding: 0;
  position: relative;
}

.hero-banner {
  width: 100%;
  max-width: 100%;
  display: block;
}

.hero-content {
  padding: 40px 20px;
  background: linear-gradient(135deg, var(--primary-black) 0%, var(--primary-black-light) 100%);
}

.hero h1 {
  color: var(--gold);
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero .subtitle {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero .dates {
  font-size: 1.1rem;
  color: var(--gold-light);
  letter-spacing: 2px;
}

.hero-image {
  max-width: 300px;
  margin: 30px auto 0;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Page Hero (for inner pages) */
.page-hero {
  background: var(--primary-black);
  color: var(--text-light);
  text-align: center;
  padding: 50px 20px;
}

.page-hero h1 {
  color: var(--gold);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-hero .subtitle {
  color: var(--white);
  font-style: italic;
}

/* Content Cards */
.card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e8e8e8;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-dark);
}

/* Album Grid */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.album-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow);
  transition: transform 0.3s ease;
  border: 1px solid #e8e8e8;
}

.album-card:hover {
  transform: translateY(-5px);
}

.album-card img {
  width: 100%;
  height: auto;
  display: block;
}

.album-card-content {
  padding: 20px;
}

.album-card h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.album-card .catalog {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.track-list {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.track-list h4 {
  font-size: 0.85rem;
  color: var(--primary-black);
  margin: 10px 0 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.track-list ol {
  margin-left: 20px;
}

.track-list li {
  margin-bottom: 3px;
}

/* Store Links */
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--primary-black);
  color: var(--gold);
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--gold);
}

.store-link:hover {
  background: var(--gold);
  color: var(--primary-black);
  transform: scale(1.05);
}

.store-link svg {
  width: 24px;
  height: 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gold);
  color: var(--primary-black);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background: var(--gold-light);
  color: var(--primary-black);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-black);
  color: var(--primary-black);
}

.btn-outline:hover {
  background: var(--primary-black);
  color: var(--gold);
}

.btn-dark {
  background: var(--primary-black);
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-dark:hover {
  background: var(--gold);
  color: var(--primary-black);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--primary-black);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Video Embed */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 15px var(--shadow);
}

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

/* News/Blog Posts */
.post {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.post:last-child {
  border-bottom: none;
}

.post-date {
  color: var(--gold-dark);
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.post h2 {
  margin-bottom: 15px;
}

/* Footer */
.footer {
  background: var(--primary-black);
  color: var(--off-white);
  padding: 50px 0 30px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer a {
  color: var(--off-white);
}

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

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding-top: 15px;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }

  .section {
    padding: 40px 0;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

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

  .store-links {
    flex-direction: column;
    align-items: center;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Decorative Elements */
.divider {
  height: 3px;
  width: 80px;
  background: var(--gold);
  margin: 20px auto;
  border-radius: 2px;
}

.quote {
  font-style: italic;
  font-size: 1.3rem;
  color: var(--primary-black);
  text-align: center;
  padding: 30px;
  border-left: 4px solid var(--gold);
  background: rgba(201, 162, 39, 0.1);
  margin: 30px 0;
}

/* Gold accent box */
.gold-accent {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 30px;
}

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

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 2px solid transparent;
}

.gallery img:hover {
  transform: scale(1.05);
  border-color: var(--gold);
}

/* Lightbox (for gallery) */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  border: 3px solid var(--gold);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--gold);
  font-size: 2rem;
  cursor: pointer;
}

/* Black background sections */
.section-dark {
  background: var(--primary-black);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--gold);
}

.section-dark .card {
  background: var(--primary-black-light);
  border-color: var(--gold);
  color: var(--white);
}
