/* SkyAslandia — шрифты, иконки, анимации */

html {
  font-family: 'Google Sans Flex', system-ui, -apple-system, sans-serif;
}

/* Material Icons */
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }

/* Логотип SkyAslandia с самолётом */
.skyaslandia-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.skyaslandia-logo .logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bs-primary);
  border-radius: 10px;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.skyaslandia-logo:hover .logo-icon {
  transform: translateY(-2px) rotate(-5deg);
  box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.4);
}
.skyaslandia-logo .logo-icon .material-icons {
  font-size: 24px;
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}
.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Задержки для каскадной анимации */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Карточки с анимацией при наведении */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.card-img-top {
  transition: transform 0.3s ease;
}
.card:hover .card-img-top {
  transform: scale(1.03);
}

/* Кнопки */
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

/* Hero контент */
.hero-content {
  animation: fadeInUp 0.8s ease-out;
}
.hero-content .btn {
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Навбар ссылки */
.navbar .nav-link {
  transition: opacity 0.2s ease;
}
.navbar .nav-link:hover {
  opacity: 0.85;
}
