/* About Page Styles */

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(255, 87, 34, 0.1) 100%);
}

.hero-content {
  text-align: center;
  padding: 2rem 0;
}

.hero-slogan {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(45deg, #ff5722, #FFA500, #ff5722);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
  margin-bottom: 2rem;
}

.hero-explanation {
  font-size: 1.5rem;
  color: #d1d1d1;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

/* Media Elements */
.hero-video,
.mission-image,
.founder-image {
  background: rgba(34, 34, 34, 0.9);
  border: 2px dashed rgba(255, 87, 34, 0.5);
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  color: #ff5722;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.hero-video::before,
.mission-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 87, 34, 0.1), transparent);
  animation: shimmer 3s infinite;
}

.hero-video i,
.mission-image i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.hero-video:hover,
.mission-image:hover {
  border-color: #ff5722;
  box-shadow: var(--orange-shadow);
  transform: translateY(-5px);
}

/* Hero Media */
.hero-media {
  max-width: 1200px;
  margin: 0 auto;
}

/* Sections */
.about-page section {
  padding: 5rem 0;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

/* Values Section */
.values-section {
  background: rgba(17, 17, 17, 0.3);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

.value-card {
  background: rgba(34, 34, 34, 0.8);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(255, 69, 0, 0.2);
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.value-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: var(--orange-shadow);
  border-color: #ff5722;
}

.value-card i {
  font-size: 3rem;
  color: #ff5722;
  margin-bottom: 1.5rem;
  display: block;
}

.value-card h3 {
  font-size: 1.5rem;
  margin: 0;
  color: #fff;
}

/* Mission Section */
.mission-section {
  padding: 6rem 0;
}

.mission-content {
  padding: 2rem 0;
}

.mission-text {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #d1d1d1;
}

.mission-media {
  padding: 2rem;
}

/* Founder Section */
.founder-section {
  background: rgba(17, 17, 17, 0.3);
  padding: 6rem 0;
}

.founder-content {
  padding: 2rem 0;
}

.founder-name {
  font-size: 2.5rem;
  color: #ff5722;
  margin-bottom: 0.5rem;
}

.founder-title {
  font-size: 1.2rem;
  color: #FFA500;
  margin-bottom: 2rem;
  font-weight: 600;
}

.founder-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #d1d1d1;
  margin-bottom: 1.5rem;
}

.founder-media {
  padding: 2rem;
}

/* Founder Image - handles both placeholder and actual image states */
.founder-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 87, 34, 0.2);
  transition: var(--transition-smooth);
}

.founder-image img:hover {
  transform: scale(1.02);
  border-color: #ff5722;
  box-shadow: var(--orange-shadow);
}

/* When founder-image contains actual media, remove placeholder styling */
.founder-image:has(img) {
  background: transparent;
  border: none;
  padding: 0;
}

.founder-image:has(img)::before {
  display: none;
}

/* Mission Image - handles both placeholder and actual image states */
.mission-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 87, 34, 0.2);
  transition: var(--transition-smooth);
}

.mission-image img:hover {
  transform: scale(1.02);
  border-color: #ff5722;
  box-shadow: var(--orange-shadow);
}

.mission-image:has(img) {
  background: transparent;
  border: none;
  padding: 0;
}

.mission-image:has(img)::before {
  display: none;
}

/* Hero Video - handles both placeholder and actual video states */
.hero-video video {
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 21/9;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 87, 34, 0.2);
  transition: var(--transition-smooth);
}

.hero-video video:hover {
  transform: scale(1.02);
  border-color: #ff5722;
  box-shadow: var(--orange-shadow);
}

.hero-video:has(video) {
  background: transparent;
  border: none;
  padding: 0;
}

.hero-video:has(video)::before {
  display: none;
}

/* Timeline */
.history-section {
  padding: 6rem 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #ff5722, #FFA500);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 3rem 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: calc(50% + 2rem);
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: calc(50% + 2rem);
  text-align: left;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  background: #ff5722;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 87, 34, 0.5);
}

.timeline-content {
  background: rgba(34, 34, 34, 0.9);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 69, 0, 0.2);
  backdrop-filter: blur(10px);
}

.timeline-content h3 {
  color: #ff5722;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.timeline-content p {
  color: #d1d1d1;
  line-height: 1.6;
  margin: 0;
}

/* Sponsors Section */
.sponsors-section {
  padding: 4rem 0;
  background: rgba(17, 17, 17, 0.3);
  overflow: hidden;
}

.sponsors-carousel {
  overflow: hidden;
  mask: linear-gradient(90deg, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask: linear-gradient(90deg, transparent 0%, black 20%, black 80%, transparent 100%);
}

.sponsors-track {
  display: flex;
  animation: scroll-sponsors 30s linear infinite;
  width: fit-content;
}

.sponsor-logo {
  flex: 0 0 200px;
  height: 100px;
  margin: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  width: 150px;
  height: 80px;
  background: rgba(34, 34, 34, 0.8);
  border: 1px solid rgba(255, 69, 0, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff5722;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.partner-logo:hover {
  border-color: #ff5722;
  box-shadow: var(--orange-shadow);
}

/* When partner-logo contains actual logo image, adjust styling */
.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.partner-logo:has(img) {
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
}

.partner-logo:has(img) span {
  display: none;
}

/* Animations */
.animate-fade-in {
  animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
  animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-scale-in {
  animation: scaleIn 1s ease-out 0.6s both;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes */
@keyframes scroll-sponsors {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-media {
    max-width: 900px;
  }
  
  .hero-video video {
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .hero-slogan {
    font-size: 2.5rem;
  }
  
  .hero-explanation {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Mobile video adjustments */
  .hero-media {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .hero-video video {
    max-width: 100%;
    aspect-ratio: 16/9; /* More mobile-friendly ratio */
  }
  
  .timeline::before {
    left: 2rem;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 4rem;
    margin-right: 0;
    text-align: left;
  }
  
  .timeline-marker {
    left: 2rem;
  }
  
  .founder-name {
    font-size: 2rem;
  }
}