/* catalogue.css - Version moderne mise à jour */

/* Hero Section */
.catalogue-container {
  background-color: var(--secondary-color);
  min-height: 100vh;
}

.hero-section {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: var(--gradient-secondary);
}

.hero-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-large);
}

.hero-content {
  color: var(--text-color);
}

.section-title {
  font-size: 14px;
  font-weight: 500;
  color: white;
  margin: 20px 50px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% - 180px);
  height: 1px;
  background: white;
}

.bottom {
  margin-top: 30px;
  width: 100%;
  height: 1px;
  background-color: white;
}
/* Responsive Design */
@media (max-width: 768px) {
  .catalogue-title {
    font-size: 32px;
  }

  .hero-section {
    height: 300px;
  }

  .pdf-viewer-section {
    height: calc(100vh - 300px);
  }

  .pdf-toolbar {
    padding: 8px 16px;
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
  }

  .toolbar-left,
  .toolbar-center,
  .toolbar-right {
    gap: 8px;
  }

  .sidebar-container {
    width: 240px;
  }

  .viewer-container.sidebar-open {
    margin-left: 240px;
  }

  .findbar {
    right: 16px;
    min-width: 280px;
  }

  .page-controls {
    margin-left: 12px;
  }

  .zoom-select {
    min-width: 80px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .catalogue-title {
    font-size: 24px;
  }

  .hero-section {
    height: 200px;
  }

  .pdf-viewer-section {
    height: calc(100vh - 200px);
  }

  .pdf-toolbar {
    padding: 6px 12px;
    height: 56px;
  }

  .toolbar-btn {
    padding: 6px 8px;
    font-size: 14px;
    min-width: 36px;
    height: 36px;
  }

  .sidebar-container {
    width: 100%;
    max-width: 300px;
  }

  .viewer-container.sidebar-open {
    margin-left: 0;
  }

  .findbar {
    left: 12px;
    right: 12px;
    min-width: auto;
  }

  .viewer-scroll {
    padding: 16px;
  }

  .thumbnail-view {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
  }

  .page-controls,
  .zoom-controls {
    background-color: transparent;
    padding: 0;
  }
}

/* Print Styles */
@media print {
  .pdf-toolbar,
  .sidebar-container,
  .findbar {
    display: none !important;
  }

  .viewer-container {
    margin-left: 0 !important;
  }

  .pdf-viewer-section {
    height: auto !important;
  }
}
