/* style/terms-conditions.css */

/* Base styles for the Terms and Conditions page */
.page-terms-conditions {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #000; /* Assuming body background is black from shared.css */
}

/* Top padding for the first content section to clear fixed header */
.page-terms-conditions__hero-section {
  padding-top: 120px; /* Adjust as needed for fixed header height */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #007bff, #0056b3); /* Dark blue gradient */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #ffd700; /* Golden yellow for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__hero-subtitle {
  font-size: 1.2em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-terms-conditions__content-section {
  padding: 60px 0;
  background-color: #000; /* Ensure content section also has dark background */
  color: #ffffff;
}

.page-terms-conditions__text-block {
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.08); /* Slightly visible background for readability */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #ffd700; /* Golden yellow for main titles */
  margin-bottom: 25px;
  border-bottom: 2px solid #007bff;
  padding-bottom: 10px;
}

.page-terms-conditions h3 {
  font-size: 1.8em;
  color: #007bff; /* Primary blue for subtitles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 30px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-terms-conditions__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-terms-conditions__cta-section {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background: linear-gradient(45deg, #007bff, #28a745); /* Mix of primary and accent */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__cta-section p {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 25px;
  color: #ffffff;
}

.page-terms-conditions__btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-terms-conditions__btn--primary {
  background: #ffd700; /* Golden yellow for primary action */
  color: #000000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__btn--primary:hover {
  background: #ffc107;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding-top: 100px; /* Adjust for mobile fixed header */
    padding-bottom: 40px;
  }
  
  .page-terms-conditions__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-terms-conditions__hero-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-terms-conditions__content-section {
    padding: 40px 0;
  }

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

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

  .page-terms-conditions p,
  .page-terms-conditions__list-item {
    font-size: 0.95em;
  }

  .page-terms-conditions__list {
    margin-left: 20px;
  }

  .page-terms-conditions__cta-section {
    padding: 30px 20px;
    margin-top: 40px;
  }

  .page-terms-conditions__cta-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
  }

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

  /* Force images to adapt to mobile width */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-terms-conditions__container,
  .page-terms-conditions__text-block,
  .page-terms-conditions__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }
  .page-terms-conditions__cta-section p {
    font-size: 1em;
  }
  .page-terms-conditions__btn {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}