/* Featured Projects Slider */
.controls {
  padding: 10px;  
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  min-height: 70px;
}

.slides-container {
  position: relative;
  display: flex;
  flex: 1;
}

.slide {
  position: absolute;
  font-size: 90px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: calc(100% / 3);
  width: 100%;
}

.slides-inner {
  position: relative;
  height: 100%;
  width: 100%;  
  overflow: hidden;
}

/* My CSS */
.featured-project-slider {
    position: relative;
    margin-bottom: 1rem;
}

.slides-container, .slide, .hero-image-wrapper {
    aspect-ratio: 3 / 1;
    height: 100%;
}

.slides-inner {
    border-radius: 25px;
    box-shadow: 0px 0px 20px black;
    overflow: hidden;
}
.hero-image-wrapper img {
    transition: all 1.5s ease;
}

.slide:hover {
    cursor:pointer;
}

.slide:hover .hero-image-wrapper img {
    transform: scale(1.05);
    
}
#prevButton {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

#nextButton {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
}

#prevButton, #nextButton, #prevButton:active, #nextButton:active {
    border: none;
    outline: none;
    background: none;
}

#prevButton:hover, #nextButton:hover {
    background: none;
    transform: scale(1.1);
}
#prevButton svg, #nextButton svg {
    fill: white;
    height: 2rem;
}

.hero-image-wrapper.desktop {
    display: flex;
}

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

@media (max-width: 768px) {
    .hero-image-wrapper.desktop {
        display: none;
    }

    .hero-image-wrapper.mobile {
        display: flex;
    }

    .slides-container, .slide, .hero-image-wrapper {
        aspect-ratio: 5 / 4;
    }
}
/* End Featured Projects Slider */

/* Project Grid Filters */
.project-grid-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
    max-width: 1080px;
}

.project-filter-button {
    aspect-ratio: 2/1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 2px solid #ffffff;
/*     background: linear-gradient(0deg, rgb(214 1 10 / 50%), rgba(196,39,46,1.0)); */
	background: transparent;
    flex: .25;
    border-radius: 10px;
    font-family: "Poppins";
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    min-width: 100px;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.75s ease;
    box-shadow: 0px 0px 10px black;

}

.project-filter-button:hover {
    cursor: pointer;
    border: 2px solid white;

}

.project-filter-button p {
    z-index: 1;
    margin-bottom: 0;
}

.project-filter-button img {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 0;
    transition: all 0.75s ease;
}

.project-filter-button:hover.project-filter-button img {
    opacity: 1;
}

@media (max-width: 1024px) {
    .project-filter-button {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .project-grid-filters {
        margin: 0;
        flex-wrap: wrap;
    }
}
/* End Project Grid Filters */

/* Project Grid */
.project-grid-wrapper {
    margin: 1rem auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    font-family: 'Poppins';
}

@media (max-width: 1200px) {
	.project-grid-wrapper {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@media (max-width: 1024px) {
    .project-grid-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .project-grid-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-tags-container {
        gap: 5px;
        flex-wrap: wrap;
    }

    .project-tag {
        font-size: 0.75rem;
    }
}
/* End Project Grid */

/* Project Thumbnail Image */
.project-image-wrapper {
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid black;
    box-shadow: 0px 0px 10px black;
    aspect-ratio: 5 / 4;
	position: relative;
}

.project-info-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.75);
	background: linear-gradient(to top, rgba(0,0,0, 0.8) 35%, rgba(0,0,0, 0.4));
	opacity: 0;
	transition: 0.75s ease-in-out;
	padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end
}

.project-image-wrapper:hover .project-info-overlay {
	opacity: 1;
}

.project-image-wrapper img, .project-image-wrapper {
    transition: all 0.75s ease;
}

.project-wrapper:hover .project-image-wrapper img {
    transform: scale(1.15);
}

.project-wrapper:hover .project-image-wrapper {
    border: 2px solid white;
}

.project-image-wrapper img {
    border-radius: 10px;
    width: 100%;
    aspect-ratio: 5 / 4;
}
/* End Project Thumbnail Image */

/* Project Item */
.project-wrapper[data-featured="false"] {
    /* opacity: 0; */
}
.project-wrapper:hover {
    cursor: pointer;
}

.project-name {
    font-size: 1.5rem;
    color: #FFFFFF;
    font-weight: bold;
    margin-bottom: 1px;
}

.client-name {
    font-size: 0.9rem;
    color: #DDDDDD;
    margin-bottom: 0;
}

.project-tags-container {
    display: flex;
	flex-wrap: wrap;
    gap: 10px 5px;
    margin-top: 5px;

}

.project-tag {
    background: #C4272E;
    padding: 5px;
    border-radius: 3px;
    color: #ffffff;
    font-weight: 500;
    font-size: .7rem;
    text-transform: uppercase;
}
/* End Project Item */