* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    font-size: 7px;
}

body {
    font-family: "Open Sans", sans-serif;
    font-size: 1.6rem;
    /* üstteki ile çarpılmış hali olur oranlarla büyütmke sada pratik */
    line-height: 1.5;
    text-align: center;
    background-color: #333;
    color: #fff;
}

a {
    text-decoration: none;
}

p {
    padding: 1.6rem 0;
}
img{
    width: 100%;
    height: auto;
    
   
} 
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

header {
    height: 46rem;
}

header .bg-image {
    position: absolute;
    background-image: url(images/header.jpg);
    background-size: cover;
    /*kapsaması*/
    background-position: center;
    /*merkezden konumlanması*/
    height: 46rem;
    width: 100%;
    opacity: 0.5;
    /* imagenin solgunluğu*/
    z-index: -1;
    /*image ı arka plana almak için*/

}



header h1 {
    padding: 12rem;
    padding-bottom: 0;
}

.btn {
    display: inline-block;
    background: #333;
    color: #fff;
    border: 1px solid #666;
    padding: 1.6rem 3.2rem;
    margin: .5rem 0;
    transition: all 0.6s;
    /* üstüne gelince oluşacak değişimin hızı*/
}

.btn:hover {
    background-color: #fff;
    color: #333;

}

#section-a {
    background-color: #eaeaea;
    color: #333;
    padding: 3.2rem 0;
}

#section-b{
    padding: 2rem;
    max-width: 1400px;
    margin: auto;
     
}

#section-b ul{
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: stretch;

    margin: 0;
    padding: 0;
}
#section-b li {
    background: #fff;
    color: #333;
    flex: 1;
    margin-bottom: 1.5rem;
    display: flex;

 
}


    .col img{
        width: 100%;
        height: auto;
    
        display: block;
    }

.col{
    display: flex;
    flex-direction: column;
}

.col-content{
    padding: 1.5rem;
    flex: 1;
}



#section-h{
    padding: 2rem;
    overflow: hidden;
}

#section-h ul{
    list-style: none;

    display: flex;
    gap: 20px;

    margin: 0;
    padding: 0;

    width: max-content;

    animation: slide 20s linear infinite;

    cursor: pointer;
}
#section-h ul:hover{
    animation-play-state: paused;
}

#section-h li{
    width: 350px;

    flex-shrink: 0;

    background: #fff;
    color: #333;

    overflow: hidden;

    transition: transform 0.3s ease;
}

#section-h li:hover{
    transform: scale(1.05);
    z-index: 10;
}



.col-content{
    padding: 1.5rem;
    background: #fff;
}

.col-title{
    margin-bottom: 1rem;
}

@keyframes slide{

    0%{
        transform: translateX(0);
    }

    100%{
        transform: translateX(-50%);
    }
}




#section-t{
    padding: 2rem;
    max-width: 1400px;
    margin: auto;
     
}

#section-t ul{
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: stretch;

    margin: 0;
    padding: 0;
}
#section-t li {
    background: #fff;
    color: #333;
    flex: 1;
    margin-bottom: 1.5rem;
    display: flex;
}


.col{
    display: flex;
    flex-direction: column;
}

.col-content{
    padding: 1.5rem;
    flex: 1;
}



#section-c {
    background-color: #eaeaea;
    color: #333;
    padding: 5rem;
}

#section-d .box {
    padding: 5rem;

}

#section-d .box:first-child {
    background-color: darkslategray;
}

footer {
    padding: 4rem;
    background-color: black;
}

footer a {
    color: yellowgreen;
}

@media screen and (min-width:800px) {
    html {
        font-size: 9px ;
    }
}

@media screen and (min-width:1200px) {
    html {
        font-size: 11px ;
    }
    

    #section-b li {
        width: 28%;
        margin: 1%;
        display: inline-block;
    }

    #section-h li{
        width: 350px;
        flex-shrink: 0;
    }

    #section-t li {
        width: 28%;
        margin: 1%;
        display: inline-block;
    }

    .box{
        width: 50%;
        float: left;
    }
}




#stats{
    display: flex;
    justify-content: center;
    gap: 20px;

    padding: 4rem 2rem;

    background: #222;

    flex-wrap: wrap;
}

.stat-box{
    background: #333;

    padding: 2rem;

    width: 220px;

    text-align: center;

    transition: 0.3s;
}

.stat-box:hover{
    transform: translateY(-10px);
}

.stat-box h2{
    font-size: 2rem;
    color: #fff;

    margin-bottom: 1rem;
}

.stat-box p{
    color: #bbb;
}


#equipment{
    padding: 4rem 2rem;
    background: #111;
    text-align: center;
}

.section-title{
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.equipment-container{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.equipment-box{
    padding: 1rem 2rem;

    border: 1px solid #444;

    color: #fff;

    background: #222;

    transition: 0.3s;

    cursor: pointer;
}

.equipment-box:hover{
    background: #fff;
    color: #111;

    transform: translateY(-5px);
}

#about-me{
    padding: 5rem 2rem;
    background: #111;
}

.about-container{
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    gap: 50px;

    flex-wrap: wrap;
}

.about-image{
    flex: 1;
    min-width: 300px;
}

.about-image img{
    width: 100%;
    display: block;

    object-fit: cover;
}

.about-text{
    flex: 1;
    min-width: 300px;

    color: #fff;
}

.about-text h2{
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-text p{
    color: #bbb;

    line-height: 1.8;

    margin-bottom: 1.5rem;

    font-size: 1.5rem;
}

#contact{
    padding: 5rem 2rem;

    background: #111;

    text-align: center;
}

#contact h2{
    color: #fff;

    font-size: 3rem;

    margin-bottom: 1rem;
}

#contact p{
    color: #bbb;

    margin-bottom: 3rem;
}

.contact-buttons{
    display: flex;

    justify-content: center;
    gap: 20px;

    flex-wrap: wrap;
}

.social-btn{
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 1rem 2rem;

    background: #222;

    border: 1px solid #444;

    color: #fff;

    text-decoration: none;

    transition: 0.3s;
}

.social-btn:hover{
    background: #fff;
    color: #111;

    transform: translateY(-5px);
}