/* src/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

html {
  scroll-behavior: smooth;
}
html.dark {
  background-color: #000000;
}
html:not(.dark) {
  background-color: #f8f9fa;
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}
html.dark body {
  background-color: #000000;
  color: #ffffff;
}
html:not(.dark) body {
  background-color: #f8f9fa;
  color: #030305;
}

html[lang="fa"] body {
  font-family: 'Vazirmatn', sans-serif;
}

/* Base custom utilities */
.glass-nav {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.grid-bg-pattern {
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}
html.dark .grid-bg-pattern {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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