/* ============================================
   OAKRIDGE INFRA - Main Stylesheet v2
   Palette: Steel #1C2B3A | Concrete #2D3E50
            Amber #F5C518 | Charcoal #0D1B2A
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Brand yellows */
  --yellow:       #F5C518;
  --yellow-dark:  #D4A800;
  --yellow-light: #FFF8DC;
  --yellow-glow:  rgba(245,197,24,0.25);

  /* Construction palette */
  --steel:        #1C2B3A;   /* deep steel blue – hero, dark sections */
  --concrete:     #2D3E50;   /* mid slate – cards, accents */
  --iron:         #0D1B2A;   /* near-black – footer, overlays */
  --rust:         #C0392B;   /* danger / accent if needed */

  /* Neutrals */
  --white:        #FFFFFF;
  --off-white:    #F8F6F0;   /* warm off-white for light sections */
  --sand:         #EDE8DF;   /* concrete-sand tint */
  --gray:         #7A8A99;
  --gray-dark:    #445566;
  --gray-light:   #F0EEE8;

  /* Typography */
  --black:        #0D1B2A;

  /* Effects */
  --transition:   all 0.3s ease;
  --shadow:       0 8px 30px rgba(13,27,42,0.14);
  --shadow-lg:    0 20px 60px rgba(13,27,42,0.22);
  --shadow-yellow: 0 8px 30px rgba(245,197,24,0.35);
  --radius:       8px;
  --radius-lg:    16px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   UTILITY
============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section     { padding: 96px 0; }
.section-sm  { padding: 60px 0; }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

/* On dark backgrounds */
.section-label.light        { color: var(--yellow); }
.section-label.light::before{ background: var(--yellow); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--black);
  margin-bottom: 16px;
}
.section-title span       { color: var(--yellow-dark); }
.section-title.on-dark    { color: var(--white); }
.section-title.on-dark span{ color: var(--yellow); }

.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.8;
}
.section-subtitle.on-dark { color: rgba(255,255,255,0.65); }

.text-center                        { text-align: center; }
.text-center .section-label         { justify-content: center; }
.text-center .section-subtitle      { margin: 0 auto; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  outline: none;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--yellow);
  color: var(--iron);
  border-color: var(--yellow);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-yellow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--iron);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--iron);
  border-color: var(--iron);
}
.btn-outline-dark:hover {
  background: var(--iron);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px !important; font-size: 0.78rem !important; }

/* ============================================================
   NAVBAR  — always has background so logo stays visible
============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);          /* solid white always */
  border-bottom: 3px solid var(--yellow);
  padding: 0;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(13,27,42,0.18);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo – original colours fully visible on white */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo img {
  height: 46px;
  width: auto;
  /* NO filter – show original black+yellow logo */
}

.navbar-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--iron);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.navbar-logo-text span { color: var(--yellow-dark); }

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

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-dark);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--iron); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--yellow) !important;
  color: var(--iron) !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.78rem !important;
  border: 2px solid var(--yellow) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover  { background: var(--yellow-dark) !important; border-color: var(--yellow-dark) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--iron);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--iron);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--yellow); }

.mobile-close {
  position: absolute;
  top: 22px; right: 26px;
  font-size: 1.8rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
}

/* ============================================================
   PAGE HERO BANNER  (inner pages)
============================================================ */
.page-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--iron);
  margin-top: 70px;         /* clear fixed navbar */
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/office.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 0.25;
}

/* Yellow diagonal accent stripe */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: var(--yellow);
  z-index: 2;
}

.page-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 14px;
  font-weight: 900;
}
.page-hero-content h1 span { color: var(--yellow); }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
.breadcrumb a   { color: var(--yellow); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i   { font-size: 0.65rem; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--iron);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 0;
}

/* Yellow top border */
.footer::before {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--yellow-dark) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 52px;
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Footer logo – show original on dark background */
.footer-brand img {
  height: 54px;
  width: auto;
  margin-bottom: 18px;
  /* original colours fine – logo is black+yellow, dark bg means
     we need to invert the black parts to white */
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.85;
  margin-bottom: 22px;
}

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--yellow);
  color: var(--iron);
  border-color: var(--yellow);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 12px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--yellow);
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 7px;
  transition: var(--transition);
}
.footer-links a i { font-size: 0.65rem; color: var(--yellow); }
.footer-links a:hover { color: var(--yellow); padding-left: 3px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.875rem;
}
.footer-contact-item i  { color: var(--yellow); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   SCROLL TO TOP
============================================================ */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  background: var(--yellow);
  color: var(--iron);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
  font-size: 1rem;
  box-shadow: var(--shadow-yellow);
}
.scroll-top.visible        { opacity: 1; visibility: visible; }
.scroll-top:hover          { background: var(--yellow-dark); transform: translateY(-3px); }

/* ============================================================
   ANIMATIONS
============================================================ */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section     { padding: 68px 0; }
  .nav-links   { display: none; }
  .hamburger   { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-hero   { height: 280px; }
}
