:root {
    --bg-color: #0a192f;
    --bg-light: #112240;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --accent-color: #64ffda;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

/*Navbar*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(10, 25, 47, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.hamburger { display: none; cursor: pointer; }

/*Hero Section*/
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}


.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}


.hero-text {
    flex: 1;
    max-width: 600px;
}


.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}


.img-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
    transition: transform 0.3s ease;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 0 50px rgba(100, 255, 218, 0.5);
}


.greeting {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
    color: #e6f1ff;
}

.hero h2 {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.summary {
    max-width: 500px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Butonlar */
.btn {
    padding: 12px 24px;
    border-radius: 4px;
    border: 1px solid var(--accent-color);
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
    margin-right: 15px;
}

.btn.primary {
    background: transparent;
    color: var(--accent-color);
}

.btn.primary:hover {
    background: rgba(100, 255, 218, 0.1);
}

.btn.secondary {
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}

.btn.secondary:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

/*Genel Section Stilleri*/
.section {
    padding: 100px 50px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.bg-darker {
    background-color: #081526;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    display: flex;
    align-items: center;
    color: #e6f1ff;
}

.section-title::after {
    content: "";
    display: block;
    width: 200px;
    height: 1px;
    background: #233554;
    margin-left: 20px;
}

/* Hakkımda*/
.timeline {
    border-left: 2px solid var(--bg-light);
    margin-top: 30px;
    padding-left: 20px;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
}

.date {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-family: monospace;
}

/* Yetenekler  */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.skill-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 5px;
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.progress-bar {
    height: 6px;
    background: #233554;
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: var(--accent-color);
}

/* Projeler */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.project-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.project-media {
    height: 200px;
    background: #000;
    overflow: hidden;
}

/* Video*/
.project-media img, 
.project-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
}

.project-card:hover .project-media img {
    transform: scale(1.05);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    color: #e6f1ff;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.tags span {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-right: 15px;
    font-family: monospace;
}

.project-links {
    margin-top: 20px;
}

.project-links a {
    color: var(--text-primary);
    margin-right: 20px;
    font-size: 1.2rem;
}

.project-links a:hover {
    color: var(--accent-color);
}

/*Video Modal*/
.modal {
    display: none;
    position: fixed; 
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex; 
    opacity: 1;
}

.modal-content {
    position: relative;
    background-color: #000;
    padding: 0;
    border: 1px solid var(--accent-color);
    width: 80%;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-content video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 7px;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: var(--accent-color);
}

/* İletişim */
.contact-container {
    text-align: center;
    max-width: 600px;
}

.email-link {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 30px 0;
    display: block;
}

.social-links a {
    font-size: 1.5rem;
    margin: 0 15px;
    color: var(--text-secondary);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
    display: inline-block;
}

.footer {
    margin-top: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: monospace;
}

/* Scroll */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-in-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/*RESPONSIVE */

/* TABLET */
@media (max-width: 968px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }

    .hero-text {
        max-width: 100%;
        padding: 0 20px;
    }

    .cta-buttons {
        justify-content: center;
        display: flex;
    }
    
    .img-wrapper {
        width: 280px;
        height: 280px;
    }
}

/* MOBİL TELEFONLAR */
@media (max-width: 768px) {
    .navbar {
        padding: 20px;
    }
    
    .nav-links {
        display: none; 
    }

    .hamburger {
        display: block;
        color: var(--accent-color);
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section {
        padding: 60px 20px;
    }
    
    .img-wrapper {
        width: 220px;
        height: 220px;
    }
}