/* Created By AkinaCss */
/* Filter area */

.filterArea {
    width: 72%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 9;
}

.filterBox {
    position: relative;
    width: 50%;
    padding: 50px 0px;
    border-radius: 10px;
}
.filterCont {
    position: relative;
    width: 100%;
    height: 50px;
}
input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    outline: none;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    background-color: transparent;
    pointer-events: none;
}
.slider-track {
    width: 100%;
    height: 5px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    border-radius: 5px;
}
input[type="range"]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 5px;
}
input[type="range"]::-moz-range-track {
    -moz-appearance: none;
    height: 5px;
}
input[type="range"]::-ms-track {
    appearance: none;
    height: 5px;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 1.7em;
    width: 1.7em;
    background-color: var(--mainLight);
    cursor: pointer;
    margin-top: -9px;
    pointer-events: auto;
    border-radius: 50%;
    transition: 0.3s;
}
input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    height: 1.7em;
    width: 1.7em;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--main);
    pointer-events: auto;
    border: none;
}
input[type="range"]::-ms-thumb {
    appearance: none;
    height: 1.7em;
    width: 1.7em;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--main);
    pointer-events: auto;
}
input[type="range"]:active::-webkit-slider-thumb {
    background-color: var(--main);
    border: 1px solid var(--main);
}
.values {
    background-color: var(--main);
    width: 100%;
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    font-size: clamp(18px, 0.938vw, 20px);
    color: var(--white);
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}
.values:before {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    border-top: 15px solid var(--main);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    margin: auto;
    bottom: -14px;
    left: var(--left-position);
}


/* ===================================================== */

/* Proje Css */

.projeArea {
    width: 72%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
    gap: 20px;
}

.projeBox {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    background-color: var(--proje);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.3s;
}

.projeBox:hover {
    background-color: var(--projeDark);
}

.projeimg,
.projeimg2 {
    flex: 1 1 60%;
    width: 60%;
    max-width: 60%;
    overflow: hidden;
    z-index: 0;
    transition: 0.3s;
    position: relative;
}

.projeimg::before,
.projeimg2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    transition: background 0.3s;
    background: radial-gradient(circle, rgba(241,241,241,0) 0%, rgba(255,255,255,0) 74%, rgba(0, 0, 0, 0) 100%);
}

.projeBox:hover .projeimg::before,
.projeBox:hover .projeimg2::before {
    background: rgb(241,241,241);
    background: radial-gradient(circle, rgba(241,241,241,0) 0%, rgba(255,255,255,0) 74%, rgba(0, 0, 0, 0.5) 100%);
}

.projeimg img,
.projeimg2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.projetxt {
    flex: 1 1 40%;
    width: 40%;
    max-width: 40%;
    height: 100;
    padding: 10px 30px;
    z-index: 0;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.projetxt h2 {
    color: var(--black);
    margin-bottom: 20px;
    font-size: clamp(16px, 0.833vw, 18px);
}

.projetxt p {
    color: var(--black);
    margin-bottom: 10px;
    font-weight: 600;
    font-size: clamp(14px, 0.729vw, 14px);
    font-family: var(--text);
}

.projetxt p span {
    color: var(--black);
    font-weight: 300;
    margin-left: 5px;
}

.projeBox:hover .projetxt h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.projeBox:hover .projetxt p {
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 600;
    font-family: var(--text);
}

.projeBox:hover .projetxt p span {
    color: var(--white);
    font-weight: 300;
    margin-left: 5px;
}

/* ===================================================== */

.filter-custom-select {
  position: relative;
  width: 20%;
  min-width: 200px;
}

#filter-select-input {
  width: 100%;
  padding: 10px;
  padding-right: 30px;
  border: 1px solid var(--border);
  background-color: #fff;
  cursor: pointer;
  margin-top: 35px;
  border-radius: 20px;
  transition: 0.3s;
  outline: none;
}

#filter-select-input:hover {
    border: 1px solid var(--main);
}
#filter-select-input:active {
    border: 1px solid var(--main);
}
#filter-select-input:focus {
    border: 1px solid var(--main);
}
#filter-select-input.active {
    border: 1px solid var(--main);
}

.filter-custom-select svg {
  position: absolute;
  right: 5px;
  z-index: 1;
  top: 73%;
  transform: translateY(-50%);
  transition: transform 0.3s ease; /* Smooth rotation */
}

.filter-options-container {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 10;
  max-height: 150px;
  overflow-y: auto;
}

.filter-option {
  padding: 10px;
  cursor: pointer;
  font-size: 12px;
}

.filter-option:hover {
  background-color: var(--main);
}

.filter-custom-select.open .filter-options-container {
  display: block;
}

.select-arrow.rotate {
  transform: translateY(-50%) rotate(180deg);
}


.filterArea, .projeArea {
    max-width: 1060px;
}

/* ===================================================== */

/* Responsive Css */

@media (max-width: 1310px) {
    .projeBox .projetxt {
        flex: 1 1 45%;
        width: 45%;
        max-width: 45%;
    }
    .projeBox .projeimg {
        flex: 1 1 55%;
        width: 55%;
        max-width: 55%;
    }
    
    .projeBox .projeimg2 {
        flex: 1 1 55%;
        width: 55%;
        max-width: 55%;
    }
}

@media (max-width: 1080px) {
    .filterArea, .projeArea {
        width: 78%;
    }
}

@media (max-width: 950px) {
    .filterArea, .projeArea {
        width: 85%;
    }
}

@media (max-width: 950px) {
    .projeBox .projetxt {
        flex: 1 1 50%;
        width: 50%;
        max-width: 50%;
    }
    .projeBox .projeimg {
        flex: 1 1 50%;
        width: 50%;
        max-width: 50%;
    }
    
    .projeBox .projeimg2 {
        flex: 1 1 50%;
        width: 50%;
        max-width: 50%;
    }
}

@media (max-width: 660px) {
    .values {
        font-weight: 500;
        font-size: 16px;
    }
}

@media (max-width: 720px) {
    .filterArea {
        flex-direction: column;
        justify-content: flex-start;
        align-items: start;
        padding: 50px 0px;
    }
    .filterBox {
        width: 100%;
        padding: 0px;
    }
    .filter-custom-select {
        width: 100%;
        min-width: 200px;
    }
}

@media (max-width: 650px) {
    .projeBox {
        flex-direction: column;
    }
    .projeBox2 {
        flex-direction: column-reverse;
    }
    .projeBox .projetxt {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }
    .projeBox .projeimg {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }
    .projeBox .projeimg2 {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }
    .projeBox {
        height: 500px;
    }
}

@media (max-width: 540px) {
    .values {
        font-weight: 500;
        font-size: 14px;
        gap: 5px;
    }
}