/* Visit Lincoln Park — rebuilt stylesheet */

:root {
  --lnpk-green: #7ab51d;
  --lnpk-green-dark: #6aa319;
  --lnpk-dark: #2e3192;
  --heading-color: #1a1a2e;
  --text-color: #3d3d3d;
  --card-bg: #e6e6e6;
  --link-green: #4d7a12; /* AA-contrast green for link text on white (5.1:1) */
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--text-color);
  background: #ffffff;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--heading-color);
  line-height: 1.25;
}

img { max-width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid #1a1a2e;
  outline-offset: 3px;
  border-radius: 3px;
}

.site-header :focus-visible,
.site-footer :focus-visible { outline-color: #ffffff; }

a { color: var(--link-green); }
a:hover { color: #3d6110; }

/* ---------- Header ---------- */
.site-header {
  background: var(--lnpk-green);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* Desktop order: nav left, logo center, actions right */
.main-nav { order: 1; }
.header-logo { order: 2; }
.header-actions { order: 3; }

.main-nav {
  display: flex;
  gap: 26px;
  flex: 1 1 320px;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 6px 2px;
}

.main-nav a:hover,
.main-nav a.active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.header-logo {
  flex: 0 1 auto;
  text-align: center;
}

.header-logo img {
  height: 195px;
  width: auto;
}

.header-logo a,
.footer-logo a {
  display: block;
  line-height: 0;
}


.header-actions {
  flex: 1 1 220px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

/* Social icons: matching white circular badges with green brand glyphs */
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--lnpk-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.social-icon:hover { transform: scale(1.1); background: #ffffff; }

.social-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Facebook glyph is fill-based */
.social-icon svg path { fill: currentColor; }

/* Instagram mark is stroke-based, same visual weight */
.social-icon svg rect,
.social-icon svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.social-icon svg circle.ig-dot {
  fill: currentColor;
  stroke: none;
}

.contact-btn {
  border: 1.5px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 26px;
  background: transparent;
}

.contact-btn:hover { background: rgba(255, 255, 255, 0.15); }

/* ---------- Hamburger toggle (mobile only) ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 9px;
  background: transparent;
  border: 1.5px solid #ffffff;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Bars become an X when the menu is open */
.site-header.menu-open .menu-toggle .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-header.menu-open .menu-toggle .bar:nth-child(2) { opacity: 0; }
.site-header.menu-open .menu-toggle .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Mobile dropdown menu ---------- */
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  width: 100%;
  min-height: 340px;
  background: #b9d7d8 url('../images/image-asset.webp') center / cover no-repeat;
  display: block;
}

/* ---------- Content wrapper ---------- */
.page-content { padding: 0 0 40px; }

.section { padding: 48px 24px; }

.section-inner {
  max-width: 1060px;
  margin: 0 auto;
}

/* Intro "crafting" section */
.intro-section { background: #ffffff; }

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.4fr;
  gap: 48px;
  align-items: center;
}

.intro-grid h1 {
  font-size: 30px;
  margin: 0 0 18px;
}

.intro-grid p { margin: 0 0 16px; font-size: 17px; }

.intro-image img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto;
}

/* ---------- Updates (green band) ---------- */
.updates-section {
  background: var(--lnpk-green);
  padding: 40px 24px 56px;
}

.updates-section h2 {
  color: #ffffff;
  text-align: center;
  font-size: 44px;
  font-weight: 700;
  margin: 0 0 36px;
}

.update-card {
  max-width: 920px;
  min-height: 210px;
  margin: 0 auto 34px;
  background: var(--card-bg);
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}

.update-card-body { padding: 22px 30px; align-self: center; }

.update-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 160px;
}

.update-card-body h3 {
  text-align: center;
  font-size: 20px;
  margin: 0 0 10px;
}

.update-card-body p { margin: 0 0 10px; font-size: 16px; }

.update-card-body a { font-weight: 600; }

/* ---------- Map / placeholder embeds ---------- */
.map-section { background: #ffffff; text-align: center; }

.map-section h2 { font-size: 34px; margin: 0 0 14px; }

.map-section p { margin: 0 0 22px; }

.map-embed {
  max-width: 920px;
  margin: 0 auto;
}

.map-embed iframe {
  width: 100%;
  height: 700px;
  border: 0;
  display: block;
  background: #f4f4f4;
}

@media (max-width: 700px) {
  .map-embed iframe { height: 450px; }
}

/* Wide map (Businesses page): nearly full browser width like the original.
   Lives outside the padded section, so 100% already excludes the scrollbar. */
.map-embed--wide {
  max-width: none;
  width: calc(100% - 48px);
  margin: 0 auto;
}

.map-embed--wide iframe { height: 820px; }

@media (max-width: 700px) {
  .map-embed--wide iframe { height: 500px; }
}


/* ---------- Project sections ---------- */
.project-section { background: #ffffff; text-align: center; }

.project-section h2 { font-size: 32px; margin: 0 0 20px; }

.project-section .project-copy {
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: left;
}


.project-image {
  max-width: 760px;
  width: 100%;
  margin: 0 auto 22px;
  display: block;
  background: #ffffff;
}

.divider {
  max-width: 760px;
  margin: 44px auto;
  border: 0;
  border-top: 2px solid var(--lnpk-green);
}

/* ---------- Generic page hero (subpages) ---------- */
.page-hero {
  /* deeper than --lnpk-green so white 40px type clears the 3:1 large-text floor */
  background: #5c8f14;
  color: #ffffff;
  text-align: center;
  padding: 46px 24px;
}

.page-hero h1 {
  color: #ffffff;
  margin: 0;
  font-size: 40px;
}

/* ---------- 404 page ---------- */
.not-found { max-width: 640px; text-align: left; }

.not-found p { font-size: 17px; }

.not-found-links {
  margin: 0 0 24px;
  padding: 0 0 0 20px;
  font-size: 17px;
}

.not-found-links li { margin: 0 0 8px; }

/* ---------- About page ---------- */
.about-section { max-width: 1140px; margin: 0 auto; padding: 44px 24px 0; }

.about-section--last { padding-bottom: 44px; }



.about-section h2 { font-size: 30px; margin: 34px 0 14px; }

.about-section p { margin: 0 0 16px; font-size: 17px; }

.about-heading--center {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  margin: 26px 0 18px;
}

/* Logo / photo beside text rows */
.about-split {
  max-width: 1140px;
  margin: 0 auto 40px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 56px;
  align-items: center;
}

.about-split--media-right { grid-template-columns: 1fr 400px; }

.about-split-logo img,
.about-split-media img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .about-split,
  .about-split--media-right { grid-template-columns: 1fr; gap: 24px; }

  /* Keep media above text on mobile for both rows */
  .about-split--media-right .about-split-media { order: -1; }

  .about-split-logo img { max-width: 300px; margin: 0 auto; }

  .about-split-media img {
    width: auto;
    max-width: 100%;
    max-height: 360px;
    margin: 0 auto;
  }

  .about-heading--center { font-size: 32px; }
}

/* Become a Member callout - same container as the about text */
.member-section {
  max-width: 1140px;
  margin: 6px auto 54px;
  padding: 0 24px;
}

.member-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "titles button"
    "perks perks";
  align-items: center;
  column-gap: 32px;
  background: #f4f4f4;
  padding: 30px 30px 30px;
}

.member-cta-titles { grid-area: titles; }

.member-cta-titles h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  color: var(--lnpk-green);
}

.member-cta .btn-green {
  grid-area: button;
  justify-self: end;
}

.member-perks {
  grid-area: perks;
  background: var(--lnpk-green);
  padding: 26px 20px;
  margin-top: 26px;
}

.member-cta .member-perks { margin-left: 0; margin-right: 0; }

.member-perks p {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .member-cta {
    grid-template-columns: 1fr;
    grid-template-areas:
      "titles"
      "perks"
      "button";
    row-gap: 18px;
  }

  .member-cta-titles h3 { font-size: 24px; }

  .member-cta { padding: 22px 20px; }

  .member-perks { padding: 20px 22px; margin-top: 0; }

  .member-perks p { font-size: 17px; line-height: 1.9; white-space: normal; }

  .member-cta .btn-green { justify-self: start; }
}

.btn-green {
  background: var(--lnpk-green);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 999px;
  display: inline-block;
}

.btn-green:hover { background: var(--lnpk-green-dark); color: #ffffff; }


/* ---------- Parking page: map left, guide right ---------- */
.parking-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 36px;
  align-items: start;
  max-width: 1360px;
  margin: 0 auto;
  padding: 48px 24px;
}

.parking-map { order: -1; }

.parking-map iframe {
  width: 100%;
  height: 920px;
  border: 0;
  display: block;
  background: #f4f4f4;
}

.parking-guide h1 { font-size: 30px; margin: 0 0 6px; }

.parking-guide h2 { font-size: 26px; margin: 0 0 26px; text-align: center; }

.guide-item { margin: 0 0 30px; }

.guide-item h3 { font-size: 19px; margin: 0 0 12px; }

.guide-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  margin: 0 0 14px;
}

.guide-icon { width: 96px; height: 96px; }

.guide-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.guide-row p { font-size: 15.5px; margin: 0; }

.guide-pay { font-style: italic; font-weight: 600; font-size: 15.5px; margin: 2px 0 0; }

/* ---------- Businesses / Events embed pages ---------- */
.embed-page-section { max-width: 1100px; margin: 0 auto; padding: 48px 24px; text-align: center; }

.embed-page-section--flush { padding-bottom: 0; }

.embed-page-section--flush h1 { margin-bottom: 0; }

.embed-page-section--flush + .map-embed--wide { margin-top: 24px; }

.embed-page-section h1 { font-size: 36px; margin: 0 0 24px; }

.calendar-frame {
  width: 100%;
  max-width: 1048px;
  height: 860px;
  display: block;
  margin: 0 auto;
  background: #ffffff;
}

/* ---------- Footer with wavy top edge ---------- */
.site-footer {
  background: var(--lnpk-green);
  color: #ffffff;
  padding: 60px 24px 40px;
  position: relative;
  margin-top: 80px;
}

.footer-wave-svg {
  position: absolute;
  top: -59px;
  left: 0;
  width: 100%;
  height: 60px;
  display: block;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-logo img { height: 165px; width: auto; display: block; }

.footer-note { max-width: 620px; font-size: 16px; }

.footer-note a { color: #ffffff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .parking-layout { grid-template-columns: 1fr; }
  .parking-map iframe { height: 480px; }
  .intro-grid { grid-template-columns: 1fr; }
  .update-card { grid-template-columns: 1fr; min-height: 0; }
  .update-card-body { align-self: auto; }

  .calendar-frame { height: 620px; }

  /* Header collapses to hamburger + centered logo */
  .site-header {
    justify-content: flex-start;
    position: relative;
    padding: 16px 20px;
  }
  .menu-toggle { display: inline-flex; order: 1; }
  .header-logo { order: 2; flex: 1; text-align: center; }
  .header-logo img { height: 150px; }
  .main-nav,
  .header-actions { display: none; }

  /* Dropdown panel */
  .site-header.menu-open .mobile-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--lnpk-green);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
    padding: 6px 24px 22px;
  }

  .mobile-nav { display: flex; flex-direction: column; }

  .mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .mobile-nav a:hover,
  .mobile-nav a.active {
    text-decoration: underline;
    text-underline-offset: 6px;
  }

  .mobile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
  }

  .mobile-actions .social-group {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .mobile-actions .contact-btn { white-space: nowrap; }
}
