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

:root {
  /* Color Palette */
  --primary: 210 100% 65%;
  --primary-light: 212 100% 75%;
  --primary-dark: 208 100% 55%;
  --primary-foreground: 0 0% 100%;
  
  --secondary: 195 100% 70%;
  --secondary-foreground: 0 0% 100%;
  
  --accent: 175 60% 65%;
  --accent-foreground: 0 0% 100%;
  
  --background: 225 15% 8%;
  --foreground: 210 20% 95%;
  
  --muted: 225 15% 15%;
  --muted-foreground: 210 15% 70%;
  
  --card: 225 15% 10%;
  --card-foreground: 210 20% 95%;
  
  --border: 225 15% 20%;
  --input: 225 15% 15%;
  --ring: 210 100% 65%;
  
  /* Glass effect colors */
  --glass-bg: 225 15% 8% / 0.1;
  --glass-border: 210 20% 95% / 0.1;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-light)));
  --gradient-secondary: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--accent)));
  --gradient-hero: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--primary-dark)) 50%, hsl(var(--background)) 100%);
  
  /* Shadows */
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px hsl(var(--primary) / 0.3);
  
  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Glass Effects */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: var(--shadow-glass);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: hsl(var(--primary) / 0.3);
  transform: translateY(-2px);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-button {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: hsl(var(--foreground));
  transition: var(--transition-smooth);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: hsl(var(--primary));
  transform: translateY(-1px);
}

.glass-button.bg-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

.glass-button.bg-primary:hover {
  background: hsl(var(--primary) / 0.9);
}

/* Typography */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradients */
.bg-gradient-hero {
  background: var(--gradient-hero);
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

/* Colors */
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-secondary { color: hsl(var(--secondary)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }

.bg-primary { background: hsl(var(--primary)); }
.bg-secondary { background: hsl(var(--secondary)); }
.bg-background { background: hsl(var(--background)); }
.bg-muted { background: hsl(var(--muted)); }

.border-glass-border { border-color: rgba(255, 255, 255, 0.1); }
.border-primary { border-color: hsl(var(--primary)); }

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes glow {
  0%, 100% { box-shadow: var(--shadow-glass); }
  50% { box-shadow: var(--shadow-glow); }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
  40%, 43% { transform: translateY(-10px); }
  70% { transform: translateY(-5px); }
  90% { transform: translateY(-3px); }
}

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

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

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .text-4xl { font-size: 2rem; }
  .text-6xl { font-size: 3rem; }
  .text-xl { font-size: 1.125rem; }
  .text-2xl { font-size: 1.25rem; }
}

/* Utility Classes */
.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-full { width: 100%; }

.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-10 { margin-left: 2.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-12 { margin-top: 3rem; }

.pt-2 { padding-top: 0.5rem; }
.pt-8 { padding-top: 2rem; }
.pb-3 { padding-bottom: 0.75rem; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-6xl { font-size: 3.75rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-center { text-align: center; }
.leading-relaxed { line-height: 1.625; }

.rounded-md { border-radius: 0.375rem; }
.rounded-full { border-radius: 9999px; }

.border { border-width: 1px; }
.border-t { border-top-width: 1px; }

.fixed { position: fixed; }
.relative { position: relative; }
.absolute { position: absolute; }

.top-0 { top: 0; }
.top-20 { top: 5rem; }
.top-40 { top: 10rem; }
.left-0 { left: 0; }
.left-10 { left: 2.5rem; }
.left-1\/2 { left: 50%; }
.left-1\/4 { left: 25%; }
.right-20 { right: 5rem; }
.bottom-8 { bottom: 2rem; }
.bottom-40 { bottom: 10rem; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.min-h-screen { min-height: 100vh; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.overflow-hidden { overflow: hidden; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }

.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; }
.transition-transform { transition-property: transform; }
.duration-300 { transition-duration: 300ms; }

.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.-translate-x-1\/2 { --tw-translate-x: -50%; }
.translate-x-1 { --tw-translate-x: 0.25rem; }
.-translate-y-2 { --tw-translate-y: -0.5rem; }

.opacity-20 { opacity: 0.2; }
.opacity-90 { opacity: 0.9; }

.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.bg-no-repeat { background-repeat: no-repeat; }

.cursor-pointer { cursor: pointer; }

/* Focus styles */
.focus\:ring-2:focus { box-shadow: 0 0 0 2px hsl(var(--ring)); }
.focus\:ring-primary:focus { --tw-ring-color: hsl(var(--primary)); }
.focus\:border-transparent:focus { border-color: transparent; }

/* Hover effects */
.hover\:text-primary:hover { color: hsl(var(--primary)); }
.hover\:border-primary:hover { border-color: hsl(var(--primary)); }
.hover\:bg-primary\/90:hover { background-color: hsl(var(--primary) / 0.9); }
.group:hover .group-hover\:translate-x-1 { --tw-translate-x: 0.25rem; }

/* Responsive grid */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:p-12 { padding: 3rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
}

/* Form styles */
input, textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  color: hsl(var(--foreground));
  transition: var(--transition-smooth);
}

input:focus, textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

input::placeholder, textarea::placeholder {
  color: hsl(var(--muted-foreground));
}

/* Navigation Styles */
.nav-container {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: hsl(var(--primary));
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: hsl(var(--primary));
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  padding: 0.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: hsl(var(--foreground));
  transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: hsl(var(--primary));
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
}

/* Team Hero Section */
.team-hero {
  padding: 8rem 1rem 4rem;
  text-align: center;
  background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--primary-dark) / 0.2) 100%);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  max-width: 48rem;
  margin: 0 auto;
}

/* Team Section */
.team-section {
  padding: 5rem 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.team-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: hsl(var(--primary) / 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.team-card-image {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  font-size: 4rem;
  font-weight: 700;
  color: white;
}

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.team-card:hover .team-card-overlay {
  opacity: 1;
}

.view-details {
  background: hsl(var(--primary));
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.team-card:hover .view-details {
  transform: translateY(0);
}

.team-card-content {
  padding: 1.5rem;
}

.team-member-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-member-position {
  color: hsl(var(--primary));
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.team-member-experience {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* Modal Styles */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 101;
  animation: scaleIn 0.3s ease-out;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 102;
}

.modal-close:hover {
  background: hsl(var(--primary));
  color: white;
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  gap: 2rem;
  padding: 2rem;
}

.modal-image {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-position {
  color: hsl(var(--primary));
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.modal-details h3 {
  color: hsl(var(--primary));
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.modal-details p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 1rem;
}

.modal-details ul {
  list-style: none;
  padding: 0;
}

.modal-details li {
  color: hsl(var(--muted-foreground));
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.modal-details li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: hsl(var(--primary));
  font-weight: 700;
}

@media (min-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr 1.5fr;
  }
  
  .modal-image {
    height: auto;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 3.75rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Footer */
.footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column {
  padding: 0 1rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.footer-text {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-links li {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: hsl(var(--primary));
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out;
}

/* İlk card xüsusi vəziyyət */
.team-grid > .team-card:first-child {
  grid-column: 1 / -1; /* bütün sütunları tutmasın */
  justify-self: center; /* mərkəzləşdir */
width: 400px;
}