/* ===================================
   LOHAKAR - ABOUT PAGE STYLES
   Industrial Legacy & Excellence
   ===================================

   TABLE OF CONTENTS:
   1. About Hero Section
   2. Story Section
   3. Values Section
   4. Expertise Section
   5. Facility Section
   6. Why Lohakar Section
   7. CTA Section
   8. Animations
   9. Responsive Design

   =================================== */

/* ===================================
   1. ABOUT HERO SECTION
   =================================== */

.about-hero {
  min-height: 70vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--header-height) * -1);
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Metal texture overlay */
.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    );
  pointer-events: none;
  opacity: 0.5;
}

/* Diagonal accent stripe */
.about-hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -40%;
  width: 100%;
  height: 200%;
  background: linear-gradient(
    135deg,
    transparent 35%,
    rgba(192, 57, 43, 0.1) 45%,
    rgba(192, 57, 43, 0.25) 50%,
    rgba(192, 57, 43, 0.1) 55%,
    transparent 65%
  );
  transform: rotate(-15deg);
  pointer-events: none;
  animation: diagonalFlash 8s ease-in-out infinite;
}

@keyframes diagonalFlash {
  0% {
    transform: rotate(-15deg) translateX(-30%) translateY(-10%);
    opacity: 0;
  }
  15% {
    opacity: 0.4;
  }
  50% {
    transform: rotate(-15deg) translateX(30%) translateY(10%);
    opacity: 0.8;
  }
  85% {
    opacity: 0.4;
  }
  100% {
    transform: rotate(-15deg) translateX(-30%) translateY(-10%);
    opacity: 0;
  }
}

.about-hero__overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 4rem 1rem;
}

.about-hero__badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(192, 57, 43, 0.15);
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.about-hero__badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(192, 57, 43, 0.3),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  to {
    left: 100%;
  }
}

.about-hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: white;
}

.about-hero__title-highlight {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.about-hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
}

/* ===================================
   2. STORY SECTION
   =================================== */

.about-story {
  padding: 6rem 0;
  background: var(--bg-color);
}

.about-story__content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-story__header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-story__number {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(192, 57, 43, 0.2);
  line-height: 1;
  flex-shrink: 0;
}

.about-story__title-wrapper {
  flex: 1;
  padding-top: 0.5rem;
}

.about-story__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.about-story__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-story__text {
  border-left: 6px solid var(--secondary-color);
  padding-left: 2rem;
}

.about-story__paragraph {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.9;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.about-story__paragraph--highlight {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--primary-color);
  font-weight: 600;
  padding: 2rem;
  background: rgba(192, 57, 43, 0.05);
  border-left: 4px solid var(--secondary-color);
  margin: 2rem 0;
}

/* ===================================
   3. VALUES SECTION
   =================================== */

.about-values {
  padding: 6rem 0;
  background: var(--bg-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.value-card {
  background: white;
  padding: 2.5rem;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--accent-color)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: rgba(192, 57, 43, 0.2);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card__number {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(192, 57, 43, 0.1);
  line-height: 1;
}

.value-card__icon {
  width: 60px;
  height: 60px;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.value-card__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.value-card__description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* ===================================
   4. EXPERTISE SECTION
   =================================== */

.about-expertise {
  padding: 6rem 0;
  background: var(--bg-color);
}

.about-expertise__header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 4rem;
}

.about-expertise__number {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(192, 57, 43, 0.2);
  line-height: 1;
  flex-shrink: 0;
}

.about-expertise__title-wrapper {
  flex: 1;
  padding-top: 0.5rem;
}

.about-expertise__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.about-expertise__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.expertise-item {
  background: white;
  padding: 2.5rem;
  border-left: 4px solid var(--secondary-color);
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.expertise-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-left-width: 6px;
}

.expertise-item__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.expertise-item__icon-wrapper {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.expertise-item__icon-wrapper svg,
.expertise-item__icon-wrapper img {
  width: 100%;
  height: 100%;
  filter: brightness(0) saturate(100%) invert(23%) sepia(53%) saturate(2647%)
    hue-rotate(346deg) brightness(91%) contrast(90%);
}

.expertise-item:hover .expertise-item__icon-wrapper svg,
.expertise-item:hover .expertise-item__icon-wrapper img {
  filter: brightness(0) saturate(100%) invert(30%) sepia(88%) saturate(1574%)
    hue-rotate(340deg) brightness(95%) contrast(90%);
}

.expertise-item__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.expertise-item__description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.expertise-item__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.expertise-item__spec {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  background: rgba(192, 57, 43, 0.1);
  color: var(--secondary-color);
  border: 1px solid rgba(192, 57, 43, 0.3);
}

/* ===================================
   5. FACILITY SECTION
   =================================== */

.about-facility {
  padding: 6rem 0;
  background: var(--bg-light);
}

.about-facility__content {
  max-width: 1100px;
  margin: 0 auto;
}

.about-facility__header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 4rem;
}

.about-facility__number {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(192, 57, 43, 0.2);
  line-height: 1;
  flex-shrink: 0;
}

.about-facility__title-wrapper {
  flex: 1;
  padding-top: 0.5rem;
}

.about-facility__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.about-facility__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.facility-features {
  display: grid;
  gap: 2.5rem;
}

.facility-feature {
  display: flex;
  gap: 2rem;
  background: white;
  padding: 2.5rem;
  border-left: 4px solid var(--secondary-color);
  transition: all 0.3s ease;
}

.facility-feature:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.facility-feature__icon {
  width: 60px;
  height: 60px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.facility-feature__icon svg {
  width: 100%;
  height: 100%;
}

.facility-feature__content {
  flex: 1;
}

.facility-feature__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.facility-feature__description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
}

/* ===================================
   6. WHY LOHAKAR SECTION
   =================================== */

.about-why {
  padding: 6rem 0;
  background: var(--bg-black);
  color: white;
  position: relative;
  overflow: hidden;
}

.about-why::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.02) 2px,
    rgba(255, 255, 255, 0.02) 4px
  );
  pointer-events: none;
}

.about-why__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.about-why__content {
  text-align: center;
}

.about-why__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.about-why__divider {
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--accent-color)
  );
  margin: 0 auto 4rem;
}

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

.why-item {
  text-align: left;
  position: relative;
  padding-top: 3rem;
}

.why-item__number {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(192, 57, 43, 0.3);
  line-height: 1;
}

.why-item__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.why-item__description {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   7. CTA SECTION
   =================================== */

.about-cta {
  padding: 8rem 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    );
  pointer-events: none;
  opacity: 0.5;
}

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

.about-cta__badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(192, 57, 43, 0.15);
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.about-cta__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.about-cta__description {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
}

.about-cta__buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Fix outline button visibility on dark background */
.about-cta .btn--outline {
  border-color: #ffffff;
  color: #ffffff;
}

.about-cta .btn--outline:hover,
.about-cta .btn--outline:focus {
  background-color: #ffffff;
  color: var(--primary-color);
  border-color: #ffffff;
}

/* ===================================
   8. ANIMATIONS
   =================================== */

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===================================
   9. RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
  .about-story__header,
  .about-expertise__header,
  .about-facility__header {
    flex-direction: column;
    gap: 1rem;
  }

  .about-story__number,
  .about-expertise__number,
  .about-facility__number {
    font-size: 3rem;
  }

  .about-story__text {
    border-left-width: 4px;
    padding-left: 1rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .facility-feature {
    flex-direction: column;
    gap: 1.5rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-cta__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .about-cta__buttons .btn {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Accessibility: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .about-hero::after,
  .about-hero__badge::before {
    animation: none;
  }

  .value-card:hover,
  .expertise-item:hover,
  .facility-feature:hover {
    transform: none;
  }
}

/* ===================================
   END OF ABOUT PAGE STYLES
   =================================== */
