﻿/* Estructura básica */

body {
	margin: 0;
	font-family: Arial, sans-serif;
	line-height: 1.6;
}

nav {
	height: 75px;
	background-color: #343a40;
	color: white;
}

/* Sección HERO
   - Ajusta la imagen de fondo a pantalla completa
   - Usa la clase .hero para tu sección #inicio
*/

/* Ajustes para el texto en la sección HERO */
.hero h1 {
	font-size: 3rem;
	color: white;
	text-shadow: 1px 1px 2px rgb(128, 128, 128);
}

.hero p {
	font-size: 1.5rem;
	color: white;
	text-shadow: 1px 1px 2px rgb(128, 128, 128);
}

.hero {
	min-height: 100vh;
	height: 300px;
	background: url("../../images/hero.jpg") center center;
	background-size: cover;
	position: relative;
	padding: 2rem;
}

/* Sobreponer un tono oscuro semitransparente si lo deseas */

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 0;
}

/* Alinear el contenido por encima de ese pseudo-elemento */

.hero > .text-center {
	position: relative;
	z-index: 1;
	color: white;
	text-shadow: 1px 1px 2px rgb(128, 128, 128);
}

/* Ajustes para que el texto sea más legible sobre la imagen */

.hero h1,
.hero p {
	text-shadow: 1px 1px 2px rgb(128, 128, 128);
}

/* Sección de formulario */

.btn-primary {
	border-radius: 10px;
	margin: 0.2rem;
	-webkit-align-items: center;
	align-items: center;
}

form .form-control {
	border-radius: 10px;
	margin: 0.2rem;
}

.map {
	width: 456px;
	height: 335px;
	border-radius: 10px;
	background-color: #f8f9fa;
}

iframe {
	width: 456px;
	height: 335px;
	border-radius: 10px;
	margin: 0.2rem;
}

/* Footer: pequeño ajuste en los botones si quieres */

footer .btn-outline-light {
	border-radius: 10px;
	margin: 0.2rem;
}

/* Estilos base del carrusel */
.carrusel-container {
	position: relative;
	max-width: 1200px;
	margin: 2rem auto;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.carrusel-track {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carrusel-slide {
	min-width: 100%;
	height: 500px;
	position: relative;
}

.carrusel-img {
	width: 100%;
	height: inherit;
	object-fit: cover;
	user-select: none;
}

/* Controles de navegación */
.carrusel-control {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carrusel-control:hover {
	background: white;
	transform: translateY(-50%) scale(1.1);
}

.carrusel-control.prev {
	left: 20px;
}

.carrusel-control.next {
	right: 20px;
}

/* Indicadores */
.carrusel-indicadores {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
}

.indicador {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.3s;
}

.indicador.activo {
	background: white;
	transform: scale(1.3);
}

/* Efectos personalizados */
.carrusel-slide::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(45deg, rgba(0, 0, 0, 0.4), transparent);
	pointer-events: none;
}

/* Efectos de transición */

/* Efecto fade */
.carrusel-slide {
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
	transform: scale(0.8) rotateY(20deg);
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Efecto zoom */
.carrusel-track {
	perspective: 1000px;
}

.carrusel-slide.activo {
	transform: scale(1) rotateY(0);
	z-index: 1;
	opacity: 1;
}
/* Estilos RRSS */

rrss {
	display: flex;
	block: inline;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}

/* Color gradeitne en .bi-instagram */

.bi-instagram {  
   background: linear-gradient(45deg, red, orange); /* Degradado lineal */  
   -webkit-background-clip: text; /* Aplica el degradado al texto */  
   background-clip: text; /* Fallback para navegadores que no soportan prefijos */  
   -webkit-text-fill-color: transparent; /* Hace el texto transparente para mostrar el degradado */  
   font-size: 2rem; /* Ajusta el tamaño del icono */  
}
x {
	background-color: #343a40;
}
.x:hover {
	background-color: #495057;
	<a href= "https://www.instagram.com/" target = "_blank" rel = "noopener noreferrer"> <h1><i class="bi bi-twitter-x" style = "font-size: 2rem"></i></h1> </a>
}

:root {
	--main-bg-color: #f8f9fa;
	--main-text-color: #0a0a0a;
	--primary-color: #281f1f;
}

body {
	background-color: var(--main-bg-color);
	color: var(--main-text-color);
	margin: 0;
	font-family: Arial, sans-serif;
}

footer {
	background-color: var(--primary-color);
	color: #ffffff;
	padding: 1rem;
}

/* Estilo para enlaces con foco y hover, mejorando accesibilidad */
a:focus,
a:hover {
	text-decoration: underline;
}


