/* public/css/partner.css */

/* Banner 區域 */
.page-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  max-width: 800px;
  padding: 0 2rem;
}

.banner-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.banner-description {
  font-size: 1.125rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* Partner 區域 */
.partner-section {
  padding: 5rem 2rem;
  background-color: #fff;
}

.partner-container {
  max-width: 1200px;
  margin: 0 auto;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
}

.logo-container {
  background-color: #f8f9fa;
  border-radius: 20px;
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #454545;
  width: 100%;
  height: 80%;
  margin: 0 auto;
  cursor: pointer;
}

.logo-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.logo-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  height: auto;
}

/* 響應式設計 */
@media (max-width: 1024px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .banner-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .partner-section {
    padding: 3rem 1rem;
  }

  .banner-title {
    font-size: 2rem;
  }

  .banner-subtitle {
    font-size: 1.25rem;
  }

  .banner-description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .logo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .banner-content {
    padding: 0 1rem;
  }

  .banner-title {
    font-size: 1.75rem;
  }
}
