/* Hero Section Styles */
.hero {
	display: flex;
	align-items: stretch;
}

.hero .swiper-slide {
	height: 100%;
	min-height: 0;
	display: flex;
}

.hero .swiper-wrapper {
	height: 100%;
}

.hero .swiper-pagination-bullet {
	background: white;
	opacity: 1;
	width: 20px;
	height: 20px;
	border-radius: 0 5px;
}

@media (min-width: 769px) {
	.hero {
		height: 90vh;
		max-height: 90vh;
	}
}

.hero .swiper-pagination-bullet-active {
	background: #ff8c00;
}

.hero .swiper-button-next,
.hero .swiper-button-prev {
	color: white;
	background: rgba(255, 255, 255, 0.2);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-top: -25px;
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}

.hero .swiper-button-next {
	right: 20px;
}

.hero .swiper-button-prev {
	left: 20px;
}

.hero .swiper-button-next:hover,
.hero .swiper-button-prev:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

.hero .swiper-button-next:after,
.hero .swiper-button-prev:after {
	font-size: 1.25rem;
	font-weight: bold;
}

.hero-slide {
	width: 100%;
	height: 100%;
	min-height: inherit;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-slide {
	position: relative;
}

.hero-slide .container {
	display: flex;
	flex-direction: column;
	justify-content: start;
	width: 100%;
	box-sizing: border-box;
}

.hero-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: inherit;
	z-index: 3;
}

.hero-slide .container .hero-content {
	position: relative;
	z-index: 2;
	text-align: start;
	color: white;
	transition: transform 0.3s ease;
}

.hero-slide .container .hero-content .title-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.hero-slide .container .hero-content .title-container img {
	width: 35%;
	max-width: 550px;
	border-radius: 0 160px;
	display: none;
}

.hero-image-mobile {
	display: none;
}

.hero-slide::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 1;
}

.hero-title {
	font-size: clamp(2rem, 6vw, 4rem);
	font-weight: 700;
	margin-bottom: clamp(0.5rem, 2vh, 1rem);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-location {
	font-size: clamp(1.5rem, 5vw, 3.2rem);
	margin-bottom: clamp(0.8rem, 2vh, 1.5rem);
	opacity: 0.9;
}

.description-container {
	display: flex;
	align-items: flex-start;
	gap: clamp(15px, 4vw, 30px);
}

.hero-description {
	flex: 1;
	font-size: clamp(0.9rem, 2vw, 1.1rem);
	line-height: 1.6;
	opacity: 0.9;
	max-width: 600px;
	font-family: "Neue Haas Unica", sans-serif;
}

.description-container .swiper-pagination {
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: static;
	width: auto;
	height: auto;
	margin-top: 0;
}

.description-container .swiper-pagination .swiper-pagination-bullet {
	background: white;
	opacity: 1;
	width: 12px;
	height: 12px;
	margin: 0;
	border-radius: 0 5px;
}

.description-container .swiper-pagination .swiper-pagination-bullet-active {
	background: #ff8c00;
}

.filter-container {
	padding: 20px 0px;
	display: flex;
	align-items: center;
	gap: 20px;
	border-top: 1px solid rgba(89, 91, 105, 0.75);
}

.filter-container .text-cotainer {
	display: flex;
	align-items: center;
	gap: 5px;
}

.filter-container .text-cotainer .text {
	color: var(--azul);
	font-family: "Diagramm", sans-serif;
	font-size: 1.3125rem;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

.filter-container .filters-container {
	display: flex;
	align-items: center;
	gap: 20px;
}

.filter-container .filters-container .filter-item {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.filter-container .filters-container .filter-item > label {
	cursor: pointer;
}

.filter-container .filters-container .filter-item > p {
	margin: 0;
	padding-top: 5px;
	line-height: 1;
	color: var(--azul);
	font-family: "Neue Haas Unica", sans-serif;
	font-size: 1rem;
	font-style: normal;
	font-weight: 500;
	letter-spacing: 3.2px;
	text-transform: uppercase;
}

.filter-container .filters-container .filter-item > label > input {
	width: 20px;
	height: 20px;
	appearance: none;
	border-radius: 6px;
	border: 1px solid rgba(89, 91, 105, 0.75);
	background: white;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	flex-shrink: 0;
}

.filter-container .filters-container .filter-item > label > input:checked {
	background-color: transparent;
}

.filter-container
	.filters-container
	.filter-item
	> label
	> input:checked::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: calc(100% - 6px);
	height: calc(100% - 6px);
	background-color: #ff8c00;
	border-radius: 3px;
}

/* select country */

.filter-container .filters-container .filter-item > select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border: none;
	border-bottom: 1px solid #595b69;
	padding: 12px 40px 12px 16px;
	font-size: 1rem;
	font-weight: 500;
	color: #374151;
	cursor: pointer;
	outline: none;
	transition: all 0.2s ease-in-out;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='10' viewBox='0 0 18 10' fill='none'%3E%3Cpath d='M17 1.10716L9.75867 8.29999C9.36869 8.68736 8.73919 8.68736 8.34921 8.29999L1 0.999999' stroke='%230E2F4C' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 18px 10px;
	min-width: 200px;
	background-color: transparent;
}

.filter-container .filters-container .filter-item > select option {
	padding: 12px 16px;
	font-size: 1rem;
	color: #374151;
	background-color: transparent;
}

/* Projects Grid Styles */
.projects-section {
	background-color: #ffffff;
	margin-top: unset;
}

.projects-section .title {
	margin-bottom: 40px;
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-top: 40px;
}

.project-card {
	background: white;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	cursor: pointer;
	position: relative;
	font-family: "Neue Haas Unica", sans-serif;
}

.project-card:first-child {
	border-radius: 88px 0 0 0;
}

.project-card:last-child {
	grid-column: 2 / 3;
	border-radius: 0 0 88px 0px;
}

.project-card:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-card:hover .project-info-card {
	opacity: 1;
	transform: translateY(0);
}

.project-image {
	position: relative;
	height: 350px;
	overflow: hidden;
}

.project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
	transform: scale(1.05);
}

.project-info-card {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 25%;
	padding: 25px;
	background: linear-gradient(
		180deg,
		rgba(18, 64, 105, 0) 0%,
		rgba(18, 64, 105, 0.3) 50%,
		rgba(18, 64, 105, 0.7) 100%
	);
	color: white;
	opacity: 0;
	transform: translateY(100%);
	transition: all 0.3s ease;
}

.project-info-card .title-container {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.project-info-card .title-container svg {
	max-width: 50px;
	height: auto;
	flex-shrink: 0;
}

.project-info-card .project-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: white;
	margin: 0;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: 0.72px;
}

.project-info-card .project-location {
	color: #fff;
	font-size: 1rem;
	margin: 0;
	font-weight: 500;
	letter-spacing: 0.48px;
}

.loading {
	text-align: center;
	padding: 40px;
	color: #7f8c8d;
}

.no-projects {
	text-align: center;
	padding: 60px 20px;
	color: #7f8c8d;
	font-size: 1.1rem;
}

/* Modal Styles */
.project-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.project-modal.active {
	opacity: 1;
	visibility: visible;
}

.project-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(5px);
}

.project-modal-content {
	position: relative;
	background: white;
	border-radius: 88px 0 88px 0;
	max-width: 90vw;
	max-height: 90vh;
	width: 1000px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	transform: scale(0.9);
	transition: all 0.3s ease;
}

.project-modal.active .project-modal-content {
	transform: scale(1);
}

.project-modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	font-size: 1.5rem;
	cursor: pointer;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	color: #2c3e50;
}

.project-modal-close:hover {
	background: white;
	transform: scale(1.1);
}

.project-modal-body {
	display: flex;
	flex-direction: column;
}

.project-gallery-container {
	flex: 1;
	position: relative;
	background: #f8f9fa;
}

.project-swiper {
	width: 100%;
	height: 100%;
}

.project-swiper .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
}

.project-swiper .swiper-slide img {
	width: 100%;
	height: 90%;
	object-fit: cover;
	max-height: 500px;
}

.project-swiper .swiper-pagination {
	bottom: 20px;
}

.project-swiper .swiper-pagination-bullet {
	background: white;
	opacity: 1;
	width: 14px;
	height: 14px;
	border-radius: 0 5px;
}

.project-swiper .swiper-pagination-bullet-active {
	opacity: 1;
	background: #ff8c00;
}

.project-swiper .swiper-button-next,
.project-swiper .swiper-button-prev {
	color: white;
	background: rgba(0, 0, 0, 0.5);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	margin-top: -22px;
}

.project-swiper .swiper-button-next:after,
.project-swiper .swiper-button-prev:after {
	font-size: 1.125rem;
}

.project-info-modal {
	flex: 0 0 400px;
	padding: 40px;
	background: white;
	overflow-y: auto;
}

.project-info-modal h2 {
	font-size: 1.8rem;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 30px;
	line-height: 1.3;
}

.project-details {
	display: flex;
	flex-direction: column;
	background: var(--azul);
	padding: 24px;
}

.project-details #project-title {
	font-family: "Diagramm", sans-serif;
	font-size: 1.875rem;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	color: #fff;
	margin-bottom: 10px;
}

.project-detail-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-bottom: 5px;
	font-size: 1.3125rem;
}

.project-detail-item strong {
	color: var(--blanco);
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.3px;
}

.project-detail-item span {
	color: var(--blanco);
	font-size: 1rem;
	line-height: 1.4;
}

.project-image-container {
	position: relative;
	width: 100%;
	height: 400px;
	display: block;
}

.project-image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: relative;
	z-index: 1;
}

.modal-open {
	overflow: hidden;
}

@media (max-height: 700px) {
	.hero {
		min-height: 90vh;
	}

	.hero-slide .container {
		padding-top: clamp(40px, 8vh, 80px);
		padding-bottom: clamp(10px, 2vh, 15px);
	}

	.hero-title {
		font-size: clamp(1.8rem, 5vw, 3rem);
		margin-bottom: clamp(0.3rem, 1vh, 0.5rem);
	}

	.hero-location {
		font-size: clamp(1.3rem, 4vw, 2.5rem);
		margin-bottom: clamp(0.5rem, 1.5vh, 1rem);
	}

	.hero-description {
		font-size: clamp(0.85rem, 1.8vw, 1rem);
		line-height: 1.4;
	}

	.description-container {
		gap: clamp(10px, 3vw, 20px);
	}
}

@media (max-height: 600px) {
	.hero {
		min-height: 85vh;
	}

	.hero-slide .container {
		padding-top: clamp(30px, 6vh, 60px);
		padding-bottom: clamp(8px, 1.5vh, 10px);
		min-height: 55vh;
	}

	.hero-title {
		font-size: clamp(1.6rem, 4.5vw, 2.5rem);
		margin-bottom: clamp(0.2rem, 0.8vh, 0.3rem);
	}

	.hero-location {
		font-size: clamp(1.2rem, 3.5vw, 2rem);
		margin-bottom: clamp(0.4rem, 1.2vh, 0.8rem);
	}

	.hero-description {
		font-size: clamp(0.8rem, 1.6vw, 0.9rem);
		line-height: 1.3;
	}

	.description-container {
		gap: clamp(8px, 2.5vw, 15px);
	}
}

@media (max-height: 500px) {
	.hero {
		min-height: 80vh;
	}

	.hero-slide .container {
		padding-top: clamp(20px, 4vh, 40px);
		padding-bottom: clamp(5px, 1vh, 10px);
		min-height: 50vh;
	}

	.hero-title {
		font-size: clamp(1.4rem, 4vw, 2rem);
		margin-bottom: clamp(0.1rem, 0.5vh, 0.2rem);
	}

	.hero-location {
		font-size: clamp(1rem, 3vw, 1.5rem);
		margin-bottom: clamp(0.3rem, 1vh, 0.5rem);
	}

	.hero-description {
		font-size: clamp(0.75rem, 1.4vw, 0.8rem);
		line-height: 1.2;
	}

	.description-container {
		gap: clamp(5px, 2vw, 10px);
	}

	.hero-slide .container .hero-content .title-container img {
		width: 42%;
		max-width: clamp(200px, 40vw, 300px);
		border-radius: 0 130px;
	}
}

@media (max-height: 400px) {
	.hero {
		min-height: 75vh;
	}

	.hero-slide .container {
		padding-top: clamp(15px, 3vh, 30px);
		padding-bottom: clamp(5px, 1vh, 8px);
		min-height: 45vh;
	}

	.hero-title {
		font-size: clamp(1.2rem, 3.5vw, 1.8rem);
		margin-bottom: clamp(0.1rem, 0.3vh, 0.15rem);
	}

	.hero-location {
		font-size: clamp(0.9rem, 2.5vw, 1.3rem);
		margin-bottom: clamp(0.2rem, 0.8vh, 0.4rem);
	}

	.hero-description {
		font-size: clamp(0.7rem, 1.2vw, 0.75rem);
		line-height: 1.1;
	}

	.description-container {
		gap: clamp(3px, 1.5vw, 8px);
	}

	.hero-slide .container .hero-content .title-container img {
		width: 45%;
		max-width: clamp(150px, 35vw, 250px);
		border-radius: 0 110px;
	}
}

@media (max-width: 1024px) {
	.hero-slide .container {
		padding-top: 40px;
	}

	.hero-title {
		font-size: 3rem;
	}

	.hero-location {
		font-size: 2.5rem;
	}

	.hero-slide .container .hero-content .title-container img {
		width: 75%;
		max-width: 500px;
		border-radius: 0 120px;
	}

	.description-container {
		gap: 20px;
	}

	.filter-container {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.filter-container .filters-container {
		flex-wrap: wrap;
		gap: 15px;
	}

	.projects-grid {
		gap: 20px;
	}

	.project-modal-content {
		width: 95vw;
		height: 85vh;
		border-radius: 88px 0 88px 0;
	}

	.project-modal-body {
		flex-direction: column;
		height: auto;
	}

	.project-gallery-container {
		height: 400px;
	}

	.project-info-modal {
		flex: none;
		height: auto;
		max-height: 300px;
		padding: 30px;
	}

	.project-details {
		padding: 20px;
	}

	.project-details #project-title {
		font-size: 1.5rem;
	}
}

@media (max-width: 768px) {
	.hero-slide {
		background-position: center 32%;
	}
	.hero {
		height: auto;
	}

	.hero .swiper-slide {
		min-height: 0;
		height: 100%;
	}

	.hero-slide .container {
		padding-top: 100px;
	}

	.hero-title {
		font-size: 2.5rem;
	}

	.hero-subtitle {
		font-size: 1.5rem;
	}

	.hero-location {
		font-size: 2rem;
		margin-bottom: 1rem;
	}

	.hero-description {
		font-size: 1rem;
		max-width: 100%;
	}

	.hero .swiper-button-next,
	.hero .swiper-button-prev {
		display: none;
	}

	.hero-slide .container .hero-content .title-container {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.hero-slide .container .hero-content .title-container img {
		width: 88%;
		max-width: 350px;
		border-radius: 0 96px;
	}

	.hero-image-mobile {
		display: none;
	}

	.description-container {
		flex-direction: column;
		gap: 15px;
	}

	.description-container .swiper-pagination {
		flex-direction: row;
		justify-content: center;
	}

	.filter-container {
		padding: 15px 0;
		gap: 10px;
	}

	.filter-container .text-cotainer .text {
		font-size: 1.1rem;
	}

	.filter-container .filters-container {
		gap: 10px;
	}

	.filter-container .filters-container .filter-item > p {
		font-size: 0.9rem;
		letter-spacing: 2px;
	}

	.filter-container .filters-container .filter-item > select {
		min-width: 120px;
		padding: 10px 30px 10px 12px;
	}

	.projects-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.project-card {
		margin: 0 10px;
	}

	.project-card:last-child {
		grid-column: 1;
	}

	.project-image {
		height: 250px;
	}

	.project-info-card {
		padding: 20px;
		opacity: 1;
		transform: translateY(0);
		height: 40%;
	}

	.project-title {
		font-size: 1.3rem;
	}

	.project-modal-content {
		width: 95vw;
		height: unset;
		margin: 20px;
		border-radius: 88px 0 88px 0;
	}

	.project-gallery-container {
		height: 300px;
	}

	.project-info-modal {
		padding: 25px;
	}

	.project-info-modal h2 {
		font-size: 1.5rem;
	}

	.project-details #project-title {
		font-size: 1.4rem;
	}

	.project-detail-item {
		font-size: 1.1rem;
	}
}

@media (max-width: 480px) {
	.hero-slide {
		background-position: center 40%;
	}
	.hero {
		height: 60vh;
	}

	.hero .swiper-slide {
		min-height: 0;
		height: 100%;
	}

    .hero-slide .container {
        padding-top: unset;
        display: flex;
        height: 70%;
        justify-content: end;
    }

    .swiper-pagination {
        bottom: 30px !important;
    }

	.hero-title {
		font-size: 2rem;
	}

	.hero .swiper-button-next,
	.hero .swiper-button-prev {
		display: none;
	}

	.hero-location {
		font-size: 1.5rem;
	}

	.hero-description {
		font-size: 0.9rem;
	}

	.hero-slide .container .hero-content .title-container img {
		width: 85%;
		max-width: 250px;
		border-radius: 0 64px;
		display: none;
	}

	.hero-image-mobile {
		display: none;
		width: 65%;
		max-width: 250px;
		margin-bottom: 30px;
		border-radius: 0 64px;
	}

	.filter-container {
		padding: 10px 0;
	}

	.filter-container .text-cotainer .text {
		font-size: 1rem;
	}

	.filter-container .filters-container {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		gap: 8px;
	}

	.filter-container .filters-container .filter-item {
		width: 100%;
	}

	.filter-container .filters-container .filter-item > p {
		font-size: 0.8rem;
		letter-spacing: 0.09375rem;
	}

	.filter-container .filters-container .filter-item > select {
		min-width: 100px;
		width: 100%;
		padding: 8px 25px 8px 10px;
	}

	.projects-section .title {
		margin-bottom: 20px;
	}

	.projects-grid {
		margin-top: 20px;
		gap: 15px;
	}

	.project-image {
		height: 200px;
	}

	.project-info-card {
		padding: 15px;
		opacity: 1;
		transform: translateY(0);
	}

	.project-title {
		font-size: 1.2rem;
	}

	.project-info-card .project-location {
		font-size: 0.9rem;
	}

	.project-modal-close {
		top: 15px;
		right: 15px;
		width: 35px;
		height: 35px;
		font-size: 1.25rem;
	}

	.project-info-modal {
		padding: 20px;
	}

	.project-details #project-title {
		font-size: 1.2rem;
		margin-bottom: 8px;
	}

	.project-detail-item {
		gap: 3px;
		padding-bottom: 12px;
		font-size: 1rem;
	}

	.project-detail-item strong {
		font-size: 0.8rem;
	}

	.project-detail-item span {
		font-size: 0.9rem;
	}

	.no-projects {
		padding: 40px 15px;
		font-size: 1rem;
	}
}
