/*
CHANGE LOG
File: /static/css/church.css
Document Type: CSS Stylesheet
Purpose: Styling for chapel technical documentation and system specifications
Main App: grants_app.py
Blueprint: front_blueprint.py
Routes: /church
Context: Professional technical documentation styling with focus on readability and data presentation
HTML Templates: church.html, church_partials/*.html
Dependencies: Bootstrap (from base.html)
Version History:
2025-07-19 v2.0 – Updated for technical documentation format, reduced decorative elements
2025-07-19 v1.0 – Initial creation with card layouts, benefit icons, and responsive design
*/

/* Chapel Container */
.chapel-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Section Spacing */
.chapel-container section {
  scroll-margin-top: 100px; /* Account for sticky nav */
}

/* Card Enhancements - Technical Documentation Style */
.chapel-container .card {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s ease;
  margin-bottom: 1rem;
}

.chapel-container .card:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.chapel-container .card-title {
  color: #2c3e50;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 8px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Technical Data Presentation */
.chapel-container .badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 6px;
}

.chapel-container .badge-secondary {
  background-color: #6c757d;
  color: white;
}

.chapel-container .badge-success {
  background-color: #28a745;
  color: white;
}

.chapel-container .badge-primary {
  background-color: #007bff;
  color: white;
}

/* Typography - Technical Document Style */
.chapel-container h2 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #007bff;
  font-size: 1.75rem;
}

.chapel-container h4 {
  color: #34495e;
  font-weight: 600;
  font-size: 1.25rem;
}

.chapel-container h5 {
  color: #495057;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.chapel-container h6 {
  color: #5a6c7d;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  text-transform: none;
}

.chapel-container .lead {
  font-size: 1.1rem;
  font-weight: 400;
  color: #495057;
  margin-bottom: 20px;
}

/* Lists - Technical Specifications */
.chapel-container ul {
  padding-left: 18px;
}

.chapel-container ul li {
  margin-bottom: 4px;
  line-height: 1.5;
}

.chapel-container ul li strong {
  color: #2c3e50;
  font-weight: 600;
}

.chapel-container ul.small li {
  font-size: 0.9rem;
  margin-bottom: 3px;
}

/* Alert Styling - Technical Notices */
.chapel-container .alert {
  border-radius: 6px;
  border-width: 1px;
  margin-bottom: 1rem;
}

.chapel-container .alert-info {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #495057;
}

.chapel-container .alert-success {
  background-color: #f8f9fa;
  border-color: #d4edda;
  color: #155724;
}

/* Technical Data Tables/Specs */
.chapel-container .row {
  margin-bottom: 0.75rem;
}

.chapel-container .col-md-3,
.chapel-container .col-md-4,
.chapel-container .col-md-6 {
  margin-bottom: 1rem;
}

/* Coming Soon Styling */
.chapel-container .text-muted em {
  font-style: italic;
  color: #6c757d;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .chapel-container {
    width: 95vw !important;
    padding: 10px !important;
  }
  
  .chapel-container .card-body {
    padding: 15px;
  }
  
  .chapel-container h2 {
    font-size: 1.5rem;
  }
  
  .chapel-container h4 {
    font-size: 1.15rem;
  }
  
  .chapel-container h5 {
    font-size: 1.05rem;
  }
}

/* Navigation Enhancements */
.chapel-container .nav-link {
  font-size: 0.85rem;
  white-space: nowrap;
  font-weight: 500;
}

@media (max-width: 992px) {
  .chapel-container .nav-link {
    font-size: 0.8rem;
    padding: 6px 8px !important;
  }
}

/* Print Styles - Technical Documentation */
@media print {
  .chapel-container nav {
    display: none !important;
  }
  
  .chapel-container {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .chapel-container .card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    break-inside: avoid;
    margin-bottom: 1rem !important;
  }
  
  .chapel-container h2 {
    break-after: avoid;
  }
  
  .chapel-container .btn {
    display: none !important;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .chapel-container {
    width: 95vw !important;
    padding: 10px !important;
  }
  
  .chapel-container .card-body {
    padding: 15px;
  }
  
  .benefit-icon {
    font-size: 2rem;
  }
  
  .chapel-container h2 {
    font-size: 1.5rem;
  }
  
  .chapel-container h4 {
    font-size: 1.2rem;
  }
}

/* Navigation Enhancements */
.chapel-container .nav-link {
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .chapel-container .nav-link {
    font-size: 0.8rem;
    padding: 6px 10px !important;
  }
}

/* Print Styles */
@media print {
  .chapel-container nav {
    display: none !important;
  }
  
  .chapel-container {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .chapel-container .card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
}
