/* Atchafalaya Title, LLC - custom styles (Tailwind CDN handles utilities) */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem; /* sticky header: 80px main bar on mobile */
}
@media (min-width: 1024px) {
  html { scroll-padding-top: 9rem; } /* 40px utility bar + 96px main bar */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Visible focus indicators for keyboard users */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #c5d3e0;
  outline-offset: 3px;
}

/* Header shadow once the page is scrolled */
#site-header { transition: box-shadow 0.2s ease; }
#site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(31, 50, 68, 0.35);
}

/* Active nav link */
.nav-link { position: relative; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #c5d3e0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: #ffffff; }

/* Eyebrow labels */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Hero: light wash over the photo so it stays visible; the text sits in its own panel */
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(31, 50, 68, 0.45) 0%, rgba(31, 50, 68, 0.1) 35%, rgba(31, 50, 68, 0.55) 100%);
}
.hero-panel {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(31, 50, 68, 0.35);
}

/* Buttons: identical height, padding, and font so pairs always match */
.btn-primary,
.btn-outline-light,
.btn-steel,
.btn-outline-steel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.125rem;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: #ffffff;
  color: #3a556e;
  border-color: #ffffff;
}
.btn-primary:hover { background: #eef2f6; }
.btn-outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-outline-light:hover {
  background: #ffffff;
  color: #3a556e;
  border-color: #ffffff;
}

.btn-steel {
  background: #3a556e;
  color: #ffffff;
  border-color: #3a556e;
}
.btn-steel:hover { background: #2b4256; border-color: #2b4256; }
.btn-outline-steel {
  color: #3a556e;
  border-color: #3a556e;
}
.btn-outline-steel:hover { background: #3a556e; color: #ffffff; }

/* Inside a grid the buttons fill their equal cells; standalone they share a min width */
.btn-primary, .btn-outline-light, .btn-steel, .btn-outline-steel { width: 100%; }
.btn-standalone { width: auto; min-width: 16rem; }
