/**
 * EG Accordion Menus by eCommGenie - Theme Styles
 * Version: 1.0.11
 * Author: eCommGenie
 * Author URI: https://ecommgenie.com
 * 
 * Default CSS Variables matching Epic Games Store Footer Design
 * 
 * CUSTOMIZATION GUIDE:
 * ====================
 * To globally restyle all accordions, override these CSS variables in your theme.
 * You can add custom CSS in:
 * - WordPress Customizer → Additional CSS
 * - Your child theme's style.css
 * - Any custom CSS file loaded after this one
 * 
 * Example - Change all accordion headings to red and links to blue:
 * 
 * .eg-menu-accordion-vxp347 {
 *   --egma-vxp347-heading-color: #ff0000;
 *   --egma-vxp347-link-color: #0000ff;
 * }
 * 
 * For per-accordion styling, use shortcode attributes:
 * [eg_menu_accordion title="Games" menu="footer-games" heading_color="#ff0000" link_color="#0000ff"]
 */

/* ==========================================================================
   DEFAULT THEME VARIABLES (Epic Games Store Style)
   ========================================================================== */

.eg-menu-accordion-vxp347 {
  /* Typography - Headings */
  --egma-vxp347-heading-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --egma-vxp347-heading-font-size: 18px;
  --egma-vxp347-heading-letter-spacing: -0.01875rem;
  --egma-vxp347-heading-color: #ffffff;
  --egma-vxp347-heading-margin-bottom: 12px;
  
  /* Heading Hover States */
  --egma-vxp347-heading-hover-color: #ffffff;
  --egma-vxp347-heading-hover-opacity: 1;
  --egma-vxp347-heading-hover-font-weight: 700;
  
  /* Typography - Links */
  --egma-vxp347-link-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --egma-vxp347-link-font-size: 14px;
  --egma-vxp347-link-letter-spacing: 0.02em;
  --egma-vxp347-link-color: #ffffff;
  
  /* Link Hover States */
  --egma-vxp347-link-hover-color: #ffffff;
  --egma-vxp347-link-hover-opacity: 1;
  --egma-vxp347-link-hover-font-weight: normal;
  
  /* Background & Layout */
  --egma-vxp347-background-color: transparent;
  --egma-vxp347-padding-y: 2px;
  --egma-vxp347-padding-x: 0;
  
  /* Spacing */
  --egma-vxp347-gap: 5px;
  --egma-vxp347-group-gap: 10px;
}

/* ==========================================================================
   DARK THEME VARIANT (Explicit)
   Use class .eg-menu-accordion-vxp347--dark for dark backgrounds
   ========================================================================== */

.eg-menu-accordion-vxp347--dark {
  --egma-vxp347-heading-color: #ffffff;
  --egma-vxp347-link-color: #ffffff;
  --egma-vxp347-link-hover-color: #ffffff;
  --egma-vxp347-background-color: #121212;
}

/* ==========================================================================
   LIGHT THEME VARIANT
   Use class .eg-menu-accordion-vxp347--light for light backgrounds
   ========================================================================== */

.eg-menu-accordion-vxp347--light {
  --egma-vxp347-heading-color: #2d2d2d;
  --egma-vxp347-link-color: #2d2d2d;
  --egma-vxp347-link-hover-color: #2d2d2d;
  --egma-vxp347-background-color: #f5f5f5;
}

/* ==========================================================================
   SIZE VARIANTS
   ========================================================================== */

/* Compact size - smaller text and spacing */
.eg-menu-accordion-vxp347--compact {
  --egma-vxp347-heading-font-size: 16px;
  --egma-vxp347-link-font-size: 12px;
  --egma-vxp347-heading-margin-bottom: 8px;
  --egma-vxp347-gap: 4px;
  --egma-vxp347-padding-y: 1px;
}

/* Large size - bigger text and spacing */
.eg-menu-accordion-vxp347--large {
  --egma-vxp347-heading-font-size: 24px;
  --egma-vxp347-link-font-size: 16px;
  --egma-vxp347-heading-margin-bottom: 16px;
  --egma-vxp347-gap: 8px;
  --egma-vxp347-padding-y: 4px;
}

/* ==========================================================================
   GROUP LAYOUT VARIANTS
   ========================================================================== */

.eg-menu-accordion-vxp347-group {
  --egma-vxp347-group-gap: 10px;
}

/* Compact group spacing */
.eg-menu-accordion-vxp347-group--compact {
  --egma-vxp347-group-gap: 5px;
}

/* Spacious group layout */
.eg-menu-accordion-vxp347-group--spacious {
  --egma-vxp347-group-gap: 20px;
}

/* ==========================================================================
   CUSTOM THEME EXAMPLES
   Uncomment and customize as needed
   ========================================================================== */

/*
Example 1: Brand Color Theme
.eg-menu-accordion-vxp347--brand {
  --egma-vxp347-heading-color: #0078d4;
  --egma-vxp347-link-color: #005a9e;
  --egma-vxp347-link-hover-color: #0078d4;
  --egma-vxp347-background-color: #f0f6ff;
}

Example 2: Gaming Theme (like Epic Games with slight transparency)
.eg-menu-accordion-vxp347--gaming {
  --egma-vxp347-heading-color: #00d4ff;
  --egma-vxp347-link-color: rgba(255, 255, 255, 0.85);
  --egma-vxp347-link-hover-color: #00d4ff;
  --egma-vxp347-link-hover-font-weight: bold;
  --egma-vxp347-background-color: #0a0e14;
  --egma-vxp347-heading-font-size: 20px;
  --egma-vxp347-link-font-size: 15px;
}

Example 3: Minimal Clean Theme
.eg-menu-accordion-vxp347--minimal {
  --egma-vxp347-heading-color: #1a1a1a;
  --egma-vxp347-link-color: #666666;
  --egma-vxp347-link-hover-color: #1a1a1a;
  --egma-vxp347-background-color: transparent;
  --egma-vxp347-heading-font-family: 'Helvetica Neue', Arial, sans-serif;
  --egma-vxp347-link-font-family: 'Helvetica Neue', Arial, sans-serif;
  --egma-vxp347-gap: 8px;
}

Example 4: Footer Columns in Flexbox
.eg-footer-columns {
  display: flex;
  gap: 3rem;
  background: #121212;
  padding: 3rem 2rem;
}

.eg-footer-columns .eg-menu-accordion-vxp347 {
  flex: 1;
  min-width: 200px;
}
*/

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  .eg-menu-accordion-vxp347 {
    --egma-vxp347-heading-color: #000000;
    --egma-vxp347-link-color: #000000;
    --egma-vxp347-link-hover-color: #000000;
    --egma-vxp347-background-color: transparent;
  }
  
  .eg-menu-accordion-vxp347__heading-mobile-btn,
  .eg-menu-accordion-vxp347__icon {
    display: none !important;
  }
  
  .eg-menu-accordion-vxp347__heading-desktop {
    display: block !important;
  }
  
  .eg-menu-accordion-vxp347__panel {
    display: block !important;
    max-height: none !important;
  }
}