/* Custom styles that extend beyond Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* Selection color */
::selection {
  background: rgba(31, 191, 131, 0.3);
  color: #f0f4f8;
}

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

/* Button focus states */
.btn-gold:focus-visible {
  outline-color: #f3d982;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .gold-shimmer {
    animation: none;
    background: #d48e0a;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  img {
    transition: none;
  }
  .card-glow:hover {
    box-shadow: none;
  }
}

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

/* Container padding adjustment for very small screens */
@media (max-width: 360px) {
  .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Date input styling for dark theme */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(3) hue-rotate(105deg);
  cursor: pointer;
}
