/*
CHANGE LOG
File: /static/css/rg.css
Document Type: CSS Stylesheet
Purpose: Styling for Mobile County Rain Garden federal funding strategy presentation
Main App: grants_app.py
Blueprint: front_blueprint.py
Route: /rg
Context: Clean professional styling for comprehensive funding strategy presentation, avoiding red colors
HTML Template: rg.html
Dependencies: Bootstrap (via base.html)
Version History:
2025-07-20 v1.0 – Initial creation with professional presentation styling
*/

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

/* Section Styling */
.rg-section {
  margin-bottom: 50px;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-left: 4px solid #007bff;
}

.rg-section h2 {
  color: #2c3e50;
  margin-bottom: 25px;
  font-size: 2.2rem;
  font-weight: 600;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 10px;
}

.rg-section h3 {
  color: #34495e;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: 500;
}

.rg-section h4 {
  color: #5a6c7d;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Content Elements */
.rg-highlight {
  background-color: #e8f4f8;
  padding: 20px;
  border-radius: 6px;
  border-left: 3px solid #17a2b8;
  margin: 20px 0;
}

.rg-callout {
  background-color: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  margin: 25px 0;
}

.rg-callout-blue {
  background-color: #e3f2fd;
  border-color: #2196f3;
}

.rg-callout-green {
  background-color: #e8f5e8;
  border-color: #4caf50;
}

.rg-callout-orange {
  background-color: #fff3e0;
  border-color: #ff9800;
}

/* Tables */
.rg-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #ffffff;
}

.rg-table th {
  background-color: #f8f9fa;
  padding: 12px;
  text-align: left;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
  color: #495057;
}

.rg-table td {
  padding: 12px;
  border-bottom: 1px solid #dee2e6;
}

.rg-table tr:hover {
  background-color: #f8f9fa;
}

/* Lists */
.rg-list {
  margin: 15px 0;
  padding-left: 0;
}

.rg-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.rg-list li:before {
  content: "•";
  color: #007bff;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Cards and Boxes */
.rg-card {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.rg-card-header {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #2c3e50;
}

/* Image Placeholders */
.rg-image-placeholder {
  background-color: #f8f9fa;
  border: 2px dashed #dee2e6;
  padding: 40px;
  text-align: center;
  margin: 20px 0;
  border-radius: 8px;
  color: #6c757d;
  font-style: italic;
}

.rg-image-large {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rg-image-medium {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rg-image-small {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Grid Layouts */
.rg-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.rg-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .rg-grid-2,
  .rg-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Numbers and Statistics */
.rg-stat {
  text-align: center;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.rg-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #007bff;
  display: block;
}

.rg-stat-label {
  color: #6c757d;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Buttons and Links */
.rg-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.rg-button:hover {
  background-color: #0056b3;
  color: white;
  text-decoration: none;
}

.rg-button-secondary {
  background-color: #6c757d;
}

.rg-button-secondary:hover {
  background-color: #545b62;
}

/* Progress and Status */
.rg-progress {
  background-color: #e9ecef;
  border-radius: 4px;
  height: 20px;
  margin: 10px 0;
}

.rg-progress-bar {
  background-color: #007bff;
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Quotes and Citations */
.rg-quote {
  border-left: 4px solid #6c757d;
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: #5a6c7d;
}

/* Timeline */
.rg-timeline {
  position: relative;
  padding-left: 30px;
}

.rg-timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.rg-timeline-item:before {
  content: "";
  position: absolute;
  left: -35px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #007bff;
}

.rg-timeline-item:last-child {
  border-bottom: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .rg-container {
    width: 90vw;
  }
}

@media (max-width: 768px) {
  .rg-container {
    width: 95vw;
    padding: 10px;
  }
  
  .rg-section {
    padding: 20px 15px;
  }
  
  .rg-section h2 {
    font-size: 1.8rem;
  }
  
  #secondary-nav {
    padding: 10px;
  }
  
  #secondary-nav div {
    gap: 10px;
  }
  
  .nav-link {
    padding: 6px 10px !important;
    font-size: 0.9rem;
  }
}
