/* Spectrum Painters and Decorators */
:root {
  --teal: #0f4a4d;
  --teal-dark: #0a3436;
  --ink: #1d2628;
  --muted: #56626a;
  --paper: #f5f6f4;
  --stone: #e4e8e6;
  --gold: #c9a04a;
  --head: 'Barlow Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', Roboto, system-ui, sans-serif;
  --hdr: 72px;
  --max: 1160px;
  --gutter: 24px;
  /* Swap for a real photo, e.g. url('images/hero.jpg') */
  --hero-img: url('/images/1\ \(2\).jpeg');
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.65 var(--body); color: var(--ink); background: var(--paper); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0 0 .5em; }
h1 { font-size: clamp(2.9rem, 7.5vw, 5.75rem); font-weight: 700; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.25rem); font-weight: 600; }
h3 { font-size: 1.6rem; font-weight: 600; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sec { padding: clamp(48px, 9vw, 104px) 0; }
.sec--white { background: #fff; }
.sec--teal { background: var(--teal); color: #fff; }
section[id] { scroll-margin-top: var(--hdr); }
#home { scroll-margin-top: 0; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 40em; }

/* Buttons */
.btn { display: inline-block; padding: .85em 1.6em; font: 600 1rem/1 var(--body); text-align: center; text-decoration: none; border: 2px solid transparent; border-radius: 3px; cursor: pointer; transition: background-color .2s, color .2s; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #dbb45f; }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--teal-dark); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); }

/* Header */
/* Header Logo Image */
.logo { 
  margin-right: auto; 
  display: flex;
  align-items: center;
  text-decoration: none; 
}

.logo img {
  height: 48px; /* Adjust height to fit header nicely */
  width: auto;  /* Maintains image aspect ratio */
  display: block;
}
.site-header { position: sticky; top: 0; z-index: 50; height: var(--hdr); background: var(--teal-dark); color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.bar { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { margin-right: auto; font: 700 clamp(1.1rem, 5.2vw, 1.75rem)/1 var(--head); letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.site-nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-nav a { padding: 6px 0; font-size: .95rem; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-color: var(--gold); }
.call { padding: .7em 1.1em; font-size: .95rem; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: #fff; content: ""; }
.bars { position: relative; }
.bars::before { position: absolute; top: -7px; }
.bars::after { position: absolute; top: 7px; }

/* Hero */
.hero { min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); display: flex; flex-direction: column; color: #fff;
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 30%, rgba(8,34,36,.4) 80%), var(--hero-img) center / cover var(--teal-dark); }
.hero-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 8vw, 80px) 0; }
.hero h1 { max-width: 16ch; }
.hero p { max-width: 34em; font-size: 1.2rem; color: #dce7e5; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.swatches { display: flex; height: clamp(28px, 5vw, 48px); }
/* .swatches span:nth-child(1) { flex: 3; background: #0f4a4d; }
.swatches span:nth-child(2) { flex: 1; background: #5f7f83; }
.swatches span:nth-child(3) { flex: 2; background: #e9e4d6; }
.swatches span:nth-child(4) { flex: 1; background: #9fb3a3; }
.swatches span:nth-child(5) { flex: 1; background: #c9a04a; }
.swatches span:nth-child(6) { flex: 2; background: #3b4649; }
.swatches span:nth-child(7) { flex: 1; background: #f5f6f4; } */

/* About, services */

.about h2, 
h2 {
  text-align: left;
  margin-bottom: 20px; /* Adjust spacing above the FAQ container */
}

.about-img img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 4px;
}
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 44px; }
.service { padding-top: 24px; border-top: 4px solid var(--teal); }
.icon { width: 44px; height: 44px; margin-bottom: 16px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service p { color: var(--muted); margin: 0; }

/* Packages */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 900px; margin-top: 44px; }
.plan { display: flex; flex-direction: column; padding: 40px; background: #fff; border: 1px solid #d0d7d5; border-radius: 4px; }
.plan--dark { background: var(--teal); border-color: var(--teal); color: #fff; }
.price { margin: .1em 0 .3em; font: 700 clamp(3.5rem, 12vw, 4.5rem)/1 var(--head); }
.price small { font: 500 1rem var(--body); opacity: .75; }
.plan--dark .price { color: var(--gold); }
.plan p { flex: 1; margin-bottom: 28px; }
.plan .btn { align-self: flex-start; }
/* Packages Section Centering */
.packages-sec {
  text-align: center;
}

.packages-sec .lead {
  margin-inline: auto; /* Centers the lead paragraph block */
}

/* Packages Grid */
.plans { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 32px; 
  max-width: 900px; 
  margin: 44px auto 0; /* Centers the cards container */
  text-align: center; /* Centers text inside each plan card */
}

.plan { 
  display: flex; 
  flex-direction: column; 
  align-items: center; /* Horizontally centers content inside the card */
  padding: 40px; 
  background: #fff; 
  border: 1px solid #d0d7d5; 
  border-radius: 4px; 
}
.plan .btn { 
  align-self: center; /* Centers the button inside each card */
}

/* Service Card Base with Dark Overlay */
.service { 
  padding: 32px 24px; 
  border-top: 4px solid var(--teal); 
  border-radius: 4px;
  color: #fff; /* White text for contrast against dark overlay */
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-4px);
}

/* Make text and icons crisp above overlay */
.service h3 {
  color: #fff;
}

.service p { 
  color: #e0e6e5; 
  margin: 0; 
}

.service .icon { 
  stroke: var(--gold); /* Gold icon stands out clearly on dark background */
}

/* Individual Background Images with Dark Linear-Gradient Overlay */
/* Adjust rgba(0, 0, 0, 0.75) to make overlay darker or lighter */

.service--interior {
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('images/1 (1).jpeg');
}

.service--exterior {
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('images/11 (5).jpg');
}

.service--commercial {
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('images/1 (4).jpeg');
}


/* Why choose us */

/* Why Choose Us Section Background */
.why-sec {
  background-image: linear-gradient(rgba(10, 52, 54, 0.88), rgba(10, 52, 54, 0.88)), url('images/11 (4).jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; }
.why { padding-left: 20px; border-left: 3px solid var(--gold); }
.why h3 { font-size: 1.5rem; }
.why p { margin: 0; color: #c9dad8; }

/* Carousel */
.carousel { position: relative; margin-top: 40px; }
.viewport { overflow: hidden; border-radius: 4px; background: var(--stone); touch-action: pan-y; }
.track { display: flex; transition: transform .5s ease; }
.slide { flex: 0 0 100%; margin: 0; }
.slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; background: rgba(10,52,54,.88); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.arrow:hover { background: var(--gold); color: var(--ink); }
.prev { left: 0; }
.next { right: 0; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.dots button { width: 36px; height: 26px; padding: 10px 0; border: 0; background: #c3cbc9; background-clip: content-box; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--teal); background-clip: content-box; }

/* Reviews */
.quote { margin: 0; padding: 32px; background: #fff; border-left: 4px solid var(--gold); }
.quote blockquote { margin: 0 0 20px; font-size: 1.05rem; }
.quote figcaption { font-weight: 600; }
.quote span { display: block; font-size: .9rem; font-weight: 400; color: var(--muted); }

/* FAQ */

.faq h2, 
h2 {
  text-align: center;
  margin-bottom: 20px; /* Adjust spacing above the FAQ container */
}

.faq { 
  max-width: 820px; 
  margin: 40px auto 0; /* Centered horizontally with 40px top margin */
  border-top: 1px solid #cdd5d3; 
}
.faq details { border-bottom: 1px solid #cdd5d3; }
.faq summary { position: relative; padding: 22px 40px 22px 0; font: 600 1.5rem/1.2 var(--head); list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.8rem var(--body); color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { max-width: 42em; margin: 0 0 22px; color: var(--muted); }

/* Contact */

/* Contact Section Image */
.contact-img {
  margin-top: 28px;
}

.contact-img img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 4px;
}

.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.phone-big { display: inline-block; font: 700 clamp(2.2rem, 9vw, 2.8rem)/1 var(--head); color: var(--teal); text-decoration: none; }
.phone-big:hover { text-decoration: underline; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: clamp(20px, 4vw, 40px); background: #fff; border: 1px solid #d0d7d5; border-radius: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
label { font-size: .95rem; font-weight: 600; }
input, select, textarea { width: 100%; min-height: 48px; padding: .8em .9em; font: inherit; color: var(--ink); background: #fff; border: 1px solid #8f9c9b; border-radius: 3px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--teal); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.notice { margin: 0 0 20px; padding: 14px 18px; border-left: 4px solid; }
.notice--ok { background: #e4f1ec; border-color: #1f7a5a; }
.notice--err { background: #fbe9e7; border-color: #b3392d; }

/* Footer */
.site-footer { padding: 56px 0 28px; background: var(--teal-dark); color: #cfdcda; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer h3 { font-size: 1.3rem; color: #fff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-phone { font: 700 2rem/1 var(--head); color: #fff; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: .9rem; }

/* ---------- Responsive ---------- */

/* Small laptops and tablets: collapsed navigation */
@media (max-width: 1100px) {
  .menu-toggle { display: flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--hdr)); max-height: calc(100svh - var(--hdr)); overflow-y: auto; padding: 8px var(--gutter) 20px; background: var(--teal-dark); border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* Tablets */
@media (max-width: 960px) {
  .about, .contact { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
  .plan { padding: 32px; }
}

/* Phones */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .bar { gap: 10px; }
  .call { padding: .65em .85em; font-size: .85rem; }
  .call .pre { display: none; }
  .menu-toggle { width: 40px; }
  .grid-3, .grid-4, .plans, .form, .foot { grid-template-columns: 1fr; }
  .hero p { font-size: 1.1rem; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .plan { padding: 24px; }
  .quote { padding: 24px; }
  .slide img { aspect-ratio: 4 / 3; }
  .arrow { width: 40px; height: 40px; }
  .faq summary { font-size: 1.3rem; }
  .foot { gap: 28px; }
}

/* Very small phones (320-374px) */
@media (max-width: 374px) {
  .bar { gap: 6px; }
  .logo { font-size: 1rem; }
  .call { padding: .6em .7em; font-size: .78rem; }
  .menu-toggle { width: 36px; }
}

/* Short landscape screens */
@media (max-height: 520px) {
  .hero-inner { padding: 32px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .track, .btn { transition: none; }
}