:root {
  --brand: #007bff;
  --brand-dark: #0062cc;
  --ink: #0f172a;
  --body: #454f5e;
  --tint: #e9f8f9;
  --accent-tint: #cae6e8;
  --footer: #111111;

  --bs-body-font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--body);
  --bs-primary: var(--brand);
  --bs-primary-rgb: 0, 123, 255;
  --bs-link-color: var(--brand);
  --bs-link-hover-color: var(--brand-dark);
}

body {
  font-family: var(--bs-body-font-family);
  color: var(--body);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
}

/* ---------- Utilities ---------- */
.text-brand { color: var(--brand) !important; }
.text-ink { color: var(--ink) !important; }
.text-body-muted { color: var(--body) !important; }
.bg-brand { background-color: var(--brand) !important; }
.bg-ink { background-color: var(--ink) !important; }
.bg-tint { background-color: var(--tint) !important; }
.section { padding: 5rem 0; }
.section-sm { padding: 4rem 0; }
.eyebrow {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--brand);
}

.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
  font-weight: 600;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.5rem;
}

.icon-circle.sm {
  width: 3rem;
  height: 3rem;
  font-size: 1.25rem;
  background: var(--tint);
  color: var(--brand);
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.brand-logo img { height: 2.5rem; }

.brand-name {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--brand);
  line-height: 1;
}

.brand-tagline {
  font-family: "Alex Brush", cursive;
  font-size: 1.25rem;
  color: #dc2626;
  line-height: 1;
}

.site-header .nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--brand);
}

/* ---------- Hero slideshow ---------- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 520px;
  overflow: hidden;
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
  height: 100%;
}

.hero .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 6s ease-out;
}

.hero .carousel-item.active img {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .6);
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.15;
}

.hero-content p {
  color: #e5e7eb;
  font-size: 1.125rem;
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding: 13rem 0;
  text-align: center;
  background: url("../wp-content/uploads/2025/05/p2id8-min-scaled.jpg") center / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .35);
}

.page-hero h1 {
  position: relative;
  color: #fff;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3rem);
}

@media (max-width: 767.98px) {
  .page-hero { padding: 7rem 0; }
}

/* ---------- Quality image collage ---------- */
.collage img {
  width: 100%;
  object-fit: cover;
  border-radius: .75rem;
}

.collage .stacked img { height: 12rem; }
.collage .tall { height: 100%; min-height: 12rem; }

@media (max-width: 575.98px) {
  .collage .stacked img { height: 10rem; }
}

/* ---------- Cards ---------- */
.card-soft {
  border: 1px solid #f1f5f9;
  border-radius: .75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  transition: box-shadow .2s ease;
}

.card-soft:hover { box-shadow: 0 10px 25px rgba(0, 0, 0, .1); }

.value-card {
  background: rgba(255, 255, 255, .05);
  border-radius: .5rem;
}

/* ---------- Featured projects tabs ---------- */
.project-tabs .nav-link {
  border-radius: 999px;
  padding: .5rem 1.25rem;
  font-size: .9rem;
  font-weight: 500;
  background: #fff;
  color: var(--ink);
}

.project-tabs .nav-link:hover { background: var(--accent-tint); }

.project-tabs .nav-link.active {
  background: var(--brand);
  color: #fff;
}

.thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: .5rem;
  background: #f3f4f6;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.thumb img:hover { transform: scale(1.05); }

/* ---------- Project grid ---------- */
.project-card {
  overflow: hidden;
  height: 100%;
}

.project-card .project-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
}

.project-card .project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.project-card:hover .project-img img { transform: scale(1.05); }

.project-card h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

/* ---------- Lists ---------- */
.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
}

/* ---------- Forms ---------- */
.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .2);
}

.quote-img {
  height: 16rem;
  width: 100%;
  object-fit: cover;
  border-radius: .75rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer);
  color: #9ca3af;
  font-size: .9rem;
}

.site-footer h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.site-footer a {
  color: #9ca3af;
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer a:hover { color: var(--brand); }

.site-footer .bi { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #6b7280;
  font-size: .8rem;
}
