html {
    scroll-behavior: smooth;
}


body{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif; 
}

::-webkit-scrollbar {
    width: 5px;
  }
  
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
  }
   
  ::-webkit-scrollbar-thumb {
    background:#4d0303; 
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: red; 
  }

#services, #whyUs {
    padding-top: 50px;
    padding-bottom: 50px;
}

.navbar {
    background-color: #fff !important;
    opacity: 1 !important;
}

.myNav .nav-link
{
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
}

.myNav .nav-link:hover
{
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    border-bottom: 2px solid rgb(0, 0, 0) ;
    
}

.myNav{
    padding: 10px !important;
    box-shadow: 1px 1px 30px 1px rgb(160, 158, 158);
    background-color: #ffff !important;
}

.header-content{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 490px;
}

.pageTitle{
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color:#4d0303;
    text-align: center;
}

.subtitle{
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    color:#4d0303;
    text-align: center;
}

.text{
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color:#4d0303 !important;
    text-align: center;
}

.title{
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    color:white;
    text-align: center;
}

.heading{
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
    color:white;
    text-align: center;
}

.card{
    min-height: 250px !important;
}

.card-body {
    align-items: center;
    display: flex;
    flex-direction: column ;
    justify-content: center;
}

#contactUs{
    background-color:#4d0303;
    padding-top: 50px;
    padding-bottom: 50px;
}

.form-heading{
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color:white;
    text-align: center;
}

.messageBox{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 12px;
    box-shadow: 2px 2px 20px 2px #854f4f;
    padding: 15px;
}

.messageBox input{
    height: 55px;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.messageBox textarea{
    height: 155px;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.messageBox input::placeholder, textarea::placeholder{
    height: 55px;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color:#000000;
}

.messageBox textarea::placeholder{
    height: 55px;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color:#000000;
}

.messageBox .form-control:focus{
    box-shadow: none;
    border:unset;
    background-color:#bd5454fd;
    color:white !important;
    font-weight: bold;
}


.btnGonder{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
    border-radius: 12px;
    box-shadow: 2px 2px 20px 2px #854f4f;
    padding: 15px;
    border: none;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 0.9rem;

}

.btnGonder:hover{
    color:white;
    background-color: #4d0303;
    transition-delay: 0.12s;
}

footer ol li, p{
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 14px;
}

footer ol i{
    width: 10px;
    height: 10px;
}

footer a{
    text-decoration: none;
    color:#000000;
}


/* .go-top {
    z-index: 2;
    transform: translate(0, 100%);
    transition: all 0.6s cubic-bezier(0.28, 0.12, 0.22, 1);
    position: fixed;
    bottom: 2.5rem;
    right: 0.2rem;
    display: none;
} */

.go-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.go-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0 none;
    height: 40px;
    width: 40px;
    border-radius: 12px;
    transition: all .3s;
    position: relative;
    background:#4d0303;
    box-shadow: 0px 4px 30px rgb(0 0 0 / 41%);
}


.go-top svg {
    height: 1.8rem;
    width: 1.8rem;
}

.go-top svg path {
    fill: white;
    transition: all .3s ease-in-out;
}


@media screen and (max-width: 1000px){
.go-top a span {
    display: none;
}
}


#aboutUs {
    padding-top: 50px;
    padding-bottom: 50px;

}


/* Tüm ekranı kaplayan carousel */

#carouselExampleCaptions,
#carouselExampleCaptions .carousel-inner,
#carouselExampleCaptions .carousel-item {
    height: 100vh;
    height: 100dvh;
}

/* Resmi kapsayıcıya göre ayarla */
#carouselExampleCaptions .carousel-item img {
    object-fit: cover; /* resmi kırpmadan tüm alanı doldur */
    width: 100%;
    height: 100%;
}


.carousel-caption {
    top: 50%;
    left: 50% !important;
    transform: translate(-50%, -50%);
    bottom: auto !important; /* Bootstrap'ın default bottom değerini iptal eder */
    text-align: center !important;
}

.carousel-caption h5,
.carousel-caption p {
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.carousel-caption h5 {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #ffffff;
    text-align: center;
}

.carousel-caption p {
    font-size: 1.1rem;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

section {
    scroll-margin-top: 100px; /* navbar yüksekliğine göre ayarla */
}

@media (max-width: 768px) {
    #carouselExampleCaptions,
    #carouselExampleCaptions .carousel-item {
        height: 90vh !important;
    }
}
