/* ============================
   Exterior Painting Page Styles
   (Based on interior page theme)
   ============================ */

:root {
  --brand-primary: #2e5f84;
  --brand-accent: #c48416;
  --brand-dark: #640505;
  --bg: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 6px 18px rgba(0,0,0,.08);
}

/* Base Reset */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}



/* =========================
   NAV — Ellwanger gradient hover (exact)
   ========================= */

/* Brand tokens (only if you don't already have these three defined) */
:root{
  --primary-color: #2e5f84;  /* slate-blue */
  --accent-color:  #c48416;  /* warm gold */
  --accent-2:      #640505;  /* deep maroon */
}

/* Nav bar wrapper */
#header-nav{
  grid-column: 1 / -1;
  border-bottom: 3px solid var(--accent-2);
  font-weight: 100;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff; /* ensure text is white over primary-color */
}
@media (max-width: 600px){
  #header-nav{ font-size:14px; letter-spacing:1px; }
}

/* Nav row */
#top-navigation-section{
  display:flex;
  justify-content:space-around;
  align-items:stretch;
  background-color: var(--primary-color);
}

/* Header links */
.Aheaderlinks{
  color: inherit;
  padding: 10px;
  text-decoration: none;
  display: block;
}
.headerlinks{ color:#fff; }
.headerlinks:not(:last-child){ margin-right:20px; }

/* Hover effect — animated diagonal gradient */
.Aheaderlinks:hover{
  background: linear-gradient(45deg, var(--accent-color), var(--accent-2));
  color:#fff;
  background-size:200% 200%;
  animation: gradient-bg .5s ease both;
}
@keyframes gradient-bg{
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 200%; }
}

/* Visited state (anchor controls :visited, so target the child) */
.Aheaderlinks:visited .headerlinks{
  background: linear-gradient(45deg, var(--accent-color), var(--accent-2));
  color:#fff;
}

/* Mobile hamburger behavior */
@media (max-width: 600px){
  #top-navigation-section::before{
    content:'☰';
    font-size:25px;
    cursor:pointer;
    display:block;
    text-align:right;
    padding:10px 16px;
    background-color: var(--primary-color);
    color:#fff;
  }
  #top-navigation-section > a{ display:none; }
  #top-navigation-section.active > a{
    display:block;
    padding:10px 20px;
    background-color: var(--primary-color);
    color:#fff;
    text-align:center;
    border-top:1px solid #3e6f94;
    z-index:1000;
  }
  #top-navigation-section{ flex-direction:column; align-items:stretch; }
}




/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:saturate(140%) blur(8px);border-bottom:1px solid var(--border)}
.logo img{height:auto}
.header-phone a{display:inline-flex;gap:8px;align-items:center;font-weight:600}

/* Nav */


.nav-list a:hover{background:#f1f5f9}

/* Legacy link class support */
.Aheaderlinks{color:var(--text);font-weight:600}


body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Skip link */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-to-content:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  color: #000;
  padding: .5rem .75rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Layout helpers */
.grid-container {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.main {
  display: block;
}
.section {
  padding: 48px 16px;
}
.section:nth-child(odd) {
  background: #f8fafc;
}

/* Hero Section */
.hero {
  position: relative;
  display: block;
}
.hero .image-content {
  position: relative;
  overflow: hidden;
  height: 56vh;
  min-height: 360px;
  max-height: 760px;
}
.hero .image-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.48) 0%,
    rgba(0,0,0,.28) 48%,
    rgba(0,0,0,.10) 78%,
    rgba(0,0,0,0) 100%
  );
}
.hero .image-content picture,
.hero .image-content img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .text-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px;
  gap: 10px;
}
.hero .text-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: min(92vw, 980px);
  height: min(44vh, 460px);
  background: radial-gradient(ellipse at center,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.38) 40%,
    rgba(0,0,0,.20) 65%,
    rgba(0,0,0,0) 100%);
  filter: blur(12px);
  border-radius: 999px;
}
.hero .text-content::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: 50%;
  top: 70%;
  transform: translate(-50%, -50%);
  width: clamp(240px, 36vw, 520px);
  height: clamp(120px, 16vw, 240px);
  background: radial-gradient(ellipse at center,
    rgba(0,0,0,.34) 0%, rgba(0,0,0,0) 70%);
  filter: blur(8px);
}
.hero #page-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  margin: 0;
  font-size: 2.2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.65);
}
.lede {
  color: #e6edf5;
  max-width: 64ch;
  font-size: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.65);
}
.hero-ctas {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  transition: transform .08s ease, box-shadow .2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--brand-primary);
  color: #fff;
}
.btn-primary:hover {
  box-shadow: 0 10px 20px rgba(46,95,132,.25);
}
.btn-secondary {
  background: #fff;
  color: var(--brand-primary);
  border-color: #e2e8f0;
}
.btn-secondary:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}
.inline-link {
  font-weight: 600;
}

/* Content headings */
.content h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 1.35rem;
}
.content p {
  max-width: 70ch;
  margin-bottom: 1.25rem;
}

/* Benefit Cards */
.benefit-cards {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .3s ease, opacity .6s ease;
  opacity: 0;
  transform: translateY(20px);
}
.benefit-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.benefit-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.benefit-card .material-symbols-outlined {
  font-size: 42px;
  color: var(--brand-accent);
  margin-bottom: 10px;
}
.benefit-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--brand-primary);
}
.benefit-card p {
  color: var(--text-muted);
  font-size: 1rem;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

/* Process Cards */
.process-cards {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
.process-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  transition: transform .2s ease, box-shadow .3s ease, opacity .6s ease;
  opacity: 0;
  transform: translateY(20px);
}
.process-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.process-card .step-number {
  position: absolute;
  top: -12px;
  left: -12px;
  background: var(--brand-accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.process-card .icon {
  font-size: 40px;
  color: var(--brand-primary);
  margin-bottom: 10px;
}
.process-card h3 {
  margin-top: 10px;
  font-size: 1.2rem;
  color: var(--brand-primary);
}
.process-card p {
  color: var(--text-muted);
  font-size: 1rem;
}
.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

/* Service Links (Areas & Related Services) */
.service-links {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.service-links li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--brand-primary);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: all .2s ease;
}
.service-links li:hover {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.service-links .material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  color: #fff;
  text-align: center;
  padding: 36px 16px;
}
.cta-band h2 {
  margin: 0 0 12px;
}

/* Media Queries */
@media (min-width:768px) {
  .grid-container {
    padding: 14px 24px;
  }
  .nav-list {
    flex-direction: row;
    gap: 4px;
  }
  .site-nav {
    display: block;
    border-top: none;
  }
  .menu-toggle {
    display: none;
  }
  .hero .image-content {
    height: 60vh;
  }
  .hero #page-title {
    font-size: 2.2rem;
  }
  .lede {
    font-size: 1.05rem;
  }
  .hero .text-content::before {
    top: 50%;
    width: min(78vw, 900px);
    height: min(40vh, 420px);
  }
}
@media (min-width:1200px) {
  .grid-container {
    padding:16px 32px;
  }
  .hero .image-content {
    height: 66vh;
  }
  .hero #page-title {
    font-size: 2.6rem;
  }
  .section {
    padding: 72px 0;
  }
  .content p {
    font-size: 1.05rem;
  }
}

/* =========================
   SOCIAL ICONS FOOTER
   ========================= */
.fa {
  padding: 20px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  border-radius: 50%;
}

footer .footer-social i {
  display: inline-block;
  width: 30px;        /* matches your .fa width */
  height: 30px;       /* reserves vertical space so no layout jump */
  line-height: 30px;  /* ensures the icon is vertically centered */
  font-size: 30px;    /* matches existing size */
  vertical-align: middle;
}

/* === FOOTER: final override — keep at very end === */
body footer { background:#2e5f84; color:#fff; padding:2rem 1rem; }
body footer a { color:#fff; text-decoration:none; }
body footer a:hover { color:#c48416; }

/* Kill global custom bullets inside footer */
body footer ul, body footer ol { list-style:none; margin:.75rem 0 0 0; padding:0; }
body footer li { padding-left:0; }
body footer li::before { content:none; }

/* Layout */
footer .footer-container { max-width:1200px; margin:0 auto; display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; }
footer .footer-info { flex:1; min-width:260px; margin-bottom:1rem; }
footer .footer-social { flex:1; min-width:200px; text-align:right; }
footer .footer-social a { margin-left:15px; font-size:1.5rem; transition:color .3s; }
footer .footer-social a:hover { color:#c48416; }

/* Low-key quick links */
#footer-links { border:0; text-transform:none; letter-spacing:normal; font-weight:300; font-size:.85rem; }
#footer-links .footer-quicklinks { display:flex; flex-wrap:wrap; flex-direction: column; gap:8px 14px; opacity:.8; }
#footer-links .footer-quicklinks a { color:#fff; font-weight:300; transition:color .3s, opacity .3s; }
#footer-links .footer-quicklinks a:hover { color:#c48416; opacity:1; }

/* Mobile */
@media (max-width:700px){
  footer .footer-container { flex-direction:column; text-align:center; }
  footer .footer-social { text-align:center; margin-top:1rem; }
}


