/* Deco Innovations — corporate shopfitting theme */
:root {
  --charcoal: #1a1d21;
  --charcoal-mid: #2d3238;
  --charcoal-light: #3d444d;
  --gold: #c9a227;
  --gold-hover: #ddb82e;
  --gold-muted: rgba(201, 162, 39, 0.15);
  --white: #ffffff;
  --off-white: #f6f5f2;
  --text-muted: #8a9199;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* Hero background photos (gradient overlays applied in each block) */
  --hero-home-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=82&auto=format&fit=crop");
  --hero-about-image: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1920&q=82&auto=format&fit=crop");
  --hero-contact-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1920&q=82&auto=format&fit=crop");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--off-white);
  padding-top: var(--header-h);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--gold-hover);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(26, 29, 33, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

.logo span {
  color: var(--gold);
  font-weight: 600;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-desktop {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--charcoal);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  .nav-desktop.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding-top: 3rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--charcoal);
}

.section-lead {
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 2.5rem;
}

/* Hero */
.hero {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  padding: 5rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(135deg, rgba(26, 29, 33, 0.88) 0%, rgba(26, 29, 33, 0.78) 45%, rgba(45, 50, 56, 0.85) 100%),
    var(--hero-home-image);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 1rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
  margin: 0 0 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--gold {
  background: var(--gold);
  color: var(--charcoal);
}

.btn--gold:hover {
  background: var(--gold-hover);
  color: var(--charcoal);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(201, 162, 39, 0.6);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Value strip */
.value-strip {
  background: var(--white);
  border-bottom: 1px solid rgba(26, 29, 33, 0.08);
  padding: 2.5rem 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: start;
}

.value-strip h2 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  color: var(--charcoal);
}

.value-strip p {
  margin: 0;
  color: var(--text-muted);
}

.stat {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal-light);
}

/* Quick links */
.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .quick-links {
    grid-template-columns: 1fr;
  }
}

.quick-card {
  background: var(--white);
  border: 1px solid rgba(26, 29, 33, 0.08);
  padding: 1.5rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.quick-card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 8px 32px rgba(26, 29, 33, 0.06);
}

.quick-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.quick-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.quick-card a {
  font-weight: 600;
  font-size: 0.85rem;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 1.75rem;
  box-shadow: 0 2px 16px rgba(26, 29, 33, 0.04);
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--charcoal);
}

.service-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.service-card li {
  margin-bottom: 0.4rem;
}

.highlight-box {
  background: var(--gold-muted);
  border: 1px solid rgba(201, 162, 39, 0.25);
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 2px;
}

.highlight-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--charcoal);
}

.highlight-box p {
  margin: 0;
  color: var(--charcoal-light);
  font-size: 0.95rem;
}

/* Visual band */
.visual-band {
  background: var(--charcoal-mid);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.visual-band p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

/* About page blocks */
.content-block {
  background: var(--white);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(26, 29, 33, 0.08);
}

.content-block h2 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-block p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.quote-ubuntu {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 0;
  font-style: italic;
  color: var(--charcoal-light);
  background: var(--off-white);
}

.quote-ubuntu cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 1px;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--charcoal);
  color: var(--white);
  padding: 2.5rem;
}

.contact-card h2 {
  color: var(--white);
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.contact-card .phone-big {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin: 0.5rem 0 1.5rem;
}

.contact-card .phone-big a {
  color: inherit;
}

.contact-card .email-big {
  font-size: 1.15rem;
  font-weight: 600;
  display: block;
  margin: 0.35rem 0 0;
  color: var(--gold);
  word-break: break-word;
}

.contact-card .email-big:hover {
  color: var(--gold-hover);
}

.contact-card address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
  color: var(--charcoal-light);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(26, 29, 33, 0.15);
  font-family: var(--font-sans);
  font-size: 1rem;
  border-radius: 2px;
  background: var(--white);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  width: 100%;
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-status {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: 2px;
  font-size: 0.95rem;
}

.form-status--success {
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--charcoal);
}

.form-status--error {
  background: rgba(180, 60, 50, 0.08);
  border: 1px solid rgba(180, 60, 50, 0.35);
  color: var(--charcoal);
}

.form-status--pending {
  background: rgba(26, 29, 33, 0.06);
  border: 1px solid rgba(26, 29, 33, 0.12);
  color: var(--charcoal-light);
}

.contact-botcheck {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.65);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer strong {
  color: var(--white);
}

/* Floating Call — pinned for mobile */
.fab-call {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.25rem;
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(26, 29, 33, 0.35);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.fab-call:hover {
  background: var(--gold-hover);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.fab-call svg {
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .fab-call {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* Page hero small */
.page-hero {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  padding: 3.5rem 0 4rem;
  overflow: hidden;
  min-height: 16rem;
  display: flex;
  align-items: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(135deg, rgba(26, 29, 33, 0.9) 0%, rgba(26, 29, 33, 0.82) 50%, rgba(45, 50, 56, 0.88) 100%),
    var(--page-hero-bg, var(--hero-about-image));
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-hero--about {
  --page-hero-bg: var(--hero-about-image);
}

.page-hero--contact {
  --page-hero-bg: var(--hero-contact-image);
}

.page-hero--gallery {
  --page-hero-bg: url("../images/gallery/01.png");
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  max-width: 36rem;
}

/* Gallery */
.gallery-preview-cta {
  margin-top: 2rem;
  text-align: center;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.gallery-tile {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background: var(--charcoal-mid);
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  aspect-ratio: 4 / 3;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

a.gallery-tile {
  cursor: pointer;
}

.gallery-tile--link {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.gallery-tile:hover {
  box-shadow: 0 12px 40px rgba(26, 29, 33, 0.2);
  transform: translateY(-2px);
}

.gallery-tile:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.gallery-intro {
  max-width: 40rem;
  margin: 0 0 2rem;
  color: var(--text-muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(10, 12, 14, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__inner {
  position: relative;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__inner img {
  max-width: 100%;
  max-height: min(85vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.lightbox__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  background: rgba(26, 29, 33, 0.6);
  border: 1px solid rgba(201, 162, 39, 0.5);
  color: var(--white);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  font-family: var(--font-sans);
}

.lightbox__close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(26, 29, 33, 0.75);
  color: var(--white);
  cursor: pointer;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.lightbox__nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox__nav--prev {
  left: -3.5rem;
}

.lightbox__nav--next {
  right: -3.5rem;
}

@media (max-width: 900px) {
  .lightbox__nav--prev {
    left: 0.25rem;
  }

  .lightbox__nav--next {
    right: 0.25rem;
  }
}

.lightbox__counter {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

body.lightbox-open {
  overflow: hidden;
}
