/* style/terms-conditions.css */

/* Biến CSS cho màu sắc */
:root {
  --page-terms-conditions-primary-color: #0A192F;
  --page-terms-conditions-secondary-color: #FFD700;
  --page-terms-conditions-text-light: #F8F8F8;
  --page-terms-conditions-text-dark: #333333;
  --page-terms-conditions-bg-light: #FFFFFF;
  --page-terms-conditions-bg-dark: #1A2B42; /* Màu nền tối hơn từ primary */
}

.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-bg-light);
}

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

.page-terms-conditions__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:hero:abstract,geometric,blue_gold]');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

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

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

.page-terms-conditions__subtitle {
  font-size: 1.2em;
  color: var(--page-terms-conditions-text-light);
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

.page-terms-conditions__sub-heading {
  font-size: 1.5em;
  color: var(--page-terms-conditions-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions p {
  margin-bottom: 15px;
  color: var(--page-terms-conditions-text-dark);
}

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

.page-terms-conditions__list li {
  margin-bottom: 8px;
}

.page-terms-conditions__link {
  color: var(--page-terms-conditions-primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-terms-conditions__link:hover {
  color: var(--page-terms-conditions-secondary-color);
}

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

.page-terms-conditions__image--small {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__image--medium {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__cta-section {
  background-color: var(--page-terms-conditions-bg-dark);
  color: var(--page-terms-conditions-text-light);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin-top: 50px;
}

.page-terms-conditions__cta-section p {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: var(--page-terms-conditions-text-light);
}

.page-terms-conditions__btn {
  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-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__btn:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
}

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

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

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

  .page-terms-conditions__sub-heading {
    font-size: 1.3em;
  }

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

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

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

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

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

  .page-terms-conditions__sub-heading {
    font-size: 1.2em;
  }

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