/* Custom styles for Cumulus Coding website */

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

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Apple-inspired base styles */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom focus styles for better accessibility */
.focus-visible:focus {
  outline: 2px solid #007AFF;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Custom animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Apple-style shadows */
.apple-shadow {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 
              0 1px 3px rgba(0, 0, 0, 0.06);
}

.apple-shadow-hover {
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-shadow-hover:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 
              0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Refined card styles */
.apple-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Custom hover effects */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-4px);
}

/* Typography refinements */
h1, h2, h3 {
  letter-spacing: -0.02em;
  font-weight: 600;
}


/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .bg-white {
    background: white !important;
    border: 1px solid #ccc !important;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(to bottom, #000000 0%, #1a1a1a 100%);
    color: #f5f5f7;
  }
  
  .apple-card {
    background: rgba(28, 28, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}
