@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'High tower text';
}
:root{
    --bg-color : #080808;
    --second-bg-color: #131313;
    --text-color: #fff;
    --main-color: black;
}
html{
    font-size: 60%;
    overflow-x: hidden;
}
body{
    
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 1.6rem;
    overflow-x: hidden;
}

section{
    min-height: 100vh;
    padding: 10rem 12% 10rem;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 4rem 12% 4rem ;
    background-color:white;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;

}
.header h4{
    text-align: center;
    font-size: 2.2rem;
    color: #C00000;
    font-weight: 500;
}
.logo{
    font-size: 3rem;
    color: #C00000;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;

}
.logo:hover{
    transform: scale(1.1);
}

.logo.span{
    text-shadow: 0 0 25px #C00000;
    color: #C00000;
}

.navbar a{
    font-size: 1.8rem;
    color: #C00000;
    margin-left: 18rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom:3px solid transparent;
}

.navbar a:hover,
.navbar a.active{
    color: #C00000;
    border-bottom: 3px solid #C00000;
}


#menu-icon{
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}

.home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background-color: white;
    color: #C00000;
}

.home-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60vh; /* Yüksekliği sayfanın yarısı olacak şekilde ayarlar */
    overflow: hidden; /* Ekrandan taşmaları önler */
    position: relative;
}

.home-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fotoğrafların doğru şekilde yerleşmesini sağlar */
    opacity: 0;
    transform: translateX(100%); /* Başlangıçta fotoğraflar sağa kaydırılır */
    animation: slide 9s infinite;
}

.home-img img:nth-child(1) {
    animation-delay: 0s; /* İlk fotoğrafın hemen başlaması */
}

.home-img img:nth-child(2) {
    animation-delay: 3s; /* İkinci fotoğraf 3 saniye sonra başlar */
}

.home-img img:nth-child(3) {
    animation-delay: 6s; /* Üçüncü fotoğraf 6 saniye sonra başlar */
}

/* Fotoğrafların geçişini sağlayan animasyon */
@keyframes slide {
    0%, 100% {
        opacity: 0;
        transform: translateX(100%); /* Fotoğraf sağa kayar */
    }
    10%, 40% {
        opacity: 1;
        transform: translateX(0); /* Fotoğraf ortada görünür olur */
    }
    50%, 90% {
        opacity: 0;
        transform: translateX(-100%); /* Fotoğraf sola kayar */
    }
}


.home-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 5rem;
    
}
.home-content h1{
    text-align: center;
    font-size: 7rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 1.5rem;
}

.home-content p{
    font-size: 2rem;
    max-width: 1000px;
    line-height: 1.8;
    font-weight: 500;
    text-align: center;
    
}

.heading{
    text-align: center;
    font-size: 8rem;
    margin: 5rem 0;
    color: #C00000;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-thumb {
    background-color: #C00000;
    border-radius: 3rem;
}

::-webkit-scrollbar-track {
    background-color: var(--bg-color);
    width: 50px;
}


.services{
    background-size: cover; /* Resmin ekrana tam oturması için */
    background-position: center; /* Resmin merkezde görünmesi için */
    background-repeat: no-repeat; /* Tekrarlamasın */
    min-height: 100vh; /* Tam ekran yüksekliği */
    padding: 2rem; /* İçerikten biraz boşluk bırakmak için */
    background-color: white;
    color: #C00000;
}
.services h4{
    color: #C00000;
    margin-bottom: 5rem;
    text-align: center; /* Center the heading text */
}

.services-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.service-box{
    background-color: white;
    height: 300px;
    border-radius: 3rem;
    border: 5px solid transparent;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.service-box:hover{
    background-color: #fff;
    color: #C00000;
    border: 5px solid #C00000;
    transform: scale(1.1);
}

.service-box .service-info{
    padding: 5rem 5rem;
    display: flex;
    flex-direction: column;
    text-align: center; /* Center the text inside the container */
    justify-content: center; /* Align text vertically in the center */
    align-items: center; /* Align the content horizontally in the center */
    max-height: 200px;
}

.service-info h4{
    text-align: center; /* Center the heading text */
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 2;
}

.service-info p{
    font-size: 1.6rem;
    font-weight: 600;
    max-height: 100px;
    line-height: 1.8;
    text-align: center; /* Center the paragraph text */
    margin: 0; /* Adjust the margin for better centering */
}



.contact {
    display: flex;
    flex-direction: column; /* Elemanları dikey olarak sıralar */
    justify-content: flex-start; /* İçeriği yukarı hizalar */
    align-items: center; /* Yazıları yatayda ortala */
    height: 100vh; /* Sayfanın tamamını kapsar */
    background-color: #fff;
    padding-top: 3rem; /* Üstten boşluk ekleyerek başlık ile üst kenar arasında boşluk oluştur */
}

.contact h2 {
    margin-bottom: 2rem; /* Üst yazı ile alt yazılar arasında boşluk */
    text-align: center; /* Metni yatayda ortala */
    color: #C00000;
}

.contact-details {
    display: flex;
    flex-direction: column; /* Elemanları dikey olarak sıralar */
    align-items: center; /* Yazıları yatayda ortala */
}

.contact h4 {
    margin-bottom: 1.5rem; /* Her bir yazı arasında boşluk */
    color: #C00000;
}





.project{
    background-color: #fff;
    color: black;

}
.ortak-box{
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.ortak-box img{
    width: 15rem;
    border-radius: 50%;
    border: 3px solid #C00000;
    box-shadow: 0 0 25px #C00000;

}
.ortak-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: 0 0 25px #C00000;
}
.wrapper{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}
.ortak-item{
    min-height: 550px;
    max-width: 450px;
    background-color: white;
    border: 3px solid #C00000;
    border-radius: 2rem;
    margin: 0 2rem;
    padding: 30px 60px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 0.3s ease-in-out;
    color: #C00000;
    gap: 1.5rem; 
}
.ortak-item:hover{
    transform: scale(1.1);
    box-shadow: 0 0 25px #C00000;
}
.ortak-item h2{
    font-size: 2.8rem;

}
 
.ortak-item p{
    font-size: 1.3rem;
}
.footer{
    background-color: white;
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;

}



.footer ul{
    margin-top: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;

}
.footer ul li a{
    color: #C00000;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;

}
.footer ul li a:hover{
    color: #C00000;
    border-bottom: 3px solid #C00000;
}
.footer ul li{
    display: inline-block;
    margin: 0 15px;
}
.footer .copyright{
    margin-top: 50px;
    text-align: center;
    color: #C00000;
    font-size: 14px;
}

@media screen and (min-width:1025px) and (max-width:1500px){
    html{
        font-size: 55%;
    }
    .social-icons{
    
        margin-top: 2rem;
    }
    .services-container{
        padding-bottom: 7rem;
        grid-template-columns: repeat(2, 1fr);
        margin: 0 5rem;
    }
    .navbar{
        display: flex;
        justify-content: center;
    }
    .navbar a{
        margin-left: 20rem;
    }
    

}
@media (max-width: 991px){
    .social-icons{
    
        margin-top: 2rem;
    }
    header {
        padding: 2rem 3%;
    }
    section{
        padding: 10rem 3% 2rem;
    }

    .services{
        padding-bottom: 7rem;
    }

    .contact form{
        flex-direction: column;
    }
    .footer{
        padding: 2rem 3%;
    }
    .ortak-box .wrapper{
        grid-template-columns: repeat(1, 1fr);
    }

}

@media(max-width:895px){
    .social-icons{
    
        margin-top: 2rem;
    }
    #menu-icon{
        display: block;
        cursor: pointer;
    }

    .navbar {
        position: absolute;
        top: 100%;
        right: 0;

        width: 50%;
        padding: 1rem 3%;
        background-color: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(20px);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display: none;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: #fff;


    }
    .navbar.active{
        display: block;
    }
    .home{
        flex-direction: column-reverse;
        margin: 5rem 4rem;

    }
 
    .home-content h1{
        text-align: center;
        font-size: 8rem;
        margin-top: 3rem;

    }
    .home-content p {
        max-width: 600px;
    }
    .home-img img{
        width: 56vW;
    }
    .services h2{
        margin-bottom: 3rem;

    }
    .services-container{
        grid-template-columns: repeat(1, 1fr);
        
    }

}
@media (max-width:575px){
    .social-icons{
    
        margin-top: 2rem;
    }
    .header a{
        font-size: 2.2rem;
    }
    .home{
        gap: 5rem;
        width: 100%;
        margin: 0;
    }
    .home-content h1{
        text-align: center;
        font-size: 5rem;
        margin-bottom: 5rem;
    }
    .home-content h3{
        font-size: 3.5rem;
    }


    .home-content p{
        font-size: 2rem;
    }



    .project{
        width: 100%;
    }
    .project h2{
        font-size: 6rem;
    }
    h2.heading{
        font-size: 4.5rem !important;

    }
    .services-container{
        margin: 0;
    }
    .service-info{
        padding: 0rem 2rem;
    }
    .service-info h4{
        line-height: 1;
        margin-bottom:14px ;

    }
    .service-info p{
        line-height: 1;
        font-size: 1.7rem;
    }
    
    
}
@media screen and (min-width:769px) and (max-width:1024px) {
    .social-icons{
    
        margin-top: 2rem;
    }
    .navbar a{
        font-size: 1.5rem;
    }
    .home-content h1{
        text-align: center;
        font-size: 5rem;
    }
    .home-content p{
        font-size: 1.8rem;
        margin: 0;
    }
    
    .services-container{
        margin: 0;
    }
    .service-info{
        padding: 0rem 2rem;
    }
    .service-info h4{
        line-height: 1;
        margin-bottom:14px ;

    }
    .service-info p{
        line-height: 1;
        font-size: 1.8rem;
    }
    .navbar{
        display: flex;
        justify-content: center;
    }
    .navbar a{
        margin-left: 1rem;
    }
}


@media (max-width:325px){
    .social-icons{
    
        margin-top: 2rem;
    }
    .header a{
        font-size: 2.2rem;
    }
    .home{
        gap: 5rem;
        width: 100%;
        margin: 0;
    }
    .home-content h1{
        font-size: 5rem;
        margin-bottom: 5rem;
    }
    .home-content h3{
        font-size: 3.5rem;
    }


    .home-content p{
        font-size: 2rem;
    }

  
 
    .project{
        width: 100%;
    }
    .project h2{
        font-size: 6rem;
    }
    h2.heading{
        font-size: 4.5rem !important;

    }
    .services-container{
        margin: 0;
    }
    .service-info{
        padding: 0rem 2rem;
    }
    .service-info h4{
        line-height: 1;
        margin-bottom:14px ;

    }
    .service-info p{
        line-height: 1;
        font-size: 1.7rem;
    }
    

}    
