/*
Theme Name: Tour Club Kerkrade
Theme URI: https://tourclubkerkrade.nl
Author: TCK Development Team
Author URI: https://tourclubkerkrade.nl
Description: Custom WordPress theme for Tour Club Kerkrade cycling club. A mobile-first theme featuring ride management, sponsor integration, and external platform connections (Komoot, Facebook, Cyql).
Version: 1.0.0
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tck-theme
Tags: sports, cycling, club, responsive, mobile-first
*/

/**
 * TABLE OF CONTENTS
 *
 * 1. CSS Variables
 * 2. Reset & Base Styles
 * 3. Typography
 * 4. Layout
 * 5. Components
 * 6. Utilities
 * 7. Responsive
 */

/* ==========================================================================
   1. CSS Variables
   ========================================================================== */

:root {
	/* Brand Colors */
	--primary-blue: #006BA6;
	--secondary-gold: #AD841F;

	/* Difficulty Colors */
	--color-green: #28a745;
	--color-orange: #ffc107;
	--color-red: #dc3545;

	/* Neutral Colors */
	--color-dark: #333333;
	--color-medium: #666666;
	--color-light: #cccccc;
	--color-extra-light: #f8f9fa;
	--color-white: #ffffff;

	/* Semantic Colors */
	--color-success: #28a745;
	--color-warning: #ffc107;
	--color-error: #dc3545;
	--color-info: #17a2b8;

	/* Typography */
	--font-heading: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
	--font-body: 'Roboto', Arial, sans-serif;

	/* Spacing */
	--spacing-xs: 8px;
	--spacing-sm: 16px;
	--spacing-md: 24px;
	--spacing-lg: 32px;
	--spacing-xl: 48px;
	--spacing-xxl: 64px;

	/* Container Widths */
	--container-max: 1200px;
	--content-max: 800px;

	/* Transitions */
	--transition-speed: 0.3s;
	--transition-easing: ease-in-out;
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-dark);
	background-color: var(--color-white);
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: var(--spacing-sm);
}

/* Mobile Typography (Base) */
h1 { font-size: 1.75rem; }  /* 28px */
h2 { font-size: 1.5rem; }   /* 24px */
h3 { font-size: 1.25rem; }  /* 20px */
h4 { font-size: 1.125rem; } /* 18px */
h5 { font-size: 1rem; }     /* 16px */
h6 { font-size: 0.75rem; }  /* 12px */

p {
	margin-top: 0;
	margin-bottom: var(--spacing-sm);
}

a {
	color: var(--primary-blue);
	text-decoration: none;
	transition: color var(--transition-speed) var(--transition-easing);
}

a:hover,
a:focus {
	color: var(--secondary-gold);
}

a:focus {
	outline: 2px solid var(--primary-blue);
	outline-offset: 2px;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.site-container {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-content {
	flex: 1;
}

.container {
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--spacing-sm);
	padding-right: var(--spacing-sm);
}

.content-wrapper {
	max-width: var(--content-max);
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   5. Components
   ========================================================================== */

/* Buttons will be styled in main.css */
/* Cards will be styled in main.css */
/* Forms will be styled in main.css */

/* ==========================================================================
   6. Utilities
   ========================================================================== */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.screen-reader-text:focus {
	background-color: var(--color-extra-light);
	clip: auto;
	clip-path: none;
	color: var(--color-dark);
	display: block;
	font-size: 0.875rem;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* ==========================================================================
   7. Responsive (Desktop)
   ========================================================================== */

@media (min-width: 1024px) {
	h1 { font-size: 2.25rem; }   /* 36px */
	h2 { font-size: 1.875rem; }  /* 30px */
	h3 { font-size: 1.625rem; }  /* 26px */
	h4 { font-size: 1.375rem; }  /* 22px */
	h5 { font-size: 1.125rem; }  /* 18px */
	h6 { font-size: 0.875rem; }  /* 14px */

	.container {
		padding-left: var(--spacing-md);
		padding-right: var(--spacing-md);
	}
}
