/* Стили для страницы "О нас" в новом дизайне */

/* Основные переменные для цветов */
:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  --primary: 211 100% 55%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 222.2 84% 4.9%;
  --radius: 0.5rem;
}

/* Основные стили */
body {
  background-color: #f9fafb;
  color: #111827;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

/* Контейнер для страницы */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Заголовок страницы */
.about-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid hsl(var(--border));
  text-align: center;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.about-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

/* Секции */
.about-section {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.about-section:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.about-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.about-section-title svg {
  color: hsl(var(--primary));
}

.about-section-content {
  font-size: 1rem;
  color: hsl(var(--foreground));
  line-height: 1.6;
}

.about-section-content p {
  margin-bottom: 1rem;
}

.about-section-content a {
  color: hsl(var(--primary));
  text-decoration: none;
  transition: all 0.2s ease;
}

.about-section-content a:hover {
  text-decoration: underline;
}

/* Список */
.about-list {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.about-list li {
  margin-bottom: 0.5rem;
  position: relative;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: hsl(var(--primary));
}

/* Кнопки */
.about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  background-color: #0d8aff; /* Яркий синий цвет как на скриншоте */
  color: #ffffff !important;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.about-button:hover {
  background-color: #0b7de6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.about-button-secondary {
  background-color: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.about-button-secondary:hover {
  background-color: hsl(var(--muted));
}

/* Адаптивность */
@media (max-width: 768px) {
  .about-container {
    padding: 1rem;
  }
  
  .about-title {
    font-size: 2rem;
  }
  
  .about-section {
    padding: 1rem;
  }
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease forwards;
}

/* Иконки */
.about-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

/* Выделение */
.about-highlight {
  background-color: hsl(var(--primary) / 0.1);
  border-left: 4px solid hsl(var(--primary));
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 0.25rem;
}

.about-highlight-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.about-highlight-content {
  font-size: 0.875rem;
}

/* Сетка */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-grid-item {
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
  padding: 1.5rem;
  background-color: hsl(var(--background));
  transition: all 0.2s ease;
}

.about-grid-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.about-grid-item-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.about-grid-item-content {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
