/* File: assets/css/resources.css
   Styles for the resources page */

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

/* Resource Sections */
.resource-section { padding: 3rem 1rem; }
.resource-section:nth-child(odd) { background-color: #fff; }
.resource-section:nth-child(even) { background-color: #f8f8f8; }

/* Book Resources */
.resources-grid { display: flex; flex-direction: column; gap: 2rem; max-width: 1000px; margin: 0 auto; }
.resource-card { display: flex; flex-direction: column; background-color: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,0.05); }
.resource-image { text-align: center; padding: 1.5rem; background-color: #f8f8f8; }
.resource-image img { max-height: 200px; width: auto; }
.resource-info { padding: 1.5rem; }
.resource-info h3 { color: #dd3333; margin-bottom: 0.3rem; }
.resource-info h4 { color: #666; font-size: 1rem; font-weight: normal; margin-bottom: 1rem; }
.resource-info p { margin-bottom: 1.2rem; line-height: 1.6; }
.resource-links { display: flex; gap: 1rem; }
.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; }

/* Website Resources */
.web-resources { max-width: 800px; margin: 0 auto; }
.web-resource { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #eee; }
.web-resource:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.web-resource h3 { color: #dd3333; margin-bottom: 0.7rem; }
.web-link { display: inline-block; font-weight: bold; color: #dd3333; word-break: break-all; }
.app-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.app-button { display: inline-block; background-color: #333; color: white; padding: 8px 15px; border-radius: 4px; font-size: 0.9rem; }
.app-button:hover { background-color: #555; color: white; }

/* Video Resources */
.video-resources { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
.video-resource { display: flex; flex-direction: column; background-color: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,0.05); }
.video-thumbnail { position: relative; }
.video-thumbnail img { width: 100%; height: auto; }
.play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background-color: rgba(221, 51, 51, 0.8); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.video-info { padding: 1.5rem; }
.video-info h3 { color: #dd3333; margin-bottom: 0.7rem; }

/* Shrine Resources */
.shrines-grid { display: flex; flex-direction: column; gap: 2rem; max-width: 1000px; margin: 0 auto; }
.shrine-card { display: flex; flex-direction: column; background-color: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,0.05); }
.shrine-image img { width: 100%; height: auto; }
.shrine-info { padding: 1.5rem; }
.shrine-info h3 { color: #dd3333; margin-bottom: 0.3rem; }
.shrine-info h4 { color: #666; font-size: 1rem; font-weight: normal; margin-bottom: 1rem; }

/* Download Resources */
.download-resources { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.download-item { background-color: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.download-item h3 { color: #dd3333; margin-bottom: 0.7rem; }
.download-button { display: inline-flex; align-items: center; background-color: #dd3333; color: white; padding: 10px 20px; border-radius: 4px; font-weight: bold; margin-top: 1rem; align-self: flex-start; }
.download-button:before { content: "📥"; margin-right: 8px; }
.download-button:hover { background-color: #bb2222; color: white; }

/* Parish Resources */
.parish-info { max-width: 800px; margin: 0 auto; }
.parish-resources-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.parish-resources-list li { background-color: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); margin-bottom: 1.5rem; }
.parish-resources-list h3 { color: #dd3333; margin-bottom: 0.7rem; }
.parish-resources-list a { display: inline-block; font-weight: bold; color: #dd3333; margin-top: 0.7rem; }

/* Media Queries */
@media (min-width: 768px) {
  .resources-header h1 { font-size: 2.5rem; }
  
  .resources-grid, .video-resources, .shrines-grid { flex-direction: row; flex-wrap: wrap; }
  .resource-card, .shrine-card { flex: 1; min-width: 300px; }
  
  .video-resource { flex-direction: row; align-items: center; }
  .video-thumbnail { flex: 1; }
  .video-info { flex: 1; }
  
  .resource-card { flex-direction: row; }
  .resource-image { flex: 1; padding: 1rem; display: flex; align-items: center; justify-content: center; }
  .resource-info { flex: 2; }
  
  .download-resources { flex-direction: row; flex-wrap: wrap; }
  .download-item { flex: 1; min-width: 250px; }
}