/* CSS file for about.html */

/* Variables from custom color scheme */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --card-bg: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}

.page-about {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Default text color for dark body background */
  background-color: var(--background-color); /* Ensure consistency with body bg */
  line-height: 1.6;
}

/* HERO Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: var(--background-color);
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-about__hero-description {
  font-size: 1.1em;
  color: var(--text-main-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General Section Styling */
.page-about__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  line-height: 1.3;
}

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

.page-about__text-block {
  font-size: 1.05em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__text-block a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-about__text-block a:hover {
  text-decoration: underline;
}

.page-about__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  object-fit: cover;
}

/* Dark sections for contrast */
.page-about__dark-section {
  background-color: var(--card-bg);
  color: var(--text-main-color);
}

.page-about__dark-section .page-about__section-title {
  color: var(--primary-color);
}

.page-about__dark-section .page-about__text-block {
  color: var(--text-main-color);
}

/* Values Section */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-about__value-card {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-about__value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

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

.page-about__value-description {
  font-size: 1em;
  color: var(--text-main-color);
}

/* Products & Services Section */
.page-about__product-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-about__product-item {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.page-about__product-name {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__product-description {
  font-size: 0.95em;
  color: var(--text-main-color);
}

/* Commitment Section */
.page-about__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-about__commitment-item {
  background-color: var(--background-color);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
  font-size: 1.05em;
}

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

/* Team Section */
.page-about__team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-about__member-card {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 1px solid var(--border-color);
}

.page-about__member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px auto;
  border: 3px solid var(--primary-color);
}

.page-about__member-name {
  font-size: 1.7em;
  color: var(--secondary-color);
  margin-bottom: 8px;
  font-weight: 600;
}

.page-about__member-role {
  font-size: 0.95em;
  color: var(--text-main-color);
}

/* Responsibility Section */
.page-about__responsibility-list {
  list-style: disc;
  padding-left: 30px;
  margin-top: 30px;
  color: var(--text-main-color);
}

.page-about__responsibility-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

/* Future Vision Section */
.page-about__cta-buttons--bottom {
  margin-top: 50px;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* Forced white text for contrast */
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 0 15px var(--glow-color);
}

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

.page-about__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 0 15px var(--glow-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2em, 4.5vw, 2.8em);
  }

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

  .page-about__container {
    padding: 30px 15px;
  }

  .page-about__values-grid,
  .page-about__product-list,
  .page-about__team-members {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO Section */
  .page-about__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    padding-bottom: 30px;
  }
  
  .page-about__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-about__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width on mobile */
    margin: 0 auto;
  }

  /* General Section */
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-about__container {
    padding: 25px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-about__text-block {
    font-size: 1em;
  }

  /* All Images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Card and Container Images */
  .page-about__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

  /* Values Section */
  .page-about__values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  /* Products & Services Section */
  .page-about__product-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__product-item {
    padding: 20px;
  }

  .page-about__product-name {
    font-size: 1.4em;
  }

  /* Commitment Section */
  .page-about__commitment-item {
    padding: 15px;
    font-size: 1em;
  }

  /* Team Section */
  .page-about__team-members {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-about__member-photo {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
  }

  .page-about__member-name {
    font-size: 1.5em;
  }

  /* Responsibility Section */
  .page-about__responsibility-list {
    padding-left: 20px;
    font-size: 1em;
  }

  /* Buttons - Mobile specific */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  
  .page-about__hero-cta-buttons,
  .page-about__cta-buttons--bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Force vertical stacking for multiple buttons */
    gap: 15px;
  }
}

/* Placeholder styles for other sections (as per requirement, even if not used directly on this 'about' page) */
.page-about__home-content { /* Not directly used on about page, but required for CSS completeness check */
  border: 1px solid #FBB00D;
  border-radius: 10px;
  height: 650px;
  overflow-y: auto;
  padding: 20px;
  color: var(--text-main-color);
  background-color: var(--background-color);
  margin-top: 40px;
}

.page-about__home-content h2 {
  color: var(--primary-color);
  font-size: 2em;
  margin-bottom: 20px;
}

.page-about__home-content p {
  margin-bottom: 15px;
}

.page-about__row-games, .page-about__row-sport, .page-about__row-coop {
  background-color: var(--card-bg);
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
  margin-top: 40px;
}

.page-about__games-title, .page-about__sport-title, .page-about__coop-title {
  color: var(--text-main-color);
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 30px;
}

.page-about__slider-wrapper {
  overflow: hidden;
  margin-top: 30px;
}

.page-about__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease-in-out;
}

.page-about__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  background-color: var(--background-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  text-align: center;
  padding-bottom: 15px;
  border: 1px solid var(--border-color);
}

.page-about__game-slide img {
  width: 100%;
   /* Example height for game slide images */
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.page-about__game-slide h3 {
  font-size: 1.1em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-about__game-slide a {
  display: inline-block;
  background: var(--button-gradient);
  color: #ffffff;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
}

.page-about__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 40px auto;
}

.page-about__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-about__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 40px;
}

.page-about__blog-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-color);
}

.page-about__blog-card img {
  width: 100%;
  height: 200px; /* Example fixed height for blog card image */
  object-fit: cover;
}

.page-about__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-about__blog-card-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__blog-card-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-about__blog-card-title a:hover {
  text-decoration: underline;
}

.page-about__blog-card-meta {
  font-size: 0.85em;
  color: #aaa;
  margin-bottom: 15px;
}

.page-about__blog-card-description {
  font-size: 0.95em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__blog-card-link {
  display: inline-block;
  margin-top: auto;
}

.page-about__btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

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

.page-about__blog-slider {
  margin-top: 40px;
  position: relative;
}

.page-about__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.page-about__blog-slider-track::-webkit-scrollbar {
  height: 8px;
}

.page-about__blog-slider-track::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.page-about__blog-slider-track::-webkit-scrollbar-track {
  background: var(--card-bg);
}

.page-about__blog-slide {
  flex: 0 0 calc(33.333% - 14px); /* 3 items with gaps */
  max-width: calc(33.333% - 14px);
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: 1px solid var(--border-color);
}

.page-about__blog-slide img {
  width: 100%;
  
  object-fit: cover;
}

.page-about__blog-slide-content {
  padding: 15px;
}

.page-about__blog-slider-prev, .page-about__blog-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.2em;
  z-index: 10;
}

.page-about__blog-slider-prev { left: 10px; }
.page-about__blog-slider-next { right: 10px; }

@media (max-width: 768px) {
  /* Additional mobile styles for the placeholder sections */
  .page-about__home-content {
    height: auto;
    overflow-y: visible;
    margin-top: 20px;
  }
  .page-about__home-content h2 {
    font-size: 1.6em;
  }
  .page-about__row-games, .page-about__row-sport, .page-about__row-coop {
    padding: 20px 15px;
    margin-top: 20px;
  }
  .page-about__games-title, .page-about__sport-title, .page-about__coop-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-about__slider-track {
    gap: 10px;
  }
  .page-about__game-slide {
    flex: 0 0 160px; /* Smaller width for mobile */
    max-width: 160px;
  }
  .page-about__game-slide img {
    
  }
  .page-about__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns on mobile */
    gap: 8px;
    margin: 20px auto;
  }
  .page-about__banner-item img {
     /* Smaller image size for mobile */
    
  }
  .page-about__blog-masonry {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
  }
  .page-about__blog-card img {
    
  }
  .page-about__blog-card-title {
    font-size: 1.1em;
  }
  .page-about__blog-card-meta {
    font-size: 0.8em;
  }
  .page-about__blog-card-description {
    font-size: 0.9em;
  }
  .page-about__blog-slider-track {
    gap: 15px;
  }
  .page-about__blog-slide {
    flex: 0 0 100%; /* Full width for mobile */
    max-width: 100%;
  }
  .page-about__blog-slide img {
    
  }
  .page-about__blog-slider-prev, .page-about__blog-slider-next {
    padding: 8px 12px;
    font-size: 1em;
  }
}