/* Tavares Construction LLC — Masonry & Outdoor Living */

:root {
  --ink: #20262d;        /* charcoal */
  --ink-soft: #46505a;
  --paper: #f6f4f0;      /* warm stone off-white */
  --paper-deep: #ece8e1;
  --slate: #54677a;      /* bluestone */
  --slate-deep: #3b4a59;
  --call: #1f7a3d;       /* call-button green */
  --call-deep: #176330;
  --line: #d8d2c8;
  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(32, 38, 45, 0.97);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  max-width: 1100px; margin: 0 auto; padding: 0.65rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.02em; }
.brand-name .suffix { font-size: 0.75em; opacity: 0.65; letter-spacing: 0.12em; }
.brand-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: #b8c4cf; }
.topbar-phone {
  color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem;
  padding: 0.45rem 0.9rem; border: 1px solid rgba(255,255,255,0.35); border-radius: 6px;
  white-space: nowrap; transition: background 0.15s;
}
.topbar-phone:hover { background: rgba(255,255,255,0.12); }
.topnav { display: flex; gap: 1.4rem; margin-left: auto; margin-right: 1.2rem; }
.topnav a {
  color: #cdd6de; text-decoration: none; font-size: 0.9rem; letter-spacing: 0.02em;
  padding: 0.2rem 0; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s;
}
.topnav a:hover { color: #fff; border-color: var(--slate); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,25,31,0.25) 0%, rgba(20,25,31,0.45) 45%, rgba(20,25,31,0.82) 100%);
}
.hero-content {
  position: relative; z-index: 2; color: #fff;
  max-width: 1100px; margin: 0 auto; width: 100%;
  padding: 6rem 1.25rem 3.5rem;
}
.hero-kicker {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem;
  color: #d3dde6; margin-bottom: 0.8rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); text-shadow: 0 2px 18px rgba(0,0,0,0.45); }
.hero-sub {
  max-width: 620px; margin: 1rem 0 1.6rem; font-size: 1.06rem; color: #e8edf2;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 0.85rem 1.5rem; border-radius: 8px; font-size: 1.02rem;
  transition: transform 0.12s, background 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-call { background: var(--call); color: #fff; box-shadow: 0 4px 18px rgba(0,0,0,0.3); }
.btn-call:hover { background: var(--call-deep); }
.btn-text { background: rgba(255,255,255,0.92); color: var(--ink); }
.btn-text:hover { background: #fff; }

/* ---------- proof strip ---------- */
.proof { background: var(--slate-deep); color: #e8edf2; }
.proof ul {
  list-style: none; max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.4rem 2.5rem; padding: 0.9rem 1.25rem; font-size: 0.92rem;
}
.proof strong { color: #fff; }

/* ---------- sections ---------- */
.section { max-width: 1100px; margin: 0 auto; padding: 4rem 1.25rem; }
.section-head { max-width: 640px; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 0.6rem; }
.section-head p { color: var(--ink-soft); }

/* ---------- services ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.5rem; }
.card {
  background: #fff; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(32,38,45,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 10px 28px rgba(32,38,45,0.14); transform: translateY(-3px); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.2rem 1.3rem 1.4rem; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.45rem; color: var(--slate-deep); }
.card p { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- interior / year-round ---------- */
.interior-band {
  background: linear-gradient(180deg, var(--paper-deep) 0%, #e4ddd2 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; font-weight: 700;
  color: var(--slate); margin-bottom: 0.55rem;
}
.int-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem;
}
.int-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 1.7rem 1.5rem; border-top: 3px solid var(--slate);
  box-shadow: 0 2px 10px rgba(32,38,45,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.int-card:hover { box-shadow: 0 10px 26px rgba(32,38,45,0.12); transform: translateY(-3px); }
.int-ico {
  width: 46px; height: 46px; margin-bottom: 0.85rem;
  fill: none; stroke: var(--slate); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.int-card h3 { font-size: 1.18rem; color: var(--slate-deep); margin-bottom: 0.4rem; }
.int-card p { font-size: 0.93rem; color: var(--ink-soft); }
.int-note {
  margin-top: 2rem; text-align: center; color: var(--ink-soft);
  font-size: 0.98rem; max-width: 680px; margin-left: auto; margin-right: auto;
}

/* ---------- gallery ---------- */
.gallery-section { background: transparent; }
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0.9rem;
}
.g-item {
  position: relative; display: block; border-radius: 8px; overflow: hidden;
  text-decoration: none; aspect-ratio: 4 / 3; background: var(--paper-deep);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.g-item:hover img { transform: scale(1.04); }
.g-item span {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 0.8rem 0.55rem;
  font-size: 0.78rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(20,25,31,0.78));
}
.videos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.videos video { width: 100%; border-radius: 10px; background: #000; }
.videos figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.5rem; }

/* ---------- audiences ---------- */
.audiences { padding-top: 0; }
.aud-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.aud {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.8rem;
}
.aud h3 { color: var(--slate-deep); margin-bottom: 0.6rem; font-size: 1.25rem; }
.aud p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- about ---------- */
.about { background: var(--slate-deep); color: #e8edf2; max-width: none; }
.about-inner { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; text-align: center; }
.about h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 1rem; }
.about p { margin-bottom: 1rem; }
.about strong { color: #fff; }
.about .btn { margin-top: 0.5rem; }
.pt-line { font-style: italic; opacity: 0.85; font-size: 0.92rem; margin-top: 0.9rem; }

/* ---------- service area ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.area-col h3 {
  font-size: 1.05rem; color: var(--slate-deep);
  border-bottom: 2px solid var(--slate); padding-bottom: 0.4rem; margin-bottom: 0.7rem;
}
.area-col ul { list-style: none; columns: 2; }
.area-col li { font-size: 0.92rem; color: var(--ink-soft); padding: 0.15rem 0; break-inside: avoid; }
.area-note { margin-top: 1.8rem; color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- final CTA ---------- */
.final-cta {
  background: var(--ink); color: #e8edf2; text-align: center;
  padding: 4.5rem 1.25rem 5rem;
}
.final-cta h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.final-cta > p { margin: 0.7rem 0 1.4rem; }
.phone-big {
  display: inline-block; font-family: var(--serif); font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 700; color: #fff; text-decoration: none; letter-spacing: 0.03em;
  margin-bottom: 1.4rem;
}
.phone-big:hover { color: #b8d8c4; }
.final-cta .hero-cta { justify-content: center; }

/* ---------- footer ---------- */
footer {
  background: #14181d; color: #97a3ad; text-align: center;
  padding: 1.6rem 1.25rem 5.5rem; font-size: 0.84rem;
}
footer a { color: #c5ced6; text-decoration: none; }
footer p + p { margin-top: 0.3rem; }

/* ---------- sticky mobile bar ---------- */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: none; box-shadow: 0 -4px 18px rgba(0,0,0,0.25);
}
.sticky-bar a {
  flex: 1; text-align: center; padding: 0.95rem 0;
  font-weight: 700; font-size: 1rem; text-decoration: none; color: #fff;
}
.sb-call { background: var(--call); }
.sb-text { background: var(--slate-deep); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 18, 22, 0.94);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 6px; }
.lb-close {
  position: absolute; top: 0.8rem; right: 1.2rem;
  background: none; border: none; color: #fff; font-size: 2.6rem;
  cursor: pointer; line-height: 1;
}

/* ---------- mobile ---------- */
@media (max-width: 720px) {
  .sticky-bar { display: flex; }
  .hero { min-height: 88vh; }
  .hero-content { padding-bottom: 3rem; }
  .brand-tag { display: none; }
  .topnav { display: none; }
  .topbar-phone { font-size: 0.95rem; padding: 0.4rem 0.7rem; }
  .proof ul { gap: 0.3rem 1.4rem; font-size: 0.84rem; }
  .section { padding: 3rem 1.1rem; }
}
