/* style/terms-conditions.css */

/* Variables for color scheme */
:root {
  --page-terms-conditions-primary-color: #1A2E47;
  --page-terms-conditions-secondary-color: #FFD700;
  --page-terms-conditions-text-light: #F8F8F8;
  --page-terms-conditions-text-dark: #333333;
  --page-terms-conditions-background-light: #FFFFFF;
  --page-terms-conditions-background-dark: #122033;
  --page-terms-conditions-link-hover: #E5C100;
}

.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: var(--page-terms-conditions-text-dark);
  line-height: 1.6;
  background-color: var(--page-terms-conditions-background-light);
}

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

.page-terms-conditions__hero {
  background: linear-gradient(135deg, var(--page-terms-conditions-primary-color) 0%, #0D1C2F 100%);
  padding: 80px 0;
  color: var(--page-terms-conditions-text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,pattern,dark]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-terms-conditions__hero > * {
  position: relative;
  z-index: 1;
}

.page-terms-conditions__title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: var(--page-terms-conditions-secondary-color);
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__subtitle {
  font-size: 1.3em;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.page-terms-conditions__content {
  padding: 60px 0;
  background-color: var(--page-terms-conditions-background-light);
}

.page-terms-conditions__article {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.page-terms-conditions__heading {
  font-size: 2em;
  color: var(--page-terms-conditions-primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--page-terms-conditions-secondary-color);
  padding-bottom: 10px;
  font-weight: 700;
}

.page-terms-conditions__heading:first-of-type {
  margin-top: 0;
}

.page-terms-conditions p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--page-terms-conditions-text-dark);
}

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

.page-terms-conditions ul li {
  margin-bottom: 8px;
  font-size: 1.05em;
}

.page-terms-conditions a {
  color: var(--page-terms-conditions-primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-terms-conditions a:hover {
  color: var(--page-terms-conditions-link-hover);
  text-decoration: underline;
}

.page-terms-conditions__image-wrapper {
  text-align: center;
  margin: 30px 0;
  background-color: #F9F9F9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
  margin: 0 auto 15px auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-terms-conditions__image-caption {
  font-style: italic;
  font-size: 0.95em;
  color: #666;
}

.page-terms-conditions__cta-wrapper {
  background-color: var(--page-terms-conditions-primary-color);
  color: var(--page-terms-conditions-text-light);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__cta-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120%;
  height: 120%;
  background: url('[GALLERY:bg:abstract,light,pattern]') no-repeat center center/cover;
  opacity: 0.05;
  z-index: 0;
}

.page-terms-conditions__cta-wrapper > * {
  position: relative;
  z-index: 1;
}

.page-terms-conditions__cta-text {
  font-size: 1.5em;
  margin-bottom: 25px;
  font-weight: 600;
  color: var(--page-terms-conditions-text-light);
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: var(--page-terms-conditions-secondary-color);
  color: var(--page-terms-conditions-primary-color);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-button:hover {
  background-color: var(--page-terms-conditions-link-hover);
  transform: translateY(-3px);
  text-decoration: none;
}

.page-terms-conditions__cta-image {
  max-width: 250px;
  height: auto;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__title {
    font-size: 2.5em;
  }

  .page-terms-conditions__subtitle {
    font-size: 1.1em;
  }

  .page-terms-conditions__article {
    padding: 25px;
  }

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

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

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

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

@media (max-width: 480px) {
  .page-terms-conditions__title {
    font-size: 2em;
  }

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

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

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

  .page-terms-conditions__article {
    padding: 15px;
  }

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

  .page-terms-conditions__cta-wrapper {
    padding: 30px 20px;
  }

  .page-terms-conditions__cta-text {
    font-size: 1.1em;
  }

  .page-terms-conditions__cta-button {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-terms-conditions__cta-image {
    max-width: 180px;
  }
}