/* 
PORTFOLIO STYLE SHEET
Yazar: [Adınız]
Versiyon: 1.0
Açıklama: Kişisel portfolyo sitesi için stil dosyası
*/

/* 
========== GENEL DEĞİŞKENLER ==========
Tüm stil dosyasında kullanılacak renk ve ölçüler
*/
:root {
--primary-color: #40adf6;       /* Ana tema rengi (mavi) */
--secondary-color: #2ecc71;     /* İkincil tema rengi (yeşil) */
--dark-color: #2c3e50;          /* Koyu arkaplan ve metin rengi */
--light-color: #d3ddec;         /* Açık arkaplan rengi */
--text-color: #333;             /* Ana metin rengi */
--text-light: #7f8c8d;          /* Açık metin rengi */
--white: #fff;                  /* Beyaz renk */
--shadow: 0 5px 15px rgba(0, 0, 0, 0.1);  /* Standart gölge efekti */
--transition: all 0.3s ease;    /* Geçiş efekti süresi */
}

/* 
========== GENEL STİL SIFIRLAMA ==========
Tüm HTML elementleri için başlangıç stilleri
*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;  /* Padding ve border'ı genişlik hesabına dahil eder */
}

/* 
========== TEMEL SAYFA STİLLERİ ==========
*/
html {
scroll-behavior: smooth;  /* Yumuşak kaydırma efekti */
}

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;        /* Satır aralığı */
color: var(--text-color);
background-color: var(--white);
}

/* 
========== CONTAINER YAPISI ==========
Tüm bölümlerin ortalanmasını sağlar
*/
.container {
width: 90%;
max-width: 1200px;       /* Maksimum genişlik */
margin: 0 auto;          /* Otomatik yatay ortalama */
padding: 20px 0;         /* Üst ve alt boşluk */
}

/* 
========== BAŞLIK STİLLERİ ==========
*/
h1, h2, h3, h4 {
margin-bottom: 15px;
font-weight: 600;
}

.section-title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 50px;
color: var(--dark-color);
position: relative;
}

.section-title::after {
border-radius: 2px;
content: '';
display: block;
width: 80px;
height: 4px;
background: var(--primary-color);
margin: 15px auto;
}

/* 
========== BUTON STİLLERİ ==========
*/
.btn {
display: inline-block;
padding: 12px 25px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
transition: var(--transition);
margin: 10px 5px;
}

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

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

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

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

.btn.small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* 
========== HEADER (ÜST MENÜ) STİLLERİ ==========
*/
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}


nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* 
========== HERO (ANA SAYFA) BÖLÜMÜ ==========
*/
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 25px;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
}

.highlight {
    color: var(--primary-color);
}

.profile-placeholder {
    width: 350px;
    height: 350px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 10rem;
    box-shadow: var(--shadow);
}

/* 
========== HAKKIMDA BÖLÜMÜ ==========
*/
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-placeholder {
    width: 300px;
    height: 300px;
    background: var(--light-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 8rem;
    box-shadow: var(--shadow);
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.personal-info {
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.info-item {
    display: flex;
}

.info-label {
    font-weight: 600;
    margin-right: 10px;
    min-width: 100px;
}

/* 
========== PROJELER BÖLÜMÜ ==========
*/
.projects {
    padding: 100px 0;
    background: var(--light-color);
}

.project-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    margin: 0 10px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

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

.project-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 200px;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    font-size: 5rem;
    color: var(--primary-color);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.project-tags span {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 
========== YETENEKLER BÖLÜMÜ ==========
*/
.skills {
    padding: 100px 0;
    background: var(--white);
}

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

.skills-category h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-color);
}

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

.skill-name {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.skill-bar {
    height: 10px;
    background: var(--light-color);
    border-radius: 5px;
    margin-bottom: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 5px;
    transition: width 1s ease;
}

.skill-percentage {
    float: right;
    color: var(--text-light);
}

/* 
========== İLETİŞİM BÖLÜMÜ ==========
*/
.contact {
    padding: 100px 0;
    background: var(--light-color);
}

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

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--dark-color);
    transform: translateY(-5px);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 
========== FOOTER (ALT BİLGİ) ==========
*/
footer {
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
}

/* 
========== MEDIA QUERIES (DUYARLI TASARIM) ==========
*/
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .profile-placeholder,
    .about-placeholder {
        width: 250px;
        height: 250px;
    }
    
    .personal-info {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        display: none; /* Mobilde menüyü gizle (JavaScript ile açılır menü yapılabilir) */
    }
}











/* 
========= ANİMASYONLAR ==========
*/
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content, .about-content, .projects-grid, .skills-container, .contact-container {
    animation: fadeIn 1s ease forwards;
}

.hero-content{
    margin-top: 100px;
}

/* EK CSSLER */
.github{
    text-decoration: none;
}

.projetamami{
    text-decoration: none;
}

.projetamami:hover{
    color: black;
}