/* === MODERN PORTFOLIO TASARIMI === */
/* Template/css/styles.css - Tamamen yenilendi */

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fa;
    color: #333;
    padding-top: 70px;
}
a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #1a252f;
    text-decoration: none;
}

/* ===== NAVBAR ===== */
.navbar-main {
    background: #2c3e50 !important;
    padding: 0.8rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.navbar-main .navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}
.navbar-main .navbar-brand:hover {
    color: #ecf0f1 !important;
}
.navbar-main .navbar-nav .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
    border-radius: 4px;
}
.navbar-main .navbar-nav .nav-link:hover,
.navbar-main .navbar-nav .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}
.navbar-main .navbar-toggler {
    border-color: rgba(255,255,255,0.3);
    padding: 0.4rem 0.6rem;
}
.navbar-main .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}
.navbar-main .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== SECTIONS ===== */
section.portfolio-section {
    padding: 4rem 0;
}
section.portfolio-section:nth-child(even) {
    background: #fff;
}
section.portfolio-section:nth-child(odd) {
    background: #f8f9fa;
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title h2 {
    font-weight: 700;
    font-size: 2rem;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
}

/* ===== ABOUT (Hero) ===== */
.about-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 5rem 0;
    margin-top: -70px;
    padding-top: calc(5rem + 70px);
}
.about-section h1 {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    word-break: break-word;
}
.about-section .subheading {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    word-break: break-word;
}
.about-section .lead {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.about-section .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 50%;
    font-size: 1.1rem;
    margin: 0 0.3rem;
    transition: all 0.3s;
}
.about-section .social-icons a:hover {
    background: #fff;
    color: #2c3e50;
    transform: translateY(-3px);
}
.about-section .profile-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    margin-bottom: 1.5rem;
}

/* ===== EXPERIENCE / EDUCATION CARDS ===== */
.exp-item {
    padding: 1.5rem;
    border-left: 3px solid #2c3e50;
    margin-bottom: 1.5rem;
    background: #fff;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.exp-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateX(3px);
}
.exp-item h3 {
    font-weight: 700;
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}
.exp-item .subtitle {
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}
.exp-item .date {
    color: #888;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}
.exp-item p {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* ===== SKILLS ===== */
.skill-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #2c3e50;
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0.3rem;
    transition: all 0.3s;
}
.skill-badge:hover {
    background: #1a252f;
    transform: translateY(-2px);
    color: #fff;
}
.skill-icon {
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 0.3rem;
    transition: all 0.3s;
}
.skill-icon:hover {
    color: #1a252f;
    transform: scale(1.15);
}

/* ===== HOBBIES ===== */
.hobby-item {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    margin-bottom: 1rem;
    height: 100%;
}
.hobby-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.hobby-item i {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}
.hobby-item h5 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.hobby-item p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0;
}

/* ===== CERTIFICATES ===== */
.cert-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: background 0.3s;
}
.cert-item:last-child {
    border-bottom: none;
}
.cert-item:hover {
    background: #f8f9fa;
}
.cert-item i {
    color: #f39c12;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.cert-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}
.contact-form .form-group {
    margin-bottom: 1.2rem;
}
.contact-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.3rem;
}
.contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form .form-control:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44,62,80,0.1);
    outline: none;
}
.contact-form .btn-submit {
    background: #2c3e50;
    color: #fff;
    border: none;
    padding: 0.7rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}
.contact-form .btn-submit:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44,62,80,0.3);
}

/* ===== SOCIAL MEDIA DISPLAY ===== */
.social-display {
    margin-top: 1.5rem;
}
.social-display a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 50%;
    font-size: 1.1rem;
    margin: 0 0.3rem;
    transition: all 0.3s;
}
.social-display a:hover {
    background: #fff;
    color: #2c3e50;
    transform: translateY(-3px);
}

/* ===== FOOTER ===== */
.footer {
    background: #2c3e50;
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

/* ===== SCROLL TO TOP ===== */
#scrollTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s;
}
#scrollTopBtn:hover {
    background: #1a252f;
    transform: translateY(-3px);
}
#scrollTopBtn.show {
    display: flex;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .navbar-main .navbar-nav .nav-link {
        padding: 0.5rem 0 !important;
        text-align: center;
    }
    .navbar-main .navbar-collapse {
        padding-top: 0.5rem;
    }
}
@media (max-width: 767.98px) {
    body {
        padding-top: 60px;
    }
    .about-section {
        padding: 3rem 0;
        margin-top: -60px;
        padding-top: calc(3rem + 60px);
    }
    .about-section h1 {
        font-size: 1.8rem;
    }
    .about-section .profile-img {
        width: 130px;
        height: 130px;
    }
    section.portfolio-section {
        padding: 2.5rem 0;
    }
    .section-title {
        margin-bottom: 2rem;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
    .exp-item {
        padding: 1rem;
    }
    .exp-item .date {
        white-space: normal;
    }
    .navbar-main .navbar-brand {
        font-size: 1.1rem;
    }
    .hobby-item {
        padding: 1rem;
    }
    #scrollTopBtn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .about-section h1 {
        font-size: 2.2rem;
    }
    .about-section .profile-img {
        width: 150px;
        height: 150px;
    }
}