/* style/about.css */

/* General Page Styles */
.page-about {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark gray for body text for good contrast on light backgrounds */
  background-color: #f9f9f9;
}

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

.page-about-section {
  padding: 60px 0;
  text-align: center;
}

.page-about-section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-about-section-title {
  font-size: 2.5em;
  color: #007BFF; /* Main brand color */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-about-section-title .page-about-highlight {
  color: #FFD700; /* Auxiliary color for highlight */
}

.page-about p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #555555;
}

/* Hero Section */
.page-about-hero {
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%); /* Darker blue gradient */
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, rgba(0, 123, 255, 0) 70%);
  opacity: 0.3;
  animation: page-about-hero-pulse 10s infinite alternate;
}

@keyframes page-about-hero-pulse {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.1); opacity: 0.5; }
}

.page-about-hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-about-hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 30px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.page-about-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1.1em;
}

.page-about-btn-primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #000000; /* Black for high contrast on yellow */
}

.page-about-btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about-btn-secondary {
  background-color: #007BFF; /* Main brand color */
  color: #ffffff;
  border: 2px solid #007BFF;
}

.page-about-btn-secondary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about-btn-large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Grid Layout */
.page-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

@media (min-width: 768px) {
  .page-about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-about-reverse-grid {
    grid-template-areas: "image content";
  }
  .page-about-reverse-grid .page-about-content-block {
    grid-area: content;
  }
  .page-about-reverse-grid .page-about-image-block {
    grid-area: image;
  }
}

.page-about-content-block h2 {
  text-align: left;
}

.page-about-image-block {
  text-align: center;
}

/* Images */
.page-about-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about-image-small {
  max-width: 80%;
  margin-top: 20px;
}

.page-about-image-full {
  margin-top: 40px;
  max-width: 90%;
}

.page-about-image-large {
  max-width: 90%;
  margin: 20px auto;
}

/* Mission & Vision Section */
.page-about-mission-vision h2 {
  margin-bottom: 15px;
}

.page-about-mission-vision p {
  color: #444444;
}

/* History Timeline */
.page-about-history-timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px 0;
}

.page-about-history-timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #007BFF;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.page-about-timeline-item {
  padding: 20px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.page-about-timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: #FFD700;
  border: 4px solid #007BFF;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.page-about-timeline-item h3 {
  color: #007BFF;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.page-about-timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.page-about-timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.page-about-timeline-item:nth-child(odd)::after {
  left: auto;
  right: -17px;
}

.page-about-timeline-item:nth-child(even)::after {
  left: -17px;
  right: auto;
}

.page-about-timeline-item p {
  font-size: 1em;
  color: #666666;
}

@media (max-width: 767px) {
  .page-about-history-timeline::before {
    left: 20px;
  }
  .page-about-timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
    left: 0 !important;
    text-align: left !important;
  }
  .page-about-timeline-item::after {
    left: 13px !important;
  }
}

/* Advantages Section */
.page-about-advantages-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-about-advantage-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about-advantage-item h3 {
  color: #007BFF;
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-about-advantage-item p {
  font-size: 1em;
  color: #666666;
}

.page-about-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

/* Responsible Gambling Section */
.page-about-responsible-gambling {
  background-color: #f0f8ff; /* Very light blue */
  padding: 80px 0;
}

.page-about-responsible-gambling .page-about-section-title {
  color: #0056b3; /* Darker blue for emphasis */
}

/* Final CTA Section */
.page-about-cta-final {
  background-color: #007BFF;
  color: #ffffff;
  padding: 80px 0;
}

.page-about-cta-final .page-about-section-title {
  color: #ffffff;
}

.page-about-cta-final .page-about-highlight {
  color: #FFD700;
}

.page-about-cta-final p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.page-about-text-center {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about-hero-title {
    font-size: 3em;
  }
  .page-about-hero-subtitle {
    font-size: 1.3em;
  }
  .page-about-section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-about-hero {
    padding: 80px 0;
  }
  .page-about-hero-title {
    font-size: 2.5em;
  }
  .page-about-hero-subtitle {
    font-size: 1.1em;
  }
  .page-about-section {
    padding: 40px 0;
  }
  .page-about-section-title {
    font-size: 1.8em;
  }
  .page-about p {
    font-size: 1em;
  }
  .page-about-btn {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-about-btn-large {
    padding: 12px 25px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-about-hero-title {
    font-size: 2em;
  }
  .page-about-hero-subtitle {
    font-size: 0.9em;
  }
  .page-about-section-title {
    font-size: 1.5em;
  }
  .page-about-advantage-item {
    padding: 20px;
  }
  .page-about-history-timeline::before {
    left: 10px;
  }
  .page-about-timeline-item {
    padding-left: 40px;
  }
  .page-about-timeline-item::after {
    left: 3px !important;
  }
}