/* style/about.css */

:root {
  --color-primary: #C61F1F;
  --color-secondary: #E53030;
  --color-button-gradient-start: #FFB04A;
  --color-button-gradient-end: #D86A14;
  --color-card-bg: #2A1212;
  --color-background-dark: #140C0C;
  --color-text-main: #FFF1E8;
  --color-border: #6A1E1E;
  --color-gold: #F3C54D;
  --color-deep-red: #7E0D0D;
}

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

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

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

.page-about__dark-bg {
  background-color: var(--color-background-dark);
  color: var(--color-text-main);
}

.page-about__light-bg {
  background-color: #f8f8f8;
  color: #333333; /* Dark text for light background */
}

.page-about__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--color-gold);
  font-weight: bold;
}

.page-about__section-title--dark {
  color: var(--color-deep-red);
}

.page-about__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__section-description--dark {
  color: #555555;
}

.page-about__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--color-gold);
}

.page-about__sub-title--dark {
  color: var(--color-deep-red);
}

.page-about__text-block p {
  margin-bottom: 15px;
  text-align: left;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Max height for desktop hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Desktop: cover to fill space */
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--color-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

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

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-about__btn-primary {
  background: var(--color-button-gradient-start);
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-about__btn-secondary:hover {
  background-color: var(--color-gold);
  color: var(--color-background-dark);
}

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

/* Grid Layouts */
.page-about__grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

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

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

.page-about__values-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__values-list li {
  background-color: var(--color-card-bg);
  color: var(--color-text-main);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid var(--color-gold);
  border-radius: 4px;
  font-size: 1.05em;
}

.page-about__values-list li strong {
  color: var(--color-gold);
}

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

.page-about__feature-card {
  background-color: var(--color-card-bg);
  color: var(--color-text-main);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-about__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card image display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__card-title {
  font-size: 1.5em;
  color: var(--color-gold);
  margin-bottom: 15px;
  flex-grow: 0;
}

.page-about__feature-card p {
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-about__product-card {
  background-color: var(--color-card-bg);
  color: var(--color-text-main);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-about__product-card .page-about__btn-secondary {
  margin-top: auto; /* Push button to bottom */
  align-self: flex-start;
}

/* Getting Started Steps */
.page-about__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}