/* SkyRoo Taxi - Custom Styles */

/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&family=Open+Sans:wght@400;600&family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #2563eb;
  --secondary: #60a5fa;
  --accent: #94a3b8;
  --dark: #0f172a;
  --light: #f8fafc;
}

html,
body {
  font-family: "Cairo", "Open Sans", sans-serif;
  overflow-x: hidden !important;
  width: 100%;
  position: relative;
}

.preload * {
  transition: none !important;
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", "Cairo", sans-serif;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* --- PRO Glassmorphism --- */
.glass {
  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);
}

.glass-premium {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* --- Premium Animations --- */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes float-delayed {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.6);
  }
}

@keyframes gradient-x {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shine {
  0% {
    left: -100%;
    opacity: 0;
  }
  20% {
    left: 100%;
    opacity: 0.6;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}
.animate-float-delayed {
  animation: float-delayed 7s ease-in-out infinite 2s;
}
.animate-pulse-glow {
  animation: pulse-glow 3s infinite;
}
.animate-gradient-x {
  background-size: 200% 200%;
  animation: gradient-x 15s ease infinite;
}

/* --- Text Effects --- */
.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #e2e8f0 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradient-x 5s linear infinite;
}

/* --- Button Enhancements --- */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  transition: 0.5s;
  animation: shine 6s infinite;
}

/* --- Navigation Enhancements --- */
.nav-link {
  position: relative;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px var(--primary);
}

.nav-link:hover {
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.6);
  color: white;
}

.nav-link:hover::after {
  width: 100%;
}

/* --- Hero Background --- */
.hero-gradient-overlay {
  background: radial-gradient(
      circle at top right,
      rgba(37, 99, 235, 0.3),
      transparent 60%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(15, 23, 42, 0.9),
      transparent 60%
    ),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.9));
}

/* --- Floating Shapes --- */
.shape-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.4;
}

.blob-1 {
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: var(--primary);
  animation: float 10s infinite;
}

.blob-2 {
  bottom: -10%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: var(--secondary);
  animation: float-delayed 12s infinite;
}

/* --- Service Card Hover --- */
.service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px -5px rgba(37, 99, 235, 0.2);
  border-color: rgba(96, 165, 250, 0.3);
}

/* --- Accordion --- */
.accordion-content {
  transition: max-height 0.3s ease-out, opacity 0.3s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  opacity: 1;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* --- Mobile Menu --- */
#mobile-menu {
  transition: transform 0.3s ease-in-out;
}

/* --- Map Pattern --- */
.bg-pattern {
  background-image: radial-gradient(#2563eb 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.1;
}

/* --- RTL Fixes --- */
[dir="rtl"] .fa-flip-horizontal {
  transform: scaleX(-1);
}

[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}
