/* style/about.css */

/* Base styles for the about page content */
.page-about {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #FFFFFF; /* Light text for dark backgrounds */
  line-height: 1.6;
  background-color: #0A2342; /* Main brand color */
}

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

/* Hero Section */
.page-about__hero {
  background: linear-gradient(135deg, #0A2342 0%, #0A2342 60%, #FFD700 100%); /* Blending main and accent colors */
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:hero:abstract_pattern,gaming,technology,subtle_background]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-about__hero > .page-about__container {
  position: relative;
  z-index: 1;
}

.page-about__hero-title {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #E0E0E0;
}

/* General Section Styles */
.page-about__section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__section:last-of-type {
  border-bottom: none;
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  color: #FFD700; /* Accent color for section titles */
  text-align: center;
}

.page-about__section--mission .page-about__section-title,
.page-about__section--vision .page-about__section-title {
  text-align: left;
}

.page-about__text {
  font-size: 1.1em;
  color: #E0E0E0;
  margin-bottom: 20px;
}

.page-about__text--center {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__highlight {
  color: #FFD700;
  font-weight: 600;
}

/* Grid Layout for Sections */
.page-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

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

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

.page-about__image-block {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-about__btn--primary {
  background-color: #FFD700; /* Accent color for primary actions */
  color: #0A2342; /* Main color for text on accent background */
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-about__btn--primary:hover {
  background-color: #E6C200;
  transform: translateY(-3px);
}

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

.page-about__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2342;
  transform: translateY(-3px);
}

.page-about__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-about__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Why Us Section - Features Grid */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-about__feature-item {
  background-color: #1A3A5D; /* Slightly lighter dark blue for feature cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  background-color: #2A4B70;
}

.page-about__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6)); /* Gold glow for icons */
}

.page-about__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__feature-description {
  font-size: 1em;
  color: #C0C0C0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-about__grid--reverse {
    grid-template-areas: unset; /* Reset grid area for single column */
  }
  .page-about__grid--reverse .page-about__image-block,
  .page-about__grid--reverse .page-about__content-block {
    grid-area: unset;
  }
  .page-about__section--mission .page-about__section-title,
  .page-about__section--vision .page-about__section-title {
    text-align: center;
  }
  .page-about__content-block {
    order: 2; /* Put content below image on mobile for normal flow */
  }
  .page-about__image-block {
    order: 1;
  }
  .page-about__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__hero {
    padding: 80px 0;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section {
    padding: 60px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__text {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-about__hero {
    padding: 60px 0;
  }
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__features-grid {
    gap: 20px;
  }
  .page-about__feature-item {
    padding: 20px;
  }
  .page-about__feature-icon {
    width: 50px;
    height: 50px;
  }
}