/* Custom Styles for Invictus AeroTech tombstone site */

:root {
  --accent-color: #ff6b35;
  --dark-bg: #1a1a2e;
  --light-bg: #f8f9fa;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Skip-to-content link */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 4px 0;
  font-weight: 600;
}

.skip-to-main:focus {
  top: 0;
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Main content area — accounts for fixed-bottom footer */
main {
  padding-top: 4rem;
  padding-bottom: 6rem;
  min-height: calc(100vh - 6rem);
}

/* Logo */
.logo-img {
  height: 250px;
  width: 250px;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
}

/* Footer */
footer {
  background: var(--dark-bg) !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--text-light);
  text-decoration: underline;
}

.footer-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.5);
}

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

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .logo-img {
    height: 200px;
    width: 200px;
  }

  main {
    padding-top: 3rem;
    padding-bottom: 6rem;
  }
}
