@import "tailwindcss";

@layer base {
  :root {
    --font-vazir: 'IRANYekan', 'IRANYekanX', 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-english: 'Plus Jakarta Sans', sans-serif;
    --primary: #193b74;
    --primary-light: #2252a0;
    --primary-dark: #0f2447;
    --accent: #06b6d4;
  }

  body {
    font-family: var(--font-vazir);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    background-color: #080c14;
    color: #f1f5f9;
  }
}

/* Custom Fonts & Utilities */
.font-vazir {
  font-family: var(--font-vazir);
}

.font-english {
  font-family: var(--font-english);
}

/* Donya Theme & Elementor Button Styles */
.btn-donya-primary {
  background: linear-gradient(135deg, #193b74 0%, #2252a0 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(25, 59, 116, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-donya-primary:hover {
  background: linear-gradient(135deg, #2252a0 0%, #2e6fd6 100%);
  box-shadow: 0 6px 20px rgba(34, 82, 160, 0.5);
  transform: translateY(-2px);
}

.btn-donya-outline {
  background: rgba(25, 59, 116, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(34, 82, 160, 0.4);
  transition: all 0.2s ease;
}

.btn-donya-outline:hover {
  background: rgba(34, 82, 160, 0.3);
  border-color: #60a5fa;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Section Header Decorator (Matching Donya Theme) */
.donya-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.donya-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.donya-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.5rem auto 0;
  max-width: 220px;
}

.donya-divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2252a0, transparent);
}

.donya-divider-icon {
  width: 9px;
  height: 9px;
  background: #06b6d4;
  transform: rotate(45deg);
  box-shadow: 0 0 10px #06b6d4;
}

/* Glassmorphism & Elementor Card Styles */
.glass-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-panel-hover:hover {
  background: rgba(22, 33, 62, 0.85);
  border-color: rgba(34, 82, 160, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(25, 59, 116, 0.4);
}

.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

/* Text Gradients */
.text-gradient-primary {
  background: linear-gradient(135deg, #ffffff 20%, #93c5fd 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background Gradients */
.bg-radial-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(25, 59, 116, 0.25) 0%, rgba(8, 12, 20, 0) 70%);
}

.bg-radial-glow {
  background: radial-gradient(circle at 80% 20%, rgba(34, 82, 160, 0.18) 0%, rgba(8, 12, 20, 0) 60%),
              radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.12) 0%, rgba(8, 12, 20, 0) 60%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #080c14;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Animations & Keyframes */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverseSlow {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

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

.animate-float-delayed {
  animation: floatDelayed 7s ease-in-out infinite 2s;
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

.animate-spin-slow {
  animation: spinSlow 30s linear infinite;
}

.animate-spin-reverse {
  animation: spinReverseSlow 35s linear infinite;
}

