/*
Theme Name: Deep Creek HQ
Theme URI: https://deepcreekhq.com/
Author: Deep Creek HQ
Description: A custom real estate and local authority theme for Deep Creek Lake, Maryland.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: deepcreek-hq
*/

:root {
  --dchq-black: #0d0f10;
  --dchq-charcoal: #17191a;
  --dchq-orange: #f26722;
  --dchq-orange-dark: #d94f0f;
  --dchq-cream: #f7f6f2;
  --dchq-white: #ffffff;
  --dchq-text: #222426;
  --dchq-muted: #666a6d;
  --dchq-border: #dedfdc;
  --dchq-shadow: 0 10px 30px rgba(0,0,0,.09);
  --dchq-radius: 6px;
  --dchq-width: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--dchq-text);
  background: var(--dchq-cream);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--dchq-orange-dark); text-decoration: none; }
a:hover { color: var(--dchq-orange); }
.container { width: min(calc(100% - 36px), var(--dchq-width)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 20;
  background: linear-gradient(90deg, #090a0b, #151718);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-branding { min-width: 230px; }
.site-title {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.05;
  font-weight: 500;
}
.site-title a { color: inherit; }
.site-tagline {
  margin: 5px 0 0;
  color: #c5c7c8;
  font-size: 12px;
  letter-spacing: .01em;
}
.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a {
  display: block;
  padding: 31px 0 27px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 3px solid transparent;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a { color: var(--dchq-orange); border-bottom-color: var(--dchq-orange); }

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 4px;
  color: #fff;
  background: var(--dchq-orange);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.header-contact:hover { background: var(--dchq-orange-dark); color: #fff; }

.hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4,15,18,.83) 0%, rgba(4,15,18,.55) 39%, rgba(4,15,18,.12) 70%),
    url("assets/images/hero.jpg") center center / cover no-repeat;
}
.hero-inner { padding: 65px 0 72px; }
.hero-copy { max-width: 660px; }
.hero h1 {
  margin: 0 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 5vw, 68px);
  line-height: 1.03;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0,0,0,.28);
}
.hero p {
  max-width: 530px;
  margin: 0 0 25px;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255,255,255,.95);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid var(--dchq-orange);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  transition: .2s ease;
}
.button-primary { background: var(--dchq-orange); color: #fff; }
.button-primary:hover { color: #fff; background: var(--dchq-orange-dark); border-color: var(--dchq-orange-dark); transform: translateY(-1px); }
.button-outline { color: var(--dchq-orange); background: rgba(0,0,0,.18); }
.button-outline:hover { color: #fff; background: var(--dchq-orange); transform: translateY(-1px); }

.quick-links-wrap {
  position: relative;
  z-index: 4;
  margin-top: 0;
  background: #fff;
  border-bottom: 1px solid var(--dchq-border);
}
.quick-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  box-shadow: var(--dchq-shadow);
  transform: translateY(0);
}
.quick-card {
  min-height: 192px;
  padding: 27px 18px 24px;
  text-align: center;
  border-right: 1px solid var(--dchq-border);
  background: #fff;
}
.quick-card:last-child { border-right: 0; }
.quick-card:hover { background: #fffaf6; }
.quick-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 11px;
  color: var(--dchq-orange);
}
.quick-icon svg { width: 100%; height: 100%; display: block; stroke: currentColor; }
.quick-card h3 { margin: 0 0 7px; font-size: 16px; }
.quick-card p { margin: 0 auto 11px; color: var(--dchq-muted); font-size: 13px; line-height: 1.45; }
.quick-card a { font-size: 13px; font-weight: 800; }

.section { padding: 38px 0; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.2;
}
.section-heading a { font-size: 13px; font-weight: 800; }

.community-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.community-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  border-radius: var(--dchq-radius);
  color: #fff;
  background-position: center;
  background-size: cover;
  box-shadow: 0 7px 20px rgba(0,0,0,.12);
}
.community-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2,7,8,.86) 0%, rgba(2,7,8,.16) 67%);
}
.community-content {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 17px;
}
.community-content h3 {
  margin: 0 0 4px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}
.community-content p { margin: 0; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.95); }

.lower-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr .95fr;
  gap: 18px;
  padding-bottom: 45px;
}
.info-panel {
  min-height: 190px;
  display: flex;
  gap: 18px;
  padding: 19px;
  border: 1px solid var(--dchq-border);
  border-radius: var(--dchq-radius);
  background: #fff;
  box-shadow: 0 5px 18px rgba(0,0,0,.05);
}
.info-panel h3 {
  margin: 0 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}
.info-panel p { margin: 0 0 10px; color: #4f5457; font-size: 13px; }
.headshot {
  width: 110px;
  align-self: stretch;
  flex: 0 0 110px;
  object-fit: cover;
  border-radius: 4px;
  background: #eee;
}
.panel-photo {
  width: 115px;
  flex: 0 0 115px;
  align-self: stretch;
  object-fit: cover;
  border-radius: 4px;
}
.text-link { font-size: 13px; font-weight: 800; }
.signup-panel { align-items: center; }
.signup-content { flex: 1; }
.signup-form { display: flex; gap: 8px; margin-top: 13px; }
.signup-form input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border: 1px solid #d8d8d5;
  border-radius: 4px;
  padding: 0 12px;
  font: inherit;
}
.signup-form button {
  border: 0;
  border-radius: 4px;
  padding: 0 17px;
  color: #fff;
  background: var(--dchq-orange);
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  color: #fff;
  background: linear-gradient(90deg, #090a0b, #151718);
}
.footer-inner {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1.15fr .8fr 1.15fr 1.4fr;
  align-items: center;
  gap: 28px;
}
.footer-brand h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
}
.footer-brand p, .footer-item p { margin: 4px 0 0; color: #c9cccd; font-size: 12px; }
.footer-item strong { display: block; color: #fff; font-size: 13px; }
.footer-item a { color: #fff; }
.footer-item a:hover { color: var(--dchq-orange); }

.content-shell {
  width: min(calc(100% - 36px), 900px);
  margin: 0 auto;
  padding: 55px 0 70px;
}
.content-shell h1, .content-shell h2, .content-shell h3 {
  font-family: Georgia, "Times New Roman", serif;
}
.entry-title { font-size: clamp(36px, 5vw, 54px); margin-top: 0; }

.mobile-menu-label { display: none; color: #fff; font-weight: 700; }

@media (max-width: 1060px) {
  .header-inner { flex-wrap: wrap; padding: 16px 0; }
  .primary-nav { order: 3; width: 100%; margin: 0; overflow-x: auto; }
  .primary-nav ul { gap: 20px; }
  .primary-nav a { padding: 10px 0 12px; }
  .quick-links { grid-template-columns: repeat(3, 1fr); }
  .quick-card:nth-child(3) { border-right: 0; }
  .quick-card:nth-child(-n+3) { border-bottom: 1px solid var(--dchq-border); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .lower-grid { grid-template-columns: 1fr 1fr; }
  .lower-grid .market-panel { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 26px 0; }
}

@media (max-width: 720px) {
  .header-contact { display: none; }
  .site-branding { min-width: 0; }
  .primary-nav ul { display: flex; gap: 18px; }
  .hero { min-height: 505px; background-position: 63% center; }
  .hero-inner { padding: 55px 0; }
  .hero h1 { font-size: 43px; }
  .hero p { font-size: 16px; }
  .quick-links { grid-template-columns: 1fr 1fr; }
  .quick-card { border-bottom: 1px solid var(--dchq-border); }
  .quick-card:nth-child(odd) { border-right: 1px solid var(--dchq-border); }
  .quick-card:nth-child(even) { border-right: 0; }
  .community-grid, .lower-grid { grid-template-columns: 1fr; }
  .lower-grid .market-panel { grid-column: auto; }
  .section-heading { align-items: start; flex-direction: column; gap: 7px; }
  .info-panel { min-height: 0; }
  .signup-form { flex-direction: column; }
  .signup-form button { min-height: 42px; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 430px) {
  .container { width: min(calc(100% - 24px), var(--dchq-width)); }
  .quick-links { grid-template-columns: 1fr; }
  .quick-card, .quick-card:nth-child(odd) { border-right: 0; }
  .hero h1 { font-size: 37px; }
  .hero-actions .button { width: 100%; }
  .info-panel { flex-direction: column; }
  .headshot, .panel-photo { width: 100%; height: 220px; flex-basis: auto; }
}
