/* style/partners.css */

/* Base styles for the partners page */
.page-partners {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #1a1a1a (dark), so text should be light */
  background-color: transparent; /* Inherit from body, or ensure it doesn't conflict */
}

.page-partners__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-partners__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Auxiliary color for titles */
}

.page-partners__description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-partners__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Hero Section */
.page-partners__hero-section {
  position: relative;
  padding-top: 0; /* Assuming shared.css handles body padding-top: var(--header-offset) */
  padding-bottom: 80px;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Adjust as needed */
  background: linear-gradient(135deg, #2C2F4C, #1a1a1a); /* Dark gradient for the hero background */
  overflow: hidden;
}

.page-partners__hero-container {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.page-partners__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for hero title */
  line-height: 1.2;
}

.page-partners__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.5;
}

.page-partners__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color for primary action */
  color: #2C2F4C; /* Main color for text on auxiliary background */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
}

.page-partners__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-partners__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  opacity: 0.3; /* Subtle background image */
}

.page-partners__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Introduction Section */
.page-partners__introduction-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff; /* Light text */
}

/* Benefits Section */
.page-partners__benefits-section {
  padding: 80px 0;
  background-color: #2C2F4C; /* Main brand color for dark section */
  color: #ffffff; /* Light text */
}

.page-partners__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-partners__benefit-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-partners__benefit-card:hover {
  transform: translateY(-5px);
}

.page-partners__benefit-card img {
  width: 100%;
  max-width: 250px; /* Adjusted size for benefit images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-partners__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700; /* Auxiliary color for card titles */
}

.page-partners__card-text {
  font-size: 16px;
  color: #f0f0f0;
}

/* Models Section */
.page-partners__models-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-partners__model-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

.page-partners__model-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly darker transparent white */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-partners__model-card:hover {
  transform: translateY(-5px);
}