/* === ALBUKARAOQUE WEBSITE - SONG FINDER STYLES === */
/* Styling for the song finder quiz and results */

.songfinder-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../media/empty_stage.jpg') no-repeat center center/cover;
  color: #fff;
  padding: 7rem 0 5rem;
  text-align: center;
  border-bottom: 3px solid var(--primary-color);
}

.songfinder-hero .page-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.songfinder-hero .page-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.songfinder-quiz-section {
  padding: 2.5rem 1rem;
  background-color: #f9f9f9;
}

.songfinder-quiz-section .section-container {
  max-width: 800px;
  margin: 0 auto;
}

#quiz-container {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  position: relative;
}

.step-title {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.question-block {
  margin-bottom: 2rem;
}

.question-block h3 {
  margin-bottom: 0.75rem;
  color: var(--dark-color);
}

.question-hint {
  font-size: 0.9rem;
  color: #777;
  margin: -0.5rem 0 1rem;
  font-style: italic;
}

/* Checkbox and Radio Styles */
.checkbox-group, 
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
}

.checkbox-option,
.radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.2s;
  flex-basis: calc(50% - 1.5rem);
  font-size: 0.95rem;
}

.checkbox-option:hover,
.radio-option:hover {
  background-color: rgba(64, 181, 163, 0.1);
}

.checkbox-option input,
.radio-option input {
  margin-right: 0.5rem;
  cursor: pointer;
}

/* Navigation Buttons */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.btn-prev,
.btn-next,
.btn-submit,
.btn-restart,
.btn-view-all {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  border: none;
}

.btn-next,
.btn-submit {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 15px rgba(64, 181, 163, 0.3);
}

.btn-next:hover,
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(64, 181, 163, 0.4);
}

.btn-prev {
  background: #f0f0f0;
  color: #555;
}

.btn-prev:hover {
  background: #e5e5e5;
}

.btn-restart {
  background: #f0f0f0;
  color: #555;
  margin-right: 1rem;
}

.btn-view-all {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(64, 181, 163, 0.3);
  display: inline-block;
}

.btn-view-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(64, 181, 163, 0.4);
}

/* Results Section */
.results-section {
  text-align: center;
}

.matches-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.match-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.match-title {
  font-size: 1.4rem;
  color: var(--dark-color);
  margin: 0;
}

.match-artist {
  font-size: 1.1rem;
  color: #555;
  margin: 0.25rem 0 0.75rem;
}

.match-details {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
  color: #555;
  font-size: 0.95rem;
}

.match-reason {
  margin-top: 0.75rem;
  font-style: italic;
  color: #666;
}

.restart-container {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* Artist Grid */
.artist-options {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 10px;
  border: 1px solid #eee;
  border-radius: 6px;
}

/* Vocal Range Tools */
.vocal-range-tools {
  margin: 0 0 1em 0;
  padding: 0;
  list-style: none;
}

.vocal-range-tools li {
  margin-bottom: 0.5em;
}

.vocal-range-link {
  display: inline-block;
  background: #f0f4ff;
  color: #1a3a6b;
  padding: 0.5em 1em;
  border-radius: 2em;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 1px 4px rgba(26,58,107,0.07);
}

.vocal-range-link:hover, .vocal-range-link:focus {
  background: #dbeafe;
  color: #0a1a33;
  outline: 2px solid #1a3a6b;
}

@media (max-width: 600px) {
  .vocal-range-link {
    font-size: 1em;
    padding: 0.5em 0.7em;
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .songfinder-hero {
    padding: 5rem 0 3rem;
  }
  
  .songfinder-hero .page-title {
    font-size: 2.2rem;
  }
  
  .songfinder-hero .page-subtitle {
    font-size: 1rem;
  }
  
  #quiz-container {
    padding: 1.5rem;
  }
  
  .checkbox-option, 
  .radio-option {
    flex-basis: 100%;
  }
  
  .nav-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn-prev, 
  .btn-next,
  .btn-submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .songfinder-hero .page-title {
    font-size: 1.8rem;
  }
  
  .songfinder-hero .page-subtitle {
    font-size: 0.9rem;
  }
  
  .step-title {
    font-size: 1.5rem;
  }
  
  .question-block h3 {
    font-size: 1.1rem;
  }
}
