
@media (min-width:0px) and (max-width:400px) {
    .main-area{
        max-height: 67px;
        overflow: hidden;
    }
}/* 8 blue -----  en kucuk */













@media (min-width:401px) and (max-width:450px) {
    
    .main-area{
        max-height: 101px;
        overflow: hidden;
    }
    
}/* 7 green */


















@media (min-width:451px) and (max-width:600px) {
   
    .main-area{
        max-height: 125px;
        overflow: hidden;
    }

} /* 6 lightblue */




















@media (min-width:601px) and (max-width:767px) {
   
   
    .main-area{
        max-height: 161px;
        overflow: hidden;
    }
    
} /* 5 lightgreen */

















@media (min-width:768px) and (max-width:992px) {
   
   
    .main-area{
        max-height: 330px;
        overflow: hidden;
    }

} /* 4 brown */
















@media (min-width:993px) and (max-width:1000px) {
     
    .main-area{
        max-height: 330px;
        overflow: hidden;
    }
} /* 3 deepskyblue  */






















@media (min-width:1001px) and (max-width:1199px) {
   
    .main-area{
        max-height: 292px;
        overflow: hidden;
    }
    
} /* 2  orange */


















@media (min-width:1200px) and (max-width:1400px) {
 
    .main-area{
        max-height: 397px;
        overflow: hidden;
    }

}/* darkorchid */








@media (min-width:1401px) and (max-width:1600px) {
 

    .main-area{
        max-height: 399px;
        overflow: hidden;
    }
}/* yellow */










@media (min-width:1601px) and (max-width:1800px) {

    
    .main-area{
        max-height: 400px;
        overflow: hidden;
    }
}/* pink */





@media (min-width:1801px) and (max-width:5000px) {

    .main-area{
        max-height: 400px;
        overflow: hidden;
    }
    
}/* red */


.tablinks-ext {
    width: 60px;
    height: 70px;
    display: flex;
    position: relative;
    background: var(--orange);
    overflow: hidden;
    border: none;
    outline: none;
    cursor: pointer;
    border-right: 1px solid #fff;
    transition: 0.3s ease;
}

.tablinks-ext:before {
    background: var(--orange);
    content: "";
    width: 100%;
    height: 0px;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.3s ease-in-out;
    z-index: 2;
}

/*tab buttons hover*/
.tablinks-ext:hover::before {
    height: 99%;
    z-index: 2;
    bottom: 1px;
    background-color: var(--black);
}

.tablinks-ext:hover p,
.tablinks-ext i {
    color: white;
    opacity: 1;
    z-index: 2;
}

/* Tab active */
.tablinks-ext.active {
    background-color: white;
    z-index: 0;
    border-right: 0px;
    border-left: 0px;
    bottom: 0px;
    overflow: hidden;
    /* Edited */
    border: 1px solid var(--border);
}

/* Tabs text */
.tablinks-ext.active p,
.tablinks-ext.active i {
    opacity: 1;
    color: var(--black);
}

.tablinks-ext.active:hover p,
.tablinks-ext.active:hover i {
    opacity: 1;
    color: var(--white);
}

.main-area {
    top: 70px;
    min-height: auto;
    
}

.main-area swiper-container#searchboxSwiper {
    height: auto;
}

#card-list-area {
    width: 70%;
    margin: auto;
    margin-top: 50px;
}


#featured-campaign {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 10px;
    padding-right: 10px;
}

swiper-container.bannerSwiper {
    width: 90%;
    height: auto;
    position: relative;
    overflow: hidden;
    border: 1px solid #cfd4da;
    border-radius: 25px;
    flex-direction: row;

}

swiper-container .swiper-wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

swiper-slide {
    font-size: 18px;
    background: #fff;
}

swiper-container::part(button-next),
swiper-container::part(button-prev) {
    color: #000;
    font-size: 20px;
}

/* .swiper-button-next,
.swiper-button-prev {
    color: #000;
    font-size: 20px;
} */

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

swiper-container::part(bullet),
swiper-container::part(bullet-active) {
    width: 15px;
    height: 5px;
    margin: 0 5px;
    border-radius: 10px;
    opacity: 0.7;
    transition: background 4s, opacity 5s ease-in-out;
}

swiper-container::part(bullet-active) {
    background: #000;
}

swiper-container::part(bullet) {
    background: #797979;
}

.sw-main-banner-img {
    height: auto;
}

.quadSwiper {
    width: 70dvw;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 0px;

}

.quadSwiper swiper-slide {
    background: transparent;
    height: unset;
}

.quadSwiper swiper-slide .card {
    width: 80%;
    height: -webkit-fill-available;
    margin: auto;
}


.group-kafile .card {
    width: 32%;
	max-height:483px;
}




.quad-card .swiper-button-prev::after,
.quad-card .swiper-button-next::after {
    color: #000;
    font-size: 2rem;
}

.quad-card .swiper-button-next {
    right: -6px;
}

.quad-card .swiper-button-prev {
    left: -6px;
}



.triple-card {
    display: flex;
    width: 95%;
    column-gap: 5%;
    margin-top: 3rem;
}


.triple-card .card {
    width: 33%;
    height: auto;
    min-height: 30%;
    background: #fff;
    box-shadow: 0 0;
    margin-bottom: 25px;
    border-radius: 20px;
    /* padding: 15px; */
    cursor: pointer;
    border: 1px solid #cfd4da;
    position: relative;
}

.triple-card .card-header {
    font-weight: bold;
}


#special-services h3 {
    margin-bottom: 1.5rem;
}

#special-services .quad-card {
    width: 70dvw;
}

#special-services .quad-card .card {
    box-shadow: 0 0;
    cursor: pointer;
    border: 1px solid #cfd4da;
    position: relative;
    padding: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	overflow:hidden;
}

#special-services .quad-card .card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quad-card {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    column-gap: 20px;
}

.card {
    width: 20%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
    border-radius: 20px;
    /* padding: 15px; */
    cursor: pointer;
}
.card-popup{
    min-height: 598px;
}

.card-header {
    font-weight: bold;
    text-align: center;
    margin: 1rem 0 2rem;
}

.card-body {
    text-align: center;
    font-size: 14px;
    color: #555;
}

.card-structures {
    margin: 50px;
}

.banner-area {
    width: 100%;
    /* max-width: 1920px; */
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.banner-area img {
    width: auto;
    height: 100%;
}

.quadSwiper swiper-slide {
    padding: 10px 0;
}

.card-body .arama-img {
    height: auto;
    width: 100%;
    /* max-width: fit-content; */
    min-width: -webkit-fill-available;
    margin: auto;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.card-body .btn-grad.btn-a {
    margin: 1rem auto 0;
}

.card-body .arama-img img {
    height: auto;
    width: 100%;
    border-radius: 5px 5px 0 0;
}

.card-body .arama-txt {
    min-width: auto;
    justify-content: flex-end;
    padding: 4px;
    margin-top: 10px;
}

.card-body .arama-txt .arama-group-txt-1 {
    justify-content: flex-start;
}

.card-body .arama-txt .text-price {
    flex-wrap: wrap;
    justify-content: center;
}

.card-body .price-area {
    flex-direction: column;
    justify-content: flex-start;
    row-gap: 15px;
}


/* Dinamik Popup Başlangıç */

.dinamik-popup-goster {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    /* opacity: 0; */
    transition: opacity 0.3s ease-in-out;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.popup-content-dinamik {
    width: 50%;
    background-color: white;
    border-radius: 10px;
    padding: 0px 20px 10px 20px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    position: relative;
    overflow: auto;
    padding: 20px;
    margin: 20px;
}

.popup-content-dinamik h1 {
    font-size: 2em;
}

.popup-content-dinamik .text-area {
    width: 70%;
    margin: auto;
    margin-bottom: 2.5rem;
}

.popup-content-dinamik .text-area p {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
}

.popup-header-dinamik {
    position: relative;
    width: 100%;
    padding: 20px;
}


.close-dinamik-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 50px;
    transition: color 0.3s;
}

/* animasyon */

/* Fade-in efekti */
.fade-in {
    opacity: 0;
    animation: fadeInAnimation 1s forwards;
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Fade-out efekti */
.fade-out {
    opacity: 1;
    animation: fadeOutAnimation 1s forwards;
}

@keyframes fadeOutAnimation {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


/* animasyon */

/* social media */
.social-media-area {
    margin-top: 2rem;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* Butonlar arasındaki boşluk */
}

.social-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.facebook {
    background-color: #3b5998;
    /* Facebook mavi rengi */
    padding: 5px 10px !important;
}

.twitter {
    background-color: #1da1f2;
    /* Twitter mavi rengi */
}

.youtube {
    background-color: #FF0000;
    /* Youtube kırmızı rengi */
}

.instagram {
    background-color: #e1306c;
    /* Instagram pembe rengi */
    padding: 5px 6px !important;
}

.linkedin {
    background-color: #0077b5;
    /* LinkedIn mavi rengi */
}

.social-button:hover {
    opacity: 0.8;
    /* Hover etkisi */
}

/* social media */

/* Dinamik Popup Bitiş*/


/* badge başlangıç */

.ribbon-badge {
    --f: 15px;
    /* control the folded part*/
    --r: 15px;
    /* control the ribbon shape */
    --t: 3.5rem;
    /* the top offset */

    position: absolute;
    inset: var(--t) calc(-1*var(--f)) auto auto;
    padding: 0 10px var(--f) calc(10px + var(--r));
    clip-path:
        polygon(0 0, 100% 0, 100% calc(100% - var(--f)), calc(100% - var(--f)) 100%,
            calc(100% - var(--f)) calc(100% - var(--f)), 0 calc(100% - var(--f)),
            var(--r) calc(50% - var(--f)/2));
    background: #f84822;
    box-shadow: 0 calc(-1*var(--f)) 0 inset #0005;
    color: #fff;


}

.recommended-badge {
    display: inline;
    align-items: center;
    background: linear-gradient(to right, #FFD700, #FF4500);
    /* Koyu sarıdan turuncuya geçiş */
    color: white;
    /* Yazı rengi */
    padding: 8px 10px;
    border-radius: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 14px;

    position: absolute;
    inset: 10px 5px auto auto;

}

.recommended-badge .icon {
    margin-right: 5px;
    /* İkon ile metin arasında boşluk */
    font-size: 1em;
    /* İkon boyutu */
}

.recommended-badge .icon i {
    color: #fff;
}

/* badge bitiş */


.text-with-dots {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 5;

}


.devaminiOku {
    color: #007BFF;
    text-decoration: underline;

}


.fade-button {
    background: none;
    /* Border ve arka plan yok */
    color: #007BFF;
    cursor: pointer;
    padding: 10px;
    text-align: left;
    border: none;
    /* Border yok */
}

.fade-button:hover {
    text-decoration: underline;
    /* Hover efekti */
}

.feature-details {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease;
    /* Opasite ve yükseklik için geçiş efekti */
}

.feature-details.visible {
    opacity: 1;
    max-height: 500px;
    /* Gerekli maksimum yükseklik */
}


.footer-box {
    align-items: center;
}

.footer-box .footer-logo {
    justify-content: center;
}

.footer-box .takip-h1 {
    text-align: center;
}

.footer-page {
    gap: 0;
}

@media (max-width: 1700px) {
    .banner-area {
        justify-content: flex-start;
    }
}


@media (max-width: 1283px) {
    #card-list-area {
        width: 85%;
    }

    .quadSwiper {
        width: 80dvw;
    }

    #special-services .quad-card {
        width: 80dvw;
    }

    #special-services .text-with-dots {
        -webkit-line-clamp: 6;
    }
}


@media (max-width: 992px) {

    #card-list-area {
        margin-top: 75px;
    }

    .card-structures {
        margin: 25px;
    }

    .quadSwiper swiper-slide .card {
        width: 90%;
    }

    .quad-card {
        flex-wrap: wrap;

    }

    .quad-card .card {
        width: 40%;
        margin: 10px 0;
    }

    .triple-card {
        flex-direction: column;
        height: auto;
        width: auto;
    }

    .triple-card .card {
        margin: 1.5rem auto 0;
        width: 90%;
        min-height: 20rem;
    }

    #special-services .banner-area {
        display: none;
    }

    #special-services .text-with-dots {
        -webkit-line-clamp: 10;
    }
}

@media (max-width: 768px) {

    #card-list-area {
        margin-top: 50px;
    }


    swiper-container.bannerSwiper {
        width: 100%;
    }


    .banner-area {
        display: flex;
        justify-content: center;
    }


    .quad-card .card {
        width: 90%;
    }


    .popup-content-dinamik {
        width: 90%;
    }

    .popup-content-dinamik h1 {
        font-size: 1.5em;
    }

}

@media (max-width: 480px) {

    #card-list-area {
        margin-top: 25px;
    }


    swiper-container.bannerSwiper {
        width: 130%;
    }

    .quad-card {
        justify-content: center;
        width: 100%;
    }

    .recommended-badge .icon {
        margin: 0;
    }

}


@media (min-width: 768px) {
    .sw-main-banner-img {
        height: 300px;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: top center;
        object-position: top center;
    }
}

@media (min-width: 1200px) {
    .sw-main-banner-img {
        height: 400px;
    }

    .triple-card {
        width: 95%;
    }

    #special-services .text-with-dots {
        -webkit-line-clamp: 8;
    }
}


/* Aşağısına Düzenleme Yapılması Gerekmekte */

/* Anasayfa Arama Kısmı */

@media screen and (max-width: 512px) {
    .tablinks-ext:hover::before {
        height: 0;
    }

    .tablinks-ext.active:hover i {
        opacity: 1;
        color: #000;
    }

    .tablinks-ext.active {
        height: 60px;
    }

    .tablinks-ext {
        height: 40px;
        font-size: 12px;
    }
}




