/* ========== RESET / BASE ========== */
body {
	font-family: 'Montserrat', sans-serif;
	margin: 0;
	padding: 0;
	color: #333;
	line-height: 1.5;
	font-family: Montserrat;
}

/* ========== NAVBAR ========== */
.transparent-header {
	background-color: #00000063;
	color: #fff;
	border-bottom: 1px solid #8f8f8f6b;
	animation-name: scaleUp;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	height: 100px;
}

.transparent-header .nav-link {
	color: #fff;
}

.nav-link:hover {
	font-weight: bold;
}

/* Al hacer scroll, agregaremos la clase 'white-header' vía JS */
.white-header {
	background-color: #fff !important;
	animation-name: scaleDown;
	animation-duration: 1s;
	animation-fill-mode: forwards;
}

.white-header .nav-link {
	color: #000;
}

.white-header img {
	filter: invert(1);
}

.navbar-brand {
	color: #fff;
	font-size: 1.2rem;
}

.navbar-collapse {
	/* background-color: #38004b !important; */
}

.white-header .navbar-brand {
	color: #000;
}

/* Botón hamburguesa personalizado */
.navbar-toggler.custom-toggler .toggler-icon {
	width: 30px;
	height: 24px;
	position: relative;
	display: inline-block;
	/* El ícono por defecto de Bootstrap se oculta si prefieres */
}

.navbar-toggler.custom-toggler .line {
	position: absolute;
	width: 100%;
	height: 3px;
	background-color: #fff;
	transition: all 0.3s ease;
	left: 0;
	z-index: 999;
}

.line1 {
	top: 0;
}

.line2 {
	top: 50%;
	transform: translateY(-50%);
}

.line3 {
	bottom: 0;
}

.navbar-toggler {
	border: none;
}

/* Estado cuando el botón está "colapsado" (líneas normales) */
.navbar-toggler.collapsed .line1 {
	background-color: #fff;
	transform: rotate(0) translateY(0);
}

.navbar-toggler.collapsed .line2 {
	background-color: #fff;
	opacity: 1;
}

.navbar-toggler.collapsed .line3 {
	background-color: #fff;
	transform: rotate(0) translateY(0);
}

/* Estado cuando el botón está "expandido" (líneas en X) */
.navbar-toggler:not(.collapsed) .line1 {
	transform: rotate(45deg) translateX(7px) translateY(7px);
}

.navbar-toggler:not(.collapsed) .line2 {
	opacity: 0;
}

.navbar-toggler:not(.collapsed) .line3 {
	transform: rotate(-45deg) translateX(7px) translateY(-7px);
}

.navbar-toggler:focus {
	box-shadow: none;
}

/* Menú en móviles a pantalla completa (opcional) */
@media (max-width: 767.98px) {
	.navbar-collapse {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: #fff;
		padding: 2rem;
		transform: translateX(100%);
		transition: transform 0.3s ease;
	}

	.navbar-collapse.show {
		transform: translateX(0);
		background: #2b2564 url(/img/bg_kari-romi-javo_mobile.png) left bottom no-repeat;
		background-size: contain;
	}

	.navbar-nav {
		flex-direction: column;
		gap: 2rem;
	}

	.navbar {
		margin: 0;
		padding: 0 !important;
		width: 100%;
		height: 65px;
	}

	.navbar-expand-md .navbar-toggler {
		margin: 0;
		padding: 0;
		position: absolute;
		right: 20px;
		top: 20px;
	}

	.navbar-expand-md.white-header .navbar-toggler span.line {
		background-color: #FFF !important;
	}

	.navbar-expand-md.white-header .navbar-toggler span.line {
		background-color: #000;
	}

	.white-header.nav-link,
	.white-header .navbar-collapse ul li a {
		color: #FFF;
	}

	.container {
		/* background-color: red; */
		margin: 0;
		width: 100%;
		max-width: 100%;
		padding: auto 0;
	}

	.navbar img {
		width: 70%;
		height: 70%;
	}

	.navbar>.container,
	.navbar>.container-fluid,
	.navbar>.container-lg,
	.navbar>.container-md,
	.navbar>.container-sm,
	.navbar>.container-xl,
	.navbar>.container-xxl {
		display: flex;
		flex-wrap: inherit;
		align-items: center;
		justify-content: space-between;
	}
}

/* Animaciones */
@keyframes shake {
	from {
		transform: rotate(-20deg);
	}

	25% {
		transform: rotate(20deg);
	}

	50% {
		transform: rotate(-20deg);
	}

	75% {
		transform: rotate(20deg);
	}

	to {
		transform: rotate(-20deg);
	}
}

@keyframes scaleUp {
	0% {
		padding: 5px 0 !important;
	}

	100% {
		padding: 20px 0;
	}
}

@keyframes scaleDown {
	0% {
		padding: 20px 0 !important;
	}

	100% {
		padding: 5px 0;
	}
}

@keyframes fadeIn {
	0% {
		text-shadow: 0px 0px 20px white;
		filter: blur(50px);
	}

	100% {
		text-shadow: 0px 0px 2px white;
		filter: blur(0px);
	}
}

@keyframes slideDown {
	0% {
		transform: translateY(-200px);
		opacity: 0;
	}

	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes slideUp {
	0% {
		transform: translateY(500px);
		opacity: 0;
	}

	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes slideLeft {
	0% {
		transform: translateX(300px);
		opacity: 0;
	}

	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

/* ========== SECCIONES ========== */
.section-white {
	background-color: #fff;
	color: #333;
}

.section {
	padding: 4rem 1rem;
	text-align: center;
}

.inverted h2 {
	background-color: #FFF;
	color: #6c4c99;
	margin-bottom: 30px;
}

section.inverted {
	background-color: #6c4c99;
}

section p {
	font-size: 1em;
	line-height: 1.8em;
	padding: 0px 23px 0;
	margin-top: 11px;
}

.inverted p {
	color: #FFF;
}

section.inverted .list {
	text-align: left;
}

section.inverted .list h3 {
	padding-left: 30px;
	font-weight: bold;
	color: #FFF;
	font-size: 1.3em;
	text-align: center;
}

section.inverted .list ul li {
	list-style: disc;
	font-weight: bold;
	line-height: 1.6em;
}

section.inverted .list ul ul li {
	list-style: circle;
	font-weight: normal;
}

.container {
	max-width: 90vw;
}

hr {
	width: 80vw;
	margin: 0 10vw;
	box-shadow: 0px 0px 3px 1px #6c4c99;
	color: #6c4c99;
}

.inverted hr {
	box-shadow: 0px 0px 3px 1px #fff;
	color: #FFF;
}

.container.list li {
	color: #FFF;
	font-size: 1em;
}

.padron button {
	background-color: #4E3084;
	color: #FFF;
	padding: 20px 50px;
	border-radius: 25px;
	border: none;
	font-size: 1em;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 30px;
}

.padron p {
	color: #371958;
	font-weight: bold;
}

.election-container {
	width: 500px;
	margin: 0 auto;
	font-family: sans-serif;
	border: 1px solid #4E3084;
	max-width: 90%;
}

/* Encabezado morado */
.election-header {
	background-color: #4E3084;
	/* Color morado */
	color: #fff;
	text-align: center;
	padding: 15px 10px;
	font-weight: bold;
	font-size: 1em;
}

/* Contenedor de pestañas (2 columnas) */
.tabs {
	display: flex;
	text-align: center;
}

/* Cada columna (pestaña) */
.tab {
	flex: 1;
	/* Para que cada columna ocupe el mismo espacio */
	background-color: #fff;
	/* Fondo blanco */
	color: #000;
	padding: 15px;
	/* Opcional: línea divisoria entre columnas */
	border-right: 1px solid #ccc;
}

/* Elimina la línea divisoria de la última columna */
.tab:last-child {
	border-right: none;
}


/*
* Galería de imágenes
*/

.hello {
	opacity: 1 !important;
}

.full {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.full .content {
	background-color: rgba(0, 0, 0, 0.75) !important;
	height: 100%;
	width: 100%;
	display: grid;
}

.full .content img {
	left: 50%;
	transform: translate3d(0, 0, 0);
	animation: zoomin 1s ease;
	max-width: 100%;
	max-height: 70vh;
	margin: auto;
}

.byebye {
	opacity: 0;
}

.byebye:hover {
	transform: scale(0.2) !important;
}

.gallery {
	display: grid;
	grid-column-gap: 8px;
	grid-row-gap: 8px;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	grid-auto-rows: 8px;
}

.gallery img {
	max-width: 100%;
	border-radius: 8px;
	box-shadow: 0 0 16px #333;
	transition: all 1.5s ease;
}

.gallery img:hover {
	box-shadow: 0 0 32px #333;
}

.gallery .content {
	padding: 4px;
}

.gallery .gallery-item {
	transition: grid-row-start 300ms linear;
	transition: transform 300ms ease;
	transition: all 0.5s ease;
	cursor: pointer;
}

.gallery .gallery-item:hover {
	transform: scale(1.025);
}

@media (max-width: 600px) {
	.gallery {
		grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
	}
}

@media (max-width: 400px) {
	.gallery {
		grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
	}
}

@-moz-keyframes zoomin {
	0% {
		max-width: 50%;
		filter: blur(4px);
	}

	30% {
		filter: blur(4px);
	}

	70% {
		max-width: 50%;
	}

	100% {
		max-width: 100%;
	}
}

@-webkit-keyframes zoomin {
	0% {
		max-width: 50%;
		filter: blur(4px);
	}

	30% {
		filter: blur(4px);
	}

	70% {
		max-width: 50%;
	}

	100% {
		max-width: 100%;
	}
}

@-o-keyframes zoomin {
	0% {
		max-width: 50%;
		filter: blur(4px);
	}

	30% {
		filter: blur(4px);
	}

	70% {
		max-width: 50%;
	}

	100% {
		max-width: 100%;
	}
}

@keyframes zoomin {
	0% {
		max-width: 50%;
		filter: blur(4px);
	}

	30% {
		filter: blur(4px);
	}

	70% {
		max-width: 50%;
	}

	100% {
		max-width: 100%;
	}
}

/* 🖥️ Escritorio por defecto */
/* ========== HOME SECTION ========== */
.home {
	overflow: hidden;
	background-position: bottom left;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-image: url('../img/bg-desktop.jpg');
	/* opcional */
}

.home-images {
	display: flex;
	flex-direction: column;
	align-content: flex-end;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	height: 100vh;
}

.sumate blockquote {
	color: #aa70ad;
	text-align: left;
	display: inline-block;
}

.home-text {
	font-size: 2rem;
	font-weight: bold;
	text-align: start;
	margin-bottom: 5vh;
	display: inline-block;
	width: auto;
}

.home-images img {
	width: 150px;
	border: 2px solid #fff;
	border-radius: 4px;
}

.sumate {
	display: flex;
	flex-direction: column;
	align-content: center;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	margin-right: 20%;
}

.home-button {
	margin-bottom: 1rem;
	animation: slideUp 2s ease-out forwards;
	opacity: 0;
	background-color: #9100ff;
	border-color: #9100ff;
	border-radius: 30px;
	padding: 10px 20px;
	font-size: 1.5em;
	font-weight: bold;
}

.home-button:hover {
	color: #fff;
	background-color: #6c4c99;
	border-color: #6c4c99;
	box-shadow: #c3c3c3 0px 0px 15px;
}

.social-icons {
	animation-name: slideLeft;
	animation-duration: 1s;
	animation-delay: 2s;
	animation-fill-mode: both;
	margin-bottom: 1rem;
	!i;
	!;
	!i;
	!;
	position: absolute;
	bottom: 0;
}

.social-icons a {
	margin: 0 3px;
	color: #fff;
	list-style: none;
	text-decoration: none;
}

.social-icons a i.fa-brands:hover {
	animation-name: shake;
	animation-duration: 1s;
	animation-iteration-count: infinite;
	font-size: 1.2em;
	width: 1.2em;
	padding: 2px;
	border-radius: 5px;
}

i.fa-brands.fa-instagram:hover {
	background: #833ab4;
	background: linear-gradient(to right,
			#833ab4, #fd1d1d, #fcb045);
}

i.fa-brands.fa-whatsapp:hover {
	color: #007f00;
	background-color: #FFF;
}

i.fa-brands.fa-x-twitter:hover {
	background: #000;
}

i.fa-brands.fa-facebook-f:hover {
	background-color: blue;
}

.note {
	height: auto;
	margin: 40px auto 80px;
	border: none;
	box-shadow: 0px 0px 20px #C3C3C3;
	position: relative;
	/* background-color: #FFF; */
	padding: 20px;
}

.note p {
	padding: 20px 30px 0;
}

h2 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: 'Montserrat';
	color: #FFF;
	background-color: #6c4c99;
	display: inline-block;
	padding: 8px 10px;
}

/* 📱 Celular vertical */
@media screen and (max-width: 480px) and (orientation: portrait) {
	.home {
		background-image: url('../img/bg-mobile-portrait.jpg');
	}

	.sumate {
		/* left: 10vw; */
		/* width: 80vw; */
		/* top: 100px; */
		/* padding-top: 100px; */
		margin: 0 15px;
	}

	.home-text {
		font-size: 1.5em;
	}

	.social-icons {
		top: 70px;
		!i;
		!;
	}
}

/* 📱 Celular horizontal */
@media screen and (max-width: 812px) and (orientation: landscape) {
	.home {
		background-image: url('../img/bg-mobile-landscape.jpg');
	}

	.sumate {
		font-size: .8em;
		right: 0;
		margin: 0 30px;
		font-size: 0.7em;
	}

	.sumate h1 {
		font-size: .8em;
		margin: 0 30px;
		font-size: 1.5em;
		margin-bottom: 20px;
	}
}

/* 📱 Tablet vertical */
@media screen and (min-width: 481px) and (max-width: 1024px) and (orientation: portrait) {
	.home {
		background-image: url('../img/bg-tablet-portrait.jpg');
	}

	.navbar img {
		width: 35%;
		height: 35%;
	}

	.home-images {
		align-content: center !important;
	}

	.sumate {
		align-content: center;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-start;
		height: 50vh;
		margin: unset;
	}

	.social-icons.d-flex.justify-content-center.gap-3.my-3 {
		top: 120px;
		left: 0;
		right: 0;
		margin-top: 0 !important;
		!i;
		!;
		position: absolute;
	}

}

/* 📱 Tablet horizontal */
@media screen and (min-width: 768px) and (max-width: 1280px) and (orientation: landscape) {
	.home {
		background-image: url('../img/bg-tablet-landscape.jpg');
	}

	.navbar img {
		width: 30%;
		height: 30%;
	}

	.sumate {
		padding-top: 30px;
		font-size: .7em;
		right: 2vw;
		margin: 35px;
	}

	.sumate h1 {
		font-size: 2em;
	}

	.social-icons {
		margin-top: 15vh !important;
	}
}

/* 🖥️ Monitores grandes */
@media screen and (min-width: 1921px) {
	/* .home { */
	/* background-image: url('../img/bg-desktop-large.jpg'); */
	/* } */
}