/* Üstbilgi: Bu CSS dosyası sayfa stilini tanımlar */
/* Charset: UTF-8 */

header, nav { color: #fff; }

h3, header { position: relative; }

.slide a, header { text-align: center; }

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

nav {
    background: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

nav .logo { font-size: 1.5rem; font-weight: 700; }

nav .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

nav .hamburger .line {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    transition: .3s;
}

header {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    padding: 5rem 0;
    overflow: hidden;
}

.header-content h1 { font-size: 2.5rem; margin: 0; }

.header-content h2 { font-size: 1.5rem; margin: .5rem 0 0; }

main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .1);
}

section { margin-bottom: 2rem; }

section img.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 1rem;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

h3 {
    border-bottom: 3px solid #6e8efb;
    padding-bottom: .5rem;
    margin-bottom: 1rem;
}

h3::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 50px; height: 3px; background: #a777e3;
}

a {
    color: #fff;
    text-decoration: none;
    transition: color .3s;
}

a:hover {
    color: #a777e3;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .hamburger, .nav-links { display: flex; }
    .nav-links {
        position: absolute;
        right: 0;
        height: 100vh;
        top: 0;
        background: #333;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform .3s ease-in-out;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links li { margin: 2rem 0; }
    .hamburger.toggle .line:first-child { transform: rotate(-45deg) translate(-5px, 6px); }
    .hamburger.toggle .line:nth-child(2) { opacity: 0; }
    .hamburger.toggle .line:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.slide {
    flex: 0 0 auto;
    scroll-snap-align: start;
    margin-right: 20px;
}

.slide:last-child { margin-right: 0; }

.slide a { display: block; text-decoration: none; color: #333; }

.slide img { display: block; width: 100%; height: auto; margin-bottom: 10px; }
.slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .1);
}

.slide {
    display: flex;
    flex-shrink: 0;
    width: 100%;
    transition: transform 1s ease-in-out;
    animation: slideAnimation 9s infinite;
}

.slide img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

@keyframes slideAnimation {
    0%, 33% {
        transform: translateX(0);
    }
    34%, 66% {
        transform: translateX(-100%);
    }
    67%, 100% {
        transform: translateX(-200%);
    }
}
