/*
Theme Name:   FGTC Child
Theme URI:    https://fgtc.org
Description:  Fightin' Gator Touchdown Club — GeneratePress Child Theme
Author:       FGTC
Author URI:   https://fgtc.org
Template:     generatepress
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  fgtc-child
*/

/* ============================================================
   FGTC Design Tokens
   ============================================================ */
:root {
  --fgtc-orange:    #f94c00;
  --fgtc-orange-d:  #d93e00;
  --fgtc-green:     #01bb70;
  --fgtc-blue:      #003a9d;
  --fgtc-blue-d:    #002878;
  --fgtc-black:     #111111;
  --fgtc-white:     #ffffff;
  --fgtc-off:       #f5f5f3;
  --fgtc-light:     #ececea;
  --fgtc-mid:       #888888;
  --fgtc-dark:      #2a2a2a;
  --fgtc-text:      #1a1a1a;
  --fgtc-border:    #e0e0de;
  --fgtc-shadow:    0 4px 32px rgba(0,0,0,0.10);
  --fgtc-shadow-lg: 0 12px 60px rgba(0,0,0,0.14);
}

/* ============================================================
   Base Overrides for GeneratePress
   ============================================================ */
body {
  font-family: 'Open Sans', sans-serif;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700;900&family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── GeneratePress Header Overrides ─────────────────────── */
.site-header {
  border-bottom: 3px solid var(--fgtc-orange) !important;
}

.main-navigation .nav-link,
.main-navigation a {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fgtc-dark);
  transition: color .2s;
}

.main-navigation .nav-link:hover,
.main-navigation a:hover {
  color: var(--fgtc-orange);
}

/* WooCommerce cart icon in header */
.fgtc-header-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fgtc-dark);
  text-decoration: none;
  position: relative;
}

.fgtc-header-cart .cart-count {
  background: var(--fgtc-orange);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
}

.fgtc-header-login {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fgtc-mid) !important;
  text-decoration: none;
  padding: 8px 14px;
}

.fgtc-header-cta-btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--fgtc-orange);
  color: white !important;
  padding: 10px 22px;
  border-radius: 3px;
  text-decoration: none;
  transition: background .2s;
}

.fgtc-header-cta-btn:hover {
  background: var(--fgtc-orange-d);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #0d0d0d !important;
  color: white;
  padding: 72px 0 0;
}

/* ── Gutenberg alignment helpers ────────────────────────── */
.wp-block-fgtc-hero,
.wp-block-fgtc-marquee,
.wp-block-fgtc-stats,
.wp-block-fgtc-content-image,
.wp-block-fgtc-events-feed,
.wp-block-fgtc-meetings,
.wp-block-fgtc-season-tickets,
.wp-block-fgtc-cta {
  margin: 0 !important;
}

/* ── WYSIWYG editor shared styles ───────────────────────── */
.fgtc-rich-content p { margin-bottom: 1em; }
.fgtc-rich-content p:last-child { margin-bottom: 0; }
.fgtc-rich-content a { color: var(--fgtc-orange); }
.fgtc-rich-content strong { font-weight: 700; }

/* ── Accessibility ──────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--fgtc-orange);
  outline-offset: 3px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ── Skip Link ──────────────────────────────────────────── */
.skip-link {
  background: var(--fgtc-orange);
  color: white;
  padding: 8px 16px;
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 9999;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-decoration: none;
}

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