/* style/about.css */

:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-on-dark: #ffffff;
  --text-on-light: #333333;
  --light-bg: #f8f9fa;
  --dark-bg-section: #1A202C;
  --border-color: #e0e0e0;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-on-dark); /* Body background is dark, so default text is light */
  background-color: #0a0a0a; /* Matches body background */
  padding-top: 120px; /* Adjust for fixed header */
}

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

.page-about__hero-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0a0a0a 100%);
  color: var(--text-on-dark);
}

.page-about__main-title {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-about__description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-about__cta-button--small {
  font-size: 16px;
  padding: 12px 30px;
}

.page-about__cta-button--primary {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-about__cta-button--primary:hover {
  background: #0d1017;
  border-color: #e6c200;
}

.page-about__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-about__cta-button--secondary:hover {
  background: #e6c200;
  border-color: #e6c200;
}

.page-about__cta-button--inverted {
  background: var(--text-on-dark);
  color: var(--primary-color);
  border: 2px solid var(--text-on-dark);
}

.page-about__cta-button--inverted:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
}

.page-about__content-section {
  padding: 60px 0;
  color: var(--text-on-dark);
}

.page-about__dark-bg {
  background-color: var(--dark-bg-section);
  color: var(--text-on-dark);
}

.page-about__section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
  font-weight: bold;
}

.page-about__subsection-title {
  font-size: 28px;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__text-block {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__image-wrapper {
  margin: 30px auto 40px auto;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-about__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid var(--secondary-color);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 17px;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-about__contact-cta {
  padding: 80px 0;
  background-color: #0d1017; /* Slightly darker than primary for contrast */
  color: var(--text-on-dark);
  text-align: center;
}

.page-about__container--flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.page-about__contact-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-about__contact-cta .page-about__section-title {
  color: var(--secondary-color);
  margin-bottom: 15px;
  text-align: left;
}

.page-about__contact-cta .page-about__text-block {
  color: #f0f0f0;
  font-size: 17px;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 42px;
  }

  .page-about__section-title {
    font-size: 32px;
  }

  .page-about__subsection-title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: 100px !important; /* Adjust for mobile fixed header */
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

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

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

  .page-about__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-about__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 18px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__cta-button--small {
    font-size: 15px;
    padding: 10px 20px;
  }

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

  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-about__subsection-title {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-about__text-block,
  .page-about__list-item {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__image-wrapper {
    margin: 20px auto 30px auto;
  }

  .page-about__image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__list-item {
    padding: 12px 15px;
  }

  .page-about__contact-cta {
    padding: 50px 0;
  }

  .page-about__container--flex {
    flex-direction: column;
    text-align: center;
  }

  .page-about__contact-text {
    text-align: center;
    min-width: unset;
    width: 100%;
    margin-bottom: 20px;
  }

  .page-about__contact-cta .page-about__section-title {
    text-align: center;
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 28px;
  }
  .page-about__section-title {
    font-size: 24px;
  }
  .page-about__subsection-title {
    font-size: 20px;
  }
  .page-about__cta-button {
    font-size: 16px;
    padding: 10px 20px;
  }
}