/* About Page Specific Styles */

/* Variables overrides if necessary for this page scope */
:root {
  --hero-height: 85vh;
}

/* Layout Utilities */
.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-800 {
  max-width: 800px;
}

.section-spacing {
  padding: var(--space-16) 0;
}

.bg-surface {
  background-color: var(--color-bg-surface);
}

.bg-surface-alt {
  background-color: var(--color-bg-surface-alt);
}

.rounded {
  border-radius: var(--radius-md);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.py-24 {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}

.text-lg {
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
}

.text-white {
  color: #ffffff;
}

/* Grid Enhancements */
.grid-cols-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Hero Section */
.about-hero {
  position: relative;
  height: var(--hero-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: zoomSlow 20s infinite alternate;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.4), var(--color-bg-body));
}

.hero-content h1 {
  margin-bottom: var(--space-6);
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-content .lead {
  font-size: var(--text-xl);
  color: var(--color-secondary);
  max-width: 800px;
  margin: 0 auto var(--space-8) auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Feature Cards */
.feature-card {
  height: 100%;
  border-top: 1px solid var(--color-primary);
  background: linear-gradient(180deg, var(--color-bg-surface) 0%, var(--color-bg-body) 100%);
  padding: var(--space-8);
}

.feature-card h4 {
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

/* Decorative Elements */
.tech-interface {
  width: 100%;
  height: 300px;
  border: 1px solid var(--color-border);
  position: relative;
  background: 
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%),
    linear-gradient(45deg, transparent 48%, var(--color-border) 49%, var(--color-border) 51%, transparent 52%);
  background-size: 100% 100%, 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-line {
  width: 150px;
  height: 2px;
  background-color: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}

.tech-circle {
  width: 60px;
  height: 60px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  position: absolute;
  animation: pulseGlow 3s infinite ease-in-out;
}

/* Vision Section */
.bg-absolute {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-heavy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 6, 23, 0.85);
}

/* Animations */
@keyframes zoomSlow {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
  50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
}

/* Scroll Reveals */
.fade-in-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up {
  transform: translateY(30px);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-cols-2,
  .grid-cols-3 {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }

  .order-1-mobile {
    order: 1;
  }
  
  .order-2-mobile {
    order: 2;
  }

  .about-hero {
    height: 70vh;
  }
  
  h1 {
    font-size: var(--text-3xl);
  }
}