/* =========================================================================
   LOCAL MOMMY LIFE — SHARED STYLESHEET
   One file, used by every page on every location site.
   Organized in sections — search for the ALL-CAPS labels in Dreamweaver's
   Find/Replace to jump around quickly.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. BRAND VARIABLES
   Change a color/font here and it updates the whole site.
   ------------------------------------------------------------------------- */
:root{
  --color-primary:      #26b75d;   /* green  — buttons, links, accents        */
  --color-primary-dark: #1f9a4d;   /* hover state for green                   */
  --color-accent:       #ed008c;   /* pink   — headlines, highlights          */
  --color-navy:         #0e182c;   /* dark headings                          */
  --color-purple:       #683292;   /* small decorative accent                */
  --color-text:         #2b2b2b;
  --color-text-light:   #5a5a5a;
  --color-bg:           #ffffff;
  --color-bg-soft:      #f7f8f9;
  --color-border:       #ececec;

  --font-heading: 'Berkshire Swash', cursive;
  --font-body:    'Ubuntu', Arial, sans-serif;

  --max-width: 1170px;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --shadow-card: 0 2px 10px rgba(0,0,0,.06);
}

/* -------------------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-bg);
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: var(--color-primary); text-decoration: none; }
a:hover{ color: var(--color-accent); }
h1, h2, h3, h4{
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-navy);
  margin: 0 0 .5em;
}
h1{ font-size: 2.6rem; }
h2{ font-size: 2rem; }
h3{ font-size: 1.4rem; }
p{ margin: 0 0 1em; }
ul, ol{ margin: 0 0 1em; padding-left: 1.4em; }
.wrap{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.section{ padding: 60px 0; }
.section--tight{ padding: 40px 0; }
.section--soft{
  background-color: var(--color-bg-soft);
  /* Single decorative background (with an irregular wavy bottom edge) shown
     once per section, stretched to fill exactly — not tiled/repeated, since
     repeating would create visible seams where the wavy edge doesn't line
     up. If a section also sets its own inline background-image (like the
     Freebies photo banner on houston/index.html), that inline image wins
     and this is ignored there — this only shows up where the background
     was plain grey. */
  background-image: url('../images/wavypearlbkgrd.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}
.text-center{ text-align: center; }
.accent{ color: var(--color-accent); }
.navy{ color: var(--color-navy); }

/* Skip link for accessibility/SEO — hidden until focused */
.skip-link{
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus{ left: 10px; top: 10px; }

/* -------------------------------------------------------------------------
   3. BUTTONS
   ------------------------------------------------------------------------- */
.btn{
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 50px;
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.btn:hover{
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn--pink{ background: var(--color-accent); border-color: var(--color-accent); }
.btn--pink:hover{ background: #c40077; border-color: #c40077; }
.btn--outline{ background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.btn--outline:hover{ background: var(--color-navy); color: #fff; }
.btn--small{ padding: 10px 18px; font-size: .85rem; border-radius: var(--radius-sm); }

/* -------------------------------------------------------------------------
   4. SITE HEADER + NAVIGATION
   Markup lives in includes/header.html + includes/navigation.html
   ------------------------------------------------------------------------- */
.site-header{
  background: var(--color-primary);
  padding: 14px 0;
  position: relative;
  z-index: 100;
}
.site-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-logo img{ height: 64px; width: auto; }

.main-nav ul{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0;
  padding: 0;
}
.main-nav a{
  display: inline-block;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 8px 4px;
}
.main-nav a:hover,
.main-nav a[aria-current="page"]{ color: var(--color-navy); }

/* Mobile nav toggle (behavior in js/main.js) */
.nav-toggle{
  display: none;
  background: none;
  border: 2px solid #fff;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  padding: 8px 12px;
  cursor: pointer;
}

@media (max-width: 780px){
  .nav-toggle{ display: inline-block; }
  .main-nav{
    display: none;
    width: 100%;
    order: 3;
  }
  .main-nav.is-open{ display: block; }
  .main-nav ul{ flex-direction: column; gap: 0; }
  .main-nav a{ padding: 12px 0; border-top: 1px solid rgba(255,255,255,.25); width: 100%; }
}

/* -------------------------------------------------------------------------
   5. HERO
   ------------------------------------------------------------------------- */
.hero{
  padding: 50px 0;
  background-size: cover;
  background-position: center;
}
.hero__grid{
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero__content{ flex: 1 1 420px; }
.hero__media{ flex: 1 1 380px; }
.hero__eyebrow{
  font-family: var(--font-heading);
  color: var(--color-purple);
  font-size: 1.3rem;
}
.hero__title{ color: var(--color-accent); font-size: 3rem; }

/* Wide/short cover photo at the top of a hero (e.g. index.html) — capped
   height + object-fit:cover keeps it from being stretched tall, since the
   source photo itself is a short banner shape, not a tall portrait one. */
:root{ --hero-cover-height: 320px; }
.hero__cover-photo{
  width: 100%;
  max-height: var(--hero-cover-height);
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 0 auto 24px;
}
@media (max-width: 780px){
  :root{ --hero-cover-height: 200px; }
}

/* -------------------------------------------------------------------------
   6. CARDS (guides, locations, category tiles)
   ------------------------------------------------------------------------- */
.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  margin-top: 30px;
}
.card{
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.card img{ border-radius: 12px; margin-bottom: 14px; }
.card h3{ margin-bottom: 8px; font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; }
.card p{ color: var(--color-text-light); font-size: .95rem; }

.tile{
  position: relative;
  min-height: 220px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}
.tile::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 60%);
}
.tile .btn{ position: relative; z-index: 2; }

/* -------------------------------------------------------------------------
   7. BLOG LISTING GRID
   ------------------------------------------------------------------------- */
.blog-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 30px;
}
.blog-card{
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-bg-soft);
  display: flex;
  flex-direction: column;
}
.blog-card img{ width: 100%; height: 190px; object-fit: cover; }
.blog-card__body{ padding: 18px; flex: 1; display: flex; flex-direction: column; }
.blog-card h3{ font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.blog-card p{ font-size: .9rem; color: var(--color-text-light); flex: 1; }
.blog-card__meta{ font-size: .8rem; color: #7a7a7a; margin-bottom: 10px; }
.read-more{ font-weight: 700; }

/* -------------------------------------------------------------------------
   8. BLOG POST / LONG-FORM ARTICLE TYPOGRAPHY
   ------------------------------------------------------------------------- */
.post-header{ padding: 50px 0 20px; text-align: center; }
.post-header__meta{ color: var(--color-text-light); font-size: .9rem; margin-bottom: 6px; }
.post-header__title{ font-size: 2.4rem; }
.post-featured-img{
  max-width: var(--max-width);
  margin: 0 auto 10px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.post-body{
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 20px 10px;
  font-size: 1.05rem;
}
.post-body h2{ font-size: 1.6rem; margin-top: 1.6em; }
.post-body h3, .post-body h4{ font-size: 1.2rem; margin-top: 1.4em; color: var(--color-primary-dark); }
.post-body p{ margin-bottom: 1.2em; }
.post-body ul, .post-body ol{ margin-bottom: 1.2em; }
.post-body a{ text-decoration: underline; }
.post-body blockquote{
  margin: 1.6em 0;
  padding: 16px 22px;
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg-soft);
  font-style: italic;
}
.post-tags{
  max-width: 760px;
  margin: 30px auto 0;
  padding: 0 20px;
  font-size: .85rem;
  color: var(--color-text-light);
}
.post-nav{
  max-width: 760px;
  margin: 30px auto 60px;
  padding: 20px 20px 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   9. SITE FOOTER
   ------------------------------------------------------------------------- */
.site-footer{ background: var(--color-primary); color: #fff; padding-top: 30px; }
.site-footer a{ color: #fff; }
.site-footer a:hover{ color: var(--color-navy); }
.footer-blurb{
  max-width: 700px;
  margin: 0 auto 24px;
  padding: 0 20px;
  text-align: center;
  font-weight: 700;
}
.footer-locations{
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  background: #fff;
  color: var(--color-accent);
  font-weight: 700;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  max-width: 900px;
  margin: 0 auto 30px;
}
.footer-locations a{ color: var(--color-accent); }
.footer-columns{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 26px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 30px;
}
.footer-columns h2{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  color: #fff;
  margin-bottom: 12px;
}
.footer-columns ul{ list-style: none; margin: 0; padding: 0; }
.footer-columns li{ margin-bottom: 8px; font-size: .9rem; }
.site-footer__bottom{
  text-align: center;
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.3);
  font-size: .85rem;
}

/* -------------------------------------------------------------------------
   10. UTILITIES
   ------------------------------------------------------------------------- */
.mt-0{ margin-top: 0; }
.mb-0{ margin-bottom: 0; }
.two-col{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
}

/* -------------------------------------------------------------------------
   11. RESPONSIVE TWEAKS
   ------------------------------------------------------------------------- */
@media (max-width: 780px){
  h1{ font-size: 2.1rem; }
  .hero__title{ font-size: 2.3rem; }
  .post-header__title{ font-size: 1.8rem; }
  .section{ padding: 40px 0; }
}
