* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

nav .logo a {
    color: #fff;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

nav ul li a.active {
    color: #f9a826;
    font-weight: bold;
}

.hero {
    position: relative;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
    z-index: 0;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem 3rem;
    border-radius: 10px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 10px 20px;
    background: #f9a826;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.content-section {
    padding: 4rem 0;
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.projeler-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.proje-karti {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 320px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proje-karti:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.proje-karti img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.proje-karti h3 {
    font-size: 1.25rem;
    padding: 1rem 1rem 0.5rem 1rem;
}

.proje-karti p {
    font-size: 0.9rem;
    padding: 0 1rem 1rem 1rem;
    color: #666;
}

.proje-linkleri {
    padding: 0 1rem 1rem 1rem;
    display: flex;
    gap: 1rem;
}

.proje-linkleri a {
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.proje-linkleri a:hover {
    background-color: #555;
}

.iletisim-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.iletisim-link {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.iletisim-link:hover {
    color: #f9a826;
}

.iletisim-link i {
    margin-right: 10px;
    font-size: 1.5rem;
    width: 25px;
}

.hakkimda-container {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    text-align: left;
    margin-top: 2rem;
}

.hakkimda-sol {
    flex-basis: 30%;
    min-width: 200px;
}

.profil-fotografi {
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.hakkimda-sag {
    flex-basis: 70%;
}

.hakkimda-sag h3 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 1rem;
}

.hakkimda-sag p {
    margin-bottom: 2rem;
}

.yetenekler-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.yetenek-etiketi {
    background-color: #e0e0e0;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.alternate-bg {
    background-color: #ffffff;
}

.sosyal-ikon-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.sosyal-ikon-link {
    color: #333;
    font-size: 3rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.sosyal-ikon-link:hover {
    transform: scale(1.2);
    color: #5c677d;
}

.sosyal-ikon-link[title="LinkedIn"]:hover {
    color: #0A66C2;
}
.sosyal-ikon-link[title="GitHub"]:hover {
    color: #181717;
}
.sosyal-ikon-link[title="Kaggle"]:hover {
    color: #20BEFF;
}
.sosyal-ikon-link[title="Medium"]:hover {
    color: #000000;
}

.galeri-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
    grid-auto-rows: 10px;
}

.galeri-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.galeri-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.4s ease;
}

.galeri-item:hover img {
    opacity: 0.85;
}

.guzel-soz {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    font-style: italic;
    color: #555;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.guzel-soz p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.guzel-soz span {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: bold;
    color: #333;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        padding-top: 1rem;
        border-top: 1px solid #444;
        width: 100%;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hakkimda-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hakkimda-sol {
        margin-bottom: 2rem;
        max-width: 250px;
    }

    .hakkimda-sag {
        text-align: center;
    }
    
    .yetenekler-container {
        justify-content: center;
    }
  
    .projeler-container {
        flex-direction: column;
        align-items: center;
    }

    .proje-karti {
        width: 90%;
        max-width: 350px;
    }
  
    .sosyal-ikon-container {
        gap: 2rem;
    }

    .sosyal-ikon-link {
        font-size: 2.5rem;
    }
    
    .galeri-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
footer {
    background-color: #333; 
    color: #ccc; 
    text-align: center;
    padding: 1.5rem 0; 
    margin-top: auto; 
    font-size: 0.9rem;
    font-weight: 500; 
}
