/* Download Page - Industrial Aesthetic Styles */

/* Industrial Color Palette */
:root {
  --industrial-blue: #0A2463;
  --industrial-navy: #1E3A5F;
  --industrial-teal: #3E92CC;
  --industrial-light-blue: #E8F4FC;
  --industrial-dark: #1A1A2E;
  --industrial-steel: #4A5568;
}

/* Page Banner */
.page-banner {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.page-banner__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.page-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 36, 99, 0.9) 0%, rgba(30, 58, 95, 0.7) 100%);
}

.page-banner__content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}

.page-breadcrumb {
  margin-bottom: 20px;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
}

.page-breadcrumb a:hover {
  color: var(--color-primary);
}

.page-breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 12px;
}

.page-breadcrumb__current {
  color: var(--color-primary);
  font-weight: 600;
}

.page-banner__title {
  font-size: 42px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.page-banner__slogan {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

/* Main Content Layout */
.main-content {
  background: var(--industrial-light-blue);
  padding: 60px 24px;
}

.main-content__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 30px;
}

/* Download List Section */
.download-section {
  background: #FFFFFF;
  padding: 40px;
}

.download-section__header {
  margin-bottom: 40px;
}

.download-section__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--industrial-dark);
  letter-spacing: 0.5px;
}

/* Download Grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.download-card {
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  overflow: hidden;
  transition: all 0.3s ease;
}

.download-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.download-card__img {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.download-card__img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 36, 99, 0.2) 0%, transparent 50%);
}

.download-card__content {
  padding: 20px;
}

.download-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--industrial-dark);
  margin-bottom: 15px;
  text-align: center;
  line-height: 1.4;
}

.download-card__btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.download-card__btn:hover {
  background: #e59500;
  transform: scale(1.02);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #E8E8E8;
}

.pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #E8E8E8;
  background: #FFFFFF;
  color: var(--industrial-steel);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pagination__btn:hover,
.pagination__btn--active {
  background: var(--industrial-blue);
  color: #FFFFFF;
  border-color: var(--industrial-blue);
}

.pagination__btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination__btn--disabled:hover {
  background: #FFFFFF;
  color: var(--industrial-steel);
}

/* Sidebar */
.sidebar {
  background: #FFFFFF;
  padding: 30px;
}

.sidebar__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--industrial-dark);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar__links {
  list-style: none;
}

.sidebar__link {
  display: block;
  padding: 12px 15px;
  color: var(--industrial-steel);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.sidebar__link:hover {
  background: var(--industrial-light-blue);
  color: var(--industrial-blue);
  padding-left: 20px;
}

.sidebar__link--active {
  background: var(--industrial-blue);
  color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .download-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .main-content__inner {
    grid-template-columns: 1fr;
  }
  
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .page-banner__title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
  
  .download-section {
    padding: 25px;
  }
  
  .main-content {
    padding: 40px 15px;
  }
  
  .page-banner__title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .page-banner__title {
    font-size: 24px;
  }
  
  .download-card__img {
    height: 250px;
  }
}