/* style/terms-conditions.css */
.page-terms-conditions {
  color: #ffffff; /* Light text on dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #1A1A1A; /* Auxiliary dark background for content area */
}

.page-terms-conditions__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  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;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.page-terms-conditions__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

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

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

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #1A1A1A;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__section {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #2a2a2a;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
}

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

.page-terms-conditions__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-terms-conditions__list-item {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.page-terms-conditions__button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
  border: none;
}

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

.page-terms-conditions__button--secondary {
  background-color: #3a3a3a;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-terms-conditions__button--secondary:hover {
  background-color: #4a4a4a;
  transform: translateY(-2px);
}

.page-terms-conditions__button--cta {
  background-color: #FFD700;
  color: #1A1A1A;
  border: none;
  padding: 18px 35px;
  font-size: 1.3em;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-terms-conditions__button--cta:hover {
  background-color: #e6c200;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-terms-conditions__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-terms-conditions__contact-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-terms-conditions__call-to-action {
  text-align: center;
  padding: 50px 20px;
  background-color: #1f1f1f;
  border: 2px dashed #FFD700;
  border-radius: 10px;
  margin-top: 60px;
}

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

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }
  .page-terms-conditions__hero-title {
    font-size: 2.5em;
  }
  .page-terms-conditions__hero-description {
    font-size: 1.1em;
  }
  .page-terms-conditions__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-terms-conditions__content-area {
    padding: 40px 15px;
  }
  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__paragraph {
    font-size: 1em;
  }
  .page-terms-conditions__button {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%;
  }
  .page-terms-conditions__image {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px;
    min-height: 200px;
  }
  /* Mobile content area image constraint */
  .page-terms-conditions img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-terms-conditions {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-title {
    font-size: 2em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }
  .page-terms-conditions__button--cta {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}