/* style/terms-conditions.css */

/* Variables (if needed, consistent with shared.css) */
:root {
  --primary-color: #003366; /* Deep Blue */
  --secondary-color: #FFCC00; /* Gold */
  --accent-color: #CC0000; /* Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212; /* Body background color from shared.css */
  --card-bg-dark: rgba(255, 255, 255, 0.08); /* Slightly lighter for cards on dark bg */
  --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-terms-conditions {
  background-color: var(--bg-dark); /* Ensure page background matches body if needed, or is transparent to show body */
  color: var(--text-light); /* Default text color for dark body background */
  min-height: 100vh; /* Ensure it takes full viewport height */
  padding-bottom: 60px; /* Space for footer */
}

/* Fixed Nav Bar Spacing - Desktop */
.page-terms-conditions__hero-section {
  padding-top: 120px; /* Adjust based on actual header height */
  padding-bottom: 40px;
  background-color: var(--primary-color); /* Hero section background */
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-terms-conditions__main-title {
  font-size: 42px;
  color: var(--secondary-color); /* Gold for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
  font-size: 18px;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

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

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

.page-terms-conditions__article {
  background-color: var(--card-bg-dark); /* Card-like background for article content */
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color-dark);
}

.page-terms-conditions__section-title {
  font-size: 28px;
  color: var(--secondary-color); /* Gold for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color-dark);
  font-weight: bold;
}

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

.page-terms-conditions__paragraph {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-terms-conditions__link {
  color: var(--secondary-color); /* Gold for links in paragraphs */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
  color: var(--accent-color); /* Red on hover */
}

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

.page-terms-conditions__list-item {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.page-terms-conditions__list-item strong {
  color: var(--secondary-color);
}

/* Images (general responsive styles) */
.page-terms-conditions img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px auto; /* Center images */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  filter: none; /* Ensure no filter is used on images */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: 38px;
  }
  .page-terms-conditions__hero-description {
    font-size: 17px;
  }
  .page-terms-conditions__section-title {
    font-size: 26px;
  }
  .page-terms-conditions__sub-section-title {
    font-size: 20px;
  }
  .page-terms-conditions__paragraph,
  .page-terms-conditions__list-item {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  /* Fixed Nav Bar Spacing - Mobile */
  .page-terms-conditions__hero-section {
    padding-top: 100px !important; /* Adjust based on actual mobile header height */
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-terms-conditions__hero-container {
    padding: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-terms-conditions__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 0 10px;
  }

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

  .page-terms-conditions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-terms-conditions__article {
    padding: 25px 20px;
    border-radius: 6px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-terms-conditions__sub-section-title {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-terms-conditions__paragraph,
  .page-terms-conditions__list-item {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
  }

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

  /* Image responsive adjustments for mobile */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 15px auto !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Smart contrast for general text on dark body background */
.page-terms-conditions p,
.page-terms-conditions li,
.page-terms-conditions span {
  color: var(--text-light); /* White text on dark background */
}

/* Headings colors */
.page-terms-conditions h1,
.page-terms-conditions h2,
.page-terms-conditions h3,
.page-terms-conditions h4,
.page-terms-conditions h5,
.page-terms-conditions h6 {
  color: var(--secondary-color); /* Gold for headings */
}

/* Special case for paragraph links */
.page-terms-conditions__link {
  color: var(--secondary-color); /* Gold for links */
}
.page-terms-conditions__link:hover {
  color: var(--accent-color); /* Red on hover */
}