/* ============================================================
   Desert Home Media — Global styles (nav, footer, shared)
   Palette: #b43c14 deep terracotta, #dc7828 desert orange,
            #3a3a3a charcoal footer, #282828 near-black text,
            #fdf6ef → #f7e9d9 sand gradient
   ============================================================ */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
  color: #282828;
  background: #fdf6ef;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #b43c14; text-decoration: none; }
a:hover { color: #dc7828; }

/* ============ NAV ============ */
.dhm-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 239, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(180, 60, 20, 0.12);
  box-shadow: 0 2px 12px rgba(180, 60, 20, 0.04);
}
.dhm-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.dhm-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.dhm-nav-logo img {
  height: 90px;
  width: auto;
  display: block;
}
.dhm-nav-logo .nav-brand-text {
  display: none;
}
.dhm-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
}
.dhm-nav-links a {
  color: #282828;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s ease;
}
.dhm-nav-links a:not(.dhm-nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, #dc7828, #b43c14);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.dhm-nav-links a:not(.dhm-nav-cta):hover,
.dhm-nav-links a:not(.dhm-nav-cta).is-active {
  color: #b43c14;
}
.dhm-nav-links a:not(.dhm-nav-cta):hover::after,
.dhm-nav-links a:not(.dhm-nav-cta).is-active::after {
  transform: scaleX(1);
}
.dhm-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #dc7828, #b43c14);
  color: #fff !important;
  padding: 10px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(180, 60, 20, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.dhm-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(180, 60, 20, 0.35);
  color: #fff;
}

/* Hamburger */
.dhm-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #b43c14;
}
.dhm-nav-toggle svg { width: 26px; height: 26px; }

/* Mobile nav */
@media (max-width: 960px) {
  .dhm-nav-inner { padding: 10px 16px; }
  .dhm-nav-logo img { height: 66px; }
  .dhm-nav-toggle { display: inline-flex; }
  .dhm-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fdf6ef;
    border-bottom: 1px solid rgba(180, 60, 20, 0.15);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    padding: 10px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .dhm-nav.is-open .dhm-nav-links {
    max-height: 500px;
  }
  .dhm-nav-links a {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(180, 60, 20, 0.08);
    font-size: 16px;
  }
  .dhm-nav-links a::after { display: none; }
  .dhm-nav-links a.is-active {
    background: rgba(180, 60, 20, 0.06);
  }
  .dhm-nav-cta { padding: 9px 24px; font-size: 13px; }
}

/* ============ HERO (home page banner) ============ */
.dhm-page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 80px 24px;
  overflow: hidden;
}
.dhm-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40,20,10,0.25) 0%, rgba(40,20,10,0.55) 100%);
  z-index: 1;
}
.dhm-page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.dhm-page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.dhm-page-hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f7e9d9;
  background: rgba(180, 60, 20, 0.7);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.dhm-page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 3px 12px rgba(0,0,0,0.35);
}
.dhm-page-hero p.lede {
  font-size: clamp(16px, 2vw, 20px);
  margin: 0 0 28px;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.dhm-page-hero .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #b43c14;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dhm-page-hero .hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  color: #b43c14;
}

/* ============ FOOTER ============ */
.site-footer {
  background-color: #3a3a3a;
  color: white;
  text-align: center;
  padding: 24px 20px;
  font-size: 18px;
  font-family: 'Roboto', Arial, sans-serif;
}
.site-footer a { color: white; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: white; }
.site-footer p { margin: 4px 0; }
.site-footer .footer-brand { font-weight: 700; font-size: 20px; }
.site-footer .footer-fine {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.65;
}
@media (max-width: 480px) {
  .site-footer { font-size: 15px; padding: 18px 14px; }
  .site-footer .footer-brand { font-size: 17px; }
}
