/* About Page Specific Styling */

/* Body specific style for about page */
.about-page {
  background: linear-gradient(145deg, #0f0f0f 0%, #181818 50%, #0f0f0f 100%);
}

/* Active navigation state */
.nav-links a.active {
  color: var(--accent-light);
}

.nav-links a.active:before {
  width: 100%;
}

/* About Hero Section */
.about-hero {
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/3.jpg") center/cover no-repeat fixed;
  position: relative;
  text-align: center;
  padding-top: 8rem;
}

.about-hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(138, 15, 30, 0.3) 0%,
    rgba(15, 15, 15, 0.7) 100%
  );
  z-index: 1;
}

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

.about-hero-content h1 {
  font-size: 5rem;
  color: var(--off-white);
  margin-bottom: 2rem;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
}

.about-hero-content h1:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.about-hero-content p {
  font-size: 1.8rem;
  color: var(--text);
  max-width: 700px;
  margin: 2rem auto 0;
  line-height: 1.7;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Philosophy Section */
.philosophy-section {
  padding: 8rem 0;
  position: relative;
  background: var(--gradient-dark);
}

.philosophy-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(138, 15, 30, 0.05) 0%,
    rgba(15, 15, 15, 0.05) 100%
  );
  z-index: 0;
}

.philosophy-content {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.philosophy-intro {
  font-size: 1.8rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  color: var(--text);
  max-width: 800px;
}

.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.philosophy-card {
  background: linear-gradient(
    145deg,
    rgba(30, 30, 30, 0.8) 0%,
    rgba(25, 25, 25, 0.8) 100%
  );
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 161, 82, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.philosophy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 161, 82, 0.2);
}

.philosophy-icon {
  margin-bottom: 1.5rem;
  color: var(--accent-light);
  font-size: 2.4rem;
}

.philosophy-card h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: var(--off-white);
  position: relative;
  padding-bottom: 1rem;
}

.philosophy-card h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
}

.philosophy-card p {
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--text);
}

.philosophy-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  overflow: hidden;
}

.philosophy-image:before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100px;
  height: 100px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  z-index: 1;
}

.philosophy-image:after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  z-index: 1;
}

.philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.philosophy-image:hover img {
  transform: scale(1.05);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  padding: 2rem;
  color: var(--text);
  font-size: 1.4rem;
  font-style: italic;
}

/* Journey Section (Timeline) */
.journey-section {
  padding: 8rem 0;
  position: relative;
  background: var(--dark-bg);
}

.journey-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(212, 161, 82, 0.05) 0%,
    rgba(138, 15, 30, 0.05) 100%
  );
  z-index: 0;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 5rem auto 0;
  padding: 2rem 0;
  z-index: 1;
}

.timeline:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent),
    var(--accent-light),
    transparent
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-marker {
  position: absolute;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  color: var(--dark-bg);
  padding: 1rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.6rem;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.timeline-content {
  width: 45%;
  background: linear-gradient(
    145deg,
    rgba(30, 30, 30, 0.8) 0%,
    rgba(25, 25, 25, 0.8) 100%
  );
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 161, 82, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 161, 82, 0.2);
}

.timeline-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: var(--accent-light);
}

.timeline-content p {
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--text);
}

/* Team Section */
.team-section {
  padding: 8rem 0;
  position: relative;
  background: var(--gradient-dark);
}

.team-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(138, 15, 30, 0.05) 0%,
    rgba(15, 15, 15, 0.05) 100%
  );
  z-index: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 5rem;
  position: relative;
  z-index: 1;
}

.team-member {
  background: linear-gradient(
    145deg,
    rgba(30, 30, 30, 0.8) 0%,
    rgba(25, 25, 25, 0.8) 100%
  );
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 161, 82, 0.1);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 161, 82, 0.2);
}

.member-image {
  height: 300px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 2.5rem;
}

.member-info h3 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  color: var(--off-white);
}

.member-position {
  font-size: 1.5rem;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.member-info p {
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--text);
}

/* About Testimonials Section */
.about-testimonials {
  padding: 8rem 0;
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/img/gallery/stellenbosch_vineyard_view.jpg") center/cover no-repeat
      fixed;
}

.about-testimonials:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(138, 15, 30, 0.4) 0%,
    rgba(15, 15, 15, 0.4) 100%
  );
  z-index: 1;
}

.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 5rem auto 0;
  z-index: 2;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.8s ease forwards;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-quote {
  background: linear-gradient(
    145deg,
    rgba(25, 25, 25, 0.9) 0%,
    rgba(30, 30, 30, 0.9) 100%
  );
  padding: 4rem;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-left: 3px solid var(--accent);
  position: relative;
}

.testimonial-quote:before {
  content: '"';
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 8rem;
  color: rgba(212, 161, 82, 0.2);
  font-family: Georgia, serif;
  line-height: 0.8;
}

.testimonial-quote p {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
  color: var(--text);
}

.quote-author {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.author-name {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--accent-light);
}

.author-title {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text);
  margin-top: 0.5rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  gap: 2rem;
}

.testimonial-prev,
.testimonial-next {
  background: linear-gradient(
    135deg,
    rgba(138, 15, 30, 0.8) 0%,
    rgba(183, 42, 56, 0.8) 100%
  );
  color: var(--off-white);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  transform: scale(1.1);
  background: linear-gradient(
    135deg,
    rgba(212, 161, 82, 0.8) 0%,
    rgba(240, 194, 123, 0.8) 100%
  );
}

.testimonial-indicators {
  display: flex;
  gap: 1rem;
}

.indicator {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--accent-light);
  transform: scale(1.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Certifications Section */
.certifications-section {
  padding: 8rem 0;
  position: relative;
  background: var(--dark-bg);
}

.certifications-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(138, 15, 30, 0.05) 0%,
    rgba(212, 161, 82, 0.05) 100%
  );
  z-index: 0;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 5rem;
  position: relative;
  z-index: 1;
}

.certification-card {
  background: linear-gradient(
    145deg,
    rgba(30, 30, 30, 0.8) 0%,
    rgba(25, 25, 25, 0.8) 100%
  );
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 161, 82, 0.1);
  text-align: center;
}

.certification-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 161, 82, 0.2);
}

.certification-icon {
  margin: 0 auto 2rem;
  color: var(--accent-light);
  font-size: 3rem;
  width: 7rem;
  height: 7rem;
  background: linear-gradient(
    145deg,
    rgba(40, 40, 40, 0.6) 0%,
    rgba(35, 35, 35, 0.6) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(212, 161, 82, 0.2);
}

.certification-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--off-white);
  position: relative;
  padding-bottom: 1.5rem;
}

.certification-card h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
}

.certification-card p {
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--text);
}

/* About CTA Section */
.about-cta {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("/test_sites/2/3.jpg") center/cover no-repeat fixed;
  padding: 8rem 0;
  position: relative;
  text-align: center;
}

.about-cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(138, 15, 30, 0.4) 0%,
    rgba(15, 15, 15, 0.6) 100%
  );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3.6rem;
  color: var(--off-white);
  margin-bottom: 2rem;
}

.cta-content p {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .philosophy-content {
    flex-direction: column;
  }

  .timeline:before {
    left: 0;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 30px;
  }

  .timeline-marker {
    left: -15px;
    top: 15px;
    transform: scale(0.8);
  }

  .timeline-content {
    width: 100%;
    margin-left: 15px !important;
    margin-right: 0 !important;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .about-hero-content h1 {
    font-size: 3.5rem;
  }

  .about-hero-content p {
    font-size: 1.6rem;
  }

  .philosophy-cards {
    grid-template-columns: 1fr;
  }

  .certification-card {
    padding: 2.5rem;
  }

  .testimonial-quote {
    padding: 3rem 2rem;
  }

  .testimonial-quote p {
    font-size: 1.6rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .about-hero-content h1 {
    font-size: 3rem;
  }

  .timeline-marker {
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
  }

  .team-member {
    max-width: 320px;
    margin: 0 auto;
  }

  .testimonial-controls {
    gap: 1rem;
  }
}
