/* style/terms-conditions.css */

/* Base styles for the Terms and Conditions page */
.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for default light body background */
  background-color: #f5f5f5; /* Light background for the content area */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Hero Section */
.page-terms-conditions__hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  text-align: center;
  background-color: #8B0000; /* Auxiliary color for a strong header background */
  color: #ffffff; /* White text for dark background */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Slightly transparent to let text stand out */
  z-index: 0;
}

.page-terms-conditions__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-terms-conditions__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* Content Area */
.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.page-terms-conditions__section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.page-terms-conditions__heading {
  font-size: 2em;
  color: #8B0000; /* Auxiliary color for section headings */
  margin-bottom: 15px;
  border-left: 5px solid #FFD700; /* Gold accent */
  padding-left: 10px;
}

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

.page-terms-conditions__link {
  color: #8B0000; /* Auxiliary color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
  color: #FFD700; /* Gold on hover */
  text-decoration: underline;
}

.page-terms-conditions__button {
  display: inline-block;
  background-color: #FFD700; /* Gold for buttons */
  color: #8B0000; /* Dark red text for gold button */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 15px;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  color: #6a0000;
}

.page-terms-conditions__button--primary {
  background-color: #8B0000; /* Dark red for primary action */
  color: #FFD700; /* Gold text for dark red button */
}

.page-terms-conditions__button--primary:hover {
  background-color: #6a0000; /* Darker red on hover */
  color: #ffe033;
}

.page-terms-conditions__final-cta {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #eee;
}

.page-terms-conditions__final-text {
  font-size: 1.3em;
  color: #333;
  margin-bottom: 20px;
}

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

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

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

  .page-terms-conditions__paragraph,
  .page-terms-conditions__final-text {
    font-size: 1em;
  }

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

  .page-terms-conditions__hero-section {
    padding: 60px 15px;
  }

  /* Ensure images do not overflow on mobile */
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }

  /* Content area images must not be small */
  .page-terms-conditions__content-area img {
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-title {
    font-size: 1.8em;
  }

  .page-terms-conditions__heading {
    font-size: 1.4em;
  }

  .page-terms-conditions__button {
    padding: 10px 20px;
    font-size: 1em;
  }
}