@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

/* Custom Styles */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.bg-grid-pattern {
  background-image: linear-gradient(to right, rgba(99, 102, 241, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

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

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.header.scrolled {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Navigation Styles */
.nav-link {
  color: #4B5563;
  transition: color 0.2s;
  font-weight: 500;
}

.nav-link:hover {
  color: #4F46E5;
}

/* Language Toggle Styles */
.lang-btn {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.lang-btn.active {
  background-color: #4F46E5;
  color: white;
}

.lang-btn:not(.active) {
  background-color: #E5E7EB;
  color: #4B5563;
}

.lang-btn:hover:not(.active) {
  background-color: #D1D5DB;
}

/* Footer Styles */
.footer-link {
  color: #9CA3AF;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #818CF8;
}

.social-icon {
  transition: all 0.2s;
}

.social-icon:hover {
  transform: translateY(-2px);
  color: #818CF8;
}

/* Responsive Typography */
@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* Focus Styles */
*:focus {
  outline: 2px solid rgba(99, 102, 241, 0.5);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .no-print {
    display: none;
  }
}