/* Shared static-site styles for Where in Destin */
:root {
  --wid-ink: #27373c;
  --wid-teal: #117076;
  --wid-teal-dark: #0a5257;
  --wid-sand: #d9c7a8;
  --wid-cream: #f8f8f4;
  --wid-sky: #d9edf1;
  --wid-white: #fff;
  --wid-muted: #607176;
  --wid-border: #dfe6e7;
  --wid-shadow: 0 16px 45px rgba(39, 55, 60, 0.12);
  --wid-radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }

.wid-home {
  margin: 0;
  background: var(--wid-cream);
  color: var(--wid-ink);
  font-family: Roboto, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
.wid-home h1,
.wid-home h2,
.wid-home h3 {
  font-family: Lora, Georgia, serif;
  line-height: 1.15;
  text-wrap: balance;
}
.wid-home a { color: var(--wid-teal-dark); }
.wid-home a:hover,
.wid-home a:focus { color: #35679c; }
.wid-wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.wid-skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--wid-white);
  color: var(--wid-ink);
  box-shadow: var(--wid-shadow);
}
.wid-skip:focus { top: 12px; }

.wid-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--wid-border);
  background: rgba(255, 255, 255, 0.98);
}
.wid-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wid-brand { display: inline-flex; align-items: center; }
.wid-brand img { display: block; width: 230px; height: auto; }
.wid-nav { display: flex; align-items: center; gap: 22px; }
.wid-nav a {
  color: var(--wid-ink);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}
.wid-nav a:hover,
.wid-nav a:focus { color: var(--wid-teal); }
.wid-nav .wid-nav-contact {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--wid-teal);
  color: var(--wid-white);
}
.wid-nav .wid-nav-contact:hover,
.wid-nav .wid-nav-contact:focus { background: var(--wid-teal-dark); color: var(--wid-white); }
.wid-nav-toggle {
  display: none;
  min-width: 46px;
  min-height: 44px;
  border: 1px solid var(--wid-border);
  border-radius: 10px;
  background: var(--wid-white);
  color: var(--wid-ink);
  font: inherit;
  font-weight: 700;
}

.wid-hero {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  display: grid;
  align-items: center;
  color: var(--wid-white);
  background:
    linear-gradient(90deg, rgba(12, 44, 51, 0.88) 0%, rgba(12, 44, 51, 0.68) 53%, rgba(12, 44, 51, 0.30) 100%),
    url('/wp-content/uploads/2025/03/destin-harbor-ariel-photo.jpg') center 47% / cover no-repeat;
}
.wid-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(transparent, rgba(12, 44, 51, 0.22));
}
.wid-hero-content { max-width: 760px; padding-block: 92px 110px; }
.wid-kicker {
  margin: 0 0 14px;
  color: #bcebf0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.wid-hero h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 5rem); }
.wid-hero p:not(.wid-kicker) {
  max-width: 650px;
  margin: 24px 0 32px;
  color: rgba(255,255,255,0.94);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}
.wid-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--wid-teal);
  color: var(--wid-white) !important;
  font-weight: 800;
  text-decoration: none;
}
.wid-button:hover,
.wid-button:focus { background: var(--wid-teal-dark); color: var(--wid-white); }
.wid-button-secondary {
  border-color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(6px);
}
.wid-button-secondary:hover,
.wid-button-secondary:focus { background: var(--wid-white); color: var(--wid-ink) !important; }

.wid-main { display: block; }
.wid-section { padding-block: 82px; }
.wid-section-alt { background: var(--wid-white); }
.wid-section-heading { max-width: 760px; margin-bottom: 34px; }
.wid-section-heading h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3rem); }
.wid-section-heading p { margin: 0; color: var(--wid-muted); }
.wid-eyebrow {
  margin: 0 0 8px !important;
  color: var(--wid-teal) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.wid-grid { display: grid; gap: 22px; }
.wid-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wid-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wid-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--wid-border);
  border-radius: var(--wid-radius);
  background: var(--wid-white);
  box-shadow: 0 8px 24px rgba(39, 55, 60, 0.07);
}
.wid-card img { width: 100%; aspect-ratio: 16 / 10; display: block; object-fit: cover; }
.wid-card-body { padding: 22px; }
.wid-card h3 { margin: 0 0 9px; font-size: 1.35rem; }
.wid-card h3 a { color: var(--wid-ink); text-decoration: none; }
.wid-card h3 a:hover,
.wid-card h3 a:focus { color: var(--wid-teal); }
.wid-card p { margin: 0; color: var(--wid-muted); font-size: 0.95rem; }
.wid-category {
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(145deg, var(--wid-white), #edf5f5);
}
.wid-category::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--wid-teal);
}
.wid-category h3 { margin-bottom: 10px; }
.wid-category > a { font-weight: 800; }

.wid-guide-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.wid-guide-group {
  padding: 28px;
  border: 1px solid var(--wid-border);
  border-radius: var(--wid-radius);
  background: var(--wid-white);
}
.wid-guide-group h3 { margin: 0 0 15px; font-size: 1.5rem; }
.wid-link-list { margin: 0; padding: 0; list-style: none; }
.wid-link-list li { border-top: 1px solid var(--wid-border); }
.wid-link-list li:first-child { border-top: 0; }
.wid-link-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  color: var(--wid-ink);
  font-weight: 700;
  text-decoration: none;
}
.wid-link-list a::after { content: "→"; color: var(--wid-teal); }
.wid-link-list a:hover,
.wid-link-list a:focus { color: var(--wid-teal); }

.wid-note {
  padding: 22px 24px;
  border-left: 5px solid var(--wid-sand);
  border-radius: 0 12px 12px 0;
  background: #fff9ed;
  color: #4e4a40;
}
.wid-note strong { color: var(--wid-ink); }
.wid-contact-card {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px);
  border-radius: 24px;
  background: var(--wid-white);
  box-shadow: var(--wid-shadow);
}
.wid-contact-card h1 { margin-top: 0; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.wid-contact-card .wid-email { font-size: clamp(1rem, 3vw, 1.3rem); font-weight: 800; }

.wid-footer { padding-block: 44px; background: var(--wid-ink); color: rgba(255,255,255,0.78); }
.wid-footer-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.wid-footer img { width: 220px; filter: brightness(0) invert(1); }
.wid-footer p { max-width: 720px; margin: 14px 0 0; font-size: 0.92rem; }
.wid-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 20px; }
.wid-footer a { color: var(--wid-white); }

/* Static-export hardening for preserved WordPress content pages. */
.gp-search-modal,
.menu-bar-items,
.search-modal-form { display: none !important; }
.static-availability-notice {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border-left: 5px solid var(--wid-sand);
  border-radius: 0 10px 10px 0;
  background: #fff9ed;
  color: var(--wid-ink);
}
.static-availability-notice a { font-weight: 700; }
.ez-toc-list { display: block; }

@media (max-width: 980px) {
  .wid-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wid-footer-inner { grid-template-columns: 1fr; }
  .wid-footer nav { justify-content: flex-start; }
  .main-navigation.toggled .main-nav > ul { display: block !important; }
  .main-navigation.toggled .sub-menu {
    position: static !important;
    display: block !important;
    float: none !important;
    width: auto !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 820px) {
  .wid-header-inner { min-height: 72px; }
  .wid-brand img { width: 190px; }
  .wid-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .js .wid-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 22px;
    border-bottom: 1px solid var(--wid-border);
    background: var(--wid-white);
    box-shadow: 0 12px 24px rgba(39,55,60,0.10);
  }
  .js .wid-header.is-open .wid-nav { display: flex; }
  .wid-nav a { padding: 11px 4px; }
  .wid-nav .wid-nav-contact { margin-top: 6px; text-align: center; }
  .wid-hero { min-height: 560px; background-position: 57% center; }
  .wid-grid-3 { grid-template-columns: 1fr; }
  .wid-guide-groups { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wid-wrap { width: min(100% - 28px, 1160px); }
  .wid-section { padding-block: 60px; }
  .wid-grid-4 { grid-template-columns: 1fr; }
  .wid-hero h1 { font-size: 2.65rem; }
  .wid-actions { flex-direction: column; align-items: stretch; }
  .wid-button { width: 100%; }
  .wid-guide-group { padding: 22px; }
}

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