/* =====================================================
   BUSY BEE - MAIN STYLESHEET
   Global/shared styles only — used on every page
   Page/section-specific styles live in pages.css

   STRUCTURE:
   1. Variables
   2. Reset & Base
   3. Typography
   4. Layout helpers
   5. Buttons
   6. Navigation
   7. Footer
   8. Forms
   9. Utilities & accessibility
   10. Responsive (mobile)
===================================================== */


/* =========================================
   1. VARIABLES
========================================= */
:root {
  /* Colors */
  --cream: #FAF9F3;
  --cream-warm: #F5F2E8;
  --olive: #3B451D;
  --olive-deep: #2A3114;
  --olive-soft: #C9D1B2;
  --yellow: #F0C600;
  --yellow-soft: #F5D848;
  --ink: #1A1A1A;
  --text: #3B451D;
  --text-soft: #5A6A35;

  /* Lines */
  --line: rgba(59, 69, 29, 0.12);
  --line-strong: rgba(59, 69, 29, 0.25);
  --line-grey: #C9C9C2;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(59, 69, 29, 0.06);
  --shadow: 0 4px 16px rgba(59, 69, 29, 0.08);
  --shadow-lg: 0 12px 32px rgba(59, 69, 29, 0.12);

  /* Radii */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
}


/* =========================================
   2. RESET & BASE
========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
*:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--olive); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--yellow); }


/* =========================================
   3. TYPOGRAPHY
   Centralized — change here, not per-section
========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--olive);
  line-height: 1.15;
}

h1 { font-size: 56px; }
h2 { font-size: 42px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }

p {
  font-size: 20px;
  line-height: 1.65;
  margin-bottom: 16px;
}
p:last-child { margin-bottom: 0; }

.text-large {
  font-size: 22px;
  line-height: 1.6;
}

.text-small {
  font-size: 16px;
  line-height: 1.55;
}

.eyebrow {
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--olive);
  margin-bottom: 12px;
}


/* =========================================
   4. LAYOUT HELPERS
========================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 80px 0; }
.section-tight { padding: 48px 0; }


/* =========================================
   5. BUTTONS
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--olive);
  color: var(--cream);
  border: 2px solid var(--olive);
  font-family: 'Mulish', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  text-transform: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: var(--radius);
  text-decoration: none;
}

.btn:hover {
  background: var(--yellow);
  color: var(--olive);
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--olive);
}

.btn-secondary:hover {
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--olive);
  border-color: var(--yellow);
}

.btn-yellow:hover {
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive);
}

.btn-arrow::after {
  content: '\2192';
  font-size: 16px;
  transition: transform 0.2s;
}

.btn:hover.btn-arrow::after { transform: translateX(3px); }


/* =========================================
   6. NAVIGATION
========================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  display: block;
  text-decoration: none;
  text-align: center;
}

.nav-logo img {
  height: 115px;
  width: auto;
  margin: 0 auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
  justify-content: center;
  width: auto;
  border-top: 1px solid var(--line-grey);
  border-bottom: 1px solid var(--line-grey);
  padding: 0 24px;
  flex-wrap: wrap;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  color: var(--olive);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  padding: 2px 20px;
  transition: color 0.2s;
  display: block;
  letter-spacing: 0.02em;
}

.nav-links > li > a:hover { color: var(--yellow); }

.nav-links > li > a.active {
  color: var(--yellow);
  font-style: italic;
}

.nav-cta { color: var(--olive) !important; }
.nav-cta:hover { color: var(--yellow) !important; }
.nav-links > li > a.nav-cta.active {
  color: var(--yellow) !important;
  font-style: italic;
}

/* Dropdown (desktop) */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 8px 0;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 400;
  color: var(--olive);
  text-decoration: none;
  font-family: 'Playfair Display', Georgia, serif;
  text-align: center;
}

.nav-dropdown-menu a:hover { color: var(--yellow); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--olive);
  font-size: 24px;
}


/* =========================================
   7. FOOTER
========================================= */
footer {
  background: var(--olive);
  color: var(--cream);
  padding: 72px 0 28px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-grid .footer-col:last-child {
  text-align: center;
  justify-self: end;
  margin-top: 30px;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  color: var(--cream);
  font-size: 18px;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--cream);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: var(--cream);
  font-size: 18px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--yellow); }

.footer-col p {
  color: var(--cream);
  font-size: 18px;
  line-height: 1.7;
}

.footer-appt {
  display: inline-block;
  background: rgba(240, 198, 0, 0.12);
  border-left: 3px solid var(--yellow);
  padding: 10px 14px;
  margin-top: 14px;
  font-size: 16px;
  color: var(--yellow) !important;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 249, 243, 0.15);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 16px;
  color: var(--cream);
}

.footer-bottom a { color: var(--cream); }
.footer-bottom a:hover { color: var(--yellow); }

.socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.socials a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--cream);
  display: grid;
  place-items: center;
  color: var(--cream);
  transition: all 0.25s ease;
}

.socials a svg {
  width: 26px;
  height: 26px;
  transition: color 0.25s ease;
}

.socials a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--olive-deep);
  transform: translateY(-2px);
}


/* =========================================
   8. FORMS
========================================= */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-family: 'Mulish', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 6px;
}

.form-group label .req { color: var(--yellow); }

.form-group label .opt {
  color: var(--text-soft);
  font-weight: 400;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  background: #FFF;
  border: 1px solid var(--line-strong);
  color: var(--olive);
  font-family: 'Mulish', sans-serif;
  font-size: 18px;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(240, 198, 0, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  font-family: 'Mulish', sans-serif;
}

.form-file {
  border: 2px dashed var(--line-strong);
  padding: 24px;
  text-align: center;
  border-radius: var(--radius-sm);
  background: var(--cream-warm);
  cursor: pointer;
  transition: all 0.2s;
}

.form-file:hover {
  border-color: var(--yellow);
  background: rgba(240, 198, 0, 0.05);
}

.form-file-label {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--olive);
  margin-bottom: 4px;
}

.form-file-sub {
  font-size: 14px;
  color: var(--text-soft);
}

.form-disclaimer {
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 16px;
  line-height: 1.6;
}

.form-submit {
  margin-top: 12px;
  width: 100%;
  background: var(--olive);
  color: var(--cream);
  border: 2px solid var(--olive);
  padding: 16px;
  font-family: 'Mulish', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: var(--radius-sm);
}

.form-submit:hover {
  background: var(--yellow);
  color: var(--olive);
  border-color: var(--yellow);
}


/* =========================================
   9. UTILITIES & ACCESSIBILITY
========================================= */
.text-center { text-align: center; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--olive);
  color: var(--cream);
  padding: 8px 16px;
  z-index: 200;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =========================================
   10. RESPONSIVE (mobile, ≤ 980px)
   Mirrors section order above. Section-specific
   mobile rules live in pages.css.
========================================= */
@media (max-width: 980px) {
  /* --- Typography --- */
  h1 { font-size: 42px; }
  h2 { font-size: 36px; }
  h3 { font-size: 30px; }
  h4 { font-size: 26px; }

  p { font-size: 22px; }
  .text-large { font-size: 22px; line-height: 1.5; }
  .text-small { font-size: 18px; }

  /* --- Layout --- */
  section { padding: 60px 0; }
  .container, .container-narrow {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* --- Navigation --- */
  .nav-inner {
    padding: 16px 20px 24px;
    position: relative;
  }

  .mobile-toggle {
    display: block;
    position: absolute;
    top: 24px;
    right: 20px;
  }

  .nav-logo img { height: 70px; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
    border: none;
    border-top: 1px solid var(--line-grey);
  }

  .nav-links.open { display: flex; }

  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-links > li:last-child { border-bottom: none; }

  .nav-links > li > a {
    padding: 14px 20px;
    width: 100%;
    text-align: center;
    font-size: 22px;
  }

  /* Mobile dropdown — closed by default, opens on tap */
  .nav-dropdown-menu {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 32px;
    margin-top: 0;
    min-width: 0;
    transition: max-height 0.25s ease, opacity 0.2s, visibility 0.2s;
  }

  .nav-dropdown.open-mobile .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 400px;
    padding: 4px 0 8px 0;
    margin-left: 40px;
  }

  .nav-dropdown-menu a {
    padding: 10px 20px 10px 60px;
    font-size: 18px;
    text-align: left;
  }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-grid .footer-col:last-child {
    text-align: center;
    justify-self: center;
    margin-top: 0;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand p,
  .footer-col p,
  .footer-col a {
    font-size: 20px;
  }

  .footer-appt { font-size: 17px; }

  .socials { justify-content: center; }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 17px;
  }

  .footer-bottom a { font-size: 17px; }

  /* --- Forms --- */
  .form-row { grid-template-columns: 1fr; }

  .form-group label { font-size: 19px; }

  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 19px; }

  .form-disclaimer { font-size: 17px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}