/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main from custom palette, contrasts with body background #B71C1C */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #B71C1C; /* Background from custom palette */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: bold;
  color: #FFD86A; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF5E1;
}

.page-about__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for text on gold button */
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid #F2B544; /* Border from custom palette */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), 0 0 15px #FFCC66; /* Glow from custom palette */
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 20px #FFCC66;
}

.page-about__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: bold;
  color: #FFD86A; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-about__sub-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #FFF5E1; /* Text Main for subtitles */
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-about__text {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #FFF5E1;
}

.page-about__dark-section {
  background-color: #D32F2F; /* Card B G from custom palette */
  padding: 60px 0;
  color: #FFF5E1;
}

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

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

.page-about__grid--reverse .page-about__grid-item:first-child {
  order: 2;
}

.page-about__grid--reverse .page-about__grid-item:last-child {
  order: 1;
}

.page-about__grid-item {
  display: flex;
  flex-direction: column;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #F2B544; /* Border from custom palette */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #FFF5E1;
}

.page-about__feature-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #FFD86A; /* Gold color for feature titles */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-about__feature-description {
  font-size: 0.95em;
  color: #FFF5E1;
}

.page-about__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #C91F17; /* Primary brand color for text */
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid #C91F17;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-about__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__commitment-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.page-about__commitment-content .page-about__image {
  flex-shrink: 0;
  max-width: 50%;
}

.page-about__cta-section {
  background-color: #B71C1C; /* Background from custom palette */
  padding: 80px 0;
  text-align: center;
  color: #FFF5E1;
}

.page-about__cta-section .page-about__text {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-about__grid {
    grid-template-columns: 1fr;
  }
  
  .page-about__grid--reverse .page-about__grid-item:first-child {
    order: initial;
  }
  
  .page-about__grid--reverse .page-about__grid-item:last-child {
    order: initial;
  }

  .page-about__commitment-content {
    flex-direction: column;
    text-align: center;
  }
  
  .page-about__commitment-content .page-about__image {
    max-width: 100%;
  }
}

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

  .page-about__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }

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

  .page-about__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
  }

  .page-about__sub-title {
    font-size: 1.4em;
  }

  .page-about__text,
  .page-about__hero-description,
  .page-about__feature-description {
    font-size: 0.95em;
  }

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

  /* Image containers responsive */
  .page-about__hero-image-wrapper,
  .page-about__grid-item,
  .page-about__commitment-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }

  /* Button containers responsive */
  .page-about__hero-content,
  .page-about__grid-item:nth-of-type(1) {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-about__cta-section .page-about__text {
    padding: 0 15px;
  }
  
  .page-about__feature-item {
    padding: 15px;
  }
}