/*
Theme Name: Super Awesome
Version: 1.2f
Text Domain: ecs-theme
*/

/* =========================
   Base
========================= */
* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:#0f172a; background:#fff; line-height:1.5;
}
img { max-width:100%; height:auto; display:block; }
a { color:#0ea5e9; text-decoration:none; }
a:hover { text-decoration:underline; }
.wrap { max-width:1200px; margin:0 auto; padding:0 20px; }

/* =========================
   Header (non-fixed)
========================= */
.site-header{
  position: static;               /* not sticky or fixed */
  background:#fff;
  border-bottom:1px solid #e5e7eb;
  box-shadow:0 4px 14px rgba(0,0,0,.05);
}
.header-inner{
  height:112px;                    /* generous whitespace */
  display:flex; align-items:center; justify-content:space-between;
}

/* Brand / logo */
.brand-link img,
.custom-logo{
  height:80px;                     /* big crisp logo */
  width:auto;
  margin:12px 0;
  image-rendering:-webkit-optimize-contrast;
}
.brand-text{
  font-size:22px; font-weight:800; color:#0b2540;
  margin:6px 0;
}

/* =========================
   Desktop navigation
========================= */
.main-nav .nav-list{
  list-style:none; margin:0; padding:0;
  display:flex; gap:26px;
}
.main-nav .nav-list li{ position:relative; list-style:none; }
.main-nav .nav-list a{
  color:#0b2540; font-weight:600; text-decoration:none;
  padding:8px 0; font-size:16px;
}
.main-nav .nav-list a:hover,
.main-nav .nav-list a:focus{ color:#16a34a; }

/* Dropdown under Services */
.main-nav .nav-list li.menu-item-has-children > a::after{
  content:"▾"; margin-left:6px; font-size:12px; color:#6b7280;
}
.main-nav .nav-list li .sub-menu{
  position:absolute; left:0; top:100%;
  min-width:220px;
  background:#fff; border:1px solid #e5e7eb; border-radius:14px;
  box-shadow:0 16px 34px rgba(2,6,23,.12);
  padding:10px; margin-top:10px; display:none;
}
.main-nav .nav-list li .sub-menu li{ list-style:none; }
.main-nav .nav-list li .sub-menu a{
  display:block; padding:10px 12px;
  color:#0b2540; border-radius:8px; font-size:15px;
}
.main-nav .nav-list li .sub-menu a:hover{ background:#f3f6fb; }
.main-nav .nav-list li:hover > .sub-menu,
.main-nav .nav-list li:focus-within > .sub-menu{ display:block; }

/* =========================
   Header CTAs (big, premium)
========================= */
.header-ctas{ display:flex; gap:18px; align-items:center; }

.btn{
  display:inline-block;
  font-weight:800;
  border-radius:14px;
  text-decoration:none;
  padding:18px 26px;               /* big padding */
  font-size:19px;                  /* big text */
  line-height:1.1;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

/* See The Plan = lime (white text) */
.btn.header-plan{
  background:#16a34a; color:#ffffff;
  box-shadow:0 18px 34px rgba(22,163,74,.36);
}
.btn.header-plan:hover{
  transform:translateY(-1px);
  box-shadow:0 24px 44px rgba(22,163,74,.40);
}

/* Get a Quote = red (white text) */
.btn.header-quote{
  background:#dc2626; color:#ffffff;          /* red 600 */
  border:1px solid transparent;
  box-shadow:0 16px 30px rgba(220,38,38,.32);
}
.btn.header-quote:hover{
  background:#b91c1c;                         /* red 700 */
  transform:translateY(-1px);
  box-shadow:0 22px 42px rgba(220,38,38,.38);
}

/* =========================
   Mobile menu
========================= */
.nav-toggle{
  display:none; font-size:26px; background:none; border:0;
  cursor:pointer; color:#0b2540;
}
.mobile-menu{
  display:none;
  background:#fff; border-bottom:1px solid #e5e7eb;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}
.mobile-menu.open{ display:block; }
.mobile-nav-list{ list-style:none; margin:0; padding:10px 20px; }
.mobile-nav-list li{ list-style:none; }
.mobile-nav-list a{ display:block; padding:10px 0; font-weight:600; color:#0b2540; }
.mobile-ctas{
  display:flex; flex-direction:column; gap:10px;
  padding:20px; border-top:1px solid #e5e7eb;
}
.mobile-ctas .btn{ text-align:center; }

/* Breakpoint */
@media (max-width:900px){
  .main-nav{ display:none; }
  .header-ctas{ display:none; }
  .nav-toggle{ display:block; }
}

/* Make header & dropdown render above the hero */
.site-header{ position: relative; z-index: 5000; overflow: visible; }
.main-nav .nav-list li{ position: relative; z-index: 5001; }
.main-nav .nav-list li .sub-menu{ z-index: 5002; }

/* Ensure the hero sits *under* the header stack */
.hero-modern, .hero, .section:first-of-type { position: relative; z-index: 1; }

/* Get a Quote = brand blue with white text & shadow */
.btn.header-quote{
  background:#0e5ba9;       /* brand blue */
  color:#ffffff;
  border:1px solid transparent;
  box-shadow:0 16px 30px rgba(14,91,169,.28);
}
.btn.header-quote:hover{
  background:#0b4a8a;       /* darker on hover */
  transform:translateY(-1px);
  box-shadow:0 22px 42px rgba(14,91,169,.34);
}

/* Mobile drawer version too */
.mobile-ctas .btn.header-quote{
  background:#0e5ba9; color:#ffffff;
  box-shadow:0 16px 30px rgba(14,91,169,.34);
}
.mobile-ctas .btn.header-quote:hover{
  background:#0b4a8a;
}

