/* Modern Portfolyo Stilleri */

:root {
    --primary-color: #0d6efd;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --accent-color: #6610f2;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-img-container {
    position: relative;
}

.hero-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Project Cards */
.project-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    background-color: #fff;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.project-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 110, 253, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Footer */
footer {
    padding: 60px 0 30px;
    background-color: #1a1d20;
    color: #adb5bd;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 40px;
        text-align: center;
    }
    .hero-img-container {
        margin-bottom: 2rem;
    }
    .hero-img {
        width: 220px;
        height: 220px;
    }
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
