/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --primary-blue: #1e3a8a;
  --primary-green: #10b981;
  --dark-blue: #172554;
  --light-blue: #eff6ff;
  --light-green: #ecfdf5;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Custom Colors Utility Classes */
.bg-custom-blue {
  background-color: var(--primary-blue);
}
.bg-custom-green {
  background-color: var(--primary-green);
}
.text-custom-blue {
  color: var(--primary-blue);
}
.text-custom-green {
  color: var(--primary-green);
}
.border-custom-blue {
  border-color: var(--primary-blue);
}
.border-custom-green {
  border-color: var(--primary-green);
}
.hover\:bg-custom-blue:hover {
  background-color: var(--primary-blue);
}
.hover\:bg-custom-green:hover {
  background-color: var(--primary-green);
}

/* Glassmorphism */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.95);
}

/* Transitions */
.transition {
  transition: all 0.3s ease;
}

/* Active Links */
.nav-link.active {
  color: var(--primary-green);
  font-weight: 600;
  position: relative;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-green);
  border-radius: 2px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse-soft {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease both;
}
.animate-slide-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.animate-scale-in {
  animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.animate-float {
  animation: float 6s ease-in-out infinite;
}
.animate-pulse-soft {
  animation: pulse-soft 2s infinite;
}

/* Staggered Animation Delays */
.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}

/* Collage styles */
.collage-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.collage-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #f3f4f6;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

.collage-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-item:hover img {
  transform: scale(1.1);
}

.collage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.collage-item:hover .collage-overlay {
  opacity: 1;
}

.collage-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: #fff;
  font-weight: 600;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.collage-item:hover .collage-caption {
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .collage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .collage-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
