@import url('colors.css');

/* Quran pagina - volledige breedte met smal zijmenu en correcte theme ondersteuning */

/* Default (dark) theme variabelen voor Quran pagina */
:root.quran-dark {
  --quran-bg: var(--bg-dark);
  --quran-text: var(--text-primary-dark);
  --quran-panel-bg: var(--panel-bg-dark);
  --quran-panel-text: var(--text-primary-dark);
  --quran-accent: var(--white);
  --quran-border: var(--border-dark);
  --quran-card-bg: var(--panel-bg-dark);
  --quran-text-secondary: var(--text-secondary-dark);
  --quran-hover-bg: var(--hover-bg-dark);
}

/* Light theme variabelen voor Quran pagina */
:root.quran-light {
  --quran-bg: var(--bg-light);
  --quran-text: var(--text-primary-light);
  --quran-panel-bg: var(--panel-bg-light);
  --quran-panel-text: var(--text-primary-light);
  --quran-accent: var(--gold);
  --quran-border: var(--border-light);
  --quran-card-bg: var(--white);
  --quran-text-secondary: var(--text-secondary-light);
  --quran-hover-bg: var(--hover-bg-light);
}

/* Zorg ervoor dat het zijmenu de Quran theme variabelen gebruikt */
.app .right.new-layout {
  min-width: 120px !important;
  max-width: 120px !important;
  flex: 0 0 120px !important;
  padding: 0 !important;
  background: var(--quran-panel-bg) !important;
  color: var(--quran-text) !important;
  border: 1px solid var(--quran-border) !important;
}

/* Zorg dat alleen vertical-tijden wordt getoond */
.app .hadith-tijden-row {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: 100%;
  background: var(--quran-panel-bg);
}

.app .hadith-center {
  display: none !important; /* Verberg de hadith sectie */
}

.app .vertical-tijden {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  width: 100%;
  background: none;
  height: 100%;
  padding: 2rem 0;
}

/* Zorg dat zijmenu items de Quran theme variabelen gebruiken */
.app .tijden-en-icoontjes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.7rem;
}

.app .tijden-en-icoontjes li {
  font-size: 1.25rem;
  color: var(--quran-text) !important;
  opacity: 0.85;
  font-family: 'Lato', Arial, sans-serif;
  letter-spacing: 0.04em;
  transition: color 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app .tijden-rij {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  gap: 0.1rem;
}

.app .tijden-rij .naam {
  font-size: 1.05rem;
  color: var(--quran-text) !important;
  font-family: 'Lato', Arial, sans-serif;
  opacity: 0.85;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 0.1rem;
}

.app .tijden-rij .tijd {
  font-size: 1.15rem;
  color: var(--quran-text) !important;
  font-family: 'Lato', Arial, sans-serif;
  opacity: 0.85;
  text-align: center;
}

.app .tijden-en-icoontjes .icoon-link {
  font-size: 1.35rem;
  color: var(--quran-text) !important;
  text-decoration: none;
  background: none;
  border: none;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app .tijden-en-icoontjes .icoon-link:hover {
  color: var(--quran-accent) !important;
  opacity: 1;
}

.app .icoon-link .material-icons {
  font-size: 1.7rem;
  color: var(--quran-text) !important;
  vertical-align: middle;
  display: inline-block;
  line-height: 1;
  transition: color 0.2s, opacity 0.2s;
}

.app .icoon-link:hover .material-icons {
  color: var(--quran-accent) !important;
}

/* Main content area - twee kolommen layout */
.quran-full-content {
  flex: 1;
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 0;
  height: 100vh;
  background: var(--quran-bg);
  color: var(--quran-text);
  overflow: hidden;
}

/* Linker kolom - Player */
.quran-left-column {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid var(--quran-border);
  background: var(--quran-panel-bg);
}

/* Rechter kolom - Zoeken en Sura lijst */
.quran-right-column {
  display: flex;
  flex-direction: column;
  background: var(--quran-bg);
  overflow: hidden;
}

/* Header styling */
.quran-header {
  text-align: left;
  padding: 0;
  margin-bottom: 20px;
}

.quran-header h1 {
  font-family: 'Cairo', sans-serif;
  font-size: 2.2em;
  color: var(--quran-accent);
  margin: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--quran-border);
}

/* Reciter Selection */
.reciter-selection {
  margin-bottom: 30px;
}

.reciter-selection label {
  display: block;
  margin-bottom: 10px;
  color: var(--quran-text);
  font-size: 0.9em;
  opacity: 0.8;
}

.custom-select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--quran-border);
  border-radius: 8px;
  background: var(--quran-card-bg);
  color: var(--quran-text);
  font-size: 1em;
  transition: all 0.2s ease;
}

.custom-select:hover {
  background: var(--quran-hover-bg);
}

/* Player Section */
.player-section {
  background: var(--quran-card-bg);
  border-radius: 12px;
  padding: 25px;
  margin-top: auto;
  margin-bottom: 20px;
}

.sura-info h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.sura-info p {
  font-size: 0.9em;
  margin-bottom: 20px;
}

/* Player Controls */
.player-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--quran-accent);
  color: var(--quran-accent);
  transition: all 0.2s ease;
}

.play-btn {
  width: 60px;
  height: 60px;
  background: var(--quran-accent);
  color: var(--quran-bg);
}

.control-btn:hover {
  transform: scale(1.1);
  background: var(--quran-accent);
  color: var(--quran-bg);
}

/* Progress Bar */
.progress-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.progress-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--quran-border);
}

/* Search Section */
.search-section {
  padding: 20px;
  background: var(--quran-panel-bg);
  border-bottom: 1px solid var(--quran-border);
}

.search-section label {
  display: block;
  margin-bottom: 10px;
  color: var(--quran-text);
  font-size: 0.9em;
  opacity: 0.8;
}

.search-input {
  width: 97%;
  padding: 12px;
  border: 1px solid var(--quran-border);
  border-radius: 8px;
  background: var(--quran-card-bg);
  color: var(--quran-text);
  font-size: 1em;
}

/* Sura List */
.sura-list-section {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: var(--quran-bg);
}

.sura-list-section h3 {
  font-size: 1.4em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--quran-border);
}

.sura-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  padding: 0;
}

.sura-item {
  background: var(--quran-card-bg);
  border: 1px solid var(--quran-border);
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sura-item:hover {
  transform: translateY(-2px);
  background: var(--quran-hover-bg);
  border-color: var(--quran-accent);
}

.sura-number {
  font-size: 0.8em;
  opacity: 0.7;
  margin-bottom: 5px;
}

.sura-name-arabic {
  font-size: 1.4em;
  margin-bottom: 5px;
}

.sura-name-dutch {
  font-size: 0.9em;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .quran-full-content {
    grid-template-columns: 1fr;
    height: auto;
  }

  .quran-left-column {
    border-right: none;
    border-bottom: 1px solid var(--quran-border);
  }

  .quran-right-column {
    height: 100vh;
  }
}

@media (max-width: 600px) {
  .quran-header h1 {
    font-size: 1.8em;
  }

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

  .player-section {
    padding: 15px;
  }

  .control-btn {
    width: 40px;
    height: 40px;
  }

  .play-btn {
    width: 50px;
    height: 50px;
  }
} 