/*
Theme Name:  EliteAssignmentHelp Child
Description: Child theme for eliteassignmenthelp.expert — custom header and footer.
Template:    extendable
Version:     1.0.0
Author:      EliteAssignmentHelp.expert
*/

/* ══════════════════════════════════════════════════════════════════
   TOKENS
   All custom properties are prefixed elite- to avoid collisions
   with Extendify's own variables.
══════════════════════════════════════════════════════════════════ */
:root {
  --elite-navy:     #0a1940;
  --elite-navy2:    #1a3368;
  --elite-navy3:    #0d2154;
  --elite-gold:     #c9a84c;
  --elite-gold-lt:  #e8c96a;
  --elite-ink:      #1e2d50;
  --elite-muted:    #6b7a99;
  --elite-border:   #dde3f0;
  --elite-bg:       #f4f6fb;
  --elite-white:    #ffffff;
}


/* ══════════════════════════════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════════════════════════════ */

.elite-nav {
  background: var(--elite-navy);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
}

.elite-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.elite-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.elite-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Desktop links */
.elite-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.elite-nav-links li { margin: 0; padding: 0; }
.elite-nav-links a {
  display: block;
  color: #8aa4bc;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 7px;
  white-space: nowrap;
  transition: color .15s, background .15s;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.elite-nav-links a:hover,
.elite-nav-links a:focus,
.elite-nav-links .current-menu-item > a {
  color: var(--elite-gold-lt);
  background: rgba(255, 255, 255, .07);
}

/* CTA button in nav */
.elite-nav-links .elite-nav-cta a {
  background: var(--elite-gold);
  color: var(--elite-navy);
  font-weight: 700;
  padding: 6px 16px;
}
.elite-nav-links .elite-nav-cta a:hover {
  background: var(--elite-gold-lt);
  color: var(--elite-navy);
}

/* Hamburger toggle */
.elite-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #8aa4bc;
  padding: 4px;
  line-height: 0;
  transition: color .15s;
}
.elite-nav-toggle:hover { color: var(--elite-gold-lt); }
.elite-nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Mobile nav drawer */
.elite-mobile-nav {
  display: none;
  background: var(--elite-navy2);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 8px 16px 14px;
  flex-direction: column;
  gap: 2px;
}
.elite-mobile-nav.open { display: flex; }
.elite-mobile-nav a {
  display: block;
  color: #8aa4bc;
  text-decoration: none;
  font-size: .88rem;
  padding: 11px 14px;
  border-radius: 8px;
  transition: background .15s, color .15s;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.elite-mobile-nav a:hover { background: rgba(255,255,255,.07); color: var(--elite-gold-lt); }
.elite-mobile-nav .elite-mob-cta a {
  background: var(--elite-gold);
  color: var(--elite-navy);
  font-weight: 700;
  margin-top: 6px;
  text-align: center;
}

@media (max-width: 768px) {
  .elite-nav-links    { display: none; }
  .elite-nav-toggle   { display: flex; align-items: center; }
  .elite-nav-inner    { height: 52px; }
  .elite-logo img     { height: 32px; }
}


/* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */

.elite-footer {
  background: #0d1b2a;
  color: #8aa4bc;
  padding: 52px 20px 28px;
  margin-top: auto;
  width: 100%;
}

.elite-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Logo in footer */
.elite-footer-logo {
  display: block;
  margin-bottom: 32px;
}
.elite-footer-logo img {
  height: 34px;
  width: auto;
  opacity: .85;
  transition: opacity .15s;
}
.elite-footer-logo img:hover { opacity: 1; }

/* Four-column link grid */
.elite-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}

.elite-footer-col h4 {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--elite-gold);
  font-weight: 700;
  margin: 0 0 14px;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.elite-footer-col a {
  display: block;
  font-size: .8rem;
  color: #7a9ab5;
  text-decoration: none;
  margin-bottom: 7px;
  transition: color .15s;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.elite-footer-col a:hover { color: var(--elite-gold); }

/* Divider */
.elite-footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .07);
  margin: 0 0 20px;
}

/* Bottom bar */
.elite-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.elite-footer-bottom p {
  font-size: .76rem;
  color: #4a6a8a;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.elite-footer-bottom a {
  color: #4a6a8a;
  text-decoration: none;
  transition: color .15s;
}
.elite-footer-bottom a:hover { color: var(--elite-gold); }

.elite-footer-quick-links {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.elite-footer-quick-links a {
  font-size: .76rem;
  color: #4a6a8a;
  text-decoration: none;
  padding: 2px 6px;
  transition: color .15s;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.elite-footer-quick-links a:hover { color: var(--elite-gold); }
.elite-footer-quick-links .sep { color: #2a4a6a; }

/* Disclaimer */
.elite-footer-disclaimer {
  font-size: .7rem;
  color: #3a5a7a;
  text-align: center;
  line-height: 1.65;
  max-width: 700px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Responsive */
@media (max-width: 900px) {
  .elite-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .elite-footer-grid   { grid-template-columns: 1fr; gap: 24px; }
  .elite-footer-bottom { flex-direction: column; text-align: center; }
  .elite-footer-quick-links { justify-content: center; }
}
