/**
 * RiversideHiFi - Main Styles
 * Variables globales, estilos base, header, footer y utilidades
 */

:root {
	/* Colores principales - Paleta clara y moderna */
	--rh-primary: #0EA5E9;
	--rh-secondary: #0EA5E9;
	--rh-text: #334155;
	--rh-text-light: #64748b;
	--rh-background: #ffffff;
	--rh-background-alt: #ecfeff;
	--rh-border: #cffafe;
	--rh-accent: #06b6d4;
	
	/* Tipografía */
	--rh-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--rh-font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	
	/* Espaciado */
	--rh-spacing-xs: 0.5rem;
	--rh-spacing-sm: 1rem;
	--rh-spacing-md: 1.5rem;
	--rh-spacing-lg: 2rem;
	--rh-spacing-xl: 3rem;
	
	/* Layout */
	--rh-container-width: 1200px;
	--rh-border-radius: 12px;
	--rh-transition: 0.3s ease;
	--rh-header-height: 80px;


}

/* Reset y base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	padding: 0;
	font-family: var(--rh-font-secondary);
	font-size: 16px;
	line-height: 1.6;
	color: var(--rh-text);
	background-color: var(--rh-background);
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Utilidades */
.container {
	width: 100%;
	max-width: var(--rh-container-width);
	margin: 0 auto;
	padding: 0 var(--rh-spacing-sm);
}

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.grid { display: grid; }
.text-center { text-align: center; }

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--rh-font-primary);
	font-weight: 600;
	line-height: 1.3;
	margin-top: 0;
	margin-bottom: var(--rh-spacing-sm);
	color: var(--rh-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Botones base */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: 2px solid var(--rh-primary);
	background-color: var(--rh-primary);
	color: #ffffff;
	cursor: pointer;
	transition: var(--rh-transition);
}
.btn:hover {
	background-color: transparent;
	color: var(--rh-primary);
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: var(--rh-background);
	border-bottom: 1px solid var(--rh-border);
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--rh-header-height);
}
.site-header .site-branding img { max-height: 60px; }
.site-header .main-navigation ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: var(--rh-spacing-md);
}
.site-header .main-navigation a {
	display: block;
	padding: var(--rh-spacing-xs) 0;
	font-weight: 500;
	color: var(--rh-text);
}
.site-header .main-navigation a:hover { color: var(--rh-accent); }

/* Footer */
.site-footer {
	background-color: var(--rh-secondary);
	color: #ffffff;
	padding: var(--rh-spacing-xl) 0;
}
.site-footer a { color: rgba(255, 255, 255, 0.7); }
.site-footer a:hover { color: #ffffff; }

/* Formularios base */
.form-control {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--rh-border);
	border-radius: var(--rh-border-radius);
}
.form-control:focus {
	outline: none;
	border-color: var(--rh-primary);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}