/* Импорт базовых стилей */
@import './reset.css';
@import './variables.css';

/* Базовые утилиты */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-4xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray-600);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto var(--spacing-3xl);
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Анимации появления при скролле */
.fade-in {
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-down {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-down.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: transparent;
  padding: var(--spacing-md) 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--spacing-xs) 0;
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--spacing-lg);
}

/* Desktop Navbar Brand */
.navbar-brand {
  position: relative;
  overflow: visible;
  /* Changed from hidden to allow smooth transitions */
}

.navbar-brand .logo {
  display: block;
  transition: transform var(--transition-base), opacity var(--transition-base);
  /* Initially hidden if we want transition from intro, but let's keep visible for desktop */
}

/* Mobile-specific logo transition class */
/* Removed */

.navbar-brand .logo img {
  height: 40px;
  /* Slightly smaller for elegance */
  width: auto;
  display: block;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  background: rgba(255, 255, 255, 0.05);
  /* Glass pill for menu */
  padding: 8px 24px;
  border-radius: 50px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-menu .nav-link {
  color: var(--color-white);
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-menu .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.navbar-menu .nav-link:hover {
  color: var(--color-primary);
}

.navbar-menu .nav-link:hover::after {
  width: 100%;
}

.navbar-menu .nav-link.btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-sm);
  border-radius: 50px;
  /* Match parent pill shape */
}

.navbar-menu .nav-link.btn::after {
  display: none;
}

/* Мобильное меню */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero секция */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  /* Align content to bottom */
  justify-content: flex-start;
  /* Align content to left */
  background-image: url('../assets/images/hero-fitness.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow: hidden;
  animation: kenBurns 20s ease-in-out infinite alternate;
  padding-bottom: 80px;
  /* Space for bottom elements */
}

@keyframes kenBurns {
  0% {
    background-size: 100%;
    background-position: center center;
  }

  100% {
    background-size: 110%;
    background-position: 60% 50%;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
  /* Darker bottom gradient */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--spacing-4xl);
  /* More padding from sides */
  margin-bottom: var(--spacing-xl);
}

/* Glassmorphism Card */
.hero-glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  max-width: 700px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpCard 1s ease-out 0.5s forwards;
}

@keyframes fadeUpCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: left;
  /* Explicit left align */
  line-height: 1.1;
  color: var(--color-white);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-normal);
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
  margin-bottom: 0;
}

/* Social Sidebar */
.social-sidebar {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
}

.social-line {
  width: 1px;
  height: 100px;
  background: rgba(255, 255, 255, 0.3);
  margin-bottom: var(--spacing-lg);
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.social-icon-hero {
  color: var(--color-white);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.social-icon-hero:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

/* Scroll Mouse Animation */
.scroll-mouse-wrapper {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  opacity: 0;
  animation: fadeIn 1s ease-out 1.5s forwards;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  position: relative;
  margin-bottom: var(--spacing-xs);
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--color-white);
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    top: 10px;
  }

  100% {
    opacity: 0;
    top: 30px;
  }
}

.scroll-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: var(--font-weight-semibold);
}

/* Адаптивность */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  .section {
    padding: var(--spacing-3xl) 0;
  }

  h1 {
    font-size: var(--font-size-4xl);
  }

  h2 {
    font-size: var(--font-size-3xl);
  }

  h3 {
    font-size: var(--font-size-2xl);
  }

  /* Мобильное меню */
  .mobile-menu-toggle {
    display: flex;
    z-index: var(--z-modal);
  }

  /* Center Logo on Mobile */
  .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: var(--z-fixed);
    /* Ensure above menu backdrop if needed */
  }

  /* Adjust toggle button position if needed */
  .mobile-menu-toggle {
    margin-left: auto;
    /* Push to right if navbar is flex */
  }

  /* Ensure navbar has relative positioning context for absolute centering */
  .navbar {
    position: relative;
    justify-content: flex-end;
    /* Toggle button on right */
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-xl);
    transform: translateX(100%);
    /* Slide from right */
    opacity: 1;
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    border-radius: 0;
    border: none;
    z-index: var(--z-modal-backdrop);
  }

  .navbar-menu.active {
    transform: translateX(0);
  }

  .navbar-menu li {
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .navbar-menu.active li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger animations for menu items */
  .navbar-menu.active li:nth-child(1) {
    transition-delay: 0.1s;
  }

  .navbar-menu.active li:nth-child(2) {
    transition-delay: 0.2s;
  }

  .navbar-menu.active li:nth-child(3) {
    transition-delay: 0.3s;
  }

  .navbar-menu.active li:nth-child(4) {
    transition-delay: 0.4s;
  }

  .navbar-menu .nav-link {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
  }

  .navbar-menu .nav-link.btn {
    width: 100%;
    text-align: center;
  }

  /* Hero адаптивность */
  .hero {
    background-attachment: scroll;
    min-height: 90vh;
    animation: none;
    background-size: cover;
    background-position: 70% center;
    /* Shift to right to show the girl */
    align-items: center;
    /* Center vertically on mobile */
  }

  .hero-content {
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: center;
    /* Center on mobile */
  }

  .hero-glass-card {
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    /* More contrast on mobile */
    backdrop-filter: none;
  }

  .hero-title {
    font-size: var(--font-size-4xl);
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: var(--font-size-xl);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  /* About адаптивность */
  .section-title {
    font-size: var(--font-size-4xl);
  }

  .section-subtitle {
    font-size: var(--font-size-xl);
  }

  .history-title {
    font-size: var(--font-size-3xl);
  }

  .history-content p {
    font-size: var(--font-size-lg);
  }

  .about-history {
    padding: 0 var(--spacing-md);
  }

  .advantages {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .advantage-item {
    padding: var(--spacing-2xl) var(--spacing-lg);
  }

  .gallery-title,
  .video-title {
    font-size: var(--font-size-3xl);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .video-wrapper {
    border-radius: var(--radius-lg);
  }

  /* Contacts адаптивность */
  .contacts-main {
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
  }

  .contacts-form {
    padding: var(--spacing-2xl);
  }

  .social-links {
    flex-direction: column;
  }

  .social-link {
    width: 100%;
    justify-content: center;
  }

  /* Уменьшение иконок контактов на мобильных */
  .contact-icon {
    font-size: var(--font-size-2xl);
  }

  .contact-content h3 {
    font-size: var(--font-size-xl);
  }

  .contact-content p {
    font-size: var(--font-size-base);
  }

  .advantage-icon {
    font-size: var(--font-size-4xl);
  }
}

/* Дополнительная адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  h1 {
    font-size: var(--font-size-3xl);
  }

  h2 {
    font-size: var(--font-size-2xl);
  }

  h3 {
    font-size: var(--font-size-xl);
  }

  .hero-title {
    font-size: var(--font-size-3xl);
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: var(--font-size-lg);
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .section-subtitle {
    font-size: var(--font-size-lg);
  }

  .history-title {
    font-size: var(--font-size-2xl);
  }

  .history-content p {
    font-size: var(--font-size-base);
  }

  .gallery-title,
  .video-title {
    font-size: var(--font-size-2xl);
  }

  .contacts-form {
    padding: var(--spacing-xl);
  }

  .contacts-form h3 {
    font-size: var(--font-size-2xl);
  }

  .contact-icon {
    font-size: var(--font-size-xl);
  }

  .contact-content h3 {
    font-size: var(--font-size-lg);
  }

  .advantage-item h4 {
    font-size: var(--font-size-xl);
  }

  .advantage-icon {
    font-size: var(--font-size-3xl);
  }

  .section {
    padding: var(--spacing-2xl) 0;
  }

  .about-history {
    padding: 0 var(--spacing-sm);
  }
}

/* About Section - Horizontal Scroll */
.about-scroll-section {
  position: relative;
  height: 400vh;
  /* Adjust length of scroll */
  background: var(--color-black);
  /* Dark theme base */
}

.about-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
}

.about-track {
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}

.about-slide {
  min-width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 var(--spacing-4xl);
  box-sizing: border-box;
}

/* Slide 1: Intro */
.about-intro-slide {
  background: radial-gradient(circle at 30% 50%, #2a2a2a 0%, #000 100%);
  flex-direction: column;
  text-align: center;
}

.slide-content {
  z-index: 2;
  max-width: 800px;
}

.slide-background-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  white-space: nowrap;
}

.about-intro-slide .section-title {
  color: var(--color-white);
  font-size: var(--font-size-6xl);
  margin-bottom: var(--spacing-lg);
}

.about-intro-slide .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-2xl);
}

/* Slide 2: History */
.about-history-slide {
  background: #0a0a0a;
}

.history-card {
  max-width: 600px;
  padding: var(--spacing-3xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  position: relative;
}

.history-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-xl);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.history-title {
  color: var(--color-white);
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-xl);
}

.big-year {
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-size: 15rem;
  font-weight: 900;
  color: rgba(255, 107, 53, 0.1);
  line-height: 1;
  pointer-events: none;
}

/* Slide 3: Advantages */
.about-advantages-slide {
  background: #050505;
}

.advantages-stack {
  display: flex;
  gap: var(--spacing-xl);
  perspective: 1000px;
}

.advantage-card {
  width: 300px;
  height: 400px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-20px);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: rgba(255, 107, 53, 0.5);
}

.adv-icon {
  font-size: var(--font-size-5xl);
  margin-bottom: auto;
}

.advantage-card h4 {
  color: var(--color-white);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-sm);
}

.advantage-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-md);
}

/* Slide 4: Gallery */
.about-gallery-slide {
  background: #000;
  padding-left: 0;
  flex-direction: column;
  justify-content: center;
}

.gallery-slide-title {
  position: absolute;
  top: 10%;
  left: 10%;
  font-size: var(--font-size-5xl);
  color: var(--color-white);
  opacity: 0.2;
  text-transform: uppercase;
}

.horizontal-gallery {
  display: flex;
  gap: var(--spacing-md);
  padding-left: 10vw;
  /* Offset start */
}

.gallery-card {
  width: 400px;
  height: 60vh;
  overflow: hidden;
  border-radius: var(--radius-md);
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-card:hover {
  opacity: 1;
  transform: scale(1.05);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* New Gym Card Styles */
.gym-card {
  width: 400px;
  height: 60vh;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gym-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  z-index: 10;
}

.gym-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gym-card:hover img {
  transform: scale(1.1);
}

.gym-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--spacing-xl);
  opacity: 0.9;
  transition: opacity 0.3s;
}

.gym-card:hover .gym-card-overlay {
  opacity: 1;
}

.gym-card-content h4 {
  color: var(--color-white);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.gym-card-content p {
  color: var(--color-primary);
  /* Orange brand color */
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.1s;
}

.gym-card:hover .gym-card-content h4 {
  transform: translateY(0);
}

.gym-card:hover .gym-card-content p {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Fallback - Vertical Stack */
@media (max-width: 768px) {
  .about-scroll-section {
    height: auto;
    position: static;
  }

  .about-sticky-wrapper {
    position: static;
    height: auto;
    display: block;
    overflow: visible;
  }

  .about-track {
    display: block;
    /* Stack vertically */
    height: auto;
    width: 100%;
    transform: none !important;
    /* Disable JS transform */
  }

  .about-slide {
    min-width: 100%;
    height: auto;
    min-height: 80vh;
    padding: var(--spacing-2xl) var(--spacing-md);
    flex-direction: column;
    justify-content: center;
  }

  .about-advantages-slide .advantages-stack {
    flex-direction: column;
  }

  .advantage-card {
    width: 100%;
    height: auto;
    min-height: 200px;
  }

  .horizontal-gallery {
    flex-direction: column;
    padding-left: 0;
    width: 100%;
  }

  .gallery-card {
    width: 100%;
    height: 300px;
  }

  .big-year {
    font-size: 8rem;
    bottom: -20px;
    right: 0;
  }

  .slide-background-text {
    font-size: 30vw;
  }
}

/* Contacts Section (Luminous Glass - Green/Yellow Theme) */
.contacts-luminous {
  position: relative;
  min-height: 100vh;
  padding: 100px 0;
  background: #f8f9fa;
  /* Light base */
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Ambient Background Animation */
.map-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 200, 83, 0.1) 0%, transparent 40%),
    /* Green */
    radial-gradient(circle at 90% 80%, rgba(255, 214, 0, 0.1) 0%, transparent 40%);
  /* Yellow */
  filter: blur(60px);
  z-index: 1;
}

.contacts-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.contacts-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

/* White Glass Cards */
.contacts-luminous .glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  /* Soft light shadow */
  padding: var(--spacing-3xl);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacts-luminous .glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

/* Typography - Dark Mode for Light Theme */
.card-header .section-title {
  color: #2d3436;
  text-shadow: none;
  text-align: left;
}

.card-header .section-subtitle {
  color: #636e72;
  font-weight: 500;
  text-align: left;
  margin-left: 0;
}

/* Info Card */
.contact-items {
  margin-top: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
}

.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(0, 200, 83, 0.1);
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  flex-shrink: 0;
  color: var(--color-primary);
  /* Green */
}

.info-text h3 {
  color: #b2bec3;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  margin-top: 0;
}

.info-text p,
.info-text a {
  color: #2d3436;
  font-size: var(--font-size-lg);
  font-weight: 600;
  text-decoration: none;
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s;
}

.info-text a:hover {
  color: var(--color-primary);
}

.social-links-minimal {
  margin-top: var(--spacing-3xl);
  display: flex;
  gap: var(--spacing-lg);
}

.social-links-minimal a {
  padding: 10px 25px;
  border: 1px solid rgba(45, 52, 54, 0.1);
  border-radius: 30px;
  color: #636e72;
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: all 0.3s;
  background: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.social-links-minimal a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* Form Card */
.contact-form-card h3 {
  color: #2d3436;
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-xl);
  margin-top: 0;
}

.holo-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.form-group-minimal {
  position: relative;
}

.form-group-minimal input,
.form-group-minimal textarea {
  width: 100%;
  background: rgba(240, 240, 240, 0.5);
  /* Slight grey bg */
  border: none;
  border-bottom: 2px solid transparent;
  /* Prepare for focus */
  border-radius: 8px;
  padding: 15px;
  color: #2d3436;
  font-size: var(--font-size-md);
  transition: all 0.3s;
  outline: none;
  font-family: inherit;
  font-weight: 500;
}

.form-group-minimal input:focus,
.form-group-minimal textarea:focus {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-bottom-color: var(--color-primary);
}

.form-group-minimal input::placeholder,
.form-group-minimal textarea::placeholder {
  color: #b2bec3;
}

.btn-holo {
  margin-top: var(--spacing-lg);
  background: var(--gradient-primary);
  /* Green/Yellow */
  color: #000;
  /* Dark text for contrast against yellow/green */
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: var(--font-size-md);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-holo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 200, 83, 0.3);
}

.btn-holo span {
  font-family: monospace;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .contacts-wrapper {
    grid-template-columns: 1fr;
  }

  .contacts-luminous {
    padding: 60px 0;
  }
}

/* Intro Sequence Animation */
.intro-sequence {
  position: relative;
  height: 300vh;
  /* Enough scroll space for 5 steps (optimized for speed) */
  background-color: var(--color-black);
  z-index: 2000;
}

.intro-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-black);
}

.intro-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  font-family: var(--font-family-heading);
  font-size: 15vw;
  font-weight: 900;
  color: var(--color-white);
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  /* Faster transition */
  width: 100%;
  pointer-events: none;
  line-height: 1;
}

.intro-text.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Adjust font size for longer text */
#intro-text-1 {
  font-size: 10vw;
}

/* Пространство */
#intro-text-3 {
  font-size: 8vw;
}

/* ты становишься */

/* Last step specialized style (X-FIT) */
#intro-text-5 {
  /* Reset text specific styles */
  color: transparent;
  text-shadow: none;
  font-size: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-logo {
  width: 40vw;
  /* Responsive width */
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
  /* Glow effect for logo */
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2001;
  pointer-events: none;
}

.scroll-indicator.visible {
  opacity: 1;
}

.arrow-down {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 3px solid var(--color-white);
  border-bottom: 3px solid var(--color-white);
  transform: rotate(45deg);
  animation: arrowBounce 2s infinite;
}

@keyframes arrowBounce {
  0% {
    transform: rotate(45deg) translate(0, 0);
  }

  50% {
    transform: rotate(45deg) translate(10px, 10px);
  }

  100% {
    transform: rotate(45deg) translate(0, 0);
  }
}