/* Google Fonts (Poppins) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* --------------------------------------------- */
/* GENEL SIFIRLAMA VE DEĞİŞKENLER */
/* --------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a6cf7; /* Ana renk (mavi ton) */
    --secondary-color: #6c63ff; /* İkincil renk (mor ton) */
    --dark-color: #1e1e2f;
    --light-color: #f9f9ff;
    --gray-color: #6c757d;
    --white-color: #ffffff;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* --------------------------------------------- */
/* TİPOGRAFİ */
/* --------------------------------------------- */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* --------------------------------------------- */
/* MENÜ (NAVBAR) */
/* --------------------------------------------- */
.navbar {
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* --------------------------------------------- */
/* GİRİŞ BÖLÜMÜ (HERO) */
/* --------------------------------------------- */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white-color);
    text-align: center;
    padding: 120px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 25px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeIn 1s ease 0.4s both;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.2);
    color: var(--white-color);
    border-radius: 50%;
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* --------------------------------------------- */
/* HAKKIMDA BÖLÜMÜ */
/* --------------------------------------------- */
.about {
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--gray-color);
}

.about-text p strong {
    color: var(--primary-color);
}

.about-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
}

.btn-primary:hover {
    box-shadow: 0 7px 15px rgba(74, 108, 247, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Yetenek Çubukları */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.skill-category h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
    font-size: 1.3rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.skill-item {
    margin-bottom: 18px;
}

.skill-item span {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--dark-color);
}

.skill-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* --------------------------------------------- */
/* DENEYİMLER BÖLÜMÜ */
/* --------------------------------------------- */
.experience {
    background-color: var(--white-color);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.exp-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.exp-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-color);
}

.exp-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.exp-type {
    font-size: 0.8rem;
    font-weight: 400;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 10px;
    display: inline-block;
}

.exp-place {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.exp-date {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 15px;
}

.exp-desc {
    color: #555;
}

/* --------------------------------------------- */
/* PORTFOLYO BÖLÜMÜ */
/* --------------------------------------------- */
.portfolio {
    background-color: var(--light-color);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 25px;
    border: none;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* --------------------------------------------- */
/* REFERANSLAR BÖLÜMÜ (SLIDER) */
/* --------------------------------------------- */
.testimonials {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white-color);
}

.testimonials .section-title {
    color: var(--white-color);
}

.testimonials .section-title::after {
    background: var(--white-color);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    text-align: center;
    padding: 30px 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    margin: 0 10px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 0.9rem;
    opacity: 0.8;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--white-color);
    transform: scale(1.2);
}

/* --------------------------------------------- */
/* İLETİŞİM BÖLÜMÜ */
/* --------------------------------------------- */
.contact {
    background-color: var(--white-color);
    text-align: center;
}

.contact-intro {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--gray-color);
}

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

.contact-item {
    flex: 1 1 200px;
    background-color: var(--light-color);
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 108, 247, 0.2);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-item p {
    font-weight: 500;
    color: var(--dark-color);
}

/* --------------------------------------------- */
/* FOOTER */
/* --------------------------------------------- */
.footer {
    background-color: var(--dark-color);
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* --------------------------------------------- */
/* ANİMASYONLAR */
/* --------------------------------------------- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --------------------------------------------- */
/* RESPONSIVE (MOBİL UYUMLULUK) */
/* --------------------------------------------- */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
    }
}