/* Motion Graphics Studio - Custom Styles */

/* Theme Variables */
:root {
  --bg-primary: #0F172A;
  --bg-surface: #020617;
  --bg-card: #020617;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --accent: #3B82F6;
  --map-filter: grayscale(1) invert(1) contrast(0.8) brightness(0.8);
}

[data-theme="light"] {
  --bg-primary: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --accent: #3B82F6;
  --map-filter: grayscale(1);
}

/* Base Styles */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Smooth Transitions */
.transition-smooth {
  transition: all 0.3s ease;
}

/* Card Hover Effect */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
}

/* Button Hover Effect */
.btn-hover {
  transition: transform 0.2s ease;
}

.btn-hover:hover {
  transform: scale(1.05);
}

/* Section Spacing */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Image Styles */
img {
  max-width: 100%;
  height: auto;
}

/* Focus Styles for Accessibility */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


/* Active Mobile/Desktop Navigation Link */
.nav-active {
  color: var(--accent) !important;
  font-weight: 600;
}

/* Premium Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .glass-card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.bg-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.bg-mesh div {
  position: absolute;
  filter: blur(80px);
  opacity: 0.4;
  border-radius: 50%;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: #a855f7;
  bottom: -50px;
  left: -50px;
}