/* File: assets/css/prayer.css
   Styles for prayer pages (chaplet.php and novena.php) */

/* Prayer Header */
.prayer-header { padding: 3rem 1rem; background-color: #dd3333; color: white; text-align: center; }
.prayer-header h1 { color: white; font-size: 2.2rem; margin-bottom: 1rem; }
.prayer-intro { font-size: 1.1rem; max-width: 800px; margin: 0 auto; line-height: 1.6; }

/* Prayer Instructions */
.prayer-instructions { padding: 3rem 1rem; background-color: #fff; }
.rosary-image { text-align: center; margin-bottom: 2rem; }
.rosary-image img { max-width: 100%; height: auto; max-height: 300px; border-radius: 8px; box-shadow: 0 3px 15px rgba(0,0,0,0.1); }
.image-caption { font-size: 0.9rem; color: #666; margin-top: 0.5rem; font-style: italic; }
.instruction-steps { max-width: 800px; margin: 0 auto; }
.step { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #eee; }
.step:last-child { border-bottom: none; }
.step h3 { color: #dd3333; margin-bottom: 0.8rem; font-size: 1.3rem; }
.prayer-text { background-color: #f8f8f8; padding: 1.5rem; border-radius: 8px; font-family: 'Crimson Text', serif; line-height: 1.7; }
.prayer-text.leader { border-left: 4px solid #dd3333; }
.prayer-text.response { border-left: 4px solid #4a7db7; color: #4a7db7; font-style: italic; }
.prayer-text.conclusion { border-left: 4px solid #e0b050; font-weight: bold; }
.prayer-text.optional { border-left: 4px solid #999; font-style: italic; color: #666; }

/* Interactive Prayer Section */
.interactive-prayer { padding: 3rem 1rem; background-color: #f8f8f8; }
.section-intro { text-align: center; max-width: 700px; margin: 0 auto 2rem; }
.chaplet-interactive { max-width: 800px; margin: 0 auto; background-color: white; border-radius: 10px; padding: 1.5rem; box-shadow: 0 3px 15px rgba(0,0,0,0.05); }
.prayer-progress { margin-bottom: 1.5rem; }
.progress-bar { height: 8px; background-color: #eee; border-radius: 4px; overflow: hidden; margin-bottom: 0.5rem; }
.progress-fill { height: 100%; width: 5%; background-color: #dd3333; transition: width 0.5s ease; }
.progress-text { font-size: 0.9rem; color: #666; text-align: center; }
.prayer-display { min-height: 250px; margin-bottom: 1.5rem; position: relative; }
.prayer-content { display: none; animation: fadeIn 0.5s; }
.prayer-content.active { display: block; }
.prayer-line { margin-bottom: 1rem; line-height: 1.7; }
.prayer-line.emphasized { font-weight: bold; color: #dd3333; }
.next-prayer { display: block; margin: 1.5rem auto 0; background-color: #dd3333; color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; font-weight: bold; }
.prayer-controls { display: flex; justify-content: space-between; }
.prayer-button { background-color: #f1f1f1; border: none; padding: 10px 15px; border-radius: 4px; cursor: pointer; }
.audio-off { display: none; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Prayer Intentions */
.prayer-intentions { padding: 3rem 1rem; background-color: #fff; }
.intentions-list { display: flex; flex-direction: column; gap: 1.5rem; max-width: 800px; margin: 0 auto; }
.intention { background-color: #f8f8f8; padding: 1.5rem; border-radius: 8px; }
.intention h3 { color: #dd3333; margin-bottom: 0.7rem; }

/* Divine Mercy Hour */
.mercy-hour { padding: 3rem 1rem; background-color: #f8f8f8; }
.hour-box { background-color: #fff; max-width: 800px; margin: 0 auto; padding: 2rem; border-radius: 8px; box-shadow: 0 3px 15px rgba(0,0,0,0.05); text-align: center; }
.time-label { font-size: 2rem; font-weight: bold; color: #dd3333; margin-bottom: 1rem; font-family: 'Crimson Text', serif; }
.hour-box p { margin-bottom: 1rem; line-height: 1.7; }

/* Novena Dates Section */
.novena-dates { padding: 3rem 1rem; background-color: #f8f8f8; }
.dates-box { background-color: #fff; max-width: 800px; margin: 0 auto; padding: 2rem; border-radius: 8px; box-shadow: 0 3px 15px rgba(0,0,0,0.05); }
.date-item { margin-bottom: 1rem; }
.date-label { font-weight: bold; color: #666; margin-bottom: 0.3rem; }
.date { font-size: 1.3rem; color: #dd3333; font-family: 'Crimson Text', serif; }
.current-day-alert { margin-top: 1.5rem; padding: 1rem; background-color: #dd3333; color: white; border-radius: 6px; text-align: center; }

/* Novena Instructions */
.novena-instructions { padding: 3rem 1rem; background-color: #fff; }
.instruction-steps { max-width: 800px; margin: 0 auto; }

/* Novena Prayers */
.novena-prayers { padding: 3rem 1rem; background-color: #f8f8f8; }
.day-selector { text-align: center; margin-bottom: 2rem; }
.day-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 1rem; }
.day-button { width: 40px; height: 40px; border-radius: 50%; background-color: #f1f1f1; border: 1px solid #ddd; cursor: pointer; font-size: 1.1rem; }
.day-button.active { background-color: #dd3333; color: white; border-color: #dd3333; }
.novena-day-prayers { max-width: 800px; margin: 0 auto; background-color: white; border-radius: 10px; padding: 2rem; box-shadow: 0 3px 15px rgba(0,0,0,0.05); }
.day-prayer { display: none; }
.day-prayer.active { display: block; }
.day-intention { font-size: 1.2rem; color: #dd3333; margin-bottom: 1.5rem; line-height: 1.5; font-style: italic; }
.prayer-text { font-family: 'Crimson Text', serif; line-height: 1.7; }
.prayer-text p { margin-bottom: 1.5rem; }
.prayer-text .response { font-style: italic; color: #666; }
.novena-navigation { display: flex; justify-content: space-between; align-items: center; max-width: 800px; margin: 1.5rem auto 0; }
.nav-button { background-color: #f1f1f1; border: none; padding: 10px 15px; border-radius: 4px; cursor: pointer; }
.nav-button:disabled { opacity: 0.5; cursor: not-allowed; }
.day-indicator { font-size: 0.9rem; color: #666; }

/* Print Section */
.print-section { padding: 3rem 1rem; background-color: #fff; text-align: center; }
.button { display: inline-block; background-color: #dd3333; color: white; padding: 10px 20px; border-radius: 4px; font-weight: bold; transition: background-color 0.3s; }
.button:hover { background-color: #bb2222; color: white; }

/* Media Queries */
@media (min-width: 768px) {
  .prayer-header h1 { font-size: 2.5rem; }
  .intentions-list { flex-direction: row; }
  .intention { flex: 1; }
  .nav-button { padding: 12px 25px; }
}