/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    padding-bottom: 0;
}

/* Navbar Stilleri */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

/* Ana Kart Stilleri */
.card-container {
    display: flex;
    max-width: 1200px;
    margin: 100px auto 50px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    min-height: 600px;
}

.profile-info {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f8f9fa;
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
    border: 5px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-name {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.blue-line {
    width: 50px;
    height: 3px;
    background-color: #007bff;
    margin: 10px 0;
}

.profile-title {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #007bff;
}

.about-info {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-info h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
}

.sub-title {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.description {
    line-height: 1.6;
    color: #555;
    text-align: justify;
    text-justify: inter-word;
}

/* Projeler Bölümü */
.projects-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.projects-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-size: 2.5rem;
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.project-card {
    display: flex;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.project-slider {
    flex: 1;
    position: relative;
    min-height: 400px;
    background: #f8f9fa;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slider-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-image.active {
    opacity: 1;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
    z-index: 10;
}

.slider-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-button.prev {
    left: 10px;
}

.slider-button.next {
    right: 10px;
}

.project-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
}

.project-description {
    line-height: 1.6;
    color: #555;
    text-align: justify;
    text-justify: inter-word;
}

/* İletişim Bölümü */
.contact-section {
    background-color: #fff;
    padding: 50px 0;
    margin-top: 50px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #007bff;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        margin-top: 80px;
    }

    .nav-links {
        display: none;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .project-card {
        flex-direction: column;
    }

    .project-slider {
        min-height: 300px;
    }

    .slider-image {
        height: 300px;
    }

    .project-info {
        padding: 20px;
    }
}

/* Desktop için body padding'i kaldır */
body {
    padding-bottom: 0;
}

/* Başa Dön Butonu */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* WhatsApp Baloncuğu */
.whatsapp-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-bubble:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 0.9rem;
    color: #333;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

/* Responsive Tasarım için WhatsApp */
@media (max-width: 768px) {
    .whatsapp-bubble {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 80px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .whatsapp-tooltip {
        display: none;
    }
} 