/* EGE ÜNİVERSİTESİ RESMİ KURUMSAL TASARIM - EKSİKSİZ TAM SÜRÜM */

/* GENEL AYARLAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #e9ecef; /* O harika ten rengi/krem arka plan */
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. YENİ HEADER TASARIMI (ÇİFT LOGOLU) */
.ege-official-header {
    background-color: #ffffff;
    border-bottom: 4px solid #28528f; /* Kurumsal Ege Mavisi */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-and-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.uni-logo {
    height: 80px; 
    width: auto;
}

.titles h1 {
    font-size: 24px;
    color: #28528f;
    font-weight: 700;
    letter-spacing: 1px;
}

.titles h2 {
    font-size: 16px;
    color: #555;
    font-weight: 400;
    margin-top: 2px;
}

.myo-logo-area {
    display: flex;
    align-items: center;
}

.myo-logo {
    height: 70px; 
    width: auto;
}

.main-navbar {
    background-color: #28528f; /* Orijinal Ege mavisi menü şeridi */
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 5px;
}

.nav-item {
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 20px;
    transition: background 0.3s;
    letter-spacing: 0.5px;
}

.nav-item:hover, .nav-item.active {
    background-color: #1a3a6c;
}

.nav-item i.fa-home {
    font-size: 16px;
}

/* 2. SLIDER (SLAYT) TASARIMI */
.slider-section {
    background-color: white;
    padding: 30px 0 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.slider-container {
    max-width: 1000px;
    position: relative;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    background-color: #ffffff;
}

.mySlides {
    display: none;
    height: 500px;
    position: relative;
    text-align: center;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Afişleri asla kırpmaz */
    object-position: center;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #28528f;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 3px;
    user-select: none;
    background-color: rgba(255,255,255,0.7);
}

.next { right: 0; }
.prev { left: 0; }
.prev:hover, .next:hover { background-color: rgba(255,255,255,1); color: #e67e22; }

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover { background-color: #28528f; }

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* 3. PROJELER BÖLÜMÜ (ALT ALTA LİSTE) */
.projects-list-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    color: #28528f;
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 700;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 20px 30px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    border: 1px solid #e9ecef;
    border-left: 5px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.project-list-item:hover {
    transform: translateX(5px);
    border-left-color: #28528f;
    border-color: #aed6f1;
    box-shadow: 0 5px 15px rgba(40, 82, 143, 0.1);
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 250px;
}

.student-no { color: #777; font-size: 13px; font-weight: 600; }
.student-name { color: #333; font-size: 16px; font-weight: 700; }
.project-title { flex-grow: 1; color: #28528f; font-size: 17px; font-weight: 600; text-align: left; padding: 0 30px; }
.list-arrow { color: #aaa; font-size: 18px; transition: color 0.3s; }
.project-list-item:hover .list-arrow { color: #28528f; }

/* 4. DETAY SAYFALARI (HAKKIMIZDA, İLETİŞİM VE ÖĞRENCİ PROJELERİ) */
.detail-container {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 6px solid #28528f;
}

.detail-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 25px;
}

.detail-title {
    color: #28528f;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.detail-student {
    color: #666;
    font-size: 18px;
    font-weight: 600;
}

.detail-summary-box {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 6px;
    border-left: 4px solid #28528f;
    margin-bottom: 35px;
}

.detail-summary-title {
    color: #28528f;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.detail-summary-text {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

.detail-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.action-btn {
    padding: 15px 30px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-presentation { background-color: #28528f; }
.btn-presentation:hover { background-color: #1a3a6c; transform: translateY(-3px); }

.btn-poster { background-color: #e67e22; }
.btn-poster:hover { background-color: #d35400; transform: translateY(-3px); }

.poster-display {
    text-align: center;
    margin-top: 20px;
}

.poster-display h3 {
    color: #28528f;
    margin-bottom: 20px;
    font-size: 22px;
}

.poster-display img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border: 1px solid #ddd;
}

/* 5. FOOTER */
footer {
    text-align: center;
    padding: 30px;
    background-color: #28528f;
    color: white;
    margin-top: 20px;
}

/* 6. MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .header-top { flex-direction: column; text-align: center; gap: 15px; }
    .logo-and-title { flex-direction: column; gap: 10px; }
    .uni-logo { height: 60px; }
    .myo-logo { display: none; } /* Mobilde çok sıkışmasın diye MYO logosunu gizledik */
    .titles h1 { font-size: 20px; }
    .titles h2 { font-size: 14px; }
    
    .nav-links { flex-wrap: wrap; justify-content: center; padding: 5px 0; }
    .nav-item { padding: 8px 12px; font-size: 12px; }
    
    .mySlides { height: 300px; }
    .projects-list-section { padding: 40px 0; }
    .section-title { font-size: 22px; margin-bottom: 25px; }
    
    .project-list-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 15px; }
    .project-info { min-width: unset; width: 100%; }
    .project-title { padding: 0; font-size: 15px; }
    .list-arrow { display: none; }

    .detail-container { padding: 20px; margin: 20px; }
    .detail-buttons { flex-direction: column; }
    .action-btn { justify-content: center; }
}
