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

/* =========================
   COLOR VARIABLES
========================= */
:root {
  --bronze: #8b5a2b;
  --gold: #b08a57;
  --gold-soft: #d2b48c;
  --dark-brown: #3b2a1f;
  --espresso: #2b1d14;
  --cream: #faf7f3;
  --light-bg: #ffffff;
  --silver: #d0d0d0;
}

/* =========================
   GLOBAL BODY & FONT
========================= */
body {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: var(--dark-brown);
  background: #ffffff;
  padding-top: 110px; /* desktop fixed header offset */
}

/* =========================
   TOP INFO BAR
========================= */
.top-info-bar {
  background: url("../images/wooden-strip.png") repeat-x center/cover;
  font-size: 12px;
}

/* SAME WIDTH AS HEADER */
.info-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 6px 20px;

  display: flex;
  justify-content: flex-end;   /* RIGHT ALIGN */
  align-items: center;
}

/* RIGHT CONTENT */
.info-left {
  display: flex;
  gap: 22px;
}

/* FORCE SILVER + BOLD */
.top-info-bar .info-right a {
  color: #cfcfcf !important;   /* ✅ FORCE SILVER */
  font-weight: 700 !important; /* ✅ FORCE BOLD */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* ICON COLOR */
.top-info-bar .info-right i {
  color: #e0e0e0 !important;
  margin-right: 6px;
}

/* HOVER */
.top-info-bar .info-right a:hover {
  color: #f1d28a !important;
}


/* =========================
   FIXED HEADER WRAPPER
========================= */
.site-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--cream);
}

/* BODY OFFSET FOR FIXED HEADER */
body {
  padding-top: 140px;         /* FIX */
}

/* =========================
   MAIN HEADER
========================= */
.main-header {
  background: var(--cream);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.header-container {
  max-width: 1200px;          /* FIX */
  width: 100%;                /* FIX */
  margin: auto;
  padding: 10px 20px;         /* FIX */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================
   LOGO
========================= */
.logo {
  position: relative;
  display: flex;
  align-items: center;
}

.logo img {
  height: 68px;
}

.logo-underline {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(to right, var(--gold), transparent);
}

/* =========================
   NAVIGATION (DESKTOP)
========================= */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: 'Poppins', Arial, sans-serif;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--espresso);
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-soft));
  transform: translateX(-50%);
  transition: 0.35s ease;
}

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

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

/* =========================
   NAV DIVIDER
========================= */
.nav-divider {
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--gold),
    var(--gold-soft),
    var(--gold),
    transparent
  );
}

/* =========================
   HAMBURGER BUTTON
========================= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--espresso);
}
/* =========================
   CTA / GLOBAL BUTTON
========================= */
.btn-quote {
  background: linear-gradient(to bottom, #b08a57, #6f421f);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.35);
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: url("../images/wooden-strip.png") repeat-x center/cover;
  color: #d6d6d6;
  font-size: 13px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LEFT */
.footer-left {
  white-space: nowrap;
}

/* CENTER */
.footer-center {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-center a {
  color: #d6d6d6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-center span {
  color: #bfbfbf;
}

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

/* RIGHT */
.footer-right {
  display: flex;
  gap: 14px;
}

.footer-right a {
  color: #d6d6d6;
  font-size: 15px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-right a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

/* ==================================================
   GLOBAL MOBILE SYSTEM – ALL PAGES
================================================== */

/* -------------------------
   MOBILE & TABLET
------------------------- */
@media (max-width: 991px) {

  body {
    padding-top: 124px; /* calibrated mobile header height */
  }

  /* TOP INFO BAR */
  .top-info-bar {
    font-size: 11px;
  }

  .info-container {
    flex-direction: column;
    gap: 4px;
    padding: 4px 0;
    text-align: center;
  }

  .info-left {
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
  }

  /* HEADER */
  .header-container {
    flex-wrap: wrap;
    padding: 6px 0;
  }

  .logo img {
    height: 54px;
  }

  /* HAMBURGER */
  .nav-toggle {
    display: block;
  }

  /* NAV (MOBILE) */
  .main-nav {
    width: 100%;
    display: none;
    background: var(--cream);
    margin-top: 8px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    overflow: hidden;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav li {
    border-bottom: 1px solid #e6e0d9;
  }

  .main-nav li:last-child {
    border-bottom: none;
  }

  .main-nav a {
    padding: 14px;
    font-size: 15px;
    text-align: center;
  }

  /* GLOBAL GRID STACKING */
  .cta-grid,
  .features-grid,
  .services-grid,
  .projects-grid,
  .stats-grid,
  .wcu-cards {
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  /* FLEX STACKING */
  .features-container,
  .row,
  .flex-row {
    flex-direction: column;
    gap: 24px;
  }
}

/* -------------------------
   SMALL MOBILE
------------------------- */
@media (max-width: 768px) {

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-center span {
    display: none;
  }

  .footer-right a {
    font-size: 18px;
  }
}

/* -------------------------
   MOBILE FEATURE CARDS FIX
------------------------- */
@media (max-width: 768px) {

  .features-section {
    padding: 50px 0;
  }

  .features-container {
    gap: 30px;
  }

  .features-list {
    flex-direction: column;
    gap: 16px;
  }

  .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 18px;
    text-align: left;
  }

  .feature-icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
    margin: 0;
    flex-shrink: 0;
  }

  .feature-item h4 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .feature-item p {
    font-size: 13.5px;
    line-height: 1.5;
  }
}
/* ==================================================
   CTA SECTION – MOBILE FIX (GLOBAL)
   Applies to ALL pages
================================================== */

@media (max-width: 991px) {

  /* Stack CTA cards */
  .cta-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  /* Remove desktop overlap */
  .cta-card {
    margin-top: 0;
    padding: 28px 22px;
  }

  /* Resize & center icon */
  .cta-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
    margin-bottom: 16px;
  }

  /* Improve text readability */
  .cta-card ul li {
    font-size: 14px;
  }

  /* Full-width CTA button */
  .cta-btn {
    width: 100%;
    text-align: center;
  }

  /* Wooden heading strip fix */
  .cta-headings {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 12px;
  }

  .cta-headings .divider {
    display: none;
  }
}
/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   COLOR VARIABLES
========================= */
:root {
  --bronze: #8b5a2b;
  --gold: #b08a57;
  --gold-soft: #d2b48c;
  --dark-brown: #3b2a1f;
  --espresso: #2b1d14;
  --cream: #faf7f3;
  --light-bg: #ffffff;
  --silver: #d0d0d0;
}

/* =========================
   GLOBAL BODY & FONT
========================= */
body {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: var(--dark-brown);
  background: #ffffff;
  padding-top: 110px; /* desktop fixed header offset */
}

/* =========================
   TOP INFO BAR
========================= */
.top-info-bar {
  background: url("../images/wooden-strip.png") repeat-x center/cover;
  font-size: 12px;
}

.info-container {
  width: 90%;
  margin: auto;
  padding: 6px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-left {
  display: flex;
  gap: 22px;
  color: var(--silver);
}

.info-left i {
  margin-right: 6px;
}

/* =========================
   CTA / GLOBAL BUTTON
========================= */
.btn-quote {
  background: linear-gradient(to bottom, #b08a57, #6f421f);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.35);
}

/* =========================
   FIXED HEADER WRAPPER
========================= */
.site-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--cream);
}

/* =========================
   MAIN HEADER
========================= */
.main-header {
  background: var(--cream);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.header-container {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

/* =========================
   LOGO
========================= */
.logo {
  position: relative;
}

.logo img {
  height: 68px;
}

.logo-underline {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(to right, var(--gold), transparent);
}

/* =========================
   NAVIGATION (DESKTOP)
========================= */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-family: 'Poppins', Arial, sans-serif;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--espresso);
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-soft));
  transform: translateX(-50%);
  transition: 0.35s ease;
}

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

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

/* =========================
   NAV DIVIDER
========================= */
.nav-divider {
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--gold),
    var(--gold-soft),
    var(--gold),
    transparent
  );
}

/* =========================
   HAMBURGER BUTTON
========================= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--espresso);
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: url("../images/wooden-strip.png") repeat-x center/cover;
  color: #d6d6d6;
  font-size: 13px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LEFT */
.footer-left {
  white-space: nowrap;
}

/* CENTER */
.footer-center {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-center a {
  color: #d6d6d6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-center span {
  color: #bfbfbf;
}

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

/* RIGHT */
.footer-right {
  display: flex;
  gap: 14px;
}

.footer-right a {
  color: #d6d6d6;
  font-size: 15px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-right a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

/* ==================================================
   GLOBAL MOBILE SYSTEM – ALL PAGES
================================================== */

/* -------------------------
   MOBILE & TABLET
------------------------- */
@media (max-width: 991px) {

  body {
    padding-top: 124px; /* calibrated mobile header height */
  }

  /* TOP INFO BAR */
  .top-info-bar {
    font-size: 11px;
  }

  .info-container {
    flex-direction: column;
    gap: 4px;
    padding: 4px 0;
    text-align: center;
  }

  .info-left {
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
  }

  /* HEADER */
  .header-container {
    flex-wrap: wrap;
    padding: 6px 0;
  }

  .logo img {
    height: 54px;
  }

  /* HAMBURGER */
  .nav-toggle {
    display: block;
  }

  /* NAV (MOBILE) */
  .main-nav {
    width: 100%;
    display: none;
    background: var(--cream);
    margin-top: 8px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    overflow: hidden;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav li {
    border-bottom: 1px solid #e6e0d9;
  }

  .main-nav li:last-child {
    border-bottom: none;
  }

  .main-nav a {
    padding: 14px;
    font-size: 15px;
    text-align: center;
  }

  /* GLOBAL GRID STACKING */
  .cta-grid,
  .features-grid,
  .services-grid,
  .projects-grid,
  .stats-grid,
  .wcu-cards {
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  /* FLEX STACKING */
  .features-container,
  .row,
  .flex-row {
    flex-direction: column;
    gap: 24px;
  }
}

/* -------------------------
   SMALL MOBILE
------------------------- */
@media (max-width: 768px) {

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-center span {
    display: none;
  }

  .footer-right a {
    font-size: 18px;
  }
}

/* -------------------------
   MOBILE FEATURE CARDS FIX
------------------------- */
@media (max-width: 768px) {

  .features-section {
    padding: 50px 0;
  }

  .features-container {
    gap: 30px;
  }

  .features-list {
    flex-direction: column;
    gap: 16px;
  }

  .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 18px;
    text-align: left;
  }

  .feature-icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
    margin: 0;
    flex-shrink: 0;
  }

  .feature-item h4 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .feature-item p {
    font-size: 13.5px;
    line-height: 1.5;
  }
}
/* ==================================================
   CTA SECTION – MOBILE FIX (GLOBAL)
   Applies to ALL pages
================================================== */

@media (max-width: 991px) {

  /* Stack CTA cards */
  .cta-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  /* Remove desktop overlap */
  .cta-card {
    margin-top: 0;
    padding: 28px 22px;
  }

  /* Resize & center icon */
  .cta-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
    margin-bottom: 16px;
  }

  /* Improve text readability */
  .cta-card ul li {
    font-size: 14px;
  }

  /* Full-width CTA button */
  .cta-btn {
    width: 100%;
    text-align: center;
  }

  /* Wooden heading strip fix */
  .cta-headings {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 12px;
  }

  .cta-headings .divider {
    display: none;
  }
}
/* ================= PREMIUM LOADER ================= */

#loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #111111, #1a1a1a);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 140px;
    animation: logoPulse 2s ease-in-out infinite alternate;
}

.loading-bar {
    width: 180px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    margin: 25px auto 0;
    position: relative;
    overflow: hidden;
}

.loading-bar::before {
    content: "";
    position: absolute;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    animation: loadingMove 1.8s linear infinite;
}

/* Animations */
@keyframes logoPulse {
    from { transform: scale(1); opacity: 0.9; }
    to { transform: scale(1.08); opacity: 1; }
}

@keyframes loadingMove {
    0% { left: -50%; }
    100% { left: 120%; }
}

/* Hide */
#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
