/* Miracles Page Styles */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--nav-bg) 0%, var(--nav-bg-strong) 100%);
  color: white;
  padding: 3rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
  opacity: 0.7;
}

.breadcrumb span {
  opacity: 0.7;
}

.page-header h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

/* Miracles Content */
.miracles-content {
  padding: 3rem 0;
  background: #f8fafc;
}

.miracles-intro {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.miracles-intro h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2f4f6f;
  margin-bottom: 1.5rem;
}

.miracles-intro p {
  color: #000000;
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Miracles Grid */
.miracles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.miracle-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.miracle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5a87a8, #2f4f6f);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.miracle-card:hover::before {
  transform: scaleX(1);
}

.miracle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Official Miracle Styles */
.official-miracle {
  border: 2px solid #5a87a8;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.official-miracle::before {
  background: linear-gradient(90deg, #5a87a8, #2f4f6f);
  transform: scaleX(1);
}

.miracle-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, #5a87a8, #2f4f6f);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(90, 135, 168, 0.3);
}

/* Removed miracle-icon styles */

.miracle-card h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2f4f6f;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.5rem;
}

.miracle-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #5a87a8, #2f4f6f);
  border-radius: 1px;
}

.miracle-year {
  font-size: 0.9rem;
  color: #5a87a8;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(90, 135, 168, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}

.miracle-story p {
  color: #000000;
  line-height: 1.7;
  margin-bottom: 1rem;
  text-align: left;
  font-size: 1rem;
}

.miracle-story p:last-child {
  margin-bottom: 0;
}

/* Miracles Process */
.miracles-process {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin-bottom: 4rem;
}

.miracles-process h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2f4f6f;
  text-align: center;
  margin-bottom: 3rem;
}

.process-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.process-text p {
  color: #000000;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.process-text p:last-child {
  margin-bottom: 0;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #5a87a8, #2f4f6f);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-item h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2f4f6f;
  margin-bottom: 0.5rem;
}

.step-item p {
  color: #000000;
  line-height: 1.5;
  margin: 0;
  font-size: 0.9rem;
}

/* Miracles Impact */
.miracles-impact {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin-bottom: 4rem;
}

.miracles-impact h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2f4f6f;
  text-align: center;
  margin-bottom: 3rem;
}

.impact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.impact-text p {
  color: #000000;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.impact-text p:last-child {
  margin-bottom: 0;
}

.impact-quote {
  background: #f8fafc;
  border-radius: 8px;
  padding: 2rem;
  border-left: 4px solid #5a87a8;
}

.impact-quote blockquote {
  margin: 0;
  font-style: italic;
}

.impact-quote blockquote p {
  color: #000000;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.impact-quote blockquote cite {
  color: #000000;
  font-style: normal;
  font-weight: 600;
}

.impact-quote blockquote cite::before {
  content: '— ';
}

/* Miracles Prayer */
.miracles-prayer {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.miracles-prayer h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2f4f6f;
  text-align: center;
  margin-bottom: 3rem;
}

.prayer-content {
  max-width: 800px;
  margin: 0 auto;
}

.prayer-text p {
  color: #000000;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  text-align: center;
}

.prayer-card {
  background: #f8fafc;
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.prayer-title {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2f4f6f;
  margin-bottom: 1.5rem;
}

.prayer-body p {
  color: #000000;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-align: left;
}

.prayer-body p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .miracles-intro h2 {
    font-size: 1.75rem;
  }
  
  .miracles-intro p {
    font-size: 1rem;
  }
  
  .miracles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .miracle-card {
    padding: 1.5rem;
  }
  
  .miracle-badge {
    top: -8px;
    right: 15px;
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }
  
  /* Removed miracle-icon responsive styles */
  
  .miracle-card h3 {
    font-size: 1.25rem;
  }
  
  .miracles-process h2,
  .miracles-impact h2,
  .miracles-prayer h2 {
    font-size: 1.75rem;
  }
  
  .process-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .miracles-process,
  .miracles-impact,
  .miracles-prayer {
    padding: 2rem;
  }
  
  .step-item {
    padding: 1.25rem;
  }
  
  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .step-item h3 {
    font-size: 1rem;
  }
  
  .step-item p {
    font-size: 0.85rem;
  }
  
  .impact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .impact-quote {
    padding: 1.5rem;
  }
  
  .impact-quote blockquote p {
    font-size: 1rem;
  }
  
  .prayer-card {
    padding: 1.5rem;
  }
  
  .prayer-title {
    font-size: 1.1rem;
  }
  
  .prayer-body p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 2rem 0 1.5rem;
  }
  
  .page-header h1 {
    font-size: 1.75rem;
  }
  
  .miracles-content {
    padding: 2rem 0;
  }
  
  .miracles-intro {
    margin-bottom: 3rem;
  }
  
  .miracles-intro h2 {
    font-size: 1.5rem;
  }
  
  .miracle-card {
    padding: 1.25rem;
  }
  
  .miracle-badge {
    top: -6px;
    right: 10px;
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
  }
  
  /* Removed miracle-icon responsive styles */
  
  .miracle-card h3 {
    font-size: 1.1rem;
  }
  
  .miracle-story p {
    font-size: 0.9rem;
  }
  
  .miracles-process h2,
  .miracles-impact h2,
  .miracles-prayer h2 {
    font-size: 1.5rem;
  }
  
  .miracles-process,
  .miracles-impact,
  .miracles-prayer {
    padding: 1.5rem;
  }
  
  .step-item {
    padding: 1rem;
  }
  
  .step-number {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  
  .step-item h3 {
    font-size: 0.95rem;
  }
  
  .step-item p {
    font-size: 0.8rem;
  }
  
  .impact-quote {
    padding: 1.25rem;
  }
  
  .impact-quote blockquote p {
    font-size: 0.95rem;
  }
  
  .prayer-card {
    padding: 1.25rem;
  }
  
  .prayer-title {
    font-size: 1rem;
  }
  
  .prayer-body p {
    font-size: 0.9rem;
  }
}

/* Animation for miracle cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.miracle-card {
  animation: fadeInUp 0.6s ease forwards;
}

.miracle-card:nth-child(1) { animation-delay: 0.1s; }
.miracle-card:nth-child(2) { animation-delay: 0.2s; }
.miracle-card:nth-child(3) { animation-delay: 0.3s; }
.miracle-card:nth-child(4) { animation-delay: 0.4s; }
.miracle-card:nth-child(5) { animation-delay: 0.5s; }
.miracle-card:nth-child(6) { animation-delay: 0.6s; }

.step-item {
  animation: fadeInUp 0.6s ease forwards;
}

.step-item:nth-child(1) { animation-delay: 0.1s; }
.step-item:nth-child(2) { animation-delay: 0.2s; }
.step-item:nth-child(3) { animation-delay: 0.3s; }
.step-item:nth-child(4) { animation-delay: 0.4s; }

/* Print styles */
@media print {
  .page-header {
    background: white;
    color: black;
  }
  
  .miracle-card,
  .miracles-process,
  .miracles-impact,
  .miracles-prayer {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .step-item {
    background: #f9f9f9;
  }
  
  .impact-quote,
  .prayer-card {
    background: #f9f9f9;
  }
}
