/* Custom styles beyond Tailwind */

:root {
  --color-coral-50: #fff4f0;
  --color-coral-100: #ffe8df;
  --color-coral-400: #ff8357;
  --color-coral-500: #ff6b35;
  --color-coral-600: #f45014;
  --color-charcoal-50: #f6f6f7;
  --color-charcoal-900: #1e1e28;
  --color-charcoal-950: #0f0f15;
}

/* Smooth scrolling for all browsers */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f6f6f7;
}
::-webkit-scrollbar-thumb {
  background: #c7c7d1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a1a1b5;
}

/* Selection color */
::selection {
  background: rgba(255, 107, 53, 0.2);
  color: #1e1e28;
}

/* Focus visible styles */
:focus-visible {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

/* Subtle gradient for body background */
body {
  background: linear-gradient(180deg, #fafaf8 0%, #f5f5f3 100%);
}

/* Hero parallax-like effect on scroll */
#hero {
  will-change: transform;
}

/* Nav transition */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

#navbar.scrolled .nav-title-color {
  color: #1e1e28;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .group:hover img {
    transform: none;
  }
}

/* Print styles */
@media print {
  nav, #contact, .reveal {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
}
