/* Стили для Mir Server Technologies */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
  color: #333;
}

/* Навигация */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff !important;
}

.navbar-brand i {
  color: #10b981;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #10b981 !important;
}

/* Hero-секция */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a192f 0%, #112240 50%, #172a45 100%);
  color: white;
  padding-top: 80px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.hero-section .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.hero-section .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.hero-visual i {
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.15);
  animation: float 6s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.hero-visual i:hover {
  transform: scale(1.1);
}

.hero-visual i:nth-child(1) { animation-delay: 0s; }
.hero-visual i:nth-child(2) { animation-delay: 2s; }
.hero-visual i:nth-child(3) { animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Секция "О нас" */
#about .stat-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

#about .stat-item .fw-semibold {
  color: #0a192f;
}

#about .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.visual-icon {
  font-size: 4rem;
  color: #10b981;
}

/* Секция "Ценности" */
#values .value-card {
  transition: all 0.3s ease;
  background: white;
  border-top: 3px solid transparent;
}

#values .value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-top-color: #10b981;
}

#values .value-icon {
  font-size: 2.5rem;
  color: #0a192f;
}

#values .value-icon i {
  color: #10b981;
}

/* Секция "Услуги" */
#services .service-card {
  transition: all 0.3s ease;
  background: white;
  border-top: 3px solid transparent;
}

#services .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-top-color: #10b981;
}

#services .service-icon {
  font-size: 3rem;
  color: #0a192f;
}

#services .service-icon i {
  color: #10b981;
}

.hover-shadow:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Форма */
#contact .form-control {
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact .form-control:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.1);
}

#contact .btn-primary {
  background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
  border: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

#contact .btn-primary:hover {
  background: linear-gradient(135deg, #10b981 0%, #0a192f 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
}

/* Футер */
footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: #10b981 !important;
}

.social-links a {
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 70px;
    padding-bottom: 40px;
  }

  .hero-section h1 {
    font-size: 1.75rem;
  }

  .hero-visual {
    gap: 1rem;
  }

  .hero-visual i {
    font-size: 3.5rem;
  }

  .visual-icon {
    font-size: 3rem;
  }

  .value-card, .service-card {
    border-top-width: 3px;
  }
}
