/*
Theme Name: XULA Class of 2006 Reunion Theme
Author: Xavier University of Louisiana Class of 2006 Committee and Touch Point Digital Marketing Agency in New Orleans
Author URI: https://touchpointdigitalmarketing.com
Description: A lightweight, clean canvas starter theme optimized specifically for the Elementor Page Builder, designed for the XULA Class of 2006 20-Year Reunion.
Version: 1.0.0
License: GNU GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xula-2006-reunion
*/

/* ==========================================================================
   1. @FONT-FACE RULES (CUSTOM COLLEGIATE FONTS)
   ========================================================================== */
@font-face {
  font-family: 'College Block';
  src: url('assets/fonts/CollegeBlock.otf') format('opentype'),
       url('assets/fonts/CollegeBlock.woff2') format('woff2'),
       url('assets/fonts/CollegeBlock.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   2. DESIGN SYSTEM TOKENS (CSS VARIABLES)
   ========================================================================== */
:root {
  /* Colors */
  --green: #0b6f50;         /* Xavier Green (Brand Color) */
  --green-dark: #003b25;    /* Xavier Deep Forest Green */
  --green-light: #006847;   /* Classic XULA Green */
  --mint: #46df8c;          /* High-Contrast Mint Highlight (Use Sparingly) */
  --gold: #d9a018;          /* Classic Xavier Gold (Secondary Brand Color) */
  --gold-light: #eaaa00;    /* Bright Gold CTA Accent */
  --gold-dark: #b5800f;     /* Metallic Bronze/Gold Accent */
  --black: #00110d;         /* Deep Rich Black-Green body text / dark accents */
  --dark-charcoal: #111111; /* Deep structural black */
  --cream: #fdfbf7;         /* Warm background canvas */
  --cream-dark: #f5f1e6;    /* Dark cream background for bento grids/overlap cards */
  --white: #ffffff;
  --gray: #666666;
  --gray-light: #e2e8f0;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  --font-display: 'College Block', 'Oswald', 'Arial Narrow', sans-serif;
  --font-montserrat: 'Montserrat', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 2rem;     /* 32px */
  --space-lg: 4rem;     /* 64px */
  --space-xl: 6rem;     /* 96px */

  /* Borders & Shadows */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 4px rgba(0, 17, 13, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 17, 13, 0.08);
  --shadow-lg: 0 15px 35px rgba(0, 17, 13, 0.12);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   3. NATIVE HEADER & FOOTER LAYOUT STYLES
   ========================================================================== */

/* Main Site Header Navigation */
.main-site-header {
  background-color: var(--dark-charcoal);
  color: var(--white);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
}

.header-container-wordpress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  min-height: 52px;
}

/* Container element sizing matching original design structure rules */
.logo-wrapper-wordpress {
    position: relative;
    width: 90px;
    height: 48px;
    flex-shrink: 0;
}

/* Image scaling variables ensuring pixel-perfect circular preservation */
.overflow-logo-svg {
    position: absolute;
    top: -24px;   /* Pulls the circle up into the upper header bounds */
    left: 0;
    width: 95px;  /* Optimal pixel resolution scale down for the logo */
    height: 95px; /* Keeps vertical/horizontal aspect ratios perfectly 1:1 */
    object-fit: contain;
    z-index: 50;  /* Guarantees the round logo sits on top of lower page sections */
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.45));
    transition: transform var(--transition-normal);
}

/* Micro-interaction layer matching global desktop behaviors */
.overflow-logo-svg:hover {
    transform: scale(1.04) rotate(0.5deg);
}

/* WordPress Navigation Menu Inline Row Layout */
.wordpress-nav-menu {
  display: flex;
  align-items: center;
}

.wp-nav-menu-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.wp-nav-menu-list li a {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
}

.wp-nav-menu-list li a:hover,
.wp-nav-menu-list li a.active {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

.wp-nav-separator {
  color: var(--gold);
  opacity: 0.3;
  font-size: 11px;
  pointer-events: none;
}

/* Solid Green CTA Button */
.wp-members-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--green);
  color: var(--white) !important;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255,255,255,0.15);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.wp-members-cta-btn:hover {
  background-color: var(--green-dark);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(11, 111, 80, 0.3);
}

.cta-lock-icon {
  font-size: 11px;
  color: var(--mint);
}

/* Mobile Hamburger Menu Styles */
.mobile-menu-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.mobile-menu-toggle-btn .hamburger-bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--white);
  border-radius: 9999px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   4. NATIVE FOOTER LAYOUT STYLES
   ========================================================================== */
.wordpress-main-footer {
  background-color: var(--green-dark);
  color: var(--white);
  padding: 24px;
  font-family: var(--font-montserrat);
  font-size: 12px;
  border-top: 1.5px solid var(--gold);
}

.wp-footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.wp-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wp-footer-contact-item a {
  color: var(--white);
  font-weight: 500;
}

.wp-footer-contact-item a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.wp-footer-icon {
  color: var(--gold);
  font-size: 14px;
}

.wp-footer-copyright-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

/* ==========================================================================
   5. RESPONSIVE MEDIA OVERRIDES (480px and under)
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .wp-nav-menu-list {
    gap: 10px;
  }
}

@media screen and (max-width: 768px) {
  .mobile-menu-toggle-btn {
    display: flex;
  }

  .wordpress-nav-menu {
    position: absolute;
    top: 52px;
    left: -2rem;
    right: -2rem;
    background-color: var(--dark-charcoal);
    flex-direction: column;
    padding: 20px;
    border-bottom: 2px solid var(--gold);
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .wordpress-nav-menu.is-active {
    display: flex;
  }

  .wp-nav-menu-list {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    align-items: stretch;
    text-align: center;
  }

  .wp-nav-separator {
    display: none;
  }

  .header-action-button {
    display: none; /* Hide button on mobile to prevent crowding */
  }

  .mobile-menu-toggle-btn.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-toggle-btn.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle-btn.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .wp-footer-grid {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .wp-footer-contact-item {
    justify-content: center;
    width: 100%;
  }
}