/* Custom CSS for Siverly.de */

:root {
  --primary-color: #0f62ac;
  --secondary-color: #1e7bc7;
  --accent-color: #eeb62c;
  --background-color: #f4f4f4;
  --text-dark: #2c3e50;
  --text-muted: #6c757d;
}

/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Navigation */
.navbar {
  z-index: 1030 !important;
  position: relative;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Dropdown menus */
.dropdown-menu {
  z-index: 1040 !important;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 10px;
  overflow: hidden;
}

.dropdown-item {
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--primary-color);
  color: white !important;
}

/* Hero Section */
.hero-section {
  background: url('../images/alain_web_1800x1200_v03.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.6);
}

.hero-section .lead {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.6);
}

.hero-section p {
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.6);
}

/* Music Cards */
.music-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.music-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.music-card img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.music-category {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 60px 0;
  margin: 40px 0;
  border-radius: 20px;
  text-align: center;
}

/* Audio Player Enhancements */
.audio-player-container {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.custom-audio-player {
  background: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.progress {
  height: 8px;
  border-radius: 4px;
  background-color: #e9ecef;
  cursor: pointer;
  transition: height 0.2s ease;
}

.progress:hover {
  height: 12px;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 4px;
  transition: width 0.1s ease;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #0d5499, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Music Grid */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Lyrics Styling */
.lyrics {
  font-style: italic;
  line-height: 2;
  white-space: pre-line;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
}

.lyrics p {
  margin-bottom: 1rem;
}

.active-lyric {
  background-color: var(--accent-color);
  padding: 2px 5px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Language Switcher */
.language-switcher .dropdown-toggle {
  border-radius: 20px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  transition: all 0.3s ease;
}

.language-switcher .dropdown-toggle:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

footer h5, footer h6 {
  color: var(--accent-color);
  font-weight: 600;
}

footer p, footer li, footer a {
  color: white !important;
}

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

/* Track List */
.track-list .list-group-item {
  border: none;
  border-bottom: 1px solid #e9ecef;
  padding: 1rem;
  transition: background-color 0.3s ease;
}

.track-list .list-group-item:hover {
  background-color: #f8f9fa;
}

.track-list .badge {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Album Cover */
.album-cover {
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.album-cover:hover {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    background: url('../images/alain_web_1800x1200_v03-768x512.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    min-height: 80vh;
    padding: 60px 0;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section .lead {
    font-size: 1.2rem;
  }
  
  .music-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .audio-player-container {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    background: url('../images/alain_web_1800x1200_v03-570x220.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 60vh;
    padding: 40px 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Music Category Cards */
.category-card {
  background: linear-gradient(135deg, rgba(15, 98, 172, 0.1) 0%, rgba(30, 123, 199, 0.1) 100%);
  border: 2px solid transparent;
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
}

.category-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(15, 98, 172, 0.2);
}

.category-icon {
  font-size: 3rem;
  color: #eeb62c;
  margin-bottom: 1rem;
}

/* Loading States */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(15, 98, 172, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Album Button Cards */
.album-button-card .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.album-button-card .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(15, 98, 172, 0.2);
  border-color: var(--primary-color);
}

.album-cover-img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.album-button-card .card:hover .album-cover-img {
  transform: scale(1.05);
}