/* ============================================
   SANANDAZ MAKEOVER - ABOUT PAGE STYLES
   ============================================
   Maintains full consistency with homepage design system
   Color Palette: Primary Black (#0F0F0F), Luxury Gold (#D4AF37),
   Champagne Beige (#F5E6C8), Soft Cream (#FAF7F2)
   ============================================ */

/* ============================================
   1. ABOUT HERO SECTION
   ============================================ */

.about-hero-section {
  background: none;
  position: relative;
  overflow: hidden;
}

.about-hero-image {
  transform: scale(1);
  animation: none;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

.about-hero-overlay {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.about-hero-content {
  animation: slideUp 0.8s ease-out 0.2s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#about-hero-h1-id {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
  font-weight: 700;
}

#about-hero-subtitle-id {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* ============================================
   2. ABOUT SANANDAZ SECTION
   ============================================ */

#about-sanandaz-section-id {
  background: linear-gradient(to bottom right, 
    rgba(245, 230, 200, 0.08),
    rgba(212, 175, 55, 0.05)
  );
}

#about-sanandaz-h2-id {
  background: linear-gradient(to right, 
    hsl(var(--foreground)), 
    hsl(var(--primary))
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#about-sanandaz-pillars-id li {
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 0.75rem;
}

#about-sanandaz-pillars-id li:hover {
  background: hsla(43, 65%, 52%, 0.1);
  transform: translateX(8px);
}

#about-sanandaz-pillars-id li i {
  transition: transform 0.3s ease;
}

#about-sanandaz-pillars-id li:hover i {
  transform: scale(1.2);
}

#about-sanandaz-cta-id {
  transition: all 0.3s ease;
}

#about-sanandaz-cta-id:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
  background: transparent;
  transform: translateX(4px);
}

/* ============================================
   3. MAKEUP SERVICES & EDUCATION SECTION
   ============================================ */

#about-services-education-section-id {
  background: linear-gradient(135deg, 
    rgba(245, 230, 200, 0.05),
    rgba(15, 15, 15, 0.02)
  );
}

.about-service-card,
.about-education-card {
  border: 1px solid hsla(43, 65%, 52%, 0.2);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}

.about-service-card::before,
.about-education-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(212, 175, 55, 0.1), 
    rgba(212, 175, 55, 0)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.about-service-card:hover::before,
.about-education-card:hover::before {
  opacity: 1;
}

.about-service-card:hover,
.about-education-card:hover {
  border-color: hsla(43, 65%, 52%, 0.5);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-10px);
}

.about-service-card p:first-of-type,
.about-education-card p:first-of-type {
  color: hsl(var(--primary));
  font-weight: 600;
}

/* ============================================
   4. FOUNDER SECTION
   ============================================ */

#about-founder-section-id {
  background: linear-gradient(to right, 
    rgba(212, 175, 55, 0.08),
    rgba(245, 230, 200, 0.05)
  );
}

#about-founder-h2-id {
  background: linear-gradient(to right, 
    hsl(var(--foreground)), 
    hsl(var(--primary))
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#about-founder-bio-id p:nth-child(3) {
  font-style: italic;
  color: hsl(var(--primary));
  font-weight: 500;
  padding: 1rem;
  border-left: 3px solid hsl(var(--primary));
  margin-left: -1rem;
  padding-left: 1.5rem;
}

#about-founder-stats-id {
  animation: statsFadeIn 0.8s ease-out;
}

@keyframes statsFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#about-founder-stats-id div {
  transition: all 0.3s ease;
  backdrop-filter: blur(16px);
}

#about-founder-stats-id div:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

/* Founder Quote Section */
#about-founder-quote-section-id {
  position: relative;
  overflow: hidden;
  border: 1px solid hsla(43, 65%, 52%, 0.3);
  background: linear-gradient(135deg, 
    hsla(43, 65%, 52%, 0.08),
    hsla(245, 230, 200, 0.05)
  );
}

#about-founder-quote-section-id::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 2rem;
  font-size: 8rem;
  opacity: 0.05;
  font-family: 'Playfair Display', serif;
}

#about-founder-quote-id {
  position: relative;
  z-index: 1;
  transition: all 0.6s ease;
}

#about-founder-quote-section-id:hover #about-founder-quote-id {
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  transform: scale(1.02);
}

/* ============================================
   5. AWARDS & CERTIFICATIONS SECTION
   ============================================ */

#about-awards-section-id {
  background: linear-gradient(to bottom, 
    rgba(245, 230, 200, 0.05),
    rgba(212, 175, 55, 0.05)
  );
}

#about-award-1-id,
#about-award-2-id,
#about-award-3-id,
#about-award-4-id {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

#about-award-1-id:hover,
#about-award-2-id:hover,
#about-award-3-id:hover,
#about-award-4-id:hover {
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
  transform: translateY(-8px) scale(1.015);
}

.award-showcase-card {
  position: relative;
}

.award-frame-wrap {
  background: #181512;
  border: 1px solid hsla(43, 65%, 52%, 0.24);
  border-radius: 2px;
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.award-frame-inner {
  width: 100%;
  min-height: 240px;
  border: 10px solid #101010;
  background: linear-gradient(180deg, #f0ebdc 0%, #e7deca 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.award-placeholder-text {
  color: #4d4638;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.award-name-panel {
  position: relative;
  background: #3a0000;
  color: #fff8ea;
  text-align: center;
  padding: 16px 12px 14px;
  margin-top: -1px;
  overflow: hidden;
}

.award-name-panel::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 0;
  width: 56px;
  height: 100%;
  background: #320000;
  transform: skewX(-32deg);
}

.award-name-panel h3 {
  position: relative;
  z-index: 1;
  color: #fff8ea;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.1vw, 2rem);
  line-height: 1.05;
}

/* ============================================
   6. STUDENT ACHIEVEMENTS SECTION
   ============================================ */

#about-student-achievements-section-id {
  background: linear-gradient(135deg, 
    rgba(245, 230, 200, 0.08),
    rgba(15, 15, 15, 0.02)
  );
}

#about-achievement-1-id,
#about-achievement-2-id,
#about-achievement-3-id {
  border: 1px solid hsla(43, 65%, 52%, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

#about-achievement-1-id::after,
#about-achievement-2-id::after,
#about-achievement-3-id::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, 
    rgba(212, 175, 55, 0.2), 
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#about-achievement-1-id:hover,
#about-achievement-2-id:hover,
#about-achievement-3-id:hover {
  border-color: hsla(43, 65%, 52%, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}

#about-achievement-1-id:hover::after,
#about-achievement-2-id:hover::after,
#about-achievement-3-id:hover::after {
  opacity: 1;
}

/* ============================================
   7. CONTACT CTA SECTION
   ============================================ */

#about-contact-cta-section-id {
  background: linear-gradient(135deg,
    rgba(212, 175, 55, 0.1),
    rgba(245, 230, 200, 0.05)
  );
}

#about-contact-cta-box-id {
  border: 1px solid hsla(43, 65%, 52%, 0.3);
  background: linear-gradient(135deg,
    hsla(0, 0%, 100%, 0.05),
    hsla(43, 65%, 52%, 0.08)
  );
  transition: all 0.6s ease;
  position: relative;
  overflow: hidden;
}

#about-contact-cta-box-id::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(212, 175, 55, 0.1),
    rgba(245, 230, 200, 0.05)
  );
  opacity: 0;
  transition: opacity 0.6s ease;
}

#about-contact-cta-box-id:hover {
  border-color: hsla(43, 65%, 52%, 0.5);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
  transform: translateY(-4px);
}

#about-contact-cta-h2-id {
  transition: all 0.6s ease;
}

#about-contact-cta-box-id:hover #about-contact-cta-h2-id {
  background: linear-gradient(to right, 
    hsl(var(--primary)), 
    hsl(var(--foreground))
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#about-contact-cta-buttons-id {
  animation: buttonsFade 0.8s ease-out 0.3s both;
}

@keyframes buttonsFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#about-contact-us-cta-id,
#about-join-academy-cta-id {
  transition: all 0.4s ease;
}

#about-contact-us-cta-id:hover {
  border-color: hsl(var(--primary));
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

#about-join-academy-cta-id:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* ============================================
   ACCESSIBILITY & RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .about-hero-section {
    min-height: 60vh;
  }

  #about-hero-h1-id {
    font-size: 2.2rem;
  }

  #about-sanandaz-image-wrap-id {
    order: 2;
  }

  #about-sanandaz-content-id {
    order: 1;
  }

  #about-founder-image-wrap-id {
    margin-bottom: 2rem;
  }

  #about-services-grid-id {
    grid-template-columns: 1fr;
  }

  #about-founder-stats-id {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-image,
  .about-hero-overlay,
  .about-hero-content,
  #about-hero-h1-id,
  #about-hero-subtitle-id,
  #about-sanandaz-pillars-id li,
  #about-service-card-id,
  #about-education-card-id,
  .about-service-card,
  .about-education-card,
  #about-founder-stats-id,
  #about-founder-quote-section-id,
  #about-award-1-id,
  #about-award-2-id,
  #about-award-3-id,
  #about-award-4-id,
  #about-achievement-1-id,
  #about-achievement-2-id,
  #about-achievement-3-id,
  #about-contact-cta-box-id {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================
   DARK MODE ADJUSTMENTS
   ============================================ */

.dark #about-hero-section-id {
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95), rgba(212, 175, 55, 0.2));
}

.dark #about-sanandaz-h2-id,
.dark #about-founder-h2-id {
  background: linear-gradient(to right, 
    hsl(var(--foreground)), 
    hsl(var(--primary))
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark .about-service-card,
.dark .about-education-card {
  border-color: hsla(43, 65%, 52%, 0.25);
}

.dark #about-contact-cta-box-id {
  background: linear-gradient(135deg,
    hsla(35, 20%, 12%, 0.6),
    hsla(43, 65%, 52%, 0.1)
  );
  border-color: hsla(43, 65%, 52%, 0.25);
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .about-hero-section {
    page-break-after: always;
  }

  #about-contact-cta-buttons-id {
    display: none;
  }
}
