/* About page specific styles */
.about-page {
  background: linear-gradient(rgba(17, 17, 17, 0.4), rgba(17, 17, 17, 0.4)), 
              url('/images/luxury-showroom-about.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #ffffff;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  font-family: 'Inter', 'Poppins', sans-serif;
}

/* Smooth scroll animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hero section */
.about-hero {
  padding: 4rem 0 2rem;
  text-align: center;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, #ffd23f11 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
  z-index: 0;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ffd23f;
  font-weight: 900;
  text-shadow: 0 2px 20px #ffd23f44;
  animation: fadeInUp 1s ease-out 0.2s both;
  letter-spacing: -1px;
}

.about-hero p {
  font-size: 1.2rem;
  color: #ffd23f;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.5s both;
  max-width: 600px;
  margin: 0 auto;
}

/* About content */
.about-content {
  padding: 3rem 0;
  background: transparent;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text {
  animation: slideInLeft 1s ease-out 0.3s both;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #ffd23f;
  font-weight: 700;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ffd23f, transparent);
  border-radius: 2px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: #ffd23f;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ffd23f;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #ffd23f;
  opacity: 0;
  animation: slideInLeft 0.6s ease-out both;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.features-list li:nth-child(1) { animation-delay: 0.8s; }
.features-list li:nth-child(2) { animation-delay: 1.0s; }
.features-list li:nth-child(3) { animation-delay: 1.2s; }
.features-list li:nth-child(4) { animation-delay: 1.4s; }
.features-list li:nth-child(5) { animation-delay: 1.6s; }
.features-list li:nth-child(6) { animation-delay: 1.8s; }

.features-list li:hover {
  transform: translateX(10px);
  color: #fff;
}

.features-list li i {
  color: #ffd23f;
  margin-right: 1rem;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.features-list li:hover i {
  transform: scale(1.2);
  color: #fff;
}

/* Stats section */
.stats-section {
  animation: slideInRight 1s ease-out 0.3s both;
}

.stats-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ffd23f;
  font-weight: 700;
  text-align: center;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.stats-section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffd23f, transparent);
  border-radius: 2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: rgba(24, 24, 24, 0.6);
  backdrop-filter: blur(8px);
  border: 2px solid #ffd23f;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  animation: countUp 0.8s ease-out both;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #ffd23f22, transparent);
  transition: left 0.5s ease;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card:nth-child(1) { animation-delay: 0.6s; }
.stat-card:nth-child(2) { animation-delay: 0.8s; }
.stat-card:nth-child(3) { animation-delay: 1.0s; }
.stat-card:nth-child(4) { animation-delay: 1.2s; }

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px #ffd23f33;
  border-color: #fff;
}

.stat-card i {
  font-size: 2.5rem;
  color: #ffd23f;
  margin-bottom: 1rem;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffd23f;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: #ffd23f;
  opacity: 0.8;
}

/* Mission section */
.mission-section {
  padding: 3rem 0;
  background: transparent;
  position: relative;
}

/* Keep header and footer black */
.about-page .header,
.about-page .footer {
  background: #111 !important;
  position: relative;
  z-index: 10;
}

.mission-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ffd23f;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.mission-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #ffd23f;
  opacity: 0.95;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

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

.value-card {
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(8px);
  border: 2px solid #ffd23f;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px #ffd23f22;
}

.value-card i {
  font-size: 2.5rem;
  color: #ffd23f;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffd23f;
}

.value-card p {
  color: #ffd23f;
  opacity: 0.8;
  line-height: 1.6;
}


/* Responsive design */
@media (max-width: 768px) {
  .about-hero {
    padding: 3rem 0 1.5rem;
  }
  
  .about-hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  
  .about-hero p {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .about-content {
    padding: 2rem 0;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1.5rem;
  }
  
  .about-text h2,
  .stats-section h2,
  .mission-content h2 {
    font-size: 1.8rem;
  }
  
  .about-text h3 {
    font-size: 1.4rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .value-card {
    padding: 1.5rem;
  }
  
  .mission-section {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 1.8rem;
  }
  
  .about-text h2,
  .stats-section h2,
  .mission-content h2 {
    font-size: 1.6rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}