/*
Theme Name: Mouse Counselors
Theme URI: https://mousecounselors.com
Author: Mouse Counselors
Author URI: https://counselorstravel.com
Description: Custom theme for mousecounselors.com. Advisory voice, Poppins/Lora typography, navy/gold brand palette.
Version: 1.0.0
License: Private
Text Domain: mouse-counselors
*/

/* ─── RESET & VARIABLES ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --mc-blue: #004B87;
  --mc-gold: #DCC681;
  --mc-gold-dark: #C4A84F;
  --mc-teal: #63B3CA;
  --mc-gray: #DDE5ED;
  --mc-navy: #041E42;
  --mc-white: #FFFFFF;
  --mc-warm-white: #FAFAF8;
  --mc-text-dark: #1A1A2E;
  --mc-text-mid: #4A5568;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  color: var(--mc-text-dark);
  background: var(--mc-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { color: var(--mc-blue); }

/* ─── HEADER ─── */
.mc-site-header {
  background: var(--mc-navy);
  position: sticky;
  top: 0;
  z-index: 100;
}
.mc-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
}
.mc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.mc-logo img { height: 42px; width: auto; }
.mc-logo-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 15px; color: var(--mc-white);
}
.mc-logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--mc-white);
  letter-spacing: 2px; text-transform: uppercase; line-height: 1.15;
}
.mc-logo-text span {
  display: block; font-size: 10px; font-weight: 400;
  letter-spacing: 3.5px; color: rgba(255,255,255,0.55);
}

/* ─── NAV ─── */
.mc-nav { display: flex; align-items: center; gap: 28px; }
.mc-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-decoration: none; letter-spacing: 0.3px;
  transition: color 0.2s;
}
.mc-nav a:hover { color: var(--mc-white); }
.mc-nav .mc-btn-nav {
  background: var(--mc-gold); color: var(--mc-navy);
  padding: 9px 22px; border-radius: 4px;
  font-weight: 600; font-size: 12px;
  letter-spacing: 0.5px; text-transform: uppercase;
  transition: background 0.2s;
}
.mc-nav .mc-btn-nav:hover { background: var(--mc-gold-dark); color: var(--mc-navy); }

/* ─── DROPDOWNS ─── */
.mc-nav-dropdown { position: relative; }
.mc-nav-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.mc-nav-dropdown > a::after {
  content: '▾'; font-size: 9px; opacity: 0.5; transition: transform 0.2s;
}
.mc-nav-dropdown:hover > a::after { transform: rotate(180deg); }
.mc-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: -16px;
  background: var(--mc-white);
  border: 1px solid rgba(0,75,135,0.08);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(4,30,66,0.12);
  min-width: 220px; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: all 0.2s; z-index: 200;
}
.mc-nav-dropdown:hover .mc-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mc-dropdown-menu a {
  display: block; padding: 9px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 400;
  color: var(--mc-navy) !important;
  text-decoration: none; transition: background 0.15s;
}
.mc-dropdown-menu a:hover { background: var(--mc-gray); color: var(--mc-blue) !important; }
.mc-dropdown-divider { height: 1px; background: rgba(0,75,135,0.06); margin: 6px 0; }

/* ─── HAMBURGER ─── */
.mc-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; flex-direction: column; gap: 5px;
}
.mc-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--mc-white); border-radius: 1px;
}

/* ─── PAGE BANNER ─── */
.mc-page-banner {
  background: linear-gradient(160deg, var(--mc-navy) 0%, #002855 45%, var(--mc-blue) 100%);
  padding: 48px 40px 44px; text-align: center;
  position: relative; overflow: hidden;
}
.mc-page-banner::before {
  content: ''; position: absolute;
  top: -40%; right: -15%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,179,202,0.06) 0%, transparent 70%);
}
.mc-page-banner h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px; font-weight: 700;
  color: var(--mc-white); margin: 0 0 8px;
  position: relative; z-index: 2;
}
.mc-page-banner p {
  font-family: 'Lora', serif;
  font-size: 16px; color: rgba(255,255,255,0.65);
  margin: 0; position: relative; z-index: 2;
}

/* ─── CONTENT ─── */
.mc-page-content { min-height: 60vh; }
.mc-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ─── CT CROSS-LINK ─── */
.mc-ct-link {
  padding: 40px 0; background: var(--mc-warm-white);
  border-top: 1px solid rgba(0,75,135,0.06);
}
.mc-ct-link p {
  font-family: 'Lora', serif;
  font-size: 14.5px; color: var(--mc-text-mid);
  margin: 0; text-align: center;
}
.mc-ct-link a {
  color: var(--mc-blue); text-decoration: none;
  font-weight: 500; border-bottom: 1px solid rgba(0,75,135,0.2);
  transition: border-color 0.2s;
}
.mc-ct-link a:hover { border-color: var(--mc-blue); }

/* ─── FOOTER ─── */
.mc-site-footer { background: var(--mc-navy); padding: 52px 0 28px; }
.mc-footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px; margin-bottom: 44px;
}
.mc-footer-brand .mc-footer-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--mc-white); letter-spacing: 1.5px;
  text-transform: uppercase; margin: 0 0 12px;
}
.mc-footer-brand p {
  font-family: 'Lora', serif; font-size: 13px;
  color: rgba(255,255,255,0.45); line-height: 1.6;
  max-width: 260px; margin: 0;
}
.mc-footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 600;
  color: var(--mc-gold); letter-spacing: 1.5px;
  text-transform: uppercase; margin: 0 0 18px;
}
.mc-footer-col a {
  display: block; font-family: 'Lora', serif;
  font-size: 13.5px; color: rgba(255,255,255,0.5);
  text-decoration: none; padding: 4px 0; transition: color 0.2s;
}
.mc-footer-col a:hover { color: var(--mc-white); }
.mc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px; display: flex;
  justify-content: space-between; align-items: center;
}
.mc-footer-bottom p {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; color: rgba(255,255,255,0.3); margin: 0;
}
.mc-footer-social { display: flex; gap: 16px; }
.mc-footer-social a {
  font-family: 'Poppins', sans-serif; font-size: 12px;
  color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s;
}
.mc-footer-social a:hover { color: var(--mc-gold); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .mc-hamburger { display: flex; }
  .mc-nav {
    position: fixed; top: 0; right: 0;
    width: 280px; height: 100vh; background: var(--mc-navy);
    flex-direction: column; align-items: flex-start;
    padding: 80px 28px 40px; gap: 0;
    transform: translateX(100%); transition: transform 0.3s ease;
    z-index: 300; overflow-y: auto;
  }
  .mc-nav.open { transform: translateX(0); }
  .mc-nav > a, .mc-nav-dropdown > a {
    display: block; padding: 14px 0; font-size: 15px !important;
    color: rgba(255,255,255,0.8) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%;
  }
  .mc-nav-dropdown { width: 100%; }
  .mc-nav-dropdown > a::after { float: right; }
  .mc-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: none; box-shadow: none;
    padding: 0 0 8px 16px; min-width: auto; display: none;
  }
  .mc-nav-dropdown.open .mc-dropdown-menu { display: block; }
  .mc-dropdown-menu a {
    color: rgba(255,255,255,0.55) !important;
    padding: 8px 0 !important; font-size: 13px !important;
  }
  .mc-dropdown-menu a:hover { background: transparent !important; color: var(--mc-gold) !important; }
  .mc-dropdown-divider { background: rgba(255,255,255,0.06); }
  .mc-nav .mc-btn-nav { margin-top: 20px; text-align: center; width: 100%; display: block; }
  .mc-nav.open::before {
    content: ''; position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh; background: rgba(4,30,66,0.5); z-index: -1;
  }
  .mc-header-inner { padding: 0 20px; }
  .mc-container { padding: 0 20px; }
  .mc-page-banner { padding: 36px 20px 32px; }
  .mc-page-banner h1 { font-size: 26px; }
  .mc-footer-grid { grid-template-columns: 1fr 1fr; }
}
