/*
  Ellwanger Painting — Interior Page Styles
  Palette: primary #2e5f84, accent #c48416, dark #640505, text #0f172a
  Notes:
  - Mobile-first; breakpoints at 768px, 1200px
  - Matches HTML in: /bellingham-location/painting-services/interior-painter/
*/

:root{
  --brand-primary:#2e5f84; /* slate-blue */
  --brand-accent:#c48416;  /* warm gold */
  --brand-dark:#640505;    /* deep maroon */
  --bg:#ffffff;
  --text:#0f172a;          /* slate-900 */
  --text-muted:#475569;    /* slate-600 */
  --border:#e2e8f0;        /* slate-200 */
  --radius:16px;
  --shadow:0 6px 18px rgba(0,0,0,.08);
}

/* Base */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
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}

.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}

a.internal-link {
            color: #ffa500;
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s ease;
        }

        a.internal-link:hover {
            color: #ffcc66;
            text-decoration: underline;
        }
        a.internal-link:visited{}

/* =========================
   NAV — Ellwanger gradient hover
   ========================= */

/* Brand tokens */
: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;
}
@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 */
.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:static;
  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 hover */
.nav-list a:hover{background:#f1f5f9}

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


/* ===========================
   HERO (image overlay & spotlight)
   =========================== */
.hero{position:relative;display:block}

/* Hero image container */
.hero .image-content{
  position:relative;
  overflow:hidden;
  height:56vh;
  min-height:360px;
  max-height:760px;
}

/* Full-frame gradient (background only; other props come from base CSS) */
.hero .image-content::after{
  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%
  );
}

/* Media fills container */
.hero .image-content picture,
.hero .image-content img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Text layer over image */
.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;
}

/* Spotlight behind H1 + lede */
.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;
}

/* Glow beneath CTA */
.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);
}

/* Title/lede readability */
.hero #page-title{
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  margin:0;
}
.hero #page-title,
.hero .lede{
  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;
}
.hero-ctas{
  margin-top:8px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(45deg, #2e5f84, #c48416); /* brand blue → brand gold */
  background-size: 200% 200%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition:
    background-position 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background-position: 200% 200%;
    animation: gradient-bg 0.5s ease;
    border-color: #c48416;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
  }
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn-primary:focus-visible {
  outline: 2px solid #c48416;
  outline-offset: 3px;
}

@keyframes gradient-bg {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 200%;
  }
}

.btn-booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(45deg, #2e5f84, #c48416); /* brand blue → brand gold */
  background-size: 200% 200%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition:
    background-position 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn-booking:hover {
    background-position: 200% 200%;
    animation: gradient-bg 0.5s ease;
    border-color: #c48416;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
  }
}

.btn-booking:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn-booking:focus-visible {
  outline: 2px solid #c48416;
  outline-offset: 3px;
}

@keyframes gradient-bg {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 200%;
  }
}

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

/* Enhanced Why Ellwanger Cards */
.benefit-cards {
  display: grid;
  gap: 20px;
  margin-top: 32px;
  max-width: 1600px; /* keeps the row from going edge-to-edge */
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-content: center; /* center tiles in the row */
}

.benefit-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px;
  text-align:center;
  box-shadow:var(--shadow);
  transition:transform 0.2s ease,box-shadow 0.3s ease,opacity 0.6s ease;
  opacity:0;
  transform:translateY(20px);
}
.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);
}

/* ================
   Our Process Cards
   ================ */
.process-cards{
  display: grid;
  gap: 20px;
  margin-top: 32px;
  max-width: 1600px; /* keeps the row from going edge-to-edge */
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-content: center; /* center tiles in the row */
}
.process-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px;
  box-shadow:var(--shadow);
  text-align:center;
  position:relative;
  transition:transform 0.2s ease,box-shadow 0.3s ease,opacity 0.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);
}

/* Related services chips */
.service-links{
  list-style:none;
  padding:0;
  margin:12px 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 0.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;
}

/* Service pill cards */
.services-grid{
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
  justify-content:center;
  max-width:1200px;
  margin:auto;
}
.service-pill{
  position:relative;
  width:220px;
  height:400px;
  border-radius:999px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:center;
  text-align:center;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
  transition:transform 0.3s ease,box-shadow 0.3s ease;
  background:#000;
  box-sizing:border-box;
  padding-bottom:2.5rem;
}
.service-pill img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}
.service-pill::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,0.6),rgba(0,0,0,0.2));
  z-index:1;
}
.service-pill:hover{
  transform:translateY(-6px);
  box-shadow:0 8px 24px rgba(0,0,0,0.1);
}
.service-content{
  position:relative;
  z-index:2;
  color:#fff;
  padding:1rem;
  pointer-events:none;
  max-width:90%;
  word-break:break-word;
  line-height:1.3;
  box-sizing:border-box;
}
.material-symbols-outlined{
  font-size:2.8rem;
  margin-bottom:0.4rem;
}
.service-title{
  font-size:1.1rem;
  font-weight:600;
  margin:0;
}
.service-pill:hover .service-title,
.service-pill:hover .material-symbols-outlined{
  color:#c48416;
}
.service-pill:hover .hover-text{opacity:1;}

@media (max-width:600px){
  .service-pill{
    width:90%;
    height:360px;
  }
}

/* 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}

/* =========================
   Interior Pricing & Estimates
   ========================= */

.pricing-estimate-card {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  display: grid;
  gap: 1.5rem;
}

.pricing-estimate-main p {
  margin-bottom: 0.9rem;
  margin-left:0.9rem;
}

/* Right-hand highlight block */
.pricing-estimate-side {
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  background: radial-gradient(circle at top left,
              rgba(46, 95, 132, 0.08),
              rgba(46, 95, 132, 0.02));
  border: 1px solid rgba(148, 163, 184, 0.6); /* slate-ish */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing-range-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.pricing-range-value {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.1;
}

.pricing-range-value span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.pricing-footnote {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Layout for larger screens */
@media (min-width: 768px) {
  .pricing-estimate-card {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: center;
  }
}

/* On very small screens, keep it stacked but tidy */
@media (max-width: 480px) {
  .pricing-estimate-card {
    padding: 1.5rem 1.1rem;
  }

  .pricing-range-value {
    font-size: 1.6rem;
  }
}


/* Footer */
.site-footer{
  border-top:1px solid var(--border);
  padding:24px 16px;
  color:var(--text-muted);
}
.footer-nav{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  padding:0;
  margin:8px 0 0;
}
.footer-nav a{color:var(--text)}

/* Cards & utilities */
.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

/* ==================
   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{grid-template-columns:1fr;}
  .hero .image-content{height:58vh}
  .hero .text-content{
    max-width:1100px;
    margin:0 auto;   /* NO negative margin */
  }
  .hero #page-title{font-size:2.2rem}
  .content h2{font-size:1.6rem}
  .section{padding:64px 24px}
  .benefits,.process{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (min-width:1200px){
  .grid-container{padding:16px 32px}
  .hero .image-content{height:64vh}
  .hero .text-content{
    margin:0 auto;   /* NO negative margin */
  }
  .hero #page-title{font-size:2.6rem}
  .section{padding:72px 0}
  .benefits,.process{grid-template-columns:repeat(3,minmax(0,1fr))}
  .content p{font-size:1.05rem}
}

/* Color accents and details */
.content h2 .material-symbols-outlined{color:var(--brand-accent)}
.hero #page-title .material-symbols-outlined{color:#fff}

/* Forms */
input,select,textarea{
  font:inherit;
  border:1px solid var(--border);
  border-radius:10px;
  padding:10px 12px;
}
input:focus,select:focus,textarea:focus{
  outline:2px solid color-mix(in oklab,var(--brand-primary) 70%,white);
}

/* Animations (subtle) */
.btn,.service-links a,.benefits li,.process li{
  transition:transform .12s ease,box-shadow .2s ease;
}
.benefits li:hover,.process li:hover{
  transform:translateY(-2px);
}

/* =========================
   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;
  height:30px;
  line-height:30px;
  font-size:30px;
  vertical-align:middle;
}

/* === FOOTER overrides === */
body footer{
  background:#2e5f84;
  color:#fff;
  padding:2rem 1rem;
}
body footer a{color:#fff;text-decoration:none;}
body footer a:hover{color:#c48416;}

/* Kill bullets in 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;}

/* Footer 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;}

/* 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;
}

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