/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pridi', Arial, sans-serif;
}

body {
    background: linear-gradient(to bottom, #3a3535, #292323);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: auto;
}

main {
    flex: 1; /* Ana içeriği esnetmek için */
    overflow-y: auto; /* Dikey kaydırma özelliği ekleyin */
    padding: 20px; /* Ana içeriğe biraz iç boşluk ekleyin */
}
header {
    background-color: rgba(13, 12, 12, 0.874);
    background: linear-gradient(to bottom, rgba(13, 12, 12, 0.9), rgba(31, 27, 27, 0.9));
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Slight shadow for depth */
    transition: background-color 0.2s ease; /* Smooth transition */
    padding: 10px 0;
}

/* Footer Styling */
footer {
    background: linear-gradient(to bottom, rgba(13, 12, 12, 0.9), rgba(41, 35, 35, 0.9));
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Slight shadow for depth */
        transition: background-color 0.3s ease; /* Smooth transition */
        background-color:rgba(13, 12, 12, 0.874);
    padding: 15px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.footer-text {
    color: #fff;
    flex: 1;
    text-align: center;
}


.social-media {
    display: flex;
}

.social-media a {
    margin-left: 10px;
}

.social-media img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.kurdele {
    position: absolute;
    left: 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #dcdcdc;
}

.kurdele img,
.logo img {
    width: 50px;
}

.flex-container {

    display: flex;
    flex-direction: column; /* Dikey hizalama yapın */
    justify-content: center;
    align-items: center;
    height: calc(100vh - 160px); /* Üst başlık ve alt bilgi yüksekliğini çıkarın (örneğin 80px başlık + 80px alt bilgi) */
    margin-top: 20px; /* Üstten biraz boşluk bırakın */
    overflow: auto; /* Taşmaları gizle */
   
}
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
    filter: blur(8px);
    
}

h1 {
    font-family: 'Pridi', serif;
    font-weight: 800;
    font-size: 2vw; /* Genişlik birimine göre ayarlanabilir font boyutu */
    color: #000000;
    text-align: center;
    margin-top: 0; /* Negatif margin'leri kaldırın */
    margin-left: -45%; /* Merkezde kalmasını sağlamak için */
    width: 100%;
    height: auto; /* Yüksekliği otomatik ayarlayın */
    text-transform: uppercase;
    position: relative; /* Konumlandırmayı relative yapın */
}



.mySlides {
    position: absolute;
    top: 50%;
    left: 68%;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(100, 0, 0, 0.8)), url('img/eskitme-doku.png') no-repeat center center;
    background-size: cover;
    border: 8px solid rgb(168, 130, 72);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    overflow: hidden; /* Ensures that content does not overflow */
    
}

.mySlides img, .mySlides video {
    width: 100%;
    height: 100%; /* Keep the aspect ratio */
    object-fit: cover; /* Ensures the image covers the full area without distortion */
    z-index: 1; /* Ensure it's above other content */
}
/* Styling for image gallery */
.image-gallery {
    overflow: hidden; /* Taşmaları gizler */
    height: 100%; /* Yüksekliği yüzde yüz alır */
    display: flex;
    flex-direction: column; /* Dikey hizalama */
    animation: scroll 15s linear infinite; /* Kaydırma animasyonu */
}

.image-gallery img {
    width: 100%; /* Genişliği tam alır */
    height: auto; /* Yükseklik otomatik ayarlanır */
}

/* Scroll Animation */
@keyframes scroll {
    0% {
        transform: translateY(0); /* Başlangıç pozisyonu */
    }
    100% {
        transform: translateY(-100%); /* Son pozisyon */
    }
}


/* Music control button */
#music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    z-index: 1000;
    transition: background-color 0.3s;
}

#music-control:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* Responsive Design */
@media (max-width: 1024px) {
  

    .mySlides {
        width: 95%;
        max-width: 600px;
        top: 85%;
        left: 50%;
        transform: translateX(-50%); /* Ortalanması için */    
    }
    h1 {
        font-size: 1em; /* Daha küçük başlık boyutu */
        margin-left: 2%;
        margin-top: -120px;
    }
    
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        padding: 10px 0;
    }
}
@media (max-width: 768px) {
    .mySlides {
        width: 95%;
        max-width: 600px;
        left: 50%;
        transform: translateX(-50%); /* Ortalanması için */
    }
    h1 {
        font-size: 1em; /* Daha küçük başlık boyutu */
        margin-left: 2%;
        margin-top: -120px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .mySlides {
        width: 100%;
        max-width: 400px;
        padding: 15px;
    }

    h1 {
        font-size: 1em; /* Daha küçük başlık boyutu */
        margin-left: 2%;
        margin-top: -120px;
    }

    nav ul li a {
        font-size: 12px; /* Daha küçük menü boyutu */
    }
}

a {
    color: white;
    text-decoration: none;
}

a:visited, a:active, a:hover {
    color: white;
    text-decoration: none;
}
.biz {
    margin-top: -25px;
    display: flex; /* İçindeki bağlantıları yan yana yerleştirir */
    gap: 15px; /* Bağlantılar arasında boşluk */
    margin-right: 200px;
}
.footer a {
    margin-left: 100px;
    font-size: 0.8em;
}