/* =======================================================
   ABOUT PAGE STYLES - Modern, Animated, Premium
   ======================================================= */

.about-main-wrapper {
  overflow-x: hidden;
  background-color: var(--bg-white, #fff);
  width: 100%;
}

/* -------------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------------- */
.about-hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--bg-white, #fff);
  padding: 0 20px;
}

.about-title {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 800;
  color: var(--deep-navy, #0b132b);
  margin: 0;
  line-height: 1.1;
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
}

.about-subtitle {
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-medium, #666);
  margin-top: 20px;
  max-width: 600px;
  opacity: 0;
  animation: fadeUp 1s ease-out 0.3s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s ease-out 1s forwards;
}

.scroll-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-medium, #666);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(
    to bottom,
    var(--primary-blue, #0056b3),
    transparent
  );
  animation: scrollPulse 2s infinite;
}

/* -------------------------------------------------------------------
   SECTIONS & LAYOUT
   ------------------------------------------------------------------- */
.about-section {
  padding: 120px 0;
  position: relative;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Specific Section Styles */
.story-section {
  background-color: var(--bg-white, #fff);
}

.quality-section {
  background-color: var(--deep-navy, #0b132b);
  color: #fff;
}

.quality-section .section-title,
.quality-section .section-subtitle,
.quality-section .section-desc p {
  color: #fff;
}

.quality-section .section-desc p {
  opacity: 0.8;
}

.sustainability-section {
  background: linear-gradient(180deg, var(--bg-white, #fff) 0%, #f4fbf6 100%);
}

/* -------------------------------------------------------------------
   TYPOGRAPHY & CONTENT
   ------------------------------------------------------------------- */
.about-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-blue, #0056b3);
  margin-bottom: 20px;
  background: rgba(0, 86, 179, 0.1);
  padding: 8px 16px;
  border-radius: 50px;
}

.about-badge.light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.about-badge.green {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
}

.section-title {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--deep-navy, #0b132b);
  margin-bottom: 15px;
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-blue, #0056b3);
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-desc p {
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-medium, #555);
  margin-bottom: 20px;
}

/* -------------------------------------------------------------------
   VISUALS & EFFECTS
   ------------------------------------------------------------------- */
.image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.2s ease;
}

.image-frame:hover .about-img {
  transform: scale(1.08);
}

/* Tilt Effect */
.tilt-effect {
  perspective: 1000px;
}

.tilt-effect:hover {
  transform: rotateY(5deg) rotateX(2deg);
  box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.2);
}

/* Floating Animation */
.floating-effect {
  animation: float 6s ease-in-out infinite;
}

/* Organic Shape for Sustainability */
.organic-shape {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  overflow: hidden;
  animation: morph 8s ease-in-out infinite;
}

/* -------------------------------------------------------------------
   ANIMATIONS
   ------------------------------------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scrollPulse {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes morph {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  33% {
    border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
  }
  66% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
}

/* Reveal Animations Class Support */
.animate-on-scroll {
  opacity: 0;
  transition:
    opacity 1s ease-out,
    transform 1s ease-out;
}

.slide-right {
  transform: translateX(-50px);
}
.slide-left {
  transform: translateX(50px);
}
.slide-up {
  transform: translateY(50px);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* -------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------- */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .reverse-mobile {
    display: flex;
    flex-direction: column-reverse; /* Put image on top if needed, or text on top */
  }

  /* Or keep visual flow: visual then text, or text then visual */
  .reverse-mobile .about-visual-col {
    order: 1;
  }
  .reverse-mobile .about-text-col {
    order: 2;
  }

  .about-hero {
    height: auto;
    padding: 150px 20px 100px;
  }

  .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}
