/* =============================================
   ACCOLADE CONTRACTORS LIMITED — style.css
   ============================================= */

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

:root {
  --gold:       #F5B800;
  --gold-light: #FFD34E;
  --black:      #0A0A0A;
  --dark:       #111118;
  --dark2:      #1A1A26;
  --dark3:      #22222F;
  --mid:        #2E2E3E;
  --muted:      #888899;
  --light:      #E8E8EE;
  --white:      #FFFFFF;
  --font-d: 'Barlow Condensed', sans-serif;
  --font-b: 'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--light);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.gold { color: var(--gold); }

.gold-divider {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem;
}
.gold-divider::before {
  content: ''; width: 40px; height: 2px;
  background: var(--gold); flex-shrink: 0;
}
.gold-divider span {
  font-family: var(--font-d); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--black);
  font-family: var(--font-d); font-size: 13px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; padding: 14px 30px;
  transition: background 0.2s, transform 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  font-family: var(--font-d); font-size: 13px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; padding: 13px 30px;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

section { padding: 6rem 0; }

.section-header { margin-bottom: 3.5rem; }
.section-header h2 {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900; text-transform: uppercase;
  line-height: 0.95; letter-spacing: -0.01em;
}
.section-header p {
  margin-top: 1rem; color: rgba(232,232,238,0.65);
  max-width: 520px; font-size: 1rem; font-weight: 300;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 1.2rem 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  background: rgba(10,10,10,0.97);
  padding: 0.75rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(245,184,0,0.15);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 48px; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--font-d); font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--light); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important; color: var(--black) !important;
  padding: 9px 22px !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); transition: 0.3s; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--black); z-index: 999;
  flex-direction: column; align-items: center;
  justify-content: center; gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-d); font-size: 2.2rem; font-weight: 800;
  color: var(--white); text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.06em; transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute; top: 1.5rem; right: 2rem;
  font-size: 2rem; color: var(--gold); cursor: pointer;
  background: none; border: none;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  /* brightness raised from 0.45 → 0.65 per feedback */
  filter: brightness(0.65);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,10,10,0.88) 0%,
    rgba(10,10,10,0.60) 50%,
    rgba(10,10,10,0.15) 100%
  );
}
.hero-stripe {
  position: absolute; bottom: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(
    90deg, var(--gold) 0px, var(--gold) 20px,
    var(--black) 20px, var(--black) 30px
  );
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.hero-eyebrow-line { width: 50px; height: 2px; background: var(--gold); }
.hero-eyebrow span {
  font-family: var(--font-d); font-size: 12px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
}
.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(3.8rem, 8vw, 7rem);
  font-weight: 900; line-height: 0.92;
  text-transform: uppercase; margin-bottom: 1.8rem;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.05rem; font-weight: 300;
  color: rgba(232,232,238,0.85);
  max-width: 480px; margin-bottom: 2.5rem; line-height: 1.75;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  position: absolute; bottom: 4rem; right: 4%; z-index: 2;
  display: flex; background: rgba(10,10,10,0.72);
  border: 1px solid rgba(245,184,0,0.2);
  backdrop-filter: blur(8px);
}
.stat { padding: 1.4rem 2rem; text-align: center; border-right: 1px solid rgba(245,184,0,0.15); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-d); font-size: 2.4rem; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ── ABOUT ── */
.about { background: var(--dark); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-wrap { position: relative; overflow: hidden; }
.about-img-wrap img { width: 100%; display: block; object-fit: cover; }
.about-img-wrap::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--gold); }
.about-img-badge {
  position: absolute; bottom: 1.2rem; left: -0.5rem;
  background: var(--gold); color: var(--black);
  font-family: var(--font-d); font-size: 12px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 16px; box-shadow: 3px 3px 0 rgba(0,0,0,0.4);
}
.about-text h2 {
  font-family: var(--font-d); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; text-transform: uppercase; line-height: 0.95; margin-bottom: 1.5rem;
}
.about-text p { color: rgba(232,232,238,0.7); line-height: 1.75; margin-bottom: 1.1rem; font-size: 0.97rem; }
.about-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.pill {
  font-family: var(--font-d); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 14px; background: var(--dark3); color: var(--muted); border: 1px solid var(--mid);
}
.rc-info {
  margin-top: 1.5rem; padding: 1rem 1.2rem;
  background: var(--dark3); border-left: 3px solid var(--gold);
  display: flex; gap: 2rem; flex-wrap: wrap;
}
.rc-item label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 2px; }
.rc-item span { font-family: var(--font-d); font-size: 14px; font-weight: 700; color: var(--white); }

/* ── SERVICES ── */
.services { background: var(--black); }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; background: rgba(245,184,0,0.07);
}
.service-card {
  background: var(--dark); padding: 3rem 2.5rem;
  position: relative; overflow: hidden; transition: background 0.3s;
}
.service-card:hover { background: var(--dark2); }
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.4s ease;
}
.service-card:hover::after { width: 100%; }
.service-num {
  font-family: var(--font-d); font-size: 3.5rem; font-weight: 900;
  color: rgba(245,184,0,0.07); line-height: 1; margin-bottom: 0.8rem;
}
.service-icon {
  width: 48px; height: 48px;
  background: rgba(245,184,0,0.08); border: 1px solid rgba(245,184,0,0.22);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; font-size: 1.4rem;
}
.service-card h3 {
  font-family: var(--font-d); font-size: 1.35rem; font-weight: 800;
  text-transform: uppercase; margin-bottom: 0.7rem; color: var(--white);
}
.service-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; font-weight: 300; }

/* ── PHILOSOPHY BAND ── */
.phil-band { background: var(--black); }
.hazard-stripe {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg, var(--gold) 0px, var(--gold) 10px,
    var(--black) 10px, var(--black) 20px
  );
}
.phil-inner {
  display: grid; grid-template-columns: 1fr 1fr;
}
.phil-img {
  position: relative; min-height: 380px; overflow: hidden;
}
.phil-img img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top; display: block;
  /* brighter — no extra darkening filter */
}
.phil-text {
  background: var(--dark2); padding: 3.5rem;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 4px solid var(--gold);
}
.phil-text h3 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900; text-transform: uppercase; line-height: 0.95;
  margin-bottom: 1.2rem;
}
.phil-text p {
  color: var(--muted); font-size: 0.92rem;
  line-height: 1.65; font-weight: 300; margin-bottom: 1.8rem;
}

/* ── WHY US ── */
.why { background: var(--dark2); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.04); margin-top: 3rem;
}
.why-item {
  background: var(--dark2); padding: 2.5rem 2rem;
  border-top: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.why-item:hover { border-top-color: var(--gold); background: var(--dark3); }
.why-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.why-item h4 {
  font-family: var(--font-d); font-size: 1.1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--white); margin-bottom: 0.5rem;
}
.why-item p { font-size: 0.87rem; color: var(--muted); line-height: 1.6; font-weight: 300; }

/* ── PROJECTS ── */
.projects { background: var(--dark); }
.proj-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: end; margin-bottom: 3rem;
}
.proj-intro p { color: rgba(232,232,238,0.65); font-size: 0.97rem; line-height: 1.7; font-weight: 300; }
.proj-intro h2 {
  font-family: var(--font-d); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900; text-transform: uppercase; line-height: 0.95;
}

/* Photo gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 200px 200px;
  gap: 4px; margin-bottom: 3rem;
}
.gallery-item { position: relative; overflow: hidden; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item.tall { grid-row: span 2; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label {
  position: absolute; bottom: 1rem; left: 1rem;
  font-family: var(--font-d); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--white);
  transform: translateY(8px); opacity: 0; transition: all 0.3s;
}
.gallery-item:hover .gallery-label { transform: translateY(0); opacity: 1; }

/* Project cards */
.projects-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.project-card {
  background: var(--dark2); border: 1px solid rgba(255,255,255,0.06);
  padding: 2rem; position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.project-card:hover { border-color: rgba(245,184,0,0.3); transform: translateY(-4px); }
.project-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 36px; height: 36px;
  border-right: 2px solid var(--gold); border-top: 2px solid var(--gold);
}
.project-location {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem;
}
.project-card h4 {
  font-family: var(--font-d); font-size: 1.15rem; font-weight: 800;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 0.6rem; line-height: 1.2;
}
.project-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; font-weight: 300; }
.project-tag {
  display: inline-block; margin-top: 1rem;
  font-family: var(--font-d); font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(245,184,0,0.3); padding: 3px 10px;
}

/* ── TEAM ── */
.team { background: var(--black); }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.team-card {
  background: var(--dark2); border: 1px solid rgba(255,255,255,0.06);
  text-align: center; padding: 2rem 1.5rem;
  transition: transform 0.3s, border-color 0.3s;
}
.team-card:hover { transform: translateY(-5px); border-color: rgba(245,184,0,0.3); }
.team-avatar {
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(245,184,0,0.1); border: 2px solid rgba(245,184,0,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-d); font-size: 1.4rem; font-weight: 900; color: var(--gold);
}
.team-card h4 {
  font-family: var(--font-d); font-size: 1rem; font-weight: 800;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 0.3rem; line-height: 1.2;
}
.team-role { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* ── CONTACT ── */
.contact { background: var(--dark2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info h2 {
  font-family: var(--font-d); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; text-transform: uppercase; line-height: 0.95; margin-bottom: 1.5rem;
}
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(245,184,0,0.08); border: 1px solid rgba(245,184,0,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.contact-detail-text label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 3px;
}
.contact-detail-text p { font-size: 0.9rem; color: var(--light); line-height: 1.5; }
.contact-detail-text a { color: var(--light); text-decoration: none; }
.contact-detail-text a:hover { color: var(--gold); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
}
.form-field input,
.form-field textarea,
.form-field select {
  background: var(--dark3); border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); padding: 12px 14px;
  font-family: var(--font-b); font-size: 0.9rem;
  outline: none; transition: border-color 0.2s; resize: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--gold); }
.form-field select { appearance: none; cursor: pointer; }
.form-field textarea { min-height: 120px; }
.form-submit {
  background: var(--gold); color: var(--black); border: none;
  padding: 15px 32px; font-family: var(--font-d); font-size: 14px;
  font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-2px); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.form-success {
  display: none; padding: 1rem 1.2rem;
  background: rgba(42, 157, 58, 0.15); border: 1px solid rgba(42,157,58,0.4);
  color: #5dba6e; font-size: 0.9rem;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(245,184,0,0.12);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 2rem; margin-bottom: 2.5rem;
}
.footer-logo img { height: 40px; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.85rem; color: var(--muted); max-width: 220px; font-weight: 300; }
.footer-links h5 {
  font-family: var(--font-d); font-size: 11px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.5rem; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }
.footer-rc { font-size: 0.78rem; color: rgba(136,136,153,0.5); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-wrap { max-height: 360px; }
  .about-img-wrap img { max-height: 360px; object-fit: cover; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-list { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 180px 180px 180px; }
  .gallery-item.tall { grid-row: span 2; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 3.2rem; }
  .hero-stats { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .phil-inner { grid-template-columns: 1fr; }
  .phil-img { min-height: 260px; }
  .proj-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .projects-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 4rem 0; }
  .footer-inner { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item.tall { grid-row: span 1; height: 200px; }
  .gallery-item { height: 180px; }
}
