/* ===================================================================
   Ein Kleines Orchester - Modern Design System
   ===================================================================
   
   This CSS file uses Tailwind CSS utility classes with custom properties
   for easy maintenance and theming.
   
   HOW TO USE THIS CSS FILE:
   1. Colors: Change the --color-primary values to update the entire theme
   2. Spacing: Adjust --spacing values to change layout density
   3. Fonts: Update --font values to change typography
   
   EDITING TIP: Use your browser's developer tools to test color changes
   by modifying the CSS variables in real-time!
   
   ⚠️ IMPORTANT FOR NON-TECHNICAL EDITORS:
   - You typically don't need to edit this file
   - Most content updates are done in HTML files
   - If you need to change colors, only modify the values after the colon (:)
   - Example: --color-primary: #4B5563; ← Change only #4B5563
   =================================================================== */

/* Custom Properties for Theme Colors
   ------------------------------------------------------------------- */
:root {
  /* Primary Colors - Easy to change the entire color scheme */
  --color-primary: #4B5563;        /* medium-gray */
  --color-primary-dark: #374151;   /* dark-gray */
  --color-primary-darker: #1F2937; /* charcoal */
  --color-primary-light: #6B7280;  /* warm-gray */
  --color-primary-lighter: #9CA3AF;
  
  /* Neutral Colors */
  --color-bg-light: #F9FAFB;
  --color-bg-gray: #F3F4F6;
  --color-text-primary: #111827;
  --color-text-secondary: #4B5563;
  --color-text-light: #9CA3AF;
  
  /* Spacing */
  --spacing-section: 4rem; /* 64px */
  --spacing-container: 2rem; /* 32px */
  
  /* Typography */
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

/* Base Styles
   ------------------------------------------------------------------- */
body {
  font-family: var(--font-sans);
  color: var(--color-text-primary);
}

.serif-heading {
  font-family: var(--font-serif);
}

/* Component Classes
   ------------------------------------------------------------------- */

/* Navigation */
.nav-link {
  color: #374151;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 200ms;
}

.nav-link:hover {
  color: #111827;
}

.nav-mobile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.375rem;
  color: #374151;
  transition: all 200ms;
}

.nav-mobile-button:hover {
  color: #111827;
  background-color: #F3F4F6;
}

.nav-mobile-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px inset #9CA3AF;
}

/* Hero Section */
.hero-gradient {
  background: linear-gradient(135deg, var(--color-primary-darker) 0%, var(--color-primary-dark) 50%, var(--color-primary) 100%);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: #D1D5DB;
  margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 9999px;
  background-color: white;
  color: var(--color-primary-darker);
  transition: all 200ms;
}

.btn-primary:hover {
  background-color: #F9FAFB;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border: 1px solid white;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 9999px;
  color: white;
  transition: all 200ms;
}

.btn-outline:hover {
  background-color: white;
  color: var(--color-primary-darker);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid white;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 9999px;
  color: white;
  transition: all 200ms;
}

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

/* Section Styles */
.section {
  padding: var(--spacing-section) 0;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.section-divider {
  width: 5rem;
  height: 0.25rem;
  margin: 0 auto;
  background-color: var(--color-primary);
}

/* Cards */
.concert-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.concert-card-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 2rem;
  color: white;
}

/* News/Alert Box */
.news-alert {
  border-left: 4px solid var(--color-primary);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background-color: var(--color-bg-gray);
}

.news-icon {
  color: var(--color-primary);
  height: 1.5rem;
  width: 1.5rem;
}

.news-date {
  color: var(--color-primary-dark);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Info Cards */
.info-card {
  text-align: center;
}

.info-card-icon {
  border-radius: 9999px;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background-color: #E5E7EB;
}

.info-card-icon svg {
  height: 2.5rem;
  width: 2.5rem;
  color: var(--color-primary-light);
}

.info-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-success {
  background-color: #D1FAE5;
  color: #065F46;
}

.badge-info {
  background-color: #DBEAFE;
  color: #1E40AF;
}

/* Contact Section */
.contact-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 2rem;
}

.contact-icon {
  color: var(--color-primary);
  height: 2rem;
  width: 2rem;
  margin-right: 0.75rem;
}

/* Footer */
.footer {
  background-color: var(--color-primary-darker);
  color: white;
  padding: 2rem 0;
}

/* Utility Classes for Sections */
.bg-section-light {
  background-color: var(--color-bg-light);
}

.bg-section-gray {
  background-color: var(--color-bg-gray);
}

/* Gradient Backgrounds */
.gradient-dark {
  background: linear-gradient(135deg, var(--color-primary-darker) 0%, var(--color-primary) 100%);
}

/* Mobile Menu */
.mobile-menu-link {
  display: block;
  color: #374151;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  transition: color 200ms;
}

.mobile-menu-link:hover {
  color: #111827;
}

/* Container Max Width */
.container-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container-content {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-content {
    padding: 0 2rem;
  }
}

.container-narrow {
  max-width: 56rem;
  margin: 0 auto;
}

.container-narrower {
  max-width: 48rem;
  margin: 0 auto;
}

/* Smooth Transitions */
* {
  transition-property: color, background-color, border-color;
  transition-duration: 200ms;
  transition-timing-function: ease-in-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  :root {
    --spacing-section: 3rem;
    --spacing-container: 1rem;
  }
}

/* ===================================================================
   NAVIGATION STYLES FOR SUBDIRECTORIES
   =================================================================== 
   These styles ensure navigation works properly from any directory level
   =================================================================== */

/* Active Navigation State - Add this class to current page nav item */
.nav-link.active {
  color: var(--color-primary-darker);
  font-weight: 700;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0;
  height: 3px;
  background-color: var(--color-primary);
}

.mobile-menu-link.active {
  background-color: var(--color-bg-gray);
  color: var(--color-primary-darker);
  font-weight: 700;
}

/* ===================================================================
   ADDITIONAL UTILITY CLASSES FOR EASY EDITING
   =================================================================== */

/* Text Alignment Utilities */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Margin Utilities for Spacing */
.mt-section { margin-top: var(--spacing-section); }
.mb-section { margin-bottom: var(--spacing-section); }
.my-section { 
  margin-top: var(--spacing-section); 
  margin-bottom: var(--spacing-section); 
}

/* Hide/Show Utilities */
.hide-mobile { display: block; }
.show-mobile { display: none; }

@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .show-mobile { display: block; }
}

/* Image Responsive */
.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Content Box with Padding */
.content-box {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Simple List Styles */
.list-simple {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-simple li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #E5E7EB;
}

.list-simple li:last-child {
  border-bottom: none;
}

/* Breadcrumb Navigation */
.breadcrumb {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  color: var(--color-text-light);
}

.breadcrumb-item a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--color-text-primary);
  font-weight: 500;
}