<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title><?php echo htmlspecialchars($page_title ?? 'Cinderella Charity Ball — Arlington, Texas'); ?></title>
  <meta name="description" content="<?php echo htmlspecialchars($page_description ?? 'The Cinderella Charity Ball is Arlington\'s longest-standing social event and charitable fundraiser, raising over $15 million for the Boys & Girls Clubs since 1961.'); ?>">
  <meta name="robots" content="index, follow">

  <!-- Open Graph -->
  <meta property="og:title"       content="<?php echo htmlspecialchars($page_title ?? 'Cinderella Charity Ball'); ?>">
  <meta property="og:description" content="<?php echo htmlspecialchars($page_description ?? '65+ years of supporting Arlington\'s Boys & Girls Clubs.'); ?>">
  <meta property="og:type"        content="website">
  <meta property="og:url"         content="https://cinderellacharityball.com<?php echo htmlspecialchars($_SERVER['REQUEST_URI']); ?>">
  <meta property="og:image"       content="https://cinderellacharityball.com/image/imgi_2_Claire-Novoselsky-819x1024.jpg">
  <meta property="og:site_name"   content="Cinderella Charity Ball">

  <!-- Fonts -->
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=Dancing+Script:wght@600;700&display=swap" rel="stylesheet">

  <!-- Font Awesome -->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" crossorigin="anonymous" referrerpolicy="no-referrer">

  <!-- Stylesheet -->
  <link rel="stylesheet" href="/css/style.css">
  <?php if (!empty($extra_css)) echo $extra_css; ?>
</head>
<body>

<!-- Menu Overlay -->
<div class="menu-overlay" aria-hidden="true"></div>

<!-- Mobile Menu -->
<nav class="mobile-menu" aria-label="Mobile navigation">
  <a href="/">Home</a>
  <a href="/about.php">About</a>
  <a href="/ball.php">The Ball</a>
  <a href="/candidates.php">Candidates</a>
  <a href="/support.php">Support Us</a>
  <a href="/bgcgtc.php">Boys &amp; Girls Clubs</a>
  <a href="/news.php">News</a>
  <a href="/contact.php">Contact</a>
  <a href="/support.php#donate" class="btn-donate-mobile">Donate Now</a>
  <div class="mobile-socials">
    <a href="https://www.facebook.com/CinderellaCharityBall" target="_blank" rel="noopener" aria-label="Facebook">
      <i class="fab fa-facebook-f"></i>
    </a>
    <a href="https://www.instagram.com/cinderellacharityball" target="_blank" rel="noopener" aria-label="Instagram">
      <i class="fab fa-instagram"></i>
    </a>
  </div>
</nav>

<!-- Primary Navigation -->
<header class="site-nav" role="banner">
  <div class="nav-inner">

    <!-- Logo -->
    <a href="/" class="nav-logo" aria-label="Cinderella Charity Ball — Home">
      <img src="/image/Logo/logo.jpg" alt="Cinderella Charity Ball Logo">
    </a>

    <!-- Desktop Links -->
    <nav class="nav-links" aria-label="Primary navigation">
      <a href="/" <?php echo (basename($_SERVER['PHP_SELF']) === 'index.php') ? 'class="active"' : ''; ?>>Home</a>
      <a href="/about.php">About</a>
      <a href="/ball.php">The Ball</a>
      <a href="/candidates.php">Candidates</a>
      <a href="/support.php">Support Us</a>
      <a href="/bgcgtc.php">Boys &amp; Girls Clubs</a>
      <a href="/news.php">News</a>
      <a href="/contact.php">Contact</a>
    </nav>

    <!-- Right: Socials + CTA + Hamburger -->
    <div class="nav-right">
      <div class="nav-socials" aria-label="Social media links">
        <a href="https://www.facebook.com/CinderellaCharityBall" target="_blank" rel="noopener" aria-label="Follow us on Facebook">
          <i class="fab fa-facebook-f"></i>
        </a>
        <a href="https://www.instagram.com/cinderellacharityball" target="_blank" rel="noopener" aria-label="Follow us on Instagram">
          <i class="fab fa-instagram"></i>
        </a>
      </div>
      <a href="/support.php#donate" class="btn-donate-nav">Donate</a>
      <button class="nav-hamburger" aria-label="Open menu" aria-expanded="false">
        <span></span><span></span><span></span>
      </button>
    </div>

  </div>
</header>
