/* ============================================
   SELECT JOINERY LTD — Corporate Stylesheet
   ============================================ */

:root {
  --navy:   #1a1a1a;
  --navy-dark: #000000;
  --gold:   #C4922A;
  --gold-light: #E0AD47;
  --grey:   #4A5568;
  --light:  #F7F8FA;
  --white:  #FFFFFF;
  --text:   #2D3748;
  --border: #E2E8F0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

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

/* ── NAVIGATION ──────────────────────────────── */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo span { color: var(--gold); }

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav ul li a {
  color: #CBD5E0;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.3px;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

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

/* ── HERO ─────────────────────────────────────── */
.hero {
  color: var(--white);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Slideshow layers */
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.87) 0%, rgba(20,20,20,0.78) 100%);
}

.hero-content { position: relative; max-width: 780px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: rgba(196,146,42,0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

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

.hero p {
  font-size: 1.2rem;
  color: #A0AEC0;
  max-width: 600px;
  margin: 0 auto 36px;
}

.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.4);
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }

/* Trust bar */
.trust-bar {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
  text-align: center;
}
.trust-bar p {
  color: #718096;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.trust-bar strong { color: var(--gold); }

/* ── SECTIONS ─────────────────────────────────── */
section { padding: 80px 24px; }

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  color: var(--grey);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 48px;
}

.bg-light { background: var(--light); }
.bg-navy  { background: var(--navy); color: var(--white); }
.bg-navy .section-title { color: var(--white); }
.bg-navy .section-sub   { color: #A0AEC0; }

/* ── CARDS ────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.10); transform: translateY(-3px); }

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(196,146,42,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.card p { color: var(--grey); font-size: 0.95rem; }

/* ── HIGHLIGHT BAND ───────────────────────────── */
.highlight-band {
  background: #000000;
  padding: 60px 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.highlight-band h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.highlight-band p { color: #A0AEC0; font-size: 1.05rem; margin-bottom: 28px; }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 1rem;
  display: inline-block;
  transition: background 0.2s;
}
.btn-navy:hover { background: var(--navy-dark); color: var(--white); }

/* ── STATS ────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { color: #A0AEC0; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* ── TWO COLUMN ───────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── ACCREDITATION BADGES ─────────────────────── */
.accred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.accred-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
}

.accred-card .badge-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.accred-card .badge-org {
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 600;
}

.accred-card p { color: var(--grey); font-size: 0.95rem; }

/* ── SERVICE LIST ─────────────────────────────── */
.service-list { list-style: none; }
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
  color: var(--text);
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: '✓';
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── CONTACT FORM ─────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(196,146,42,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 4px; }
.contact-detail p, .contact-detail a { color: var(--text); font-size: 1rem; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.97rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,146,42,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ── PAGE HEADER ──────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 64px 24px;
  text-align: center;
}
.page-header h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 12px; }
.page-header p  { color: #A0AEC0; font-size: 1.05rem; }

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: var(--navy-dark);
  color: #718096;
  padding: 48px 24px 24px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand h3 span { color: var(--gold); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #718096; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 768px) {
  .hero h1       { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
  .two-col       { grid-template-columns: 1fr; gap: 36px; }
  .two-col.reverse { direction: ltr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }

  nav ul { display: none; flex-direction: column; gap: 0; }
  nav ul.open {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 16px 24px;
  }
  nav ul li a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
}
