/* style/terms-conditions.css */

/* Variables for consistency */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light: #f9f9f9;
  --border-color: #333333;
}

/* Base styles for the page content, ensuring contrast with body background */
.page-terms-conditions {
  background-color: var(--bg-dark); /* Inherited from body, but explicitly set for safety */
  color: var(--text-light); /* Light text for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Desktop: Spacing for fixed header */
  min-height: calc(100vh - 200px); /* Adjust based on header/footer height */
}

/* Hero Section */
.page-terms-conditions__hero-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(139, 0, 0, 0.7) 50%, var(--bg-dark) 100%);
  border-bottom: 3px solid var(--primary-color);
}

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

.page-terms-conditions__main-title {
  font-size: 3.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-terms-conditions__description {
  font-size: 1.2em;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Call to Action Button */
.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-dark); /* Dark text on gold button for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.page-terms-conditions__cta-button:hover {
  background: #FFEB3B; /* Slightly lighter gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Content Section */
.page-terms-conditions__content-section {
  padding: 50px 20px;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  font-weight: bold;
}

.page-terms-conditions__sub-title {
  font-size: 1.6em;
  color: var(--text-light);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-terms-conditions p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: var(--text-light);
}

.page-terms-conditions ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-terms-conditions li {
  margin-bottom: 8px;
  font-size: 1.05em;
  color: var(--text-light);
}

.page-terms-conditions a {
  color: var(--primary-color); /* Links in primary color */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-terms-conditions a:hover {
  color: #FFFACD; /* Lighter gold on hover */
}

/* Image responsive styles (no images on this page, but good to have general rule) */
.page-terms-conditions img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: 100px !important; /* Mobile: Spacing for fixed header */
    font-size: 15px;
  }

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

  .page-terms-conditions__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-terms-conditions__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-terms-conditions__cta-button {
    padding: 12px 30px !important;
    font-size: 1em !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-terms-conditions__content-section {
    padding: 30px 15px;
  }

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

  .page-terms-conditions__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

  /* Image responsive for mobile */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__main-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }
  .page-terms-conditions__sub-title {
    font-size: 1.2em;
  }
}