/* style/about.css */
:root {
  --primary-color: #1A202C; /* Deep Slate */
  --secondary-color: #FFD700; /* Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #121212;
  --background-light: #f4f4f4;
  --border-color: #333333;
  --accent-color: #FF4500; /* OrangeRed for highlights */
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--background-dark);
}

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

.page-about-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-about-section:last-of-type {
  border-bottom: none;
}

.page-about h1,
.page-about h2,
.page-about h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-about h1 {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1.2;
  color: var(--text-light);
}

.page-about h2 {
  font-size: 2.2em;
  font-weight: bold;
  margin-top: 40px;
  color: var(--secondary-color);
}

.page-about h3 {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--text-light);
}

.page-about p {
  margin-bottom: 15px;
  text-align: justify;
  color: #cccccc;
}

.page-about ul {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
  color: #cccccc;
}

.page-about ul li {
  margin-bottom: 8px;
}

.page-about a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about a:hover {
  color: var(--accent-color);
}

.page-about-cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  text-align: center;
}

.page-about-cta-button:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Hero Section */
.page-about-hero {
  position: relative;
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #000000 100%);
  overflow: hidden;
}

.page-about-hero-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-about-hero-content h1 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-about-hero-content p {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 30px;
}

/* Image content */
.page-about-image-content {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about-value-item {
  background-color: var(--primary-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about-value-item h3 {
  margin-top: 0;
  color: var(--secondary-color);
}

.page-about-value-item p {
  color: #cccccc;
  font-size: 0.95em;
}

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

.page-about-product-item {
  background-color: var(--primary-color);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about-product-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}

.page-about-product-item h3 {
  margin-top: 0;
  color: var(--secondary-color);
}

.page-about-product-item p {
  color: #cccccc;
  font-size: 0.9em;
  margin-bottom: 15px;
}

.page-about-link-small {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: bold;
  text-decoration: underline;
  font-size: 0.9em;
}

.page-about-link-small:hover {
  color: var(--accent-color);
}

.page-about-link-email {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-about-link-contact {
  color: var(--secondary-color);
  font-weight: bold;
}

/* FAQ Section */
.page-about-faq {
  background-color: var(--background-dark);
}

.page-about-faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: var(--primary-color);
  color: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #2a3447;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-light);
  text-align: left;
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #1A202C;
  color: #cccccc;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 300px; /* Adjust as needed to fit content */
  padding: 20px 25px;
  transition: max-height 0.4s ease-in, padding 0.4s ease-in;
}

.faq-answer p {
  margin: 0;
  text-align: left;
}

/* Contact Section */
.page-about-contact {
  text-align: center;
}

.page-about-contact ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-about-contact ul li {
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about h1 {
    font-size: 2.4em;
  }
  .page-about h2 {
    font-size: 1.8em;
  }
  .page-about h3 {
    font-size: 1.4em;
  }
  .page-about-hero-image {
    max-height: 400px;
  }
  .page-about-value-grid, .page-about-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about-section {
    padding: 40px 0;
  }
  .page-about-container {
    padding: 15px;
  }
  .page-about h1 {
    font-size: 2em;
  }
  .page-about h2 {
    font-size: 1.6em;
  }
  .page-about h3 {
    font-size: 1.2em;
  }
  .page-about-hero-image {
    max-height: 300px;
  }
  .page-about-value-grid, .page-about-product-grid {
    grid-template-columns: 1fr;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-about h1 {
    font-size: 1.8em;
  }
  .page-about-cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-about-hero-content p {
    font-size: 1em;
  }
  .page-about-product-item img {
    height: 150px;
  }
}