
:root {
  --primary: #FF6B00;
  --primary-rgb: 255, 107, 0;
  --primary-dark: #E05D00;
  --primary-light: #FF8C33;
  --dark: #121212;
  --dark-rgb: 18, 18, 18;
  --dark-light: #1E1E1E;
  --light: #FFFFFF;
  --light-rgb: 255, 255, 255;
  --light-dark: #F5F5F5;
  --gray: #888;
  --gray-light: #ffffff;
  --gray-dark: #555;
}

/* Light Theme */
[data-theme="light"] {
  --bg: var(--light);
  --bg-rgb: var(--light-rgb);
  --bg-secondary: #ffffff;
  --text: #272727;
  --text-rgb: 51, 51, 51;
  --text-secondary: #666666;
  --card-bg: var(--light);
  --border: #E0E0E0;
  --text-color: #333333;
  --menu-bg: rgba(255, 255, 255, 0.95);
}

/* Dark Theme */
[data-theme="dark"] {
  --bg: var(--dark);
  --bg-rgb: var(--dark-rgb);
  --bg-secondary: #252525;
  --text: #F5F5F5;
  --text-rgb: 245, 245, 245;
  --text-secondary: #CCCCCC;
  --card-bg: #252525;
  --border: #444444;
  --text-color: #F5F5F5;
  --menu-bg: rgba(30, 30, 30, 0.95);
}

/* Orange Theme */
[data-theme="orange"] {
  --bg: #1A1A1A;
  --bg-rgb: 26, 26, 26;
  --bg-secondary: #2A2A2A;
  --text: #FFE6D5;
  --text-rgb: 255, 230, 213;
  --text-secondary: #FFB380;
  --card-bg: #2A2A2A;
  --border: #FF6B00;
  --text-color: #FFE6D5;
  --menu-bg: rgba(42, 42, 42, 0.95);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.5s ease, color 0.5s ease;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 30px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  gap: 8px;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(var(--primary-rgb), 0.1);
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
}

.axl-highlight {
  color: var(--primary);
  font-weight: 700;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader-inner {
  text-align: center;
}

.axl-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.axl-letter {
  font-size: 5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 10px;
  opacity: 0;
  transform: translateY(20px);
}

.axl-letter:nth-child(1) {
  animation: fadeInUp 0.5s ease 0.1s forwards;
}

.axl-letter:nth-child(2) {
  animation: fadeInUp 0.5s ease 0.2s forwards;
}

.axl-letter:nth-child(3) {
  animation: fadeInUp 0.5s ease 0.3s forwards;
}

.loading-bar {
  width: 300px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-progress {
  height: 100%;
  width: 0;
  background-color: var(--primary);
  border-radius: 2px;
  transition: width 1.5s ease;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: var(--dark);
}

.particles-js-canvas-el {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* About Section */
.about-section {
  background-color: var(--bg-secondary);
}

.about-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text {
  padding-right: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stats-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  border: 1px solid var(--border);
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.stats-title {
  font-size: 1rem;
  color: var(--text-secondary);
}

.about-image img {
  width: 80%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.team-member {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-photo {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
}

.member-info {
  padding: 25px;
  text-align: center;
}

.member-name {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.member-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.member-bio {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.member-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.skill-tag {
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.value-card h3 {
  margin-bottom: 15px;
}

.value-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* CTA Section */
.cta-section {
  text-align: center;
  background-color: var(--primary-light);
  color: white;
}

.cta-section .section-title {
  color: white;
}

.cta-section .section-title::after {
  background-color: white;
}

.cta-section .btn {
  background-color: white;
  color: var(--primary);
}

.cta-section .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.cta-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cta-buttons {
  margin-top: 20px;
  display: flex;
  text-decoration: none;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 60px 0 30px;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.footer-copy {
  opacity: 0.8;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--light);
  opacity: 0.7;
  transition: opacity 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

/* Menu */
.menu-wrap {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.menu-wrap .toggler {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.menu-wrap .hamburger {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  padding: 1rem;
  background: rgba(var(--primary-rgb), 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 1;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu-wrap .hamburger > div {
  position: relative;
  width: 70%;
  height: 2px;
  background-color: var(--text-color);
  transition: all 0.4s ease;
}

.menu-wrap .hamburger > div::before,
.menu-wrap .hamburger > div::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: inherit;
  transition: all 0.4s ease;
}

.menu-wrap .hamburger > div::before {
  top: -8px;
  right: 0;
}

.menu-wrap .hamburger > div::after {
  top: 8px;
  right: 0;
  width: 80%;
}

/* Toggler animate */
.menu-wrap .toggler:checked + .hamburger > div {
  transform: rotate(135deg);
}

.menu-wrap .toggler:checked + .hamburger > div::before,
.menu-wrap .toggler:checked + .hamburger > div::after {
  top: 0;
  transform: rotate(90deg);
  width: 100%;
}

.menu-wrap .toggler:checked:hover + .hamburger > div {
  transform: rotate(225deg);
}

/* Show menu */
.menu-wrap .menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  visibility: hidden;
  overflow: hidden;
  z-index: 999;
  transition: all 0.4s ease;
}

.menu-wrap .menu-content {
  background: var(--menu-bg);
  width: 100%;
  height: 100%;
  padding: 80px 30px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: all 0.4s ease;
}

.menu-wrap .menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-wrap .menu ul li {
  margin-bottom: 15px;
}

.menu-wrap .menu ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.menu-wrap .menu ul li a:hover,
.menu-wrap .menu ul li a.active {
  color: var(--primary);
}

.menu-wrap .menu ul li a i {
  width: 24px;
  text-align: center;
}

.menu-settings {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(var(--text-rgb), 0.1);
}

.language-switcher, .theme-switcher {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.theme-btn {
  border: none;
  color: var(--text-color);
  padding: 8px 15px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-btn.active, .theme-btn.active {
  background: var(--primary);
  color: rgb(255, 255, 255);
}

.lang-btn:hover:not(.active){
  background: rgb(105, 105, 105);
}

.lang-btn {
  border: none;
  color: wheat;
  padding: 8px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--gray-dark);
  width: 46px;
  height: 26px;
  justify-content: center;
}

.lang-btn:hover {
  background: var(--primary);
  border: none;
  color: var(--text-color);
  padding: 8px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--gray-dark);
  width: 46px;
  height: 26px;
  justify-content: center;
}

.theme-btn {
  background: var(--gray-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  justify-content: center;
  padding: 0;
}

.theme-btn:hover {
  background: var(--primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  justify-content: center;
  padding: 0;
}

/* Menu state when toggled */
.menu-wrap .toggler:checked ~ .menu {
  visibility: visible;
}

.menu-wrap .toggler:checked ~ .menu .menu-content {
  transform: translateX(0);
}

/* Contact Section Styles */
/* Стили для контактной секции */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.responsive-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 15px;
}

.contact-image:hover .responsive-image {
    transform: scale(1.03);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.info-item p {
    color: var(--text);
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(var(--primary-rgb), 0.1);
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.contact-image {
    height: 100%;
}

/* Responsive */
@media (max-width: 1023px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-image {
        height: 400px;
        order: -1;
    }
}

@media (max-width: 480px) {
    .contact-info {
        padding: 25px;
    }
    
    .info-item {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Смартфоны портрет (320px — 480px) */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  .container {
    padding: 0 10px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .btn {
    padding: 10px 20px;
    font-size: 12px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Смартфоны альбом (481px — 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Планшеты (768px — 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    max-width: 720px;
  }
  .hero-title {
    font-size: 3rem;
  }
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Ноутбуки и десктопы (1024px и выше) */
@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
  }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-image {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .contact-grid {
        gap: 20px;
    }
    
    .contact-image {
        border-radius: 10px;
    }
}