/* Reports Hero Section */
.reports-hero {
  text-align: center;
  padding: 60px 20px 50px;
  background: linear-gradient(135deg, #003366 0%, #0056b3 50%, #0066cc 100%);
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.reports-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  animation: moveGrid 30s linear infinite;
  opacity: 0.4;
}

@keyframes moveGrid {
  from { transform: translate(0, 0); }
  to { transform: translate(50px, 50px); }
}

.reports-title-animate {
  font-size: 3em;
  color: #ffffff;
  margin: 0 0 15px 0;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  animation: titleBounce 1.5s ease-out;
  position: relative;
  z-index: 1;
}

@keyframes titleBounce {
  0% { opacity: 0; transform: translateY(-50px) scale(0.8); }
  60% { transform: translateY(10px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.reports-subtitle {
  font-size: 1.3em;
  color: #ffd700;
  margin: 10px 0 20px 0;
  animation: fadeIn 2s;
  position: relative;
  z-index: 1;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.title-underline {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
  margin: 0 auto;
  border-radius: 2px;
  animation: expandLine 1.5s ease-out;
  position: relative;
  z-index: 1;
}

@keyframes expandLine {
  from { width: 0; opacity: 0; }
  to { width: 100px; opacity: 1; }
}

/* Reports Layout with Sidebar */
.reports-layout {
  display: flex;
  gap: 30px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* Sticky Side Navigation */
.week-navigation {
  flex: 0 0 220px;
  position: sticky;
  top: 20px;
  height: fit-content;
  background: linear-gradient(135deg, #ffffff, #f0f8ff);
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,86,179,0.15);
  border: 2px solid rgba(0,86,179,0.1);
}

.week-navigation h3 {
  margin: 0 0 20px 0;
  color: #003366;
  font-size: 1.3em;
  text-align: center;
  border-bottom: 3px solid #0056b3;
  padding-bottom: 10px;
}

.week-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.week-nav-list li {
  margin-bottom: 8px;
}

.nav-link {
  display: block;
  padding: 10px 15px;
  color: #003366;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0056b3, #0066cc);
  transition: width 0.3s;
  z-index: -1;
}

.nav-link:hover {
  color: white;
  transform: translateX(5px);
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link.active {
  background: #0056b3;
  color: white;
}

/* Main Reports Content */
.reports-content {
  flex: 1;
  min-width: 0;
}

/* Week Section */
.week-section {
  background: linear-gradient(135deg, #ffffff, #fafcff);
  padding: 35px;
  margin-bottom: 40px;
  border-radius: 20px;
  box-shadow: 0 6px 30px rgba(0,86,179,0.15);
  border-left: 6px solid #0056b3;
  transition: transform 0.3s, box-shadow 0.3s;
  scroll-margin-top: 20px;
}

.week-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,86,179,0.25);
}

/* Week Header */
.week-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 3px solid #e6f2ff;
}

.week-header h2 {
  margin: 0;
  color: #003366;
  font-size: 2em;
  position: relative;
}

.week-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ffd700;
  border-radius: 2px;
}

.week-date {
  background: linear-gradient(135deg, #0056b3, #0066cc);
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 1em;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0,86,179,0.3);
}

.doc-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-radius: 12px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.doc-download-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 25px rgba(255,215,0,0.5);
}

.doc-download-btn img {
  width: 40px;
  height: 40px;
  display: block;
}

/* Week Gallery */
.week-gallery {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-slider {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,86,179,0.2);
}

.gallery-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.gallery-img.active {
  opacity: 1;
  z-index: 1;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #0056b3;
  width: 30px;
  border-radius: 6px;
}

.dot:hover {
  background: #0066cc;
  transform: scale(1.2);
}

/* Reveal Animation */
.reveal-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s, transform 0.8s;
}

.reveal-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .reports-layout {
    flex-direction: column;
  }
  
  .week-navigation {
    position: relative;
    top: 0;
    flex: 1;
    max-width: 100%;
  }
  
  .week-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .week-nav-list li {
    margin: 0;
    flex: 1 1 calc(25% - 10px);
    min-width: 80px;
  }
}

@media (max-width: 768px) {
  .reports-title-animate {
    font-size: 2.2em;
  }
  
  .week-section {
    padding: 25px 20px;
  }
  
  .gallery-slider {
    height: 300px;
  }
  
  .week-header h2 {
    font-size: 1.6em;
  }
}
