/* 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 light background */
  background-color: #f5f5f5; /* Light background for the page content */
}

/* Hero Section */
.page-terms-conditions__hero-section {
  position: relative;
  background-color: #1A1A1A; /* Dark background for hero */
  color: #ffffff; /* Light text for dark background */
  padding-top: var(--header-offset, 120px);
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay */
  z-index: 0;
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 20px;
}

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

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  line-height: 1.8;
  color: #f0f0f0;
}

/* Content Wrapper */
.page-terms-conditions__content-wrapper {
  background-color: #ffffff; /* White background for main content */
  padding: 60px 0;
}

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

/* Section Styling */
.page-terms-conditions__section {
  margin-bottom: 50px;
  padding: 30px;
  background-color: #fcfcfc;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #1A1A1A; /* Dark text for section titles */
  margin-bottom: 25px;
  border-bottom: 3px solid #FFD700; /* Gold underline */
  padding-bottom: 10px;
  display: inline-block;
}

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

/* Images within content */
.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-terms-conditions__image--small {
    max-width: 600px; /* Example for smaller image */
}

/* Call to Action Buttons */
.page-terms-conditions__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Ensure padding is included in width */
  max-width: 100%; /* For responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

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

.page-terms-conditions__btn-primary:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  color: #000000;
  transform: translateY(-2px);
}

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

.page-terms-conditions__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-terms-conditions__hero-title {
    font-size: 2.2em;
  }
  .page-terms-conditions__hero-description {
    font-size: 1.1em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__paragraph {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-bottom: 40px;
  }

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

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

  .page-terms-conditions__container {
    padding: 0 15px;
  }

  .page-terms-conditions__section {
    padding: 20px;
    margin-bottom: 30px;
  }

  .page-terms-conditions__section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .page-terms-conditions__paragraph {
    font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-terms-conditions__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
    min-width: unset;
    min-height: unset;
  }

  /* Mobile button responsiveness */
  .page-terms-conditions__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Ensure all content containers are responsive */
  .page-terms-conditions__content-wrapper,
  .page-terms-conditions__container,
  .page-terms-conditions__section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}