/* About Page Styles */

/* Hero Section - Similar to Home */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
  margin-top: -120px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(34, 34, 32, 0.85) 0%,
    rgba(209, 11, 21, 0.3) 100%
  );
  z-index: 2;
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  padding: var(--spacing-sm) var(--spacing-lg);
  margin: 0 auto;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
  color: white;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* Vision, Mission, Values Sections */
.vision-section,
.mission-section,
.values-section {
  background-color: var(--bg-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.value-card {
  text-align: center;
  padding: var(--spacing-lg);
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(209, 11, 21, 0.1);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(209, 11, 21, 0.2);
  border-color: transparent;
}

[data-theme="dark"] .value-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
}

.value-card p {
  color: var(--secondary);
  line-height: 1.7;
}

/* Video Section */
.video-section {
  background-color: var(--footer-bg);
  h2.section-title {
    margin-bottom: var(--spacing-sm);
    color: white !important;
  }
  div.section-subtitle {
    color: white !important;
    margin-bottom: var(--spacing-lg);
  }
}

.video-wrapper {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin-top: var(--spacing-md);
}

.about-video {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px var(--shadow);
}

.fullscreen-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition);
}

.fullscreen-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* History Section */
.history-section {
  background-color: var(--bg-color);
}

.history-content {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  align-items: center;
}

.history-image {
  width: 50%;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px var(--shadow);
}

.history-text {
  width: 50%;
  color: var(--secondary);
  line-height: 1.8;
}

/* Team Section */
.team-section {
  background-color: var(--footer-bg);
  h2.section-title {
    margin-bottom: var(--spacing-sm);
    color: white !important;
  }
  div.section-subtitle {
    color: white !important;
    margin-bottom: var(--spacing-lg);
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.team-card {
  text-align: center;
  padding: var(--spacing-lg);
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(209, 11, 21, 0.1);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(209, 11, 21, 0.2);
  border-color: transparent;
}

[data-theme="dark"] .team-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-card img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.team-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--spacing-sm);
}

.team-card p {
  color: var(--secondary);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .values-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .history-content {
    flex-direction: column;
    .history-image,
    .history-text {
      width: 100%;
    }
  }
}

@media (max-width: 767px) {
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}
