/* style/terms-conditions.css */

/* Base Styles for 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: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  overflow-x: hidden; /* Prevent horizontal scrolling on mobile */
}

/* Hero Section */
.page-terms-conditions__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  padding: 80px 20px;
  overflow: hidden;
}

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

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

.page-terms-conditions__hero-content {
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent black overlay for readability */
  padding: 40px;
  border-radius: 10px;
  display: inline-block;
  max-width: 800px;
}

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  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;
}

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for action */
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-terms-conditions__hero-button:hover {
  background-color: #e0a53b;
}

/* Main Content Area */
.page-terms-conditions__content-area {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__article {
  padding: 20px 0;
}

.page-terms-conditions__heading {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.8;
  color: #333333;
}

.page-terms-conditions__link {
  color: #000000; /* Primary color for links */
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
  color: #FCBC45;
}

.page-terms-conditions__action-call {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #f8f8f8;
  border-radius: 8px;
  border: 1px solid #eee;
}

.page-terms-conditions__action-text {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-terms-conditions__action-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__action-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

/* Image Styling - Ensure minimum size */
.page-terms-conditions__hero-image img {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 60px 15px;
  }

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

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

  .page-terms-conditions__hero-content {
    padding: 25px;
  }

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

  .page-terms-conditions__heading {
    font-size: 1.6em;
    margin-top: 30px;
  }

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

  .page-terms-conditions__action-text {
    font-size: 1.2em;
  }

  .page-terms-conditions__action-button {
    padding: 15px 25px;
    font-size: 1.1em;
  }

  /* Mobile content image constraint */
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-terms-conditions__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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