/* ========================================
   Kong's Tea - Modern About Page Styles
   Version: 2.0
   Design: Modern, Clean, Engaging
   ======================================== */

/* CSS Custom Properties */
:root {
  /* Brand Colors */
  --kt-primary: #F97316;
  --kt-primary-dark: #EA580C;
  --kt-primary-light: #FB923C;
  --kt-accent: #FDBA74;

  /* Neutral Colors */
  --kt-dark: #0F172A;
  --kt-dark-800: #1E293B;
  --kt-dark-700: #334155;
  --kt-gray: #64748B;
  --kt-gray-light: #94A3B8;
  --kt-light: #F8FAFC;
  --kt-white: #FFFFFF;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.75vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 5rem);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(249, 115, 22, 0.3);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Container */
  --container-max: 1280px;
  --container-padding: clamp(1rem, 5vw, 3rem);
}

/* ========================================
   Base Styles
   ======================================== */
.about-page {
  font-family: var(--font-body);
  color: var(--kt-dark-800);
  line-height: 1.6;
  overflow-x: hidden;
}

.about-page img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Hero Section
   ======================================== */
.about-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--kt-white) 0%, var(--kt-light) 50%, #FFF7ED 100%);
  overflow: hidden;
  padding: var(--space-3xl) var(--container-padding);
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(249, 115, 22, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(251, 146, 60, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(253, 186, 116, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Animated Background Shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(251, 146, 60, 0.05));
  animation: float-shape 20s infinite ease-in-out;
}

.hero-shape:nth-child(1) {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.hero-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  animation-delay: -5s;
}

.hero-shape:nth-child(3) {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 20%;
  animation-delay: -10s;
}

@keyframes float-shape {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(30px, -30px) rotate(90deg) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) rotate(180deg) scale(0.95);
  }
  75% {
    transform: translate(20px, 30px) rotate(270deg) scale(1.02);
  }
}

.about-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  animation: fade-in-up 1s var(--transition-base) forwards;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--kt-primary);
  margin-bottom: var(--space-xl);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
  }
}

.hero-badge::before {
  content: '';
}

.about-hero h1 {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--kt-dark);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  text-align: center;
  width: 100%;
}

.about-hero h1 span {
  display: block;
  background: linear-gradient(135deg, var(--kt-primary) 0%, var(--kt-primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--kt-gray);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
  text-align: center;
  width: 100%;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-2xl);
  background: linear-gradient(135deg, var(--kt-primary) 0%, var(--kt-primary-dark) 100%);
  color: var(--kt-white);
  font-size: var(--text-lg);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: var(--shadow-lg), 0 0 0 0 rgba(249, 115, 22, 0.4);
  transition: all var(--transition-base);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), 0 10px 40px rgba(249, 115, 22, 0.3);
  color: var(--kt-white);
  text-decoration: none;
}

.hero-cta::after {
  content: '→';
  transition: transform var(--transition-base);
}

.hero-cta:hover::after {
  transform: translateX(5px);
}

/* ========================================
   Section Commons
   ======================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(249, 115, 22, 0.1);
  color: var(--kt-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--kt-dark);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.section-title span {
  color: var(--kt-primary);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--kt-gray);
  line-height: 1.7;
}

/* ========================================
   Journey/Timeline Section
   ======================================== */
.journey-section {
  padding: var(--space-4xl) var(--container-padding);
  background: var(--kt-white);
  position: relative;
}

.journey-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* Timeline Line */
.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--kt-primary) 0%, var(--kt-primary-light) 50%, var(--kt-accent) 100%);
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .timeline-line {
    left: 30px;
  }
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: var(--space-4xl);
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 70px;
  }
}

.timeline-content {
  width: calc(50% - 60px);
  padding: var(--space-xl);
}

@media (max-width: 768px) {
  .timeline-content {
    width: 100%;
    padding: var(--space-md) 0;
  }
}

.timeline-card {
  background: var(--kt-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.timeline-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.timeline-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.timeline-card:hover .timeline-image img {
  transform: scale(1.1);
}

.timeline-year {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  background: var(--kt-primary);
  color: var(--kt-white);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.timeline-body {
  padding: var(--space-xl);
}

.timeline-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--kt-dark);
  margin-bottom: var(--space-sm);
}

.timeline-text {
  color: var(--kt-gray);
  line-height: 1.7;
}

/* Timeline Dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: var(--kt-white);
  border: 4px solid var(--kt-primary);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.1);
  transition: all var(--transition-base);
}

.timeline-item:hover .timeline-dot {
  background: var(--kt-primary);
  box-shadow: 0 0 0 12px rgba(249, 115, 22, 0.2);
  transform: translateX(-50%) scale(1.2);
}

@media (max-width: 768px) {
  .timeline-dot {
    left: 30px;
  }
}

/* ========================================
   Process Section
   ======================================== */
.process-section {
  padding: var(--space-4xl) var(--container-padding);
  background: linear-gradient(180deg, var(--kt-light) 0%, var(--kt-white) 100%);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.2), transparent);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* Process Connector Line */
.process-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, var(--kt-primary), var(--kt-accent), var(--kt-primary));
  z-index: 0;
  border-radius: 3px;
}

@media (max-width: 992px) {
  .process-grid::before {
    display: none;
  }
}

.process-card {
  position: relative;
  text-align: center;
  z-index: 1;
  padding-top: var(--space-lg);
}

.process-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-xl);
  background: linear-gradient(135deg, var(--kt-primary) 0%, var(--kt-primary-dark) 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg), 0 8px 32px rgba(249, 115, 22, 0.3);
  position: relative;
  transition: all var(--transition-base);
}

.process-card:hover .process-icon {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--shadow-xl), 0 12px 40px rgba(249, 115, 22, 0.4);
}

.process-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, var(--kt-primary), var(--kt-accent));
  border-radius: 28px;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.process-card:hover .process-icon::before {
  opacity: 0.5;
}

.process-icon i {
  font-size: 40px;
  color: var(--kt-white);
  -webkit-text-fill-color: var(--kt-white);
  transition: transform var(--transition-base);
}

.process-card:hover .process-icon i {
  transform: scale(1.1);
}

.process-step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background: var(--kt-white);
  color: var(--kt-primary);
  font-size: var(--text-sm);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--kt-primary);
}

.process-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--kt-dark);
  margin-bottom: var(--space-sm);
}

.process-desc {
  color: var(--kt-gray);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ========================================
   Values Section
   ======================================== */
.values-section {
  padding: var(--space-4xl) var(--container-padding);
  background: var(--kt-white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.value-card {
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--kt-white) 0%, var(--kt-light) 100%);
  border-radius: var(--radius-xl);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--kt-primary), var(--kt-accent));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(249, 115, 22, 0.2);
}

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

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--kt-primary) 0%, var(--kt-primary-dark) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.value-icon i {
  font-size: 32px;
  color: var(--kt-white);
}

.value-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--kt-dark);
  margin-bottom: var(--space-sm);
}

.value-text {
  color: var(--kt-gray);
  line-height: 1.7;
}

/* ========================================
   Testimonial Section
   ======================================== */
.testimonial-section {
  padding: var(--space-2xl) var(--container-padding);
  background: linear-gradient(135deg, var(--kt-dark) 0%, var(--kt-dark-800) 100%);
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(251, 146, 60, 0.05) 0%, transparent 50%);
}

.testimonial-section .section-header {
  margin-bottom: var(--space-xl);
}

.testimonial-container {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  text-align: center;
}

.testimonial-quote {
  font-size: var(--text-lg);
  color: var(--kt-white);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  position: relative;
  padding: 0 var(--space-md);
}

.testimonial-quote::before,
.testimonial-quote::after {
  content: '"';
  font-size: 2.5rem;
  color: var(--kt-primary);
  opacity: 0.5;
  position: absolute;
  line-height: 1;
}

.testimonial-quote::before {
  top: -10px;
  left: -10px;
}

.testimonial-quote::after {
  content: '"';
  bottom: -20px;
  right: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--kt-primary);
  overflow: hidden;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
}

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

.testimonial-info h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--kt-white);
  margin-bottom: 0;
}

.testimonial-info p {
  font-size: var(--text-xs);
  color: var(--kt-gray-light);
  margin: 0;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-top: var(--space-sm);
}

.testimonial-stars i {
  color: #FBBF24;
  font-size: var(--text-sm);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  padding: var(--space-4xl) var(--container-padding);
  background: linear-gradient(135deg, var(--kt-primary) 0%, var(--kt-primary-dark) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 20%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 20%);
  animation: pattern-move 20s linear infinite;
}

@keyframes pattern-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

.cta-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--kt-white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-text {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-2xl);
  background: var(--kt-white);
  color: var(--kt-primary);
  font-size: var(--text-lg);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), 0 10px 40px rgba(0, 0, 0, 0.2);
  color: var(--kt-primary-dark);
  text-decoration: none;
}

.cta-button::after {
  content: '→';
  transition: transform var(--transition-base);
}

.cta-button:hover::after {
  transform: translateX(5px);
}

/* ========================================
   Scroll Reveal Animation
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================
   Floating Elements Animation
   ======================================== */
.float-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
