@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	background-color: var(--bg-color);
	color: var(--text-color);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.logo {
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 2px;
	text-decoration: none;
	color: #000;
}

nav a {
	text-decoration: none;
	color: #333;
	font-size: 1rem;
	margin-left: 2rem;
	transition: color 0.3s ease;
	padding: 5px 0px;
}

nav a:hover,
nav a.active {
	color: #000;
	border-bottom: 1px solid #000;
}

.project-card {
	text-decoration: none;
	color: #000;
	display: flex;
	flex-direction: column;
}

.image-wrapper {
	background-color: #f5f5f5; /* Color de fondo temporal antes de cargar la foto */
	/*aspect-ratio: 3 / 4;  Proporción vertical clásica de fotografía */
	overflow: hidden;
	position: relative;
}

.image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%); /* Fuerza el look B&W incluso si subes fotos a color */
	transition:
		transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
		filter 0.6s ease;
}

/* Efecto sutil al pasar el mouse */
.image-wrapper:hover img {
	transform: scale(1.03);
	filter: grayscale(0%); /* Opcional: revela el color original al pasar el mouse, o déjalo en 100% */
}
.project-info {
	position: absolute;
	bottom: 3%;
	padding: 10px 15px;
}
.project-info-right {
	position: absolute;
	bottom: 3%;
	padding: 10px 15px;
	right: 10px;
}

.project-info h2 a,
.project-info-right a {
	font-size: 2rem;
	font-weight: 500;
	margin-bottom: 0.3rem;
	padding: 10px 15px;
	background-color: #e5e5e500;
	color: #ffffff;
	letter-spacing: 2px;
}

.text-white {
	color: #fff !important;
}

.text-black {
	color: #000 !important;
}

.project-info p {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.redes a {
	font-style: italic;
	color: #000;
	font-weight: 400;
	font-size: 1.1rem;
	text-decoration: none;
	padding-bottom: 5px;
}
.redes a:hover {
	border-bottom: 1px solid #000;
}

footer {
	padding: 2rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.85rem;
}

.footer-links a {
	text-decoration: none;
	margin-left: 1.5rem;
	transition: color 0.3s ease;
	color: #666;
}
.footer-links a:hover {
	color: black;
}

@media (max-width: 600px) {
	.project-info h2 a,
	.project-info-right a {
		font-size: 0.9rem;
		font-weight: 500;
		margin-bottom: 0rem;
		padding: 10px 15px;
		background-color: #e5e5e500;
		color: #ffffff;
		letter-spacing: 2px;
	}
	.project-info-right {
		padding: 0px;
		bottom: 0%;
		right: 5px;
	}
	nav a {
		margin-left: 0px;
		padding: 5px 10px;
	}
}

.slider-controlers a {
	display: block;
	width: 36px;
	height: 36px;
}
.slider-controlers i {
	font-size: 2rem !important;
	color: #666;
}
