/* style/about.css */

/* Common styles for the page-about scope */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-about__section-title {
  font-size: 2.5rem;
  color: #FFD700; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C80000; /* Main color for underline */
  border-radius: 2px;
}

.page-about__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-about__grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__grid-one-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #f0f0f0;
}

.page-about__text-block ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__text-block ul li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-about__image--center {
  margin: 0 auto;
}

.page-about strong {
  color: #FFD700;
}

/* Color contrast specific styles */
.page-about__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff; /* Light text on dark background */
  padding: 80px 0;
}

.page-about__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff; /* Light text on dark background */
  padding: 80px 0;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: #C80000;
  color: #ffffff;
  border: 2px solid #C80000;
}

.page-about__btn-primary:hover {
  background-color: #a00000;
  border-color: #a00000;
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-about__btn-secondary:hover {
  background-color: #FFD700;
  color: #0a0a0a;
}