﻿:root {
  --nav-height: 80px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Sora", sans-serif;
}

a {
  text-decoration: none;
}

.site-nav {
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.site-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.site-nav .nav-link:hover {
  color: #ffffff;
}

.site-nav.is-scrolled .nav-link {
  color: #374151;
}

.site-nav.is-scrolled .nav-link:hover {
  color: #06b6d4;
}

.site-nav .nav-contact {
  background: #ffffff;
  color: #111827;
}

.site-nav.is-scrolled .nav-contact {
  background: linear-gradient(90deg, #06b6d4, #14b8a6);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(6, 182, 212, 0.25);
}

.language-toggle {
  background: #2563eb;
  border-color: #1d4ed8;
}

.mobile-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.is-open {
  max-height: 500px;
  opacity: 1;
}

.site-nav .mobile-menu {
  background: rgba(17, 24, 39, 0.95);
}

.site-nav.is-scrolled .mobile-menu {
  background: rgba(255, 255, 255, 0.95);
}

.site-nav.is-scrolled #mobile-menu a {
  color: #374151;
}

.site-nav.is-scrolled #mobile-menu a:hover {
  color: #06b6d4;
}

.featured-card {
  height: 400px;
  min-height: 400px;
}

.featured-card .featured-desc {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.featured-card.is-expanded .featured-desc {
  opacity: 1;
  max-height: 8rem;
}

.industry-content {
  transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}

.industry-content.is-transitioning {
  opacity: 0;
  transform: scale(0.97);
  filter: blur(2px);
}

.industry-button {
  position: relative;
  transition: all 0.5s ease;
}

.industry-button .industry-indicator {
  pointer-events: none;
}

.industry-button.is-active {
  background: linear-gradient(90deg, #06b6d4, #14b8a6);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2);
  transform: scale(1.05);
}

.industry-button.is-active .industry-indicator {
  opacity: 0.5;
}

.industry-button.is-active .industry-icon {
  transform: rotate(12deg) scale(1.1);
}

.animate-scroll-left {
  animation: scrollLeft 25s linear infinite;
}

.animate-scroll-right {
  animation: scrollRight 28s linear infinite;
}

.animate-float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}

.animate-float-gentle {
  animation: floatGentle 6s ease-in-out infinite;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-1000 {
  animation-delay: 1s;
}

body.modal-open {
  overflow: hidden;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .text-right {
  text-align: left;
}

html[dir="rtl"] .gap-4 {
  column-gap: 1rem;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

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

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

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
