/* Dale and Grace - Sweethearts of the Sixties
   A nostalgic vintage 1960s music tribute site
   Color scheme inspired by the original: purple/blue (#6873D5), warm accents */

:root {
  /* Primary Colors - vintage purple/blue from original */
  --primary-50: #f5f4fb;
  --primary-100: #e8e6f5;
  --primary-200: #d5d0ed;
  --primary-300: #b8b0df;
  --primary-400: #9a8cce;
  --primary-500: #6873D5;
  --primary-600: #5a5cc2;
  --primary-700: #4a4aa6;
  --primary-800: #3d3e87;
  --primary-900: #34366d;

  /* Secondary - warm gold/sepia */
  --secondary-50: #fef9f0;
  --secondary-100: #fcefd6;
  --secondary-200: #f9dba8;
  --secondary-300: #f5c170;
  --secondary-400: #f0a040;
  --secondary-500: #e88a20;
  --secondary-600: #d06c16;
  --secondary-700: #ac5014;
  --secondary-800: #8a3f17;
  --secondary-900: #713516;

  /* Neutral Colors - warm tones */
  --gray-50: #faf9f7;
  --gray-100: #f4f2ef;
  --gray-200: #e8e5e0;
  --gray-300: #d5d0c9;
  --gray-400: #b8b1a6;
  --gray-500: #968e81;
  --gray-600: #766e62;
  --gray-700: #5c564d;
  --gray-800: #3d3a34;
  --gray-900: #1f1d1a;

  /* Text Colors */
  --text-primary: #1f1d1a;
  --text-secondary: #5c564d;
  --text-tertiary: #968e81;
  --text-inverse: #faf9f7;

  /* Semantic Colors */
  --success: #2d8a56;
  --warning: #d9a21b;
  --error: #c53d3d;
  --info: var(--primary-500);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 8rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Crimson Text', 'Georgia', serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--gray-50);
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  margin-top: var(--space-8);
  border-bottom: 2px solid var(--primary-200);
  padding-bottom: var(--space-3);
}

h3 {
  font-size: 1.5rem;
  color: var(--primary-700);
}

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-800);
  text-decoration: underline;
}

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

/* Header & Navigation */
.site-header {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-500) 100%);
  padding: var(--space-4) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-logo a {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-inverse);
  text-decoration: none;
}

.site-logo span {
  font-family: 'Crimson Text', serif;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--secondary-300);
  display: block;
  margin-top: -5px;
}

.main-nav {
  display: flex;
  gap: var(--space-1);
}

.main-nav a {
  color: var(--text-inverse);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-inverse);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-2);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-600) 50%, var(--secondary-700) 100%);
  color: var(--text-inverse);
  padding: var(--space-16) 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 40px 40px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.hero-content h1 {
  color: var(--text-inverse);
  font-size: 3.5rem;
  margin-bottom: var(--space-4);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-tagline {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--secondary-300);
  margin-bottom: var(--space-6);
}

.hero-text {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: var(--space-6);
}

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.2);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}

.btn-primary {
  background: var(--secondary-500);
  color: white;
}

.btn-primary:hover {
  background: var(--secondary-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: white;
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  text-decoration: none;
  color: white;
}

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

.btn-outline:hover {
  background: var(--primary-600);
  color: white;
  text-decoration: none;
}

/* Main Content */
.main-content {
  padding: var(--space-10) 0;
}

.page-content {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.page-hero {
  margin-bottom: var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.page-hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Article Content */
.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content ul,
.article-content ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.article-content li {
  margin-bottom: var(--space-2);
}

.article-content strong {
  color: var(--primary-700);
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--space-5);
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
}

.card-text {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: var(--space-4);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* Feature Section */
.feature-section {
  padding: var(--space-12) 0;
}

.feature-section.alt {
  background: var(--gray-100);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-10);
}

.section-header h2 {
  border: none;
  margin-top: 0;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* Quote/Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
  border-left: 4px solid var(--primary-500);
  padding: var(--space-6);
  margin: var(--space-6) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.highlight-box p {
  font-style: italic;
  color: var(--text-secondary);
  margin: 0;
}

/* Inline Images */
.inline-image {
  margin: var(--space-6) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.inline-image img {
  width: 100%;
  display: block;
}

.inline-image figcaption {
  background: var(--gray-100);
  padding: var(--space-3) var(--space-4);
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-style: italic;
  text-align: center;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-900) 100%);
  color: var(--text-inverse);
  padding: var(--space-12) 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-inverse);
  margin-bottom: var(--space-4);
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.95rem;
}

.footer-column h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary-400);
  margin-bottom: var(--space-4);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: var(--space-2);
}

.footer-column a {
  color: var(--gray-400);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--text-inverse);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--space-6);
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* 404 Page */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-10);
}

.error-page h1 {
  font-size: 8rem;
  color: var(--primary-500);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.error-page p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .site-header .container {
    flex-direction: column;
    gap: var(--space-4);
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    background: var(--primary-800);
    padding: var(--space-4);
    border-radius: var(--radius-md);
  }

  .main-nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: var(--space-5);
    top: var(--space-4);
  }

  .hero {
    padding: var(--space-10) 0;
  }

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

  .hero-tagline {
    font-size: 1.125rem;
  }

  .page-content {
    padding: var(--space-5);
  }

  .page-hero img {
    height: 250px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

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

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

/* Vintage Record Decoration */
.record-decoration {
  position: relative;
  display: inline-block;
}

.record-decoration::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at center, var(--gray-900) 0%, var(--gray-900) 20%, var(--gray-700) 20%, var(--gray-700) 30%, var(--gray-900) 30%, var(--gray-900) 100%);
  border-radius: 50%;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.3;
}

/* Music Note Icon */
.music-icon {
  color: var(--secondary-500);
  margin-right: var(--space-2);
}
