/* style/about.css */

/* Biến CSS */
:root {
  --page-about-primary-color: #0A192F; /* Deep Blue */
  --page-about-accent-color: #FFD700; /* Gold */
  --page-about-text-light: #F0F0F0; /* Light text for dark backgrounds */
  --page-about-text-dark: #333333; /* Dark text for light backgrounds */
  --page-about-background-dark: #0A192F; /* Main dark background */
  --page-about-background-light: #F9F9F9; /* Light background for contrast */
  --page-about-border-color: #304050;
  --page-about-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-about__hero {
  background: linear-gradient(135deg, var(--page-about-primary-color) 0%, #1A2B47 100%);
  padding: 100px 0;
  text-align: center;
  color: var(--page-about-text-light);
  position: relative;
  overflow: hidden;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-about-accent-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
}

.page-about__btn--primary {
  background-color: var(--page-about-accent-color);
  color: var(--page-about-primary-color);
  border: 2px solid var(--page-about-accent-color);
}

.page-about__btn--primary:hover {
  background-color: transparent;
  color: var(--page-about-accent-color);
}

.page-about__btn--secondary {
  background-color: var(--page-about-primary-color);
  color: var(--page-about-accent-color);
  border: 2px solid var(--page-about-accent-color);
}

.page-about__btn--secondary:hover {
  background-color: var(--page-about-accent-color);
  color: var(--page-about-primary-color);
}

.page-about__btn--outline {
  background-color: transparent;
  color: var(--page-about-accent-color);
  border: 2px solid var(--page-about-accent-color);
  margin-left: 20px;
}

.page-about__btn--outline:hover {
  background-color: var(--page-about-accent-color);
  color: var(--page-about-primary-color);
}

.page-about__section {
  padding: 80px 0;
  text-align: center;
}

.page-about__section:nth-of-type(odd) {
  background-color: var(--page-about-background-dark);
  color: var(--page-about-text-light);
}

.page-about__section:nth-of-type(even) {
  background-color: #1A2B47;
  color: var(--page-about-text-light);
}

.page-about__section-title {
  font-size: 2.8em;
  margin-bottom: 40px;
  color: var(--page-about-accent-color);
  position: relative;
  display: inline-block;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 80px;
  height: 4px;
  background-color: var(--page-about-accent-color);
  border-radius: 2px;
}

.page-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
}

.page-about__grid--reverse {
  grid-template-areas: "image content";
}

.page-about__grid--reverse .page-about__image-wrapper {
  grid-area: image;
}

.page-about__grid--reverse .page-about__content-block {
  grid-area: content;
}

.page-about__content-block p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #CCCCCC;
}

.page-about__image-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--page-about-shadow);
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-about__value-item {
  background-color: #1A2B47;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--page-about-shadow);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid var(--page-about-border-color);
}

.page-about__value-item:hover {
  transform: translateY(-10px);
  background-color: #2A3B57;
}

.page-about__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--page-about-accent-color));
}

.page-about__value-title {
  font-size: 1.8em;
  color: var(--page-about-accent-color);
  margin-bottom: 15px;
}

.page-about__value-item p {
  color: #CCCCCC;
  font-size: 1em;
}

.page-about__cta {
  background: linear-gradient(45deg, var(--page-about-accent-color) 0%, #FFC107 100%);
  padding: 80px 0;
  color: var(--page-about-primary-color);
}

.page-about__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--page-about-primary-color);
}

.page-about__cta-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-about-primary-color);
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .page-about__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-about__grid--reverse {
    grid-template-areas: unset;
  }

  .page-about__hero-title {
    font-size: 2.8em;
  }

  .page-about__section-title {
    font-size: 2.2em;
  }

  .page-about__cta-title {
    font-size: 2.5em;
  }

  .page-about__btn--outline {
    margin-left: 0;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .page-about__hero {
    padding: 80px 0;
  }

  .page-about__hero-title {
    font-size: 2.2em;
  }

  .page-about__hero-subtitle {
    font-size: 1.2em;
  }

  .page-about__section {
    padding: 60px 0;
  }

  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__content-block p {
    font-size: 1em;
  }

  .page-about__values-grid {
    grid-template-columns: 1fr;
  }

  .page-about__value-item {
    padding: 25px;
  }

  .page-about__value-title {
    font-size: 1.5em;
  }

  .page-about__icon {
    width: 50px;
    height: 50px;
  }

  .page-about__cta-title {
    font-size: 2em;
  }

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

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

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

  .page-about__section-title {
    font-size: 1.6em;
  }

  .page-about__cta-title {
    font-size: 1.8em;
  }

  .page-about__btn {
    display: block;
    width: 100%;
    margin: 10px 0 !important;
  }
}