@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap'); /*Yazı fontu*/


:root{
    --main-color: #ffbb00;
    --black-color: #0e0e0e;
    --white-color: #dbdbdb;
    --border: 0.1rem solid rgba(255,255,255,0.4);
}


*{
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    margin: 0; /*sayfadaki her şey için sağ sol ayarı */
    padding:0; 
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: 0.2s ease; /*animasyon*/
}

/*!base html codes*/
html{
    font-size: 62.5%; /*1rem = 16px normalde bu kodla beraber 1rem = 10px*/
    overflow-x:hidden; /*alt scroll barın gizlenmesi için*/
    scroll-padding-top: 9rem; /* sağ scroll barın üst kısımla arasındaki boşluğu ayarlar*/
    scroll-behavior: smooth; /*kaydırma işlemini yumuşah olarak değşiştirir anlık yapmaz*/
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden !important; /* Zorunlu kılmak için !important */
  width: 100%;
}

html::-webkit-scrollbar{
    width: 0.5rem;
    background-color: var(--black-color);
}

html::-webkit-scrollbar-thumb{ /*scrollbarın içindeki hareketli kısım*/
    border-radius: 3rem;
    background-color: var(--main-color);
    
}

body{
    background-color: var(--black-color); 
}

section{
    padding: 3.5rem 7%;
}

.btn {
    background-color: var(--main-color);
    color: var(--black-color);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5rem;
    text-decoration: none;
    font-size: 1.3rem;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.btn1{
    background-color: #ffffff; 
    color: #000000;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5rem;
    text-decoration: none;
    font-size: 1.3rem;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #dfa300; /* hover efekti */
    opacity: 0.8;
}

.vizyon {
    color: var(--main-color);
    unicode-bidi: isolate;
    font-size: 4rem;
    margin-bottom: 3rem;
    border-bottom: 0.2rem solid var(--main-color);
}
.vizyon .box-head h3{
    font-size: 10rem;
    color: #000000;
}
.vizyon .box-head p{
    font-size: 35rem;
    color: #000000;
}

/*!header start*/

.header .logo img{
    height: 10rem;
    
}

.header{
    background-color:#ffbb00;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    margin: 2rem 7%;
    border-radius: 30rem; /*kenar yuvarlaklığı*/
    box-shadow: 0px 0px 17px -2px rgba(0, 0, 0, 0.75);
    position: sticky;
    top: 0;
    z-index: 1000; /*önüne hiçbirşeyin geçmemesi için*/

}

.header .navbar a{
    margin:0 1rem;
    font-size: 1.6rem;
    color: var(--black-color);
    border-bottom: 0.1rem solid transparent;
}
.header .navbar .active,
.header .navbar a:hover{
    border-color : var(--black-color);
    padding-bottom: 0.5rem;
}
.header .buttons button {
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;
    background-color: transparent;
}
.header .buttons a{
    font-size: 2.5rem;
    margin-right: 2rem;
    background-color: transparent;
}

#menu-btn{
    display: none;
}
/* Giriş yap / Kayıt ol kutusu */
.header .cart-items-container {
  position: absolute;
  top: 95%;
  width: 30rem;
  right: 3rem;
  transform: translateX(150%);
  transition: transform 0.3s ease;
  z-index: 1000;
  background-color: #4d4d4d;
  padding: 1rem;
  border-radius: 5rem;
}

.header .cart-items-container.active {
  transform: translateX(0);
  right: 3rem;
}

/* Ortak input stilleri */
.input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #000000;
  color: #ffbb00;
  background-color: #000000;
  border-radius: 5rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
  font-size: 1.3rem;
}

input::placeholder {
  color: var(--white-color);
  opacity: 1;
}

/* Form kapları */
.giris-form, .kayit-form {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 2rem;
}

.giris-form h3, .giris-form p,
.kayit-form h3, .kayit-form p {
  font-size: 1.5rem;
  color: #ffbb00;
  text-align: center;
}

/* Cinsiyet alanı */
.cinsiyet-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cinsiyet-sec {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  gap: 0.5rem;
}

.cinsiyet-sec input[type="radio"] {
  accent-color: var(--main-color);
}

/* Butonlar */
.cart-items-container .btn {
  width: 100%;
  text-align: center;
  border-radius: unset;
}

#uyeol,#girisyap {
  border-radius: 2rem;
}

/* Form kutu stilleri */
.header .cart-items-container .cart-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
}

.cart-item h3,
.cart-item p {
  text-align: center;
  color: #ffbb00;
}

.cart-item a {
  color: #ffbb00;
  text-decoration: none;
}
/*Giris-kayıt end*/


/*!header end*/
/*? home start*/
.home {
    min-height: 100vh;
    background: url(../images/spor_salonu_cizim.png)no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: -14.5rem;
    display: flex;
    align-items: center;
    position: relative;
}
.home .content{
    max-width: 60rem;
}
.home .content h3{
    font-size: 6rem;
    color: var(--main-color);
    
}
.home .content p{
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.8;
    padding: 1rem 0; 
    color: var(--main-color);
    
}
/*? home end*/

/*! vizyon start*/
    .vizyon .box-container{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
        gap:1.5rem;

    }

        .vizyon .box-container .box{
            padding: 1rem;
            background-color:var(--white-color);
            border-radius: 3rem;
            min-height: 60rem;
            display: flex;
            flex-direction: column;
        }

    .vizyon .box-container .box img{
        width: 100%;
        object-fit: cover;
    }
    
    .vizyon .box-container .box h3{
        display: grid;
        grid-row: 1;
        font-size: 3rem;
        padding: 1rem 0;
        color: #000000;
    }
    .vizyon .box-container .box .vizyon-kategori{
        display: grid;
        grid-row: 2;
        font-size: 2rem;
        color: #000000;
    }

    
    .vizyon .box-head img {
        height: 27rem; 
        width: 100%;   
        object-fit: cover; 
        border-radius: 3rem; 
    }
    .vizyon .box-container .box:hover .image img{
        transform: scale(1.2);
    }
/*! vizyon end*/
/* hakkında start*/
.about .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about .row .image {
    flex: 1 1 45%;
}

.about .row .image img {
    width: 100%;
    height: auto;
    border-radius: 2rem;
}

.about .row .content {
    flex: 1 1 50%;
}

.about .row .content h3 {
    font-size: 3rem;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.about .row .content p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--main-color);
    margin-bottom: 1rem;
}

@media (max-width: 76.8rem) {
    .about .row {
        flex-direction: column;
    }
}

/* hakkında end*/
/*!Kullanıcı start*/
    .review .box-container{
        display:grid;
        grid-template-columns: repeat(auto-fit,minmax(29rem,1fr));
        gap:1.5rem;
    }
    .review .box-container .box{
        border: var(--border);
        text-align: center;
        padding: 3rem 2rem;
        background-color: #f0ecec;
        border-radius: 5rem;
    }

    .review .box-container .box p{
        font-size: 1.5rem;
        line-height: 1.8;
        padding: 2rem 0;
    }

    .review .box-container .box .user{
        height: 7rem;
        width: 7rem;
        border-radius: 50%;
        object-fit: cover;
    }

    .review .box-container .box h3{
        padding: 1rem 0;
        font-size: 2rem;
        color: var(--main-color);
}
        #yorum-formu {
            display: flex;
            flex-wrap: nowrap; /* Elemanların alta kaymasını önler */
            gap: 1rem;
            margin: 20px auto;
            padding: 20px;
            box-sizing: border-box;
        }

        .yorumInput {
            width: 83%;
            height: 10rem; 
            background-color: #ffffff;
            color: var(--black-color);
            border-radius: 5rem;
            font-size: 2rem;
            padding: 1rem 2rem;
            resize: none;
            border: 0.2rem solid var(--main-color);
            box-sizing: border-box;
        }

        .yorumCift {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            height: 10rem;
            box-sizing: border-box;
            width: 25%;
            
        }

        .yorumIsim {
            width: 100%;
            background-color: #ffffff;
            color: var(--black-color);
            border-radius: 5rem;
            font-size: 1.5rem;
            padding: 0.5rem 1rem;
            border: 0.2rem solid var(--main-color);
            box-sizing: border-box;
            height: 4.5rem;
			

        }

        .yorumYap {
            width: 100%;
            background-color: var(--main-color);
            color: var(--black-color);
            font-size: 1.6rem;
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 5rem;
            cursor: pointer;
            height: 4.5rem;
        }

        .yorumYap:hover {
            background-color: #ffdc7b;
        }

        /* Çakışmaları önlemek için daha spesifik seçiciler */
        #yorum-formu .yorumInput,
        #yorum-formu .yorumCift,
        #yorum-formu .yorumIsim,
        #yorum-formu .yorumYap {
            box-sizing: border-box;
        }

        /* Mobil uyumluluk */
        @media (max-width: 480px) {
            #yorum-formu {
                flex-direction: column;
            }

            .yorumInput, .yorumCift {
                width: 100%;
                max-height: none; /* Mobil için yükseklik kısıtlamasını kaldır */
            }

            .yorumIsim, .yorumYap {
                width: 100%;
                min-width: auto;
            }
        }
/*!Kullanıcı end*/
/*? blog start*/
.blog .box-container{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(29rem,1fr));
    gap:1.5rem;
}
.blog .box-container .box{
    border: var(--border);
    text-align: left;
    
    background-color: var(--white-color);
    border-radius: 5rem;
}
.blog .box-container .box p{
    font-size: 1.5rem;
    line-height: 1.8;
    padding: 2rem 0;
}

.blog .box-container .box .image{
    height: 27rem;
    overflow:hidden;
    width:100%;
    border-top-left-radius: 5rem;
    border-top-right-radius: 5rem;

}
.blog .box-container .box .image img{
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.blog .box-container .box:hover .image img{
    transform:scale(1.2)
}
.blog .box-container .box .content{
    padding: 2rem;
}
.blog .box-container .box .content .title{
    line-height: 1.5;
    font-size: 2.5rem;
    color: var(--main-color);
}
.blog .box-container .box .content span{
    display: block;
    padding-top: 1rem;
    font-size: 2rem;
}
/*Daha fazla start*/
.blog .dahafazla {
    position: relative;
    display: flex;
    columns: 4;
    margin: 2rem auto;
    width: 100%;
    max-width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5rem;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    padding: 2rem;

    /*display: none; /*daha fazla altındaki box*/
    /*transition: 0.2 ease;*/
}


.blog .btn{
    background-color: #000000;
    color: #ffffff;
    font-size: 1.6rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5rem;
    cursor: pointer;
    margin: 1rem;
}
.blog .btn:hover{
    background-color: #5e5e5e;
}
.blog .dahafazla .content{
    display:none;
}
.blog .dahafazla .content.active{
    display: block;
}
.blog .dahafazla.active{
    right: 0rem;
    padding-right: 5rem;
}

.blog .dahafazla .dahafazla-item{
    position: relative;
    display: flex;
    align-items: center;
    gap:1.5rem;
    padding: 1.5rem;
}
.blog.dahafazla-item.btn{
    width: 100%;
    text-align: center;
    border-radius: unset;
}
.blog .dahafazla .content h1{
    font-size: 3rem;
}

.blog .dahafazla .content p{
    font-size: 2.4rem;
}
/*Daha fazla end*/

/*? blog end*/
/*!Sayfa bilgileri start*/
    .footer{
        background-color: #525151;
        text-align: center;
    }

    .footer .search{
        display: flex;
        justify-content: center;
    }
    .footer .search .search-input{
        width: 30rem;
    }
    .footer .search .btn-primary{
        background-color: var(--main-color);
        padding: 1rem 2rem;
        margin-left: 1rem;
    }
        
    
    .footer .share{
        padding: 2rem 0;
    }
    
    .footer .share a{
        width: 5rem;
        height: 5rem;
        line-height: 5rem;
        color: var(--white-color);
        font-size: 2rem;
        border: var(--border);
        border-radius: 50%;
        margin: 0.2rem;
    }
        

    .footer .share a:hover{
        background-color: var(--main-color);
    }

    .footer .credit{
        font-size: 2rem;
        color: var(--white-color);
        font-weight: 300;
        padding-top: 1.5rem;
    }

    .footer .credit span{
        color: var(--main-color);
    }

    .footer .contact-info{
        padding-right: 2rem;
    }
    .footer .contact-info a{
        width: 4rem;
        height: 4rem;
        line-height: 4rem;
        color: var(--white-color);
        font-size: 2rem;
        border-radius: 100%;
        margin: 0.2rem;
    }

/*!Sayfa bilgileri end*/


/*?responsive start*/

    @media (max-width: 991px){
        html{
            font-size: 55%;
        }
        .header{
            padding:1.5rem 2rem;
        }

        .header .logo img{
            height: 7rem;
        }

        section{
            padding: 2rem;
        }    
    }

    @media (max-width: 768px){
        #menu-btn{
            display: inline-block;
        }

        .header .navbar{
            position: absolute;
            top: 95%;
            background-color: #4d4d4d;
            height: 100vh - 9rem;
            width: 30rem;
            box-shadow: 0px 20px 14px 0px rgba(0 0 0 / 75%);
            right: -100%;
            border-radius: 5rem;
            color: #dbdbdb;
        }

        .header .navbar.active{
            right: 3rem;
        }

        .header .navbar a{
            color: var(--main-color);
            display: block;
            margin: 1.5rem;
            padding: 0.5rem;
            font-size: 2rem;
        }
        .header .navbar a:hover{
            color: #dbdbdb;
        }

    }


/*?responsive end*/
