/*
Theme Name: SwimBangalore
Theme URI: https://swimbangalore.com
Author: SwimBangalore Team
Author URI: https://swimbangalore.com
Description: Official WordPress theme for SwimBangalore - Swimming Meets, Timings, Performance Analytics, Coaches Directory, and Official Swim Gear. Built with strict flat design tokens, zero gradients, zero shadows.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: swimbangalore
Tags: sports, swimming, meets, timings, performance, flat-design, dark-theme
*/

/* ==========================================================================
   SwimBangalore Design Tokens (Strict Flat Palette - No Shadows / Gradients)
   ========================================================================== */
:root {
  /* Brand Flat Colors */
  --swim-cyan: #00B4D8;
  --swim-turf-blue: #0077B6;
  --swim-navy: #0A192F;
  --swim-navy-dark: #060F1E;
  --swim-navy-card: #0F223D;
  --swim-navy-border: #1E3E66;
  --swim-gold: #FFB703;
  --swim-white: #FFFFFF;

  /* Semantic Scale */
  --swim-bg: var(--swim-navy);
  --swim-bg-card: var(--swim-navy-card);
  --swim-bg-card-hover: #162B4C;
  --swim-text-primary: #FFFFFF;
  --swim-text-secondary: #8ECAE6;
  --swim-text-muted: #64748B;
  --swim-border: var(--swim-navy-border);
  --swim-accent: var(--swim-cyan);
  --swim-accent-hover: #90E0EF;
  --swim-badge-gold: var(--swim-gold);

  /* Typography */
  --swim-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --swim-font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --swim-font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Strict Flat Rules - NO BOX SHADOWS, NO GRADIENT FILLS */
  --swim-shadow: none !important;
  --swim-radius-sm: 4px;
  --swim-radius-md: 8px;
  --swim-radius-lg: 12px;
  --swim-radius-pill: 9999px;
  --swim-border-width: 1.5px;
  --swim-container-max: 1240px;
}

/* Light Theme Variables */
body.light-theme {
  --swim-bg: #F8FAFC;
  --swim-bg-card: #FFFFFF;
  --swim-bg-card-hover: #F1F5F9;
  --swim-text-primary: #0A192F;
  --swim-text-secondary: #0077B6;
  --swim-text-muted: #64748B;
  --swim-border: #CBD5E1;
  --swim-navy-card: #FFFFFF;
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--swim-font-sans);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--swim-bg);
  color: var(--swim-text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--swim-bg);
  color: var(--swim-text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main#primary-content {
  flex: 1 0 auto;
}

a {
  color: var(--swim-cyan);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

a:hover, a:focus {
  color: var(--swim-accent-hover);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Strict flat UI - zero shadows on any element */
* {
  box-shadow: none !important;
  text-shadow: none !important;
}
