/* Genel */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { background-color: #f4f6f9; color: #333; overflow-x: hidden; }

/* İntro */
#intro-screen { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: #c3c3c3; color: #020073; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 9999; font-family: 'Courier New', monospace; transition: opacity 1s, visibility 1s; }
.typewriter-text { font-size: 2.5rem; font-weight: bold; text-align: center; min-height: 50px; margin-bottom: 10px; }
.typewriter-text.subtitle { font-size: 1.5rem; font-weight: 500; }
.cursor::after { content: '|'; animation: blink 0.7s infinite; color: #020073; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Layout (Sidebar & Main) */
#main-wrap { display: none; opacity: 0; animation: fadeIn 1s forwards; display: flex; }
@keyframes fadeIn { to { opacity: 1; } }

/* Sidebar */
.sidebar { width: 260px; height: 100vh; background: #fff; position: fixed; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; padding: 30px 0; box-shadow: 2px 0 10px rgba(0,0,0,0.05); z-index: 100; transition: 0.3s; }

/* Sidebar Profil Çerçevesi (Güncellenmiş Jilet Gibi Yapı) */
.profile-container { 
    width: 140px; /* TUGHAN yazısının rahat etmesi için çapı hafif artırdık */
    height: 140px; 
    border-radius: 50%; 
    background: #ffffff; 
    overflow: hidden; 
    margin: 20px 0; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
}

/* Logonun Çerçeveye Kusursuz Oturması */
/* Sidebar Profil Çerçevesi (Yuvarlak ve Gölge İptal) */
.profile-container { 
    width: 160px; /* Logo rahat okunsun diye genişliği artırdık */
    height: auto; 
    background: transparent; /* Arka planı tamamen kaldırdık */
    margin: 30px 0; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    /* border-radius ve box-shadow sildik, artık logo özgür */
}

/* Logonun Oturtulması */
.profile-container img { 
    width: 100%; 
    height: auto; 
    mix-blend-mode: multiply; /* Logonun o gri arka planını, sidebarın beyazına yumuşakça yedirir */
}

.sidebar-nav { width: 100%; padding: 0 20px; }
.nav-item { display: flex; align-items: center; text-decoration: none; color: #333; font-weight: bold; padding: 12px 15px; margin-bottom: 5px; border-radius: 8px; transition: 0.3s; border-left: 4px solid transparent; }
.nav-item:hover { background: #f0f0f0; color: #020073; border-left-color: #020073; }
.nav-item i { margin-right: 10px; font-size: 1.2rem; }
.sidebar-footer { margin-top: auto; }
.social-icons a { color: #333; font-size: 1.5rem; margin: 0 10px; transition: 0.3s; }
.social-icons a:hover { color: #020073; }
#mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; }

/* İçerik Alanı & Header */
.content-area { margin-left: 260px; width: calc(100% - 260px); padding: 30px 50px; min-height: 100vh; display: flex; flex-direction: column; }
.top-header { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 15px 30px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); margin-bottom: 40px; }
.header-nav a { text-decoration: none; color: #333; font-weight: 600; margin-right: 25px; transition: 0.3s; }
.header-nav a:hover { color: #020073; }
.btn-iletisim { background: #020073; color: #fff; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: 0.3s; }
.btn-iletisim:hover { background: #01004a; }

/* Bilgilendirme & Slider */
.info-section { background: #020073; color: white; padding: 40px; border-radius: 10px; margin-bottom: 40px; }
.info-section h1 { margin-bottom: 15px; color: #c3c3c3; }
.portfolio-section h2 { color: #020073; border-bottom: 3px solid #c3c3c3; padding-bottom: 10px; margin-bottom: 20px; display: inline-block; }

.swiper { width: 100%; padding-bottom: 40px; }
.swiper-slide { background: #fff; border-radius: 10px; padding: 20px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.swiper-slide img { width: 100px; height: 100px; object-fit: contain; margin-bottom: 15px; }
.swiper-slide a { display: inline-block; margin-top: 10px; background: #c3c3c3; color: #020073; text-decoration: none; padding: 8px 15px; border-radius: 5px; font-weight: bold; }

/* Form */
.form-container { background: #fff; padding: 30px; border-radius: 10px; max-width: 600px; margin: 0 auto; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.form-container input, .form-container textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; }
.form-container button { width: 100%; background: #020073; color: #fff; padding: 15px; border: none; border-radius: 5px; font-weight: bold; cursor: pointer; }

/* Footer */
.site-footer { margin-top: auto; text-align: center; padding: 20px 0; color: #777; border-top: 1px solid #ddd; }

/* Mobil Uyumluluk (Responsive) */
@media (max-width: 992px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.active { transform: translateX(0); }
    .content-area { margin-left: 0; width: 100%; padding: 20px; }
    #mobile-menu-btn { display: block; margin-bottom: 20px; }
    .top-header { flex-direction: column; gap: 15px; text-align: center; }
    .header-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .header-nav a { margin: 0; }
}