/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-about__section-padding {
  padding: 80px 20px;
}

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

.page-about__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__section-intro {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(139,0,0,0.6)); /* Blend with brand colors */
  z-index: 2;
}

.page-about__hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 0 20px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold title */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

.page-about__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text for contrast */
  border: 2px solid #FFD700;
}

.page-about__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: #6a0000;
}

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

.page-about__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

/* Mission Vision Section */
.page-about__mission-vision-section {
  background-color: #0d0d0d; /* Slightly lighter dark background */
}

.page-about__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
  height: 100%; /* Ensure cards have equal height */
  box-sizing: border-box;
}

.page-about__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-about__card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-about__card-list {
  list-style: disc inside;
  margin-top: 15px;
  padding-left: 20px;
  color: #e0e0e0;
}

.page-about__card-list li {
  margin-bottom: 8px;
}

/* Why Choose Section */
.page-about__why-choose-section {
  background-color: #1a1a1a;
}

.page-about__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
  height: 100%;
  box-sizing: border-box;
}

.page-about__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__feature-text {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
}

/* Responsible Gambling Section */
.page-about__dark-section {
  background-color: #8B0000; /* Deep red background */
  color: #ffffff;
}

.page-about__dark-section .page-about__section-title {
  color: #FFD700;
}

.page-about__dark-section .page-about__section-intro {
  color: #f0f0f0;
}

.page-about__dark-section .page-about__sub-title {
  color: #FFD700;
}

.page-about__responsible-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-about__responsible-text {
  flex: 1;
  min-width: 300px;
}

.page-about__responsible-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #ffffff;
}

.page-about__responsible-text a {
  color: #FFD700;
  text-decoration: underline;
}

.page-about__responsible-text a:hover {
  color: #e6c200;
}

.page-about__responsible-list {
  list-style: square inside;
  margin-top: 15px;
  padding-left: 20px;
  color: #ffffff;
}

.page-about__responsible-list li {
  margin-bottom: 10px;
}

.page-about__responsible-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  display: block;
}

/* Team Section */
.page-about__team-section {
  background-color: #0d0d0d;
}

.page-about__team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__team-member {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
  height: 100%;
  box-sizing: border-box;
}

.page-about__team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px auto;
  border: 4px solid #FFD700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  max-width: 100%;
  display: block;
}

.page-about__member-name {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 5px;
  font-weight: bold;
}

.page-about__member-role {
  font-size: 1em;
  color: #bbb;
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 0.95em;
  line-height: 1.7;
  color: #e0e0e0;
}

/* Contact Section */
.page-about__contact-section {
  background-color: #8B0000;
}

.page-about__contact-info {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-about__contact-info p {
  margin-bottom: 10px;
}

.page-about__contact-info a {
  color: #FFD700;
  text-decoration: none;
}

.page-about__contact-info a:hover {
  text-decoration: underline;
}

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

/* Conclusion Section */
.page-about__conclusion-section {
  background-color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__section-padding {
    padding: 60px 20px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__card-grid,
  .page-about__feature-grid,
  .page-about__team-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-about__section-padding {
    padding: 40px 15px;
  }
  .page-about__responsible-content {
    flex-direction: column;
  }
  .page-about__responsible-image {
    order: -1; /* Image appears above text on mobile */
    margin-bottom: 20px;
  }
  
  /* Ensure all images are responsive on mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__container,
  .page-about__hero-content,
  .page-about__hero-buttons,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-about__card,
  .page-about__feature-item,
  .page-about__team-member {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    height: 400px;
  }
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__section-intro {
    font-size: 0.9em;
  }
}