/* ===========================================
   AMZ Painting Services - Site Styles
   Palette derived from logo: navy + gold
   =========================================== */

:root {
  --navy: #14213d;
  --navy-deep: #0b1530;
  --gold: #c9a14a;
  --gold-bright: #e6c068;
  --cream: #faf7f0;
  --white: #ffffff;
  --gray-900: #1a1a1a;
  --gray-700: #4a4a4a;
  --gray-500: #7a7a7a;
  --gray-300: #d4d4d4;
  --gray-100: #f4f4f4;
  --shadow-sm: 0 2px 8px rgba(20, 33, 61, 0.08);
  --shadow-md: 0 6px 24px rgba(20, 33, 61, 0.12);
  --shadow-lg: 0 12px 40px rgba(20, 33, 61, 0.18);
  --radius: 6px;
  --radius-lg: 12px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER / NAV ============ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 56px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text .brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.brand-text .brand-tag {
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--white) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-bright);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--navy-deep);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 96px 0 112px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Background video fills the hero, sits behind everything else */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

/* Dark overlay over the video so the white text stays readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 21, 48, 0.85) 0%, rgba(20, 33, 61, 0.7) 100%);
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 161, 74, 0.2), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 .accent {
  color: var(--gold);
}

.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo img {
  max-width: 380px;
  width: 100%;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.35));
}

/* ============ SECTIONS ============ */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title .eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-title p {
  color: var(--gray-700);
  font-size: 1.1rem;
  margin-top: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ SERVICES GRID ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}

.service-card h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.service-card p {
  color: var(--gray-700);
  margin-bottom: 16px;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--gray-700);
}

.service-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

/* ============ WHY US ============ */
.why-us {
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.why-item {
  text-align: center;
}

.why-item .why-num {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.why-item h4 {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-item p {
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-banner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
  font-weight: 800;
}

.about-content .eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.about-content p {
  color: var(--gray-700);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.about-visual {
  background: var(--cream);
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px solid var(--gold);
}

.about-visual .stat-big {
  font-size: 5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.about-visual .stat-label {
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 700;
  margin-top: 8px;
}

/* ============ QUOTE FORM ============ */
.quote-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

.quote-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.quote-form h2 {
  color: var(--navy);
  font-size: 1.6rem;
  margin-bottom: 8px;
  font-weight: 800;
}

.quote-form .form-sub {
  color: var(--gray-700);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-required {
  color: var(--gold);
}

.contact-side h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-weight: 800;
}

.contact-side p {
  color: var(--gray-700);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}

.contact-item .ci-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
}

.contact-item .ci-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.contact-item .ci-value {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ============ PAGE HEADER ============ */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 161, 74, 0.15), transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  position: relative;
}

.page-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

/* ============ SERVICE DETAIL ============ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-100);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  grid-template-columns: 1.5fr 1fr;
}

.service-detail.reverse .service-visual {
  order: 2;
}

.service-visual {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  border: 1px solid var(--gold);
}

.service-visual .big-icon {
  font-size: 80px;
  margin-bottom: 16px;
}

.service-visual h3 {
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 800;
}

.service-info h2 {
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 16px;
  font-weight: 800;
}

.service-info p {
  color: var(--gray-700);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.service-info ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.service-info ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--gray-700);
}

.service-info ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.1rem;
}

/* ============ GALLERY ============ */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--gray-300);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item .gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 14px;
  background: linear-gradient(to top, rgba(11, 21, 48, 0.85), transparent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.gallery-item.hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 21, 48, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  color: var(--white);
  font-size: 2.5rem;
  border: none;
  cursor: pointer;
  font-weight: 300;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--gold);
}

/* Recent work strip on home page */
.recent-work {
  background: var(--white);
}

.recent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.recent-grid .gallery-item {
  aspect-ratio: 1 / 1;
}

.recent-cta {
  text-align: center;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .recent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col p,
.footer-col li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero {
    padding: 64px 0 80px;
  }

  .hero-inner,
  .about-grid,
  .quote-wrap,
  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail.reverse .service-visual {
    order: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--gray-100);
  }

  .nav.open {
    display: flex;
  }

  .nav a.active::after,
  .nav a:hover::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .brand-text .brand-name {
    font-size: 1.05rem;
  }

  .brand img {
    height: 44px;
  }

  section {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .quote-form {
    padding: 24px;
  }
}
