/*
Theme Name:  Hello Elementor Child
Template:    hello-elementor
Description: Child theme for Michigan Standard Poodle Rescue
Version:     1.0
*/

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Enriqueta:wght@400;700&family=Jockey+One&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --color-white:   #ffffff;
  --color-dark:    #232323;
  --color-orange:  #fd7d26;
  --color-salmon:  #ea8d80;
  --color-nav-bg:  #232323;
  --color-nav-hover: #fd7d26;
  --color-footer-bg: rgba(35, 35, 35, 0.95);
  --font-heading:  'Jockey One', sans-serif;
  --font-body:     'Enriqueta', serif;
}

/* ── Base ─────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-dark);
  background: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

a {
  color: var(--color-orange);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Site Header ──────────────────────────────────────────── */
#mspr-header {
  background: var(--color-white);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--color-orange);
  position: sticky;
  top: 0;
  z-index: 1000;
}

#mspr-branding {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

#mspr-branding img {
  height: 70px;
  width: auto;
}

#mspr-site-title {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.25;
  color: var(--color-dark);
  max-width: 300px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ── Primary Navigation ───────────────────────────────────── */
#mspr-nav {
  background: var(--color-nav-bg);
}

#mspr-nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

#mspr-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

#mspr-nav ul li {
  position: relative;
}

#mspr-nav ul li a {
  display: block;
  padding: 14px 18px;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

#mspr-nav ul li a:hover,
#mspr-nav ul li:hover > a {
  background: var(--color-orange);
  color: var(--color-white);
  text-decoration: none;
}

/* dropdowns */
#mspr-nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #3a3a3a;
  flex-direction: column;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#mspr-nav ul li:hover > ul {
  display: flex;
}

#mspr-nav ul li ul li a {
  padding: 11px 18px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ── Footer ───────────────────────────────────────────────── */
#mspr-footer {
  background: var(--color-footer-bg);
  color: var(--color-white);
  text-align: center;
  padding: 28px 40px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
}

#mspr-footer a {
  color: var(--color-salmon);
}

#mspr-footer a:hover {
  color: var(--color-orange);
}

#mspr-footer .footer-contact {
  margin-bottom: 6px;
}

#mspr-footer .footer-sub {
  font-size: 12px;
  opacity: 0.7;
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  #mspr-header {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
    gap: 12px;
  }

  #mspr-site-title {
    max-width: 100%;
    font-size: 17px;
    text-align: center;
  }

  #mspr-nav .nav-inner {
    padding: 0;
  }

  #mspr-nav ul {
    flex-direction: column;
  }

  #mspr-nav ul li ul {
    position: static;
    display: none;
    box-shadow: none;
    background: #2a2a2a;
  }

  #mspr-nav ul li ul li a {
    padding-left: 32px;
  }

  /* simple toggle via CSS :focus-within for mobile */
  #mspr-nav ul li:focus-within > ul {
    display: flex;
  }
}
