/* Resources sections styling for index1.php */

/* Resources Section 1 */
.resources-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 3px solid #007bff;
  position: relative;
}

.resources-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #0056b3, #004085);
}

.resources-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.resources-section .section-title {
  font-size: 1.6rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.resources-section .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  border-radius: 2px;
}

.resources-section .intro {
  color: #495057;
  line-height: 1.8;
  font-size: 1.1rem;
}

.resources-section h3 {
  font-size: 1.5rem;
  color: #1e4775;
  margin: 40px 0 20px 0;
  font-weight: 600;
  position: relative;
  /* padding-left: 25px; */
}

/* .resources-section h3::before {
  content: '  🎣  ';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}
 */
.resources-section p {
  margin-bottom: 20px;
  color: #6c757d;
  line-height: 1.7;
  text-align: justify;
}

.resources-section ul {
  margin: 25px 0;
  padding-left: 0;
  list-style: none;
}

.resources-section li {
  margin-bottom: 15px;
  padding: 15px 20px;
  background: #ffffff;
  border-left: 4px solid #007bff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.resources-section li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.resources-section li b {
  color: #1e4775;
  font-weight: 600;
}

.resources-section img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.resources-section img:hover {
  transform: scale(1.02);
}

/* Resources Section 2 (uitleg-section) */
.uitleg-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
  border-top: 3px solid #28a745;
  position: relative;
}

.uitleg-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #28a745, #20c997, #17a2b8);
}

.uitleg-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.uitleg-section .section-title {
  font-size: 1.5rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.uitleg-section .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #28a745, #20c997);
  border-radius: 2px;
}

.uitleg-section h3 {
  font-size: 1.5rem;
  color: #155724;
  margin: 40px 0 20px 0;
  font-weight: 600;
  position: relative;
  padding-left: 30px;
  counter-increment: region-counter;
}

/* .uitleg-section h3::before {
  content: counter(region-counter) '. 🏞️';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1em;
  color: #28a745;
  font-weight: bold;
}
 */
.uitleg-section {
  counter-reset: region-counter;
}

.uitleg-section p {
  margin-bottom: 25px;
  color: #495057;
  line-height: 1.8;
  text-align: justify;
  font-size: 1.1rem;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #28a745;
}

.uitleg-section img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  margin: 30px 0;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.uitleg-section img:hover {
  transform: scale(1.03);
}

/* Responsive Design */
@media (max-width: 768px) {
  .resources-section,
  .uitleg-section {
    padding: 40px 0;
  }

  .resources-section .container,
  .uitleg-section .container {
    padding: 0 15px;
  }

  .resources-section .section-title,
  .uitleg-section .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .resources-section h3,
  .uitleg-section h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
  }

  .resources-section li {
    padding: 12px 15px;
    margin-bottom: 12px;
  }

  .resources-section p,
  .uitleg-section p {
    font-size: 1rem;
    padding: 15px;
  }

  .uitleg-section h3 {
    padding-left: 25px;
  }
}

@media (max-width: 480px) {
  .resources-section .section-title,
  .uitleg-section .section-title {
    font-size: 1.8rem;
  }

  .resources-section h3,
  .uitleg-section h3 {
    font-size: 1.3rem;
    padding-left: 20px;
  }

  .resources-section li {
    padding: 10px 12px;
  }

  .resources-section p,
  .uitleg-section p {
    padding: 12px;
    font-size: 0.95rem;
  }
}

/* Animation for better user experience */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.resources-section .intro,
.uitleg-section .container > * {
  animation: fadeInUp 0.6s ease-out;
}

/* Print styles */
@media print {
  .resources-section,
  .uitleg-section {
    background: white !important;
    box-shadow: none !important;
    border: none !important;
  }

  .resources-section li {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }
}