body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Kutuları sınır ve iç boşlukları da dahil ederek hesaplar */
}

/**********HEADER*********************************/
.popupVideo {
    position: absolute;
    width: 100%;
    height: auto;
    z-index: 99999999;
    display: flex;
}

.popupVideo video {
    width: 100%;
    height: auto;
    display: block;
}

.close-btn {
    position: absolute;
    display:flex;
    justify-content: center;
    align-items: center;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
}

@media screen and (max-width:4000px) and (min-width:800px){
    .popupVideo{
        display:none;
    }
}

.hero {
    position: relative;
    width: 100%;
    height: calc(100vh-80px); 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}


@media screen and (max-width:1200px) and (min-width:300px){
    .headerImageContainer{
        display:none;
    }
}


@media screen and (min-width:300px) and  (max-width:1550px){
    .hero {
     position: relative;
        width: 100%;
        height: 56vw;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
}

.videoContainer,.imgContainer
 {
    position: absolute;
    top: 0; /* Navbar yüksekliği */
    left: 0;
    width: 100%;
    height: 100%; /* Video veya görsel boyutunu ayarla */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video,
.image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Each slide should cover the entire viewport */
.slide {
   
    width: 100%;
    height: 100%;
    background-position: center;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
    z-index:0;
}

.slide.active {
    display: block; /* Sadece aktif slayt görünür */
    z-index:1;
    opacity:1;
   
}

}


@media screen and (min-width:1550px) and (max-width:3000px){
    
/**********HEADER*********************************/
.hero {
     position: relative;
        width: 100%;
        height: calc(100vh - 80px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
}


.slide {
   
    width: 100%;
    height: 100%;
    background-position: center;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
    z-index:0;
}

.slide.active {
    display: block; /* Sadece aktif slayt görünür */
    z-index:1;
    opacity:1;
   
}

.videoContainer,
.imgContainer {
    position: absolute;
    top: 0; /* Navbar yüksekliği */
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.video,
.image {
    object-fit: contain;
    width: 100%;
    height: auto;
}


}



#headerTitleOutContainer, .headerTitleOutContainer {
    display: flex;
    flex-direction: row;
    align-items: flex-start; 
    justify-content:flex-start; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; 
    margin: auto;
    
}



.headerTitleContainer {
    display: flex;
    flex-direction: column;
    width: 70%;
    height: 400px;
    text-align: left;
    justify-content: center;
    position:relative;
    z-index:1;
   
}


.headerTitle {
    font-size: 60px;
    color: white;
    font-weight: 200; 
    margin: 0; 
    line-height: 1.2;
    transition: margin-left 0.5s ease; /* Adjust the duration and easing as needed */
}

.headerTextContainer {
    display: flex;
    width: 80%;
    margin: auto;
    text-align: center;
    position: relative;
    justify-content: center;
    align-items: center; 
    height:100%;
}


.headerText {
    font-size: 35px;
    color: white;
    font-weight: 200;
    line-height: 50px;
    margin: auto;
    margin-top:-7%;
}


@media screen and (max-width:735px) and (min-width:300px){

.headerTextContainer{
    margin-top:-20%;
}

.headerText{
    font-size:20px;
}
    
}



.headerImageContainer{
    width: 30%;
}

.icons{
    width: 90%;
}


.sliderDots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index:1;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    border: 1px solid yellowgreen;
}

@media screen and (max-width:1350px) and (min-width:1000px){
    #headerTitleOutContainer {
    width: 90%; 
}

.headerTitle {
    font-size: 50px;
}


.headerText{
    font-size:35px;
    line-height:50px;
}


}

@media screen and (max-width:1000px) and (min-width:800px){
    #headerTitleOutContainer {
    width: 95%; 
}

.headerTitle {
    font-size: 40px;
}


.headerText{
    font-size:25px;
    line-height:40px;
}
}

@media screen and (max-width:800px) and (min-width:600px){
    #headerTitleOutContainer {
    width: 95%; 
}

.headerTitle {
    font-size: 35px;
}


.headerText{
    font-size:20px;
    line-height:28px;
}

.headerImageContainer{
    width: 20%;
}



}

@media screen and (max-width:600px) and (min-width:300px){
    #headerTitleOutContainer {
    width: 95%; 
}

.headerTitleContainer {
    width: 90%; 
}

.headerTitleContainer h1{
    font-size:20px; 
}

.headerTitle {
    font-size: 30px;
}


.headerText{
    font-size:17px;
    line-height:23px;
}

.headerImageContainer{
    width: 15%;
}

.sliderDots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index:1;
}

.dot {
    width: 7px;
    height: 7px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

}

