/*
Theme Name: CiclOlé Official
Theme URI: https://ciclole.es
Author: Barroso Digital & CiclOlé Team
Author URI: https://ciclole.es
Description: Tema oficial de CiclOlé, el mayor evento solidario de ciclo indoor de Andalucía. Diseñado con una identidad visual atlética de alto impacto en tonos naranja y tipografías modernas.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: ciclole
Domain Path: /languages
Tags: sports, fitness, events, responsive-layout, dark-mode, custom-theme
*/

:root {
  --color-primary: #EA7259;
  --color-primary-rgb: 234, 114, 89;
  --color-primary-hover: #DF6349;
  --color-primary-dark: #C94E35;
  --color-primary-glow: rgba(234, 114, 89, 0.35);
  
  --color-secondary: #EA7259;
  --color-accent: #EA7259;
  
  --color-bg-main: #000000;
  --color-bg-surface: #0A0A0A;
  --color-bg-card: #121212;
  --color-bg-card-hover: #1A1A1A;
  --color-bg-glass: rgba(18, 18, 18, 0.85);
  
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(234, 114, 89, 0.4);
  --color-border-active: #EA7259;
  
  --color-text-title: #FFFFFF;
  --color-text-main: #F3F4F6;
  --color-text-muted: #9CA3AF;
  --color-text-dim: #6B7280;
  
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(234, 114, 89, 0.25);
  --shadow-glow-strong: 0 0 60px rgba(234, 114, 89, 0.45);
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, rgba(234, 114, 89, 0.12) 0%, transparent 65%),
              var(--color-bg-main);
  background-attachment: fixed;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-text-title);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #FFFFFF 20%, #EA7259 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-primary {
  color: var(--color-primary);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 960px;
}

/* Section Spacing */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary) !important;
  margin-bottom: 14px;
}

.section-badge svg {
  display: none !important;
}

.section-badge .pulsing-dot {
  display: none !important;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 8px 24px var(--color-primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--color-primary-glow), 0 0 20px rgba(234, 114, 89, 0.5);
  background: var(--color-primary-hover);
  color: #FFFFFF;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 38px;
  font-size: 1.1rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}
