/* style/terms-conditions.css */
.page-terms-conditions {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px);
}

.page-terms-conditions__hero-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3; /* Slightly dim the background image for text readability */
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(26, 32, 44, 0.85); /* Main color with transparency */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-terms-conditions__hero-button,
.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color for buttons */
  color: #1A202C; /* Main color for button text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__hero-button:hover,
.page-terms-conditions__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.8;
}

.page-terms-conditions__section {
  background-color: #1A202C; /* Main color for section background */
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border-left: 5px solid #FFD700; /* Auxiliary color accent */
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #FFD700; /* Auxiliary color for section titles */
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.page-terms-conditions__section-paragraph {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.page-terms-conditions__section-image {
  width: 100%;
  max-width: 800px; /* Constrain max width */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__cta-section {
  text-align: center;
  background-color: #1A202C;
  border-radius: 10px;
  padding: 50px;
  margin-top: 60px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border: 2px solid #FFD700;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__cta-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__hero-title {
    font-size: 2.8em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: var(--header-offset, 80px);
  }
  .page-terms-conditions__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }
  .page-terms-conditions__hero-content {
    padding: 30px;
  }
  .page-terms-conditions__hero-title {
    font-size: 2.2em;
  }
  .page-terms-conditions__hero-description {
    font-size: 1em;
  }
  .page-terms-conditions__content-area {
    padding: 40px 15px;
  }
  .page-terms-conditions__section {
    padding: 20px;
    margin-bottom: 30px;
  }
  .page-terms-conditions__section-title {
    font-size: 1.6em;
  }
  .page-terms-conditions__section-paragraph {
    font-size: 0.95em;
  }
  .page-terms-conditions__cta-section {
    padding: 40px;
    margin-top: 40px;
  }
  .page-terms-conditions__cta-title {
    font-size: 2em;
  }
  .page-terms-conditions__cta-description {
    font-size: 1.1em;
  }
  .page-terms-conditions__hero-button,
  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  /* Ensure content area images are responsive and don't overflow */
  .page-terms-conditions__content-area img {
    max-width: 100%;
    height: auto;
    width: auto; /* Override any fixed width */
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-section {
    min-height: 300px;
  }
  .page-terms-conditions__hero-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__hero-description {
    font-size: 0.9em;
  }
  .page-terms-conditions__hero-content {
    padding: 20px;
  }
  .page-terms-conditions__section-title {
    font-size: 1.4em;
  }
  .page-terms-conditions__cta-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__cta-description {
    font-size: 1em;
  }
}