html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background: url(../img/bg.png);
    background-size: 100%;
}

    body::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(0,0,0,0.8)
    }


.parlak {
    position: relative;
    z-index: 2;
}

.header_bg {
    background-color: rgba(0,0,0,0.5) !important;
    position: fixed !important;
}


.color_altin {
    color: #c7ac73 !important;
}

.text_white1 {
    color: white;
}


.proje_resmi {
    padding: 8px 40px;
    background: #c7ac73;
    color: #fff;
    border-radius: 50px;
    transition: 0.3s;
}




.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    transition: transform 0.3s ease;
}

    .project-card:hover {
        transform: scale(1.05);
    }

.project-img {
    transition: opacity 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Karartma */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    color: white;
}

.project-card:hover .project-overlay {
    opacity: 1 !important; /* Hover olduğunda görünür hale gelir */
}

.project-title {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, -50%); /* Başlığı ortala */
    /*    font-size: 24px;
*/ font-weight: bold;
    z-index: 2; /* Başlık her zaman ön planda */
    opacity: 1;
    transition: opacity 0.3s ease;
    color: white;
    width: 100%;
    text-align: center;
    text-shadow: 3px 3px 5px black;
}

.project-card:hover .project-title {
    opacity: 0; /* Hover olduğunda başlık kaybolur */
}

.project-btn {
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: 2px solid black;
}

    .project-btn:hover {
        background-color: rgba(0,0,0,0.8);
    }

    .project-btn i {
        margin-right: 8px;
    }


/* Sayfa İçeriği Başlangıçta Gizli */
#content {
    display: none;
}

/* Sayfa Yüklenince içerik görünür olacak */
#content {
    display: block;
}

/* Sayfa Yüklenmeden önce logo görünsün */
.loading {
    display: block;
}

/* Sayfa yüklendikten sonra logo kaybolmalı */
.hidden {
    display: none;
}



#logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseLogo 5s ease-in-out infinite;
    z-index: 9999;
}

    #logo img {
        width: 300px;
    }


@keyframes pulseLogo {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}



.bg_black_rgba {
    background-color: rgb(0,0,0,0.3) !important;
}

@media(max-width:768px) {
    .ref_logo1 {
        width: 100% !important;
        height: 100% !important;
    }

    .ref_logo2 {
        width: 70% !important;
        height: 150px !important;
    }


    .ref_logo3 {
        width: 85% !important;
        height: 100% !important;
    }


    .ref_logo4 {
        width: 50% !important;
        height: 200px !important;
    }


    .ref_logo5 {
        width: 100% !important;
        height: 100% !important;
    }


    .ref_logo6 {
        width: 75% !important;
        height: 100% !important;
    }


    .ref_logo7 {
        width: 100% !important;
        height: 100% !important;
    }
}

@media(min-width:768px) and (max-width:992px) {
    .ref_logo1 {
        width: 100% !important;
        height: 100% !important;
    }

    .ref_logo2 {
        width: 70% !important;
        height: 100% !important;
    }


    .ref_logo3 {
        width: 75% !important;
        height: 100% !important;
    }


    .ref_logo4 {
        width: 50% !important;
        height: 300px !important;
    }


    .ref_logo5 {
        width: 100% !important;
        height: 100% !important;
    }


    .ref_logo6 {
        width: 75% !important;
        height: 100% !important;
    }


    .ref_logo7 {
        width: 100% !important;
        height: 100% !important;
    }
}


@media(min-width:992px) and (max-width:1200px) {
    .ref_logo1 {
        width: 100% !important;
        height: 100% !important;
    }

    .ref_logo2 {
        width: 70% !important;
        height: 100% !important;
    }


    .ref_logo3 {
        width: 75% !important;
        height: 100% !important;
    }


    .ref_logo4 {
        width: 50% !important;
        height: 75px !important;
    }


    .ref_logo5 {
        width: 100% !important;
        height: 100% !important;
    }


    .ref_logo6 {
        width: 75% !important;
        height: 100% !important;
    }


    .ref_logo7 {
        width: 100% !important;
        height: 100% !important;
    }
}


@media(min-width:1200px) and (max-width:1500px) {
    .ref_logo1 {
        width: 100% !important;
        height: 100% !important;
    }

    .ref_logo2 {
        width: 75% !important;
        height: 100% !important;
    }


    .ref_logo3 {
        width: 80% !important;
        height: 100% !important;
    }


    .ref_logo4 {
        width: 50% !important;
        height: 100% !important;
    }


    .ref_logo5 {
        width: 100% !important;
        height: 100% !important;
    }


    .ref_logo6 {
        width: 75% !important;
        height: 100% !important;
    }


    .ref_logo7 {
        width: 100% !important;
        height: 100% !important;
    }
}

@media(min-width:1500px) {
    .ref_logo1 {
        width: 200px !important;
        height: 300px !important;
    }

    .ref_logo2 {
        width: 150px !important;
        height: 200px !important;
    }


    .ref_logo3 {
        width: 150px !important;
        height: 175px !important;
    }


    .ref_logo4 {
        width: 120px !important;
        height: 200px !important;
    }


    .ref_logo5 {
        width: 225px !important;
        height: 100px !important;
    }


    .ref_logo6 {
        width: 125px !important;
        height: 175px !important;
    }


    .ref_logo7 {
        width: 175px !important;
        height: 100px !important;
    }
}






.carousel-item {
    width: 100%;
    transform: scale(1.2); /* Başlangıçta resmi biraz yakınlaştır */
    animation: zoomOut 3.5s ease-out forwards; /* Zoom-out animasyonu */
}



/* Resmin içten dışa doğru kaymasını sağlayacak animasyon */
@keyframes zoomOut {
    0% {
        transform: scale(1.5); /* Başlangıçta daha yakınlaştırılmış */
    }

    100% {
        transform: scale(1); /* Normal boyuta döner */
    }
}


.carousel-caption {
    position: absolute;
    right: 15%;
    top: 50%;
    left: 15%;
    transform: translate(0,-25%);
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s forwards; /* Yazıların kayarak görünmesini sağlıyoruz */
}

    /* Yazıların animasyonu */
    .carousel-caption h5 {
        font-weight: 900;
        animation: slideLeftToRight 1s ease-out forwards;
        animation-delay: 0.2s;
        opacity: 0;
        text-shadow: 3px 3px black;
    }

    .carousel-caption p {
        font-weight: 600;
        animation: slideDown 1s ease-out forwards;
        animation-delay: 0.8s;
        opacity: 0;
        margin-bottom: 50px;
        text-shadow: 3px 3px black;
    }

@media(max-width:768px) {
    .carousel-caption h5 {
        font-size: 18px;
    }

    .carousel-caption p {
        font-size: 15px;
    }
}

@media(min-width:768px) {
    .carousel-caption h5 {
        font-size: 36px;
    }

    .carousel-caption p {
        font-size: 30px;
    }
}



.carousel-caption a {
    background-color: black;
    padding: 15px;
    font-size: 18px;
    font-weight: 400;
    color: white;
    text-decoration: none;
    opacity: 0;
    animation: slideRightToLeft 1s ease-out forwards;
    animation-delay: 1.5s;
}

/* H5 için soldan sağa kayma animasyonu */
@keyframes slideLeftToRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* P için yukarıdan aşağıya kayma animasyonu */
@keyframes slideDown {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* A için sağdan sola kayma animasyonu */
@keyframes slideRightToLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Fade-in animasyonu */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}



.portfolio-content {
    /*    box-shadow: rgba(105, 105, 105,0.5) 0px 6px 12px -2px, rgba(105, 105, 105,0.5) 0px 3px 7px -3px;
*/
    box-shadow: rgba(255, 255, 255, 0.5) 0px 0px 0px 2px, rgba(255, 255, 255, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
    border: 1px solid dimgray;
}


/*@media (max-width: 576px) {
    .portfolio-item {
        width: 100% !important;
    }
}

@media (min-width: 576px) and (max-width: 992px) {
    .portfolio-item {
        width: 50% !important;
    }
}


@media (min-width: 992px) {
    .portfolio-item {
        width: 32% !important;
        padding: 15px;
        box-sizing: border-box;
    }
}
*/
/*@media(max-width:768px){
    .collll {
        width: 100% !important;
    }
}

@media(max-width:1200px) {
    .collll {
        width: 47% !important;
    }
}*/



.swiper-wrapper {
    height: 70vh !important;
}

.swiper-slide {
    height: 100%;
}

    .swiper-slide img {
        height: 100%;
        object-fit: cover;
    }



.Project_card_height {
    height: 300px;
    background-color: rgba(169, 169, 169, 0.5) !important;
    display: flex;
    align-items: center;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    transition: transform 0.3s ease;
}

.project-img {
    transition: opacity 0.3s ease;
}




.stats {
    background: url(../img/proje1.png) no-repeat;
    background-size: cover;
    position: relative;
    padding: 25px !important;
}

    .stats:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        background: #000;
        opacity: 0.8;
        z-index: 1;
    }

.z_index_2 {
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: white;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

    .stat-item i {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .stat-item h3 {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .stat-item p {
        font-size: 16px;
        font-weight: 400;
    }



.bg_black_rgba {
    width: 100%;
    background: #fff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

    .bg_black_rgba .form-group {
        padding-bottom: 20px;
    }

    .bg_black_rgba input {
        height: 44px;
    }

    .bg_black_rgba input, .bg_black_rgba textarea {
        border-radius: 0;
        box-shadow: none;
        font-size: 14px;
        color:white !important;
    }
    .bg_black_rgba button[type=submit] {
        background: #c7ac73;
        border: 0;
        padding: 10px 35px;
        color: #fff;
        transition: 0.4s;
        border-radius: 5px;
    }


.info-item i {
    font-size: 40px;
    margin-bottom: 15px;
}



.project_info_name{
    position:absolute;
    top:0;
}


    .project_info_name h4 {
        font-size: 14px;
        padding: 5px 10px;
        font-weight: 400;
        color: #fff;
        display: inline-block;
        background-color: #c7ac73;
    }