@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap);

:root{
    --main-color:#B00404;
    --black:#373941;
    --bg:#f9f9f6;
    --border:.1rem solid rgba(0, 0, 0, 0.3);
}




*{
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: none;
    transition:  .2s linear;

}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;

}

html::-webkit-scrollbar {
    width: .8rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 5rem;
}


body{
    background: var(--bg);

}

section{
    padding: 2rem 7%;
}

.heading{
    text-align: center;
    color: #000000;
    text-transform:uppercase;
    padding-bottom: 3.5rem;
    font-size: 4rem;
}

.heading span{
    color:var(--main-color);
    text-transform: uppercase;

}


.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 2rem;  /*btn uzunluk*/
    font-size: 1.7rem;
    color: #000000;
    background:var(--main-color);
    cursor: pointer;
    


}

.btn:hover{
    letter-spacing: .2rem;

}

.header{
    background:var(--bg);
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 7%;
    border-bottom:var(--border);
    position: fixed;
    top: 0;
    left: 0;    
    right: 0;
    z-index: 1000;
}

.header .logo img{
    height:6rem ;  /*logonun boyutu*/
    
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header .logo-text {
    font-size: 2.4rem;
    font-weight: 1000;
    color: var(--main-color); /* Kırmızı renk */
    letter-spacing: 0.1rem;
    white-space: nowrap;
    opacity: 0;
    animation: fadeInText 1s ease-out forwards;
    transition: all 0.3s ease;
    position: relative;
}


/* Hover efekti: yazıya alt çizgi + renk değişimi */
.header .logo-text::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--main-color);
    transition: width 0.3s ease;
}

.header .logo-text:hover {
    color: #000; /* Hover olunca siyah yap */
    letter-spacing: 0.15rem;
}

.header .logo-text:hover::after {
    width: 100%;
}

/* Fade-in animasyonu */
@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}






.header .navbar a{
    margin: 0 1rem;
    font-size: 1.6rem;
    color: #000000;

    
}

.header .navbar a:hover{
    color: var(--main-color);
    border-bottom: .1rem solid var(--main-color);
    padding-bottom: .5rem;

}

.header .icons div{
    color: #000000;
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;

}

.header .icons div:hover{
    color: var(--main-color);
}



.custom-btn {
    background-color: transparent;
    border: 2px solid #000000;
    color: #000000;
    font-size: 1.8rem;
    padding: 0.4rem 1rem;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 2rem;
    transition: 0.3s;
    text-decoration: none; /* Link altı çizgiyi kaldırır */
    display: inline-block; /* Buton gibi görünmesini sağlar */
}

.custom-btn:hover {
    background-color: var(--main-color);
    color: #ffffff;
    border-color: var(--main-color);
}










#menu-btn{
    display: none;
}



.home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(../images/back2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.home::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* 0.5 = %50 gölge */
    z-index: -1; /* Arkada kalması için */
}


.home .content{
    max-width: 60rem;
}

.home .content h3{
    font-size: 6rem;
    text-transform: uppercase;
    color: #ffffff;

}

.home .content p{
    font-size: 2rem;
    font-weight: lighter;
    line-height: 1.8;
    padding: 1rem 0;
    color: #ffffff;
}


.about .row{
    display: flex;
    align-items: center;
    background: var(--black);
    flex-wrap: wrap;

    

}

.about .row .image{
    flex: 1 1 45rem;
}

.about .row .image img{
    width: 100%;
    
    
}

.about .row .content{
    flex: 1 1 45rem;
    padding:2rem ;
    
}

.about .row .content h3{
    font-size: 3rem;
    color: #ffffff;
}


.about .row .content p{
    font-size: 1.6rem;
    color: #cccccc;
    padding:1rem 0;
    line-height: 1.8;

}


.services .box-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);   /*grid-template-columns: repeat(auto-fit,minmax(30rem,1fr));*/
    gap:1.5rem;

}

.services .box-container .box{
    border:var(--border);

}



.services .box-container .box .image{
    height: 50rem;
    overflow:hidden;
    width: 100%;
}


.services .box-container .box .image img{
    height: 50rem;
    object-fit: cover;
    width:100%;
}


.services .box-container .box:hover .image img{
    transform: scale(1.2);
}

.services .box-container .box .content{
    padding: 2rem;
}

.services .box-container .box .content .title{
    font-size: 2.5rem;
    line-height: 1.5;
    color:#000000;  
}

.services .box-container .box .content .title:hover{
    color:var(--main-color);
}

.sevices .box-container .box .content span{
    color:var(--main-color);
    display:block;
    padding-top: 1rem;
    font-size: 2rem;

}

.services .box-container .box .content p{
    font-size: 1.6rem;
    line-height: 1.8;
    color:#000000;
    padding: 1rem 0;
}






.contact .row{
    display: flex;
    background: var(--black);
    flex-wrap:wrap;
    gap:1rem;
}


.contact .row .map{
    flex:1 1 45rem;
    width: 100%;
    object-fit: cover;
}

.contact .row form{
    flex:1 1 45rem;
    padding: 5rem 2rem;
    text-align: center;


    
}

.contact .row form h3{
    text-transform: uppercase;
    font-size: 3.5rem;
    color:#ffffff;
}

.contact .row form .inputBox{
    display:flex;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background: var(--bg);
    border:var(--border);

}

.contact .row form .inputBox span{
    color:#000000;
    font-size: 2rem;
    padding-left: 2rem;

}

.contact .row form .inputBox input{
    width: 100%;
    padding: 2rem;
    font-size: 1.7rem;
    color:#000000;
    text-transform: none;
    background: none;


}

.contact .row form .inputBox textarea{
    width: 100%;
    padding: 2rem;
    font-size: 1.7rem;
    color:#000000;
    text-transform: none;
    background: none;


}






.footer{
    background: var(--black);
    text-align: center;
}

.footer .share{
    padding: 1rem 0;

}

.footer .share a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    color: #fff;
    border: var(--border);
    margin: .3rem;
    border-radius: 50%;
}

.footer .share a:hover{
    background-color:var(--main-color);
}

.footer .links{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
    gap:1rem;
}

.footer .links a{
    padding: .7rem 2rem;
    color:#fff;
    border:var(--border);
    font-size: 2rem;
    
}

.footer .links a:hover{
    color:var(--main-color);
}

.footer .credit{
    font-size: 2rem;
    color:#fff;
    font-weight: lighter;
    padding: 1.5rem;
}

.footer .credit span{
    color:var(--main-color);
}


.footer-title {
    font-size: 2.5rem;
    color: var(--main-color);
    margin-top: 2rem;
    font-weight: bold;
}

.footer-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 2rem;
    padding: 0 2rem;
    text-align: left;
}

.footer-info h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-info p {
    font-size: 1.6rem;
    color: #fff;
    margin: 0.5rem 0;
}

.footer-info a {
    color: var(--main-color);
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-info a {
    text-transform: none !important;
}




/* Randevu Sorgula sayfası özel */

.randevu-sorgula {
    max-width: 600px;
    margin: 10rem auto 5rem auto; /* header fixed olduğu için üstten boşluk önemli */
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    text-align: center;
}

.randevu-sorgula .heading {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    color: #000000;
    font-weight: 700;
}

.tarih-secici {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--black);
}

.tarih-secici label {
    margin-right: 1rem;
    font-weight: 600;
}

.tarih-secici input[type="date"] {
    padding: 0.6rem 1rem;
    font-size: 1.6rem;
    border: var(--border);
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.tarih-secici input[type="date"]:focus {
    border-color: var(--main-color);
    outline: none;
}

.saat-listesi {
    font-size: 1.8rem;
    color: var(--black);
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: var(--border);
    min-height: 120px;
    user-select: none;
}

.saat-listesi ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.saat-listesi li {
    background: var(--main-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.saat-listesi li:hover {
    background: #800000; /* Daha koyu kırmızı */
}

/* Header logosunun altındaki boşluğu düzelt */
.logo img {
    vertical-align: middle;
}



.giris-uyarisi {
    margin-top: 2rem;
    font-size: 1.6rem;
    color: #333;
}

.giris-uyarisi a {
    color: var(--main-color);
    font-weight: 600;
    text-decoration: none;
}

.giris-uyarisi a:hover {
    text-decoration: underline;
}


/* Responsive için tarih seçici küçülmesi */
@media (max-width: 480px) {
    .randevu-sorgula {
        margin: 8rem 1rem 3rem 1rem;
        padding: 1.5rem;
    }
    .randevu-sorgula .heading {
        font-size: 2.4rem;
    }
    .tarih-secici {
        font-size: 1.4rem;
    }
    .saat-listesi {
        font-size: 1.4rem;
    }
    .saat-listesi li {
        padding: 0.6rem 1rem;
        font-size: 1.4rem;
    }
}
























@media (max-width: 991px){
    html{
    font-size: 55%;

    }

    .header{
        padding: 1.5rem 2rem;
    }

    section{
    padding:2rem;
    }
}



@media (max-width: 768px){

    #menu-btn{
    display: inline-block;
    }

    .header .navbar{
        position: absolute;
        top: 100%;
        right: -100%;
        background: #fff;
        width: 30rem;
        height: calc(100vh - 9.5rem);
    }


    .header .navbar.active{
        right: 0;
    }


    .header .navbar a{
        color: var(--black);
        display: block;
        margin: 1.5rem;
        padding: .5rem;
        font-size: 2rem;
    }

    .header .logo-text {
        font-size: 1.8rem;
    }


    .home{
        background-position: left;
        justify-content: center;
        text-align: center;
    }

    .home .content h3{
        font-size: 4.5rem;
    }


    .home .content p{
        font-size: 1.5rem;
    }

    .services .box-container {
    grid-template-columns: 1fr; /* Mobilde tek kolon */
    }
    
    .services .box-container .box .image {
        height: auto;
    }
    .services .box-container .box .image img {
        height: auto;
    }

}


@media (max-width: 450px){
    html{
    font-size: 50%;


    }

}







