/* Custom styles beyond Tailwind */

/* Smooth scrolling is handled in HTML head */

/* Ensure no layout shift on images */
img {
  max-width: 100%;
  height: auto;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #e05a2d;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
  background: #d49220;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c9421a;
}

/* Subtle pattern overlay for hero */
.hero-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(224, 90, 45, 0.15) 0%, transparent 50%, rgba(30, 30, 30, 0.2) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Mobile menu animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu.open .mobile-link {
  animation: fadeInUp 0.3s ease forwards;
}
.mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 6px;
}

/* Print styles */
@media print {
  nav, .geo-circle, .geo-rect, #mobile-menu { display: none; }
  body { color: #000; background: #fff; }
}
