﻿:root {
  --color-lavallette-blue: #2B6EB1;
  --color-lavallette-dark: #1E4E7F;
  --color-lavallette-light: #EBF3FA;
  --color-lavallette-sand: #F8FAFC;
}

body {
  font-family: "Inter", Arial, sans-serif;
}

.font-display {
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* Form Pill Buttons */
.form-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  background-color: #EBF3FA;
  color: #2B6EB1;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.form-pill:hover {
  background-color: #2B6EB1;
  color: #ffffff;
}

.form-pill:focus-visible {
  outline: 2px solid #2B6EB1;
  outline-offset: 2px;
}

/* Automatic PDF / Link Icons on .form-pill */
.form-pill[data-doc=pdf]::after {
  content: "\f1c1";
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.form-pill[data-doc=link]::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Muted / Upcoming Form Pill */
.form-pill-muted {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  background-color: #F1F5F9;
  color: #64748B;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}

/* Hero Banner & Map Helpers */
.hero-banner {
    position: relative;
    min-height: 20rem;
    background-color: var(--color-lavallette-dark);
    background-image:
      linear-gradient(90deg, rgba(15, 41, 74, 0.56) 0%, rgba(15, 41, 74, 0.30) 55%, rgba(15, 41, 74, 0.18) 100%),
      url('https://www.lavallette.org/images/head/Header2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-banner h1,
  .hero-banner p,
  .hero-banner span {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
  }

.map-embed-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* White Pill Button for Dark/Blue Banners */
.contact-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  background-color: #ffffff;
  color: var(--color-lavallette-blue);
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.contact-pill-btn:hover {
  background-color: #eff6ff;
  color: var(--color-lavallette-dark);
}

.contact-pill-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Standard CSS for Lavallette.css (works with or without Tailwind v4) */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 9999;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  background-color: #1E4E7F;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
}

/* Standard CSS for native <dialog> modal in Lavallette.css */
.lavallette-dialog {
  margin: auto;
  width: min(32rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background-color: #ffffff;
  color: #0f172a;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.lavallette-dialog:not([open]) {
  display: none;
}

.lavallette-dialog::backdrop {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}