*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html::-webkit-scrollbar{
    width: 0px  
}

html{
    scroll-behavior: smooth;
}

body{
    width: 100%;
    height: auto;
    min-height: 100vh;
}
img, video{
    width: 100%;
    
}
html,body{
    overflow-x: hidden; 
}

a, a:active, a:link, a::before, a::after{
    text-decoration: none;
}
ul{
    list-style: none;
}
p{
    color: #091649;
}


.topbar {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 0 120px;  /* üst, sağ, alt, sol */
    background: linear-gradient(to right, #091649, #9694aa);
    font-family: 'Josefin Sans', sans-serif;
    color: white;
}

.topbar .left {
    display: flex;
    align-items: center;
    gap: 10px;           /* resim ve yazı arası boşluk */
}


.topbar .left img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.topbar .left h4 {
    font-size: 22px;
    font-weight: 900;
    /* font-style: italic; */
    margin: 0;                   /* margin sıfırla */
    padding: 0;
    line-height: 1;
}

.topbar .right{ 
    flex: 3; 
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}
.topbar a{
    color: white;
}

.topbar.right i{
    font-size: 1.3rem;
    color: white;
}

i:hover{
    opacity: 0.7;
}
.topbar .center{
    flex: 6;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px 0 120px;
    justify-content: space-evenly;

}
.topbar .center a {
    color: white; 
    text-decoration: none; 
}
.center a:hover{
    opacity: 0.7;
    
    }


 .hamburger {
    display: none;
    cursor: pointer;
    padding: 10px; 
    margin-left: auto; 
    margin-right: auto; 
}

.hamburger i {
    font-size: 1.5rem;
    display: flex;
    justify-content: center; 
    align-items: center; 
} 

/* Mobil menü stili */

.mobile-menu {
    display: none;
    flex-direction: column;
    background: linear-gradient(to right, #091649, #9694aa);
    position: absolute;
    top: 50px;
    width: 100%;
    left: 0;
    z-index: 1000;
    font-family: 'Josefin Sans', sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    
}

.mobile-menu a {
    color: white;
    padding: 10px;
    text-decoration: none;
}

.mobile-menu.show {
    display: flex;
}

/* Responsive  */
@media (max-width: 768px) {
    .topbar {
        height: 60px;
        padding: 0 20px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .topbar .left {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    .topbar .center,
    .topbar .right {
        display: none;
    }

    .hamburger {
        display: block;
        margin: 0;
        padding: 0;
    }
}


/*SCROLL */

.topbar{
    opacity: 0;
    transition: all 0.5s;
    transform: translateY(-10px);

}

.topbar.active{
    opacity: 1;
    transform: translateY(0px);
}

.topbar .left i{
    transition: all 0.3s;
    transform: translateX(-20px);
    opacity: 0;
}

.topbar.active.left i{
    transition: all 0.3s;
    transform: translateX(0px);
    opacity: 1;
}

.topbar.active.left i:nth-child(2){
    transition-duration: 0.5s;
}

.topbar.active.left i:nth-child(3){
    transition-duration: 0.8s;
}

.topbar.active.left i:nth-child(4){
    transition-duration: 1.2s;
}

.topbar.center, .topbar.right{
    transform: translateX(-10px) translateY(-10px);
    transition: all 0.5s;
    opacity: 0;
}

.topbar.active.center, .topbar.active.right{
    transform: translateX(0px) translateY(0px);
    opacity: 1;
}  


.header {
    margin-top: 70px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.header img{
    width: 100%;
    height: 450px;
    object-fit: cover;    

}

/* Responsive  */
@media (max-width: 768px) {
    .header{
        margin-top: 0px;
    }
}


.header h1, header h3{
    position: absolute;
}

.header h1{
    top: -30px;
    font-family: 'Pacifico', cursive;
    color: #091649;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5),0px 0px 5px rgba(0,0,0,0.4),0px 0px 10px rgba(0,0,0,0.6);
}
@media (max-width: 768px) {
    .header h1{
        top: 40px;
        font-size: 2.8rem;
    }
}


.header h3{
    top: 50px;
    font-family: 'Satisfy', cursive;
    font-size: 2.6rem;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.4), 0px 0px 6px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .header h3{
        top: 120px;
    }
}
/* scroll animasyon */
.header{
    transform: translateX(-30px);
    transition: all 0.5s;
    opacity: 0;
}
.header.active{
    transform: translateX(0px);
    opacity: 1;
}

.header h1, .header h3{
    position: absolute;
    transform: translateY(-20px);
    transition: all 0.8s;
    opacity: 0;
}


.header.active h1, .header.active h3{
    position: absolute;
    transform: translateY(0px);
    opacity: 1;
}

.header.active h3{
    transition-delay: 0.3s;
    position: absolute;
    transform: translateY(0px);
} 

/*  iletisim */
.iletisim{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding: 0px 10px;
 }
 .iletisim .wrapper{
    width: 100%;
    max-width: 1366px;
    display: flex;
    padding: 0 10px;
    flex-direction: column;
    align-items: center;
    
 }
 .iletisim h3{
    top: 50px;
    font-family: 'Satisfy', cursive;
    font-size: 2.6rem;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.4), 0px 0px 6px rgba(0,0,0,0.2);
    text-align: center;
    color: #091649;
}
.posts {
    flex: 9;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    

 }
 
 .posts .post {
    width: calc(50% - 20px);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
 }


  @media(max-width:1100px){
    .posts .post {
       width: 100%;
    }
    .posts .post:nth-child(2n) {
       transition: all 0.5s;
    }
 }

 
 .posts h1 {
    font-family: 'Pacifico', cursive;
 }
 
 .posts img {
    border-radius: 10px;
    margin-bottom: 5px;
    height: 700px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.5s;
 }

 .posts img:hover{
    transform: scale(1.1);
 }

 .picture{
    overflow: hidden;
 }

 .posts p {
    padding: 5px;
    font-family: 'Josefin Sans', sans-serif;  
    font-size: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
 }
 

 /* Scroll animasyon */

 .posts .post {
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.5s;
 }
 .posts .post:nth-child(2n) {
    transition: all 0.8s;
 }
 .posts .post.active {
    transform: translateX(0px);
    opacity: 1;
 }
 

 span{
    color:white;
 }

 .post {
    padding: 20px;
}

.post h1{
    text-align: center;
    margin-bottom: 15px;
}
.icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.icon-item  {
    flex: 1 1 calc(50% - 40px); 
    max-width: calc(50% - 40px);
    text-align: center;
}

.icon-item img {
    width: 100px; 
    height: 100px;
    margin-bottom: 10px;
}

.icon-item h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    color: #0c233a;
}



.soz{
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5),0px 0px 5px rgba(0,0,0,0.4),0px 0px 10px rgba(0,0,0,0.6);
    color: white;
  }
  
  
  .soz2{
    font-family: 'Pacifico', cursive;   
    font-size: 1.2rem;
    color: white;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5),0px 0px 5px rgba(0,0,0,0.4),0px 0px 10px rgba(0,0,0,0.6);
    text-decoration: underline;
    
  }
  
  /*Footer */
  .soz::before, .soz::after {
    content: '"';
    color: white;
  }
  
  .tema{
    background: linear-gradient(to right, #091649, #9694aa);
  }
  
  .footer h5{
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5),0px 0px 5px rgba(0,0,0,0.4),0px 0px 10px rgba(0,0,0,0.6);
    text-decoration: underline;
}

  /*scrol */ 
 
.footer{
    opacity: 0;
    transition: all 0.5s;
    transform: translateY(0px);
    font-family: 'Josefin Sans', sans-serif;

}

.footer.active{
    opacity: 1;
    transform: translateY(-10px);
}

@media (max-width: 768px) {
  .footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-left: 10px;
  }

  .footer .col {
    flex: 1 1 50%;
    max-width: 50%;
    box-sizing: border-box;
    text-align: left;
    padding-left: 10px;
  }

  .footer .col:first-child {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: left;
    margin-bottom: 20px;
  }

  .footer h5,
  .footer ul,
  .footer p {
    text-align: left !important;
  }
}
