/* Dees Painting — brand styles
   Navy #0A2C5C / #0D356C · Orange #F26B1D · Light #D6E0EB · Dark #1E2837 · Gray #5A6473 */

:root {
  --navy: #0A2C5C;
  --navy-2: #0D356C;
  --orange: #F26B1D;
  --orange-dark: #D9580F;
  --light: #D6E0EB;
  --dark: #1E2837;
  --gray: #5A6473;
  --white: #FFFFFF;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 64px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap.narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.2; }

h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.4rem;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(10, 44, 92, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  object-fit: contain;
  padding: 3px;
}

.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-call {
  background: var(--orange);
  color: var(--white);
  padding: 10px 18px;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(242, 107, 29, 0.4);
}

.btn-call:hover { background: var(--orange-dark); transform: translateY(-1px); }

.btn-big {
  background: var(--orange);
  color: var(--white);
  padding: 16px 34px;
  font-size: 1.2rem;
  box-shadow: 0 6px 18px rgba(242, 107, 29, 0.45);
}

.btn-big:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn-ghost {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 14px 30px;
  font-size: 1.05rem;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 60%, #071f44 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 8px;
  background: var(--orange);
}

.logo-badge {
  display: inline-block;
  background: var(--white);
  border-radius: 28px;
  padding: 18px;
  margin-bottom: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.logo-badge img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tagline {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-top: 8px;
}

.rule {
  width: 130px;
  height: 6px;
  background: var(--orange);
  border-radius: 3px;
  margin: 22px auto;
}

.lede {
  font-size: 1.2rem;
  color: var(--light);
  max-width: 620px;
  margin: 0 auto 30px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.free-est {
  color: var(--light);
  font-size: 0.98rem;
}

/* ---------- Services ---------- */
.services { padding: 70px 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid #E3E9F2;
  border-top: 6px solid var(--orange);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 4px 16px rgba(10, 44, 92, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(10, 44, 92, 0.14);
}

.card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card p { color: var(--gray); font-size: 0.98rem; }

/* ---------- About ---------- */
.about {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.about h2 { color: var(--white); }

.about .rule { margin-left: auto; margin-right: auto; }

.about p {
  color: var(--light);
  font-size: 1.08rem;
  margin-bottom: 1rem;
}

.about strong { color: var(--white); }

/* ---------- Service area ---------- */
.area { padding: 70px 0; text-align: center; }

.counties {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 6px 0 22px;
}

.counties li {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 1.02rem;
}

.based { color: var(--gray); }

/* ---------- Contact ---------- */
.contact {
  background: #F2F5F9;
  padding: 70px 0;
  text-align: center;
  border-top: 1px solid #E3E9F2;
}

.contact .btn-big { margin: 10px 0 18px; }

.email-line a {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
}

.email-line a:hover { color: var(--orange-dark); }

.hours {
  margin-top: 28px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(10, 44, 92, 0.08);
  border: 1px solid #E3E9F2;
}

.hours h3 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hours p { color: var(--gray); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--light);
  text-align: center;
  padding: 30px 0;
}

.footer-inner p { font-size: 0.95rem; }

.footer-sub { color: var(--orange); font-size: 0.88rem; margin-top: 4px; }

/* ---------- Gallery ---------- */
.gallery { padding: 70px 0; background: #F2F5F9; border-top: 1px solid #E3E9F2; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.g-item {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #E3E9F2;
  box-shadow: 0 4px 16px rgba(10, 44, 92, 0.08);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.g-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(10, 44, 92, 0.14);
}

.g-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.g-item figcaption {
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
}

.pair-heading {
  text-align: center;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 2.2rem 0 1.2rem;
}

.ba-pairs {
  display: grid;
  gap: 26px;
  margin-bottom: 0.5rem;
}

.ba-pair {
  background: var(--white);
  border: 1px solid #E3E9F2;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(10, 44, 92, 0.08);
  padding: 22px 22px 26px;
}

.ba-title {
  text-align: center;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.ba-shots {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.ba-shots.duo-before {
  grid-template-columns: 1fr auto 1fr;
}

.ba-before-stack {
  display: grid;
  gap: 12px;
}

.ba-shots .g-item {
  border: none;
  box-shadow: none;
}

.ba-arrow {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 42, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 76vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lb-cap {
  position: absolute;
  bottom: 26px;
  left: 0; right: 0;
  text-align: center;
  color: var(--white);
  font-weight: 600;
  padding: 0 20px;
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--orange);
  border-color: var(--orange);
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 560px) {
  .hero { padding: 48px 0 60px; }
  .hero h1 { font-size: 2.1rem; }
  .lede { font-size: 1.05rem; }
  .btn-big { font-size: 1.08rem; padding: 14px 28px; width: 100%; max-width: 340px; }
  .btn-ghost { width: 100%; max-width: 340px; }
  .cta-row { flex-direction: column; align-items: center; }
  .btn-call { font-size: 0.85rem; padding: 9px 14px; }
  .brand-name { font-size: 1rem; }
  h2 { font-size: 1.6rem; }
  .services, .about, .area, .contact, .gallery { padding: 52px 0; }
}
