@charset "utf-8";
/* 1. RESET Y FONDO BLANCO ABSOLUTO */
        * {
	margin: 3;
	padding: 3;
	box-sizing: border-box;
}
html {
    background-color: #e6f2ff; /* Color azul muy claro de fondo exterior */
}

body {
    background-color: #ffffff; /* El fondo de tu contenido será blanco */
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    width: 90%; max-width: 1200px;
	
}/* 2. HEADER IMPACTANTE */
        header {
	background: linear-gradient(135deg, #004687 0%, #00a9e0 100%);
	padding: 80px 20px;
	text-align: center;
	color: white;
	border-bottom: 8px solid #91278f; /* Detalle Violeta Italiano */
}
h1 {
	font-size: 3rem;
	text-transform: uppercase;
	letter-spacing: 4px;
	font-weight: 900;
	text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
}
/* 3. CONTENEDOR PRINCIPAL */
        .main-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 20px;
}
/* 4. SECCIÓN INTRODUCCIÓN Y SEDES */
        .intro-sedes {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 40px;
}
.sede-card {
	flex: 1;
	min-width: 300px;
	background-color: #f9fbff;
	padding: 25px;
	border-radius: 10px;
	border-top: 4px solid #00a9e0;
}
.sede-card h3 {
	color: #004687;
	margin-bottom: 10px;
}
/* 5. CALENDARIO DE FINALES */
        .calendario-finales {
	margin: 40px 0;
	background: #f4f7f9;
	padding: 30px;
	border-radius: 15px;
}
.timeline {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 15px;
	margin-top: 20px;
}
.event-day {
	background: white;
	padding: 15px;
	border-radius: 10px;
	border-left: 4px solid #91278f;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.date {
	display: block;
	font-weight: bold;
	color: #00a9e0;
	font-size: 1.1rem;
}
/* 6. TABLAS DE MEDALLERÍA */
        .disciplina-section h2 {
	color: #004687;
	border-left: 5px solid #91278f;
	padding-left: 15px;
	margin: 50px 0 20px 0;
	text-transform: uppercase;
}
.olympic-table {
	width: 100%;
	border-collapse: collapse;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	margin-bottom: 30px;
}
.olympic-table th {
	background-color: #004687;
	color: white;
	padding: 15px;
	text-transform: uppercase;
}
.olympic-table td {
	padding: 15px;
	text-align: center;
	border-bottom: 1px solid #eee;
}
 .olympic-table tr:nth-child(even) {
background-color: #fafafa;
}
.gold {
	color: #d4af37;
	font-weight: bold;
}
.silver {
	color: #aaa9ad;
	font-weight: bold;
}
.bronze {
	color: #cd7f32;
	font-weight: bold;
}
/* 7. NAVEGACIÓN HISTÓRICA (FOOTER) */
        footer {
	background-color: #002d5a;
	color: white;
	padding: 60px 20px;
	text-align: center;
	margin-top: 80px;
}
.nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 20px;
}
.nav-links a {
	color: white;
	text-decoration: none;
	padding: 10px 20px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 25px;
}
.nav-links a.active {
	background-color: #91278f;
	border-color: #91278f;
}
.nav-links a:hover {
	background-color: #00a9e0;
}
/* --- Ajustes finales de experiencia de usuario --- */

html {
    scroll-behavior: smooth; /* Hace que los saltos entre secciones sean suaves */
}

::selection {
    background-color: #00a9e0; /* El color azul cian de Cortina 2026 al seleccionar texto */
    color: white;
}

/* Mejora para que las imágenes no causen desbordamientos residuales */
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}
#btnSubir {
  display: none; /* Se oculta por defecto */
  position: fixed; /* Se queda fijo en la pantalla */
  bottom: 20px;
  right: 30px;
  z-index: 99; /* Para que esté por encima de todo */
  border: none;
  outline: none;
  background-color: var(--cian-hielo); /* Usamos tu color de Cortina 2026 */
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%; /* Lo hace redondo */
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: 0.3s;
}

#btnSubir {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: 2px solid #ffffff;
  background: linear-gradient(135deg, #00a9e0, #91278f); /* Gradiente Milano-Cortina */
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}
.btn-regresar {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #3498db; /* Azul profesional */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-regresar:hover {
  background-color: #2980b9; /* Un azul más oscuro al pasar el mouse */
}

.icono {
  margin-left: 8px;
}
/* Creamos la animación del giro */
@keyframes giroLoop {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

/* Aplicamos el giro al contenido del botón (el emoji) */
#btnSubir {
  perspective: 1000px; /* Da profundidad al giro */
}

#btnSubir:hover {
  background-color: #004687;
  transform: scale(1.2); /* Crece al pasar el ratón */
}

/* Animación constante del emoji dentro del botón */
#btnSubir::after {
    content: ''; /* Aquí podrías poner texto si quisieras */
}

#btnSubir {
    animation: giroLoop 10s linear infinite; /* ¡La patinadora gira cada 10 segundos! */
}
.contenedor-boton {
    text-align: right; /* Alinea el contenido a la izquierda */
    width: 100%;
    max-width: 1200px; /* Para que se alinee con el resto de tu web */
    margin: 20px auto; /* Centra el contenedor, pero el botón dentro mira a la izquierda */
    padding: 0 40px;   /* El mismo margen que usas en el header */
	border-radius: 8px /* Un poco más suave que antes */
}

/* --- ESTILOS DE MASCOTAS --- */
.seccion-mascotas {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-top: 4px solid #00a8b5;
    margin-top: 40px;
}

.contenedor-mascotas {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Las alinea por la base */
    gap: 50px;
    flex-wrap: wrap;
}

.mascota-card {
    max-width: 140px;
    transition: transform 0.3s ease;
}

.mascota-card:hover {
    transform: translateY(-10px); /* Un pequeño salto al pasar el ratón */
}

.mascota-card img {
    width: 200%;
    height: auto;
}

.mascota-nombre {
    font-weight: bold;
    color: #003366;
    margin: 10px 0 0 0;
    font-size: 1.1rem;
}

.mascota-lema {
	display: block;
	color: #777;
	font-size: 0.85rem;
	font-style: italic;
}
.verde {
	color: #008C45;
	font-style: italic;
	font-weight: bold;
	text-transform: uppercase;
}
.blanco {
	color: #F4F9FF;
	font-style: italic;
	font-weight: bold;
	text-transform: uppercase;
}
.rojo {
	color: #CD212A;
	font-style: italic;
	font-weight: bold;
	text-transform: uppercase;
}
.cyan {
	color: #00FFFF;
	font-style: normal;
	font-weight: bold;
	text-transform: uppercase;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 36px;
}
