/* ═══════════════════════════════════════
   SITE CHROME — Topbar, Header, Nav, Footer
   Shared across ALL pages
═══════════════════════════════════════ */

/* ── Base Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: #334155; line-height: 1.7; }
:root {
  --navy: #002868; --navy-dark: #001a44;
  --red: #c80f28; --red-hover: #a00d20;
  --heading: #1e293b; --body: #334155;
  --light-bg: #F0F5FA; --white: #ffffff;
}
h1, h2, h3, h4 { font-family: 'Bakbak One', sans-serif; color: var(--heading); }
a { text-decoration: none; }

/* ═══ TOP BAR ═══ */
.site-topbar { background: var(--navy-dark); padding: 6px 5vw; display: flex; align-items: center; justify-content: center; position: relative; }
.topbar-social { display: flex; gap: 16px; align-items: center; }
.topbar-social a { display: flex; align-items: center; }
.topbar-social svg { width: 13px; height: 13px; fill: rgba(255,255,255,0.45); transition: fill 0.2s; }
.topbar-social a:hover svg { fill: var(--white); }
.topbar-right { position: absolute; right: 5vw; display: flex; align-items: center; gap: 14px; }
.topbar-link { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.7); font-size: 0.73rem; font-weight: 500; transition: color 0.2s; text-decoration: none; }
.topbar-link:hover { color: var(--white); }
.topbar-link svg { fill: rgba(255,255,255,0.7); }
.topbar-link:hover svg { fill: var(--white); }
.topbar-sep { width: 1px; height: 12px; background: rgba(255,255,255,0.15); }
.topbar-dropdown { position: relative; }
.topbar-dropdown-menu { display: none; position: absolute; top: 100%; right: 0; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-radius: 6px; min-width: 180px; padding: 6px 0; z-index: 201; }
.topbar-dropdown:hover .topbar-dropdown-menu { display: block; }
.topbar-dropdown-menu a { display: block; padding: 8px 16px; font-size: 0.8rem; color: #1e293b; white-space: nowrap; text-decoration: none; }
.topbar-dropdown-menu a:hover { background: #F0F5FA; color: #c80f28; }
.topbar-workshop { color: #d4a843 !important; }
.topbar-workshop:hover { color: #e8c94a !important; }
.topbar-workshop svg { fill: #d4a843 !important; }

/* ═══ HEADER ═══ */
.header { background: var(--white); padding: 0 5vw; display: flex; justify-content: space-between; align-items: center; height: 80px; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.header-logo img { height: 50px; }
.header-nav { display: flex; align-items: center; }
.header-nav > a, .header-nav > .nav-dropdown > a { color: var(--navy); font-weight: 500; font-size: 0.85rem; padding: 8px 14px; transition: color 0.2s; white-space: nowrap; }
.header-nav > a:hover, .header-nav > .nav-dropdown > a:hover { color: var(--red); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,0.1); border-radius: 6px; min-width: 230px; padding: 8px 0; z-index: 101; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 10px 20px; font-size: 0.83rem; color: var(--heading); }
.nav-dropdown-menu a:hover { background: var(--light-bg); color: var(--red); }
.header-cta { background: var(--red) !important; color: var(--white) !important; border-radius: 4px; padding: 10px 22px !important; font-weight: 600 !important; margin-left: 8px; transition: background 0.2s; }
.header-cta:hover { background: var(--red-hover) !important; }

/* ═══ MOBILE NAV ═══ */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 201; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 6px 0; transition: all 0.3s; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--white); z-index: 200; padding: 100px 5vw 2rem; overflow-y: auto; flex-direction: column; gap: 0; }
.mobile-nav.open { display: flex; }
.mobile-nav a { display: block; color: var(--navy); font-weight: 500; font-size: 1.05rem; padding: 14px 0; border-bottom: 1px solid #e8ecf0; }
.mobile-nav a:hover { color: var(--red); }
.mobile-nav .mobile-dropdown-toggle { display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: var(--navy); font-weight: 500; font-size: 1.05rem; padding: 14px 0; border-bottom: 1px solid #e8ecf0; background: none; border-left: none; border-right: none; border-top: none; width: 100%; text-align: left; font-family: 'Poppins', sans-serif; }
.mobile-nav .mobile-dropdown-toggle:hover { color: var(--red); }
.mobile-nav .mobile-sub { display: none; padding-left: 1.2rem; }
.mobile-nav .mobile-sub.open { display: block; }
.mobile-nav .mobile-sub a { font-size: 0.93rem; font-weight: 400; color: #475569; padding: 10px 0; }
.mobile-nav .mobile-cta { display: inline-block; background: var(--red); color: var(--white) !important; text-align: center; border-radius: 4px; padding: 14px 28px !important; font-weight: 600; margin-top: 1.5rem; border-bottom: none; }
.mobile-nav .mobile-cta:hover { background: var(--red-hover); }

/* ═══ FOOTER ═══ */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding: 4rem 5vw 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; max-width: 1100px; margin: 0 auto; }
.footer-col h4 { color: var(--white); font-family: 'Bakbak One', sans-serif; font-size: 1rem; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 6px; transition: background 0.2s; }
.footer-social a:hover { background: var(--red); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.8); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; }
.footer-contact-item svg { width: 18px; height: 18px; fill: var(--red); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom { max-width: 1100px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--white); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .site-topbar { display: none; }
  .header-nav { display: none; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
