/* style/terms-conditions.css */
.page-terms-conditions {
  color: #ffffff; /* Light text on dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Minimum height for hero section */
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
}

.page-terms-conditions__hero-overlay {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
  border-radius: 10px;
}

.page-terms-conditions__main-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold main title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-terms-conditions__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-terms-conditions__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1em;
}

.page-terms-conditions__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #1A1A1A; /* Dark text for contrast */
  border: 2px solid #FFD700;
}

.page-terms-conditions__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-terms-conditions__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-terms-conditions__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: rgba(26, 26, 26, 0.8); /* Slightly lighter dark background for content */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #FFD700; /* Gold section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-terms-conditions__subsection-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold subsection titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions__text {
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-terms-conditions__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum image width */
  min-height: 200px; /* Minimum image height */
  object-fit: cover;
}

.page-terms-conditions__cta-section {
  text-align: center;
  background-color: rgba(255, 215, 0, 0.1); /* Light gold background for CTA */
  padding: 40px;
  margin-top: 60px;
  border-radius: 10px;
  border: 1px solid #FFD700;
}

.page-terms-conditions__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

.page-terms-conditions__button--cta {
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 15px 35px;
  font-size: 1.2em;
  border: 2px solid #FFD700;
}

.page-terms-conditions__button--cta:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__main-title {
    font-size: 2em;
  }

  .page-terms-conditions__intro-text {
    font-size: 1em;
  }

  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }

  .page-terms-conditions__subsection-title {
    font-size: 1.3em;
  }

  .page-terms-conditions__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-terms-conditions__button {
    width: 100%;
    padding: 10px 20px;
  }

  .page-terms-conditions__content-area {
    padding: 20px 15px;
  }

  .page-terms-conditions__content-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }

  .page-terms-conditions__cta-title {
    font-size: 2em;
  }

  .page-terms-conditions__cta-description {
    font-size: 1em;
  }

  .page-terms-conditions__button--cta {
    font-size: 1em;
    padding: 12px 25px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-overlay {
    padding: 20px 15px;
  }

  .page-terms-conditions__main-title {
    font-size: 1.6em;
  }

  .page-terms-conditions__intro-text {
    font-size: 0.9em;
  }

  .page-terms-conditions__content-area {
    padding: 15px 10px;
  }

  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }

  .page-terms-conditions__subsection-title {
    font-size: 1.2em;
  }

  .page-terms-conditions__cta-section {
    padding: 25px;
  }
  .page-terms-conditions__content-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}