/* Tommy SIM — production site styles (complements Tailwind) */

:root {
  --gold: #d4af37;
  --gold-hover: #e4c04a;
  --amber: #f59e0b;
  --bg: #09090b;
  --surface: #18181b;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg);
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.heading {
  font-family: 'Playfair Display', Georgia, serif;
}

.gold {
  color: var(--gold);
}

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* Hero backgrounds */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-home {
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)),
    url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=1920&q=80');
}

.hero-about {
  min-height: 70vh;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.85)),
    url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=1920&q=80');
}

.hero-accelerator {
  min-height: 85vh;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.85)),
    url('https://images.unsplash.com/photo-1515187029135-18ee286d815b?auto=format&fit=crop&w=1920&q=80');
}

.hero-register {
  min-height: 50vh;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)),
    url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1920&q=80');
}

/* Form controls */
.form-input {
  width: 100%;
  background-color: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.15rem 1.5rem;
  color: #fff;
  transition: border-color 0.15s ease;
}

.form-input::placeholder {
  color: #71717a;
}

.form-input:focus {
  border-color: var(--amber);
  outline: none;
}

select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a1a1aa'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

.form-input option {
  background-color: #18181b;
  color: #fff;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  color: #a1a1aa;
  margin-bottom: 0.5rem;
}

/* Honeypot — hidden from users, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Mobile nav — closed by default; JS toggles .is-open */
#mobile-menu {
  display: none;
}

#mobile-menu.is-open {
  display: block;
}

@media (min-width: 768px) {
  #mobile-menu,
  #mobile-menu.is-open {
    display: none !important;
  }
}

#nav-toggle[aria-expanded='true'] .icon-open {
  display: none;
}

#nav-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

#nav-toggle .icon-close {
  display: none;
}

/* Nav link active */
.nav-link {
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--amber);
}

.nav-link.is-active {
  color: var(--amber);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--amber);
  color: #000;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Stat cards */
.stat-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

/* Program day cards */
.day-card {
  border-left: 3px solid var(--amber);
  padding-left: 1.5rem;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
