/*
Theme Name: Double U Earth
Description: Custom theme for Double U Trucking — Earth design system.
Author: Double U Trucking
Version: 1.0
Text Domain: double-u-earth
*/

:root {
  --accent: #F5A623;
  --wa: #25D366;
  --on-accent: #241b12;
  --page: #130e0a;
  --s1: #211a13;
  --s2: #1b140f;
  --card: #140f0a;
  --card2: #241c14;
  --text: #f1eae0;
  --text-dim: rgba(241,234,224,.64);
  --text2: #f1eae0;
  --text2-dim: rgba(241,234,224,.58);
  --border1: rgba(245,166,35,.2);
  --border2: rgba(245,166,35,.13);
  --eyebrow: #caa25e;
  --hairline: rgba(255,255,255,.1);
  --stripe: rgba(255,255,255,.035);
  --chip-bg: rgba(245,166,35,.12);
  --pill-bg: #2e251b;
  --pill-text: #f1eae0;
  --nav-bg: #181009;
  --nav-text: #f1eae0;
  --hero-sky: linear-gradient(180deg,#0a0a12 0%,#12101c 45%,#1c1712 100%);
  --hero-scrim: linear-gradient(90deg, rgba(8,8,12,.82) 0%, rgba(8,8,12,.5) 42%, rgba(8,8,12,0) 76%);
  --sun-core: #cdd6ff;
  --sun-glow: rgba(150,170,230,.35);
  --sun-op: .85;
  --sun-x: 74%;
  --sun-y: 24%;
  --horizon: rgba(120,140,200,0);
  --hero-text: #fff;
  --hero-text-dim: rgba(255,255,255,.72);
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: #F5A623; color: #1c1610; }

h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

@keyframes du-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes du-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 6px 20px rgba(0,0,0,.3), 0 0 0 10px rgba(37,211,102,0); }
}

.du-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none;
}
.du-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,166,35,.55) !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
}

.du-btn-accent:hover { background: #ffb838; }
.du-btn-outline:hover { border-color: #F5A623 !important; color: #F5A623 !important; }

/* Navbar */
.du-nav {
  position: sticky; top: 0; z-index: 40;
  background: var(--nav-bg); color: var(--nav-text);
  border-bottom: 1px solid rgba(245,166,35,.15);
}
.du-nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.du-logo { display: flex; flex-direction: column; line-height: .92; text-decoration: none; }
.du-logo .w1 { font-family: var(--font-heading); font-weight: 700; font-size: 22px; letter-spacing: .05em; color: var(--nav-text); }
.du-logo .w2 { font-family: var(--font-heading); font-weight: 600; font-size: 13px; letter-spacing: .42em; color: #F5A623; }
.du-nav-links { display: flex; align-items: center; gap: 28px; }
.du-nav-links a {
  font-family: var(--font-heading); font-weight: 500; font-size: 14px;
  letter-spacing: .04em; text-decoration: none; color: var(--nav-text);
}
.du-nav-actions { display: flex; align-items: center; gap: 12px; }
.du-nav-phone {
  display: flex; align-items: center; gap: 8px;
  background: #F5A623; color: #241b12;
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  padding: 10px 18px; border-radius: 8px; text-decoration: none;
}
.du-nav-admin {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 7px;
  border: 1px solid rgba(245,166,35,.25); color: rgba(241,234,224,.7); text-decoration: none;
}
.du-nav-admin:hover { border-color: #F5A623; color: #F5A623; }

@media (max-width: 860px) {
  .du-nav-links { display: none; }
}

/* Footer */
.du-footer { background: var(--s1); border-top: 3px solid #F5A623; padding: 56px 0 24px; }
.du-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 32px; }
.du-footer h4 { font-family: var(--font-heading); font-weight: 600; font-size: 13px; letter-spacing: .2em; color: #F5A623; margin-bottom: 16px; }
.du-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.du-footer a { text-decoration: none; color: var(--text-dim); font-size: 15px; }
.du-footer a:hover { color: #F5A623; }
.du-footer-bottom { border-top: 1px solid var(--hairline); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--text-dim); }

/* Page hero (inner pages) */
.du-page-hero {
  position: relative; background: var(--s1);
  border-bottom: 1px solid rgba(245,166,35,.18);
  padding: clamp(56px,8vw,96px) 0 clamp(40px,6vw,64px);
}
.du-page-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg,#F5A623, rgba(245,166,35,0));
}
.du-page-hero h1 { font-weight: 700; font-size: clamp(32px,5vw,56px); color: var(--text); }
.du-page-hero p { font-family: var(--font-body); font-size: 17px; color: var(--text-dim); max-width: 620px; margin-top: 14px; }

/* CF7 form styling */
.wpcf7-form label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 13px; letter-spacing: .08em; color: var(--text-dim); margin-bottom: 6px; }
.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form input[type=tel], .wpcf7-form input[type=date], .wpcf7-form textarea, .wpcf7-form select {
  width: 100%; border-radius: 8px; border: 1px solid var(--border1);
  padding: 10px 12px; background: var(--card); color: var(--text);
  font-family: var(--font-body); font-size: 15px; outline: none;
}
.wpcf7-form select option { background: #140f0a; }
.wpcf7-form p { margin-bottom: 18px; }
.wpcf7-form input[type=submit] {
  background: #F5A623; color: #241b12; font-family: var(--font-heading); font-weight: 600; font-size: 17px;
  padding: 14px 28px; border-radius: 9px; border: none; cursor: pointer;
  box-shadow: 0 4px 0 rgba(0,0,0,.2);
}
.wpcf7-not-valid-tip { color: #f87171; font-size: 13px; margin-top: 4px; }
.wpcf7-response-output { border-radius: 8px; padding: 12px 16px !important; font-family: var(--font-body); }
