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

:root {
    --primary-color: #6366f1;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --accent-color: #f43f5e;
    --dark-bg: #ffffff;
    --darker-bg: #f8fafc;
    --text-color: #1e293b;
    --light-text: #64748b;
    --light-bg: #f1f5f9;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
    --gradient-2: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --gradient-dark: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --gradient-accent: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

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

/* Navigasyon */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero/Anasayfa */
.hero {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    color: var(--text-color);
    padding: 6rem 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-button {
    display: flex;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

.hero-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    opacity: 0.95;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 500;
}

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

/* Butonlar */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 0.8rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
    background-color: var(--primary-light);
}

.btn-secondary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
    border: none;
}

.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3);
}

/* Bölüm Başlıkları */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

/* Hakkımda Bölümü */
.about {
    padding: 5rem 2rem;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-text {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 2rem;
    grid-column: 1 / -1;
    text-align: center;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.95;
    color: var(--light-text);
    margin-bottom: 0;
    text-align: left;
    font-weight: 500;
}

.about-text p:first-of-type {
    grid-column: 1;
    margin-bottom: 2rem;
}

.about-text p:nth-of-type(2) {
    grid-column: 2;
    margin-bottom: 2rem;
}

.about-text p:last-of-type {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 0.8rem;
}

/* Beceriler */
.skills {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.skills h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-weight: 900;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.skill-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skill-card::after {
    content: '';
    position: absolute;
    bottom: -100%;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-color);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.2);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card:hover::after {
    bottom: 0;
    opacity: 1;
}

.skill-card i {
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.skill-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.skill-card p {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Projeler */
.projects {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.projects h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-weight: 900;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background-color: var(--white);
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid var(--border-color);
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

.project-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.project-card p {
    color: var(--light-text);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.project-tags span {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 0.5rem 1.1rem;
    border-radius: 2.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1.5px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.project-tags span:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* CV Bölümü */
.cv-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cv-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-weight: 900;
}

.cv-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.cv-column h3 {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
}

.cv-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.cv-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.cv-item:hover {
    padding-left: 1rem;
    border-left: 3px solid var(--primary-light);
}

.cv-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.cv-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.cv-item .date {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.95rem;
}

.cv-item .school {
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.cv-section .btn {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
}

/* İletişim Bölümü */
.contact {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-top: 1px solid var(--border-color);
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-content > p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-weight: 900;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: 1.2rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
    transition: top 0.4s ease;
    z-index: 1;
}

.contact-item:hover {
    color: var(--primary-color);
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
}

.contact-item:hover::before {
    top: 0;
}

.contact-item i {
    font-size: 2.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.contact-item span {
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    background: var(--light-bg);
    color: var(--light-text);
    text-align: center;
    padding: 2.5rem;
    font-weight: 500;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        justify-content: center;
        padding: 0.75rem 16px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
    }

    .nav-menu a {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .hero {
        min-height: auto;
        padding: 5rem 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.6rem;
    }

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

    .hero-description {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .hero-button {
        justify-content: center;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

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

    .about-text {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-text p:first-of-type,
    .about-text p:nth-of-type(2),
    .about-text p:last-of-type {
        grid-column: 1 / -1;
    }

    .about-text p:last-of-type {
        padding: 1.5rem;
    }

    .skills-grid,
    .projects-grid,
    .cv-content,
    .contact-info {
        grid-template-columns: 1fr;
    }

    .skill-card,
    .project-card,
    .contact-item {
        padding: 2rem;
    }

    .contact-content > p {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.1rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

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

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