/* ═══════════════════════════════════════════════════
   VCG Design System
   Brand: Black #231F20 · Gold #D4A84B · Cream #F4F1E1
   Fonts: DM Serif Display (headings) + Raleway (body)
   ═══════════════════════════════════════════════════ */

/* Nav submenu toggle — nuke ALL button chrome from WP's inline block styles.
   Defined here (loads first) so subsequent CSS (classic-themes.min.css) can't steal it. */
.vcg-submenu-toggle,
button.vcg-submenu-toggle,
.vcg-nav button.vcg-submenu-toggle,
.vcg-dropdown button.vcg-submenu-toggle {
  all: unset !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 10px 18px !important;
  cursor: pointer !important;
  color: inherit !important;
  font: inherit !important;
  text-align: left !important;
  box-sizing: border-box !important;
}
.vcg-submenu-toggle:hover,
.vcg-submenu-toggle:focus {
  color: var(--vcg-gold) !important;
  background: transparent !important;
}

/* ─── Google Fonts loaded in functions.php ─── */

:root {
  /* Colors — VCG Official Brand */
  --vcg-black: #231F20;
  --vcg-gold: #D4A84B;
  --vcg-gold-light: #E0BE6A;
  --vcg-cream: #F4F1E1;
  --vcg-white: #FFFFFF;
  --vcg-bg: #FFFFFF;
  --vcg-bg-subtle: #F9F8F5;
  --vcg-text: #2D3748;
  --vcg-text-light: #718096;
  --vcg-border: #E2E8F0;
  --vcg-border-light: #F0EDE3;
  --vcg-success: #38A169;
  --vcg-error: #E53E3E;

  /* Typography */
  --vcg-font-heading: 'DM Serif Display', Georgia, serif;
  --vcg-font-body: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --vcg-section-pad: 80px;
  --vcg-section-pad-mobile: 48px;
  --vcg-max-width: 1200px;
  --vcg-max-width-narrow: 800px;
  --vcg-radius: 8px;
  --vcg-radius-lg: 12px;

  /* Transitions */
  --vcg-transition: 0.2s ease;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--vcg-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--vcg-text);
  background: var(--vcg-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--vcg-black); transition: color var(--vcg-transition); }
a:hover { color: var(--vcg-gold); }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vcg-font-heading);
  color: var(--vcg-black);
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 400; /* DM Serif Display only has 400 */
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

/* Subheads — Raleway 600 uppercase */
.vcg-subhead {
  font-family: var(--vcg-font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--vcg-gold);
  margin-bottom: 12px;
}

/* Callouts — Raleway 300 italic */
.vcg-callout {
  font-family: var(--vcg-font-body);
  font-weight: 300;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--vcg-text-light);
  line-height: 1.6;
}

/* ─── Layout ─── */
.vcg-container {
  max-width: var(--vcg-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.vcg-container-narrow {
  max-width: var(--vcg-max-width-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.vcg-section {
  padding: var(--vcg-section-pad) 24px;
}

.vcg-section-cream { background: var(--vcg-cream); }
.vcg-section-dark { background: var(--vcg-black); color: var(--vcg-white); }
.vcg-section-dark h1,
.vcg-section-dark h2,
.vcg-section-dark h3,
.vcg-section-dark h4,
.vcg-section-dark p { color: var(--vcg-white); }
.vcg-section-subtle { background: var(--vcg-bg-subtle); }

.vcg-text-center { text-align: center; }

/* ─── Gold Rule (decorative divider) ─── */
.vcg-gold-rule {
  width: 60px;
  height: 2px;
  background: var(--vcg-gold);
  border: none;
  margin: 20px 0;
}

.vcg-gold-rule-center {
  width: 60px;
  height: 2px;
  background: var(--vcg-gold);
  border: none;
  margin: 20px auto;
}

/* ─── Buttons ─── */
.vcg-btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--vcg-font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--vcg-radius);
  cursor: pointer;
  transition: all var(--vcg-transition);
  border: 2px solid transparent;
}

.vcg-btn-primary {
  background: var(--vcg-black);
  color: var(--vcg-white);
  border-color: var(--vcg-black);
}
.vcg-btn-primary:hover {
  background: transparent;
  color: var(--vcg-black);
}

.vcg-btn-gold {
  background: var(--vcg-gold);
  color: var(--vcg-white);
  border-color: var(--vcg-gold);
}
.vcg-btn-gold:hover {
  background: var(--vcg-gold-light);
  border-color: var(--vcg-gold-light);
  color: var(--vcg-white);
}

.vcg-btn-outline {
  background: transparent;
  color: var(--vcg-black);
  border-color: var(--vcg-black);
}
.vcg-btn-outline:hover {
  background: var(--vcg-black);
  color: var(--vcg-white);
}

.vcg-btn-outline-white {
  background: transparent;
  color: var(--vcg-white);
  border-color: rgba(255,255,255,0.4);
}
.vcg-btn-outline-white:hover {
  background: var(--vcg-white);
  color: var(--vcg-black);
  border-color: var(--vcg-white);
}

/* ─── Cards ─── */
.vcg-card {
  background: var(--vcg-white);
  border: 1px solid var(--vcg-border);
  border-radius: var(--vcg-radius);
  overflow: hidden;
  transition: transform var(--vcg-transition), box-shadow var(--vcg-transition);
}
.vcg-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* ─── Forms ─── */
.vcg-form-field { margin-bottom: 16px; }
.vcg-form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--vcg-black);
  margin-bottom: 6px;
}
.vcg-form-field .required { color: var(--vcg-error); }

.vcg-input,
input[type="text"].vcg-input,
input[type="email"].vcg-input,
input[type="tel"].vcg-input,
input[type="number"].vcg-input,
textarea.vcg-input,
select.vcg-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--vcg-font-body);
  font-size: 15px;
  color: var(--vcg-text);
  background: var(--vcg-white);
  border: 1px solid var(--vcg-border);
  border-radius: var(--vcg-radius);
  transition: border-color var(--vcg-transition), box-shadow var(--vcg-transition);
}
.vcg-input:focus {
  outline: none;
  border-color: var(--vcg-gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.1);
}

/* ─── FAQ Accordion ─── */
.vcg-accordion { border-top: 1px solid var(--vcg-border); }

.vcg-accordion-item {
  border-bottom: 1px solid var(--vcg-border);
}

.vcg-accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--vcg-font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--vcg-black);
  text-align: left;
  line-height: 1.4;
  transition: color var(--vcg-transition);
}
.vcg-accordion-trigger:hover { color: var(--vcg-gold); }

.vcg-accordion-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-left: 16px;
  position: relative;
}
.vcg-accordion-icon::before,
.vcg-accordion-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--vcg-text-light);
  transform: translate(-50%, -50%);
  transition: transform var(--vcg-transition);
}
.vcg-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.vcg-accordion-item.active .vcg-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.vcg-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.vcg-accordion-content-inner {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--vcg-text-light);
  line-height: 1.7;
}

/* ─── Breadcrumbs ─── */
.vcg-breadcrumbs {
  padding: 14px 0;
  font-size: 13px;
  color: var(--vcg-text-light);
  border-bottom: 1px solid var(--vcg-border);
}
.vcg-breadcrumbs a {
  color: var(--vcg-text-light);
  text-decoration: none;
}
.vcg-breadcrumbs a:hover { color: var(--vcg-gold); }
.vcg-breadcrumbs .separator { margin: 0 8px; }

/* ─── Newsletter CTA Block ─── */
.vcg-newsletter-cta {
  background: var(--vcg-cream);
  padding: 48px;
  border-radius: var(--vcg-radius-lg);
  text-align: center;
}
.vcg-newsletter-cta h3 { margin-bottom: 8px; }
.vcg-newsletter-cta p { color: var(--vcg-text-light); margin-bottom: 20px; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  :root {
    --vcg-section-pad: var(--vcg-section-pad-mobile);
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .vcg-newsletter-cta { padding: 32px 24px; }
}

/* ─── Utility ─── */
.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;
}
