/* GENEL AYARLAR*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* kutuların taşmasını engeller */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff0f5; /* açık pembe */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s; /* yumuşak geçiş efekti */
}

ul {
    list-style-type: none; /* Maddelerin başındaki varsayılan noktaları siler */
}

/* =========================================
   2. NAVBAR (ÜST MENÜ)
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;  /* Sadece sağdan soldan boşluk, üst/alt sıfır */
    /* height: 90px;  <-- BU SATIRI TAMAMEN SİL! (Suçlu bu) */
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo Ayarları */
.my-logo {
    height: 70px; /* İdeal boyut budur (60px ile 80px arası) */
    width: auto;
    display: block;
    padding: 5px 0; /* Logoya üstten alttan minik bir nefes payı */
}

/* Menü Linkleri */
.menu-links a {
    margin: 0 15px;
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
    transition: 0.3s;
}

/* Menü linklerinin üzerine gelince (HOVER) olacaklar */
.menu-links a:hover {
    color: #d63384; /* Yazı rengi Pembeye döner */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Arkasına hafif bir gölge gelir */
}

/* Dil Seçeneği */
.language-switch {
    font-weight: bold;
    font-size: 0.9rem;
}

.separator {
    margin: 0 5px;
    color: #ccc;
}

.lang-link:hover {
    color: #d63384;
}

/* =========================================
   3. HERO SECTION (GİRİŞ KISMI)
   ========================================= */

.hero {
    display: flex;
    align-items: center; /* Dikeyde ortala */
    justify-content: center;
    padding: 80px 10%;
    background-color: transparent; /* Arka planı şeffaf yap ki alttaki pembe görünsün */
    min-height: 80vh;
}

.hero-text {
    flex: 1; /* Sol taraf genişlesin */
    padding-right: 50px;
}

.hero-text h1 {
    font-size: 3rem;
    color: #222;
    margin-bottom: 10px;
}

.hero-text h3 {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 20px;
    font-weight: normal;
}

.hero-image {
    flex: 1; /* Sağ taraf genişlesin */
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%; /* Yuvarlak resim */
    border: 8px solid #f0f0f0; /* Resim çerçevesi */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Resim gölgesi */
}

/* =========================================
   4. CV SECTION (ÖZGEÇMİŞ KARTLARI)
   ========================================= */

.cv-section {
    padding: 60px 15%;
    background-color: #fff0f5;
}

.cv-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}
/* Kart Tasarımı */

.cv-item {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 12px; /* Yuvarlak köşeler */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Modern gölge */
    border-left: 5px solid #d63384; /* Sol tarafta şık çizgi */
    transition: transform 0.3s ease; /* Hareket efekti */
}

.cv-item:hover {
    transform: translateY(-5px); /* Üzerine gelince hafif yukarı kalkar */
}

.cv-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #222;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Liste Madde İşaretleri */

.cv-item ul li {
    margin-bottom: 8px;
    position: relative;
}

/* =========================================
   TAKVİM SAYFASI (TIMELINE) TASARIMLARI
   ========================================= */
.schedule-section {
    padding: 50px 2%;
    min-height: 80vh;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-color: white;
    border: 1px solid #ddd;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    table-layout: fixed; 
}

/* Tablo Başlıkları */
.main-title-row th {
    background-color: #222;
    color: #fff;
    padding: 20px;
    font-size: 1.5rem;
    text-transform: uppercase;
    border-bottom: 2px solid #444;
}

.days-row th {
    background-color: #f8f9fa;
    color: #333;
    padding: 10px 2px;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
    border-right: 1px solid #eee;
    text-align: center;
    overflow: hidden;
}

.narrow-title {
    font-size: 0.8rem;
    color: #999;
}

/* Tablo Hücreleri */
.schedule-table td {
    padding: 8px;
    border: 1px solid #eee;
    vertical-align: top;
    background-color: #fff;
    height: 120px;
    overflow: hidden;
}

/* Ders Kartı */
.course-card {
    background-color: #fff0f5;
    border-left: 4px solid #d63384;
    padding: 10px;
    border-radius: 4px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-card strong {
    display: block;
    color: #222;
    font-size: 0.85rem;
    margin-bottom: 5px;
    line-height: 1.2;
}

.course-card .time {
    display: block;
    color: #555;
    font-size: 0.75rem;
    font-weight: bold;
    background-color: rgba(255,255,255,0.7);
    padding: 2px 4px;
    border-radius: 3px;
    width: fit-content;
}

.empty-cell {
    background-color: #fcfcfc;
}

/* =========================================
   5. FOOTER (ALT BİLGİ)
   ========================================= */

footer {
    text-align: center;
    padding: 40px;
    background-color: #222; /* Koyu arka plan */
    color: #fff;
    margin-top: auto;
}

footer .social-links a {
    color: #fff;
    font-size: 1.1rem;
    margin-left: 10px;
}

footer .social-links a:hover {
    color: #d63384;
}


/* =========================================
   6. MOBİL UYUMLULUK (TELEFONLAR İÇİN)
   ========================================= */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column; /* Menüyü alt alta diz */
        padding: 10px;
    }
   
    .menu-links {
        margin-top: 15px;
        margin-bottom: 15px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        flex-direction: column-reverse; /* Telefonda önce yazı değil, önce resim görünsün */
        text-align: center;
        padding: 40px 5%;
    }

    .hero-text {
        padding-right: 0;
        margin-top: 30px;
    }

    .hero-image img {
        width: 250px; /* Telefonda resmi küçült */
        height: 250px;
    }

    .cv-section {
        padding: 40px 5%;
    }
}

/* =========================================
   İLETİŞİM SAYFASI TASARIMI
   ========================================= */
.contact-section {
    padding: 60px 10%;
    min-height: 80vh; /* Sayfa boş görünmesin */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 30px; /* İki kutu arasındaki boşluk */
    flex-wrap: wrap; /* Telefondan girilince alt alta geçsin */
    width: 100%;
}

/* Kutuların Tasarımı (Divler) */
.contact-card {
    background-color: white;
    width: 350px; /* Kutunun genişliği */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Hafif gölge */
    border-left: 5px solid #d63384; /* Sol taraftaki pembe çizgi */
    text-align: center; /* Yazıları ortala */
    transition: transform 0.3s;
}

/* Kutu üzerine gelince hafif yukarı kalksın */
.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    margin-bottom: 15px;
    color: #222;
}

.contact-card p {
    margin-bottom: 25px;
    color: #555;
}

/* Link/Buton Tasarımı */
.contact-btn {
    background-color: #222; /* Siyah buton */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

.contact-btn:hover {
    background-color: #d63384; /* Üzerine gelince pembe olsun */
    color: white;
}

/* =========================================
   DETAYLI FORM TASARIMI (Seni Tanıyalım)
   ========================================= */

.form-section {
    padding: 60px 10%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
}

.form-wrapper {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px; /* Çok geniş olmasın */
    border-top: 5px solid #d63384; /* Üstte pembe şerit */
}

.form-wrapper h2 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

/* Fieldset (Gruplama Çerçevesi) */
fieldset {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

legend {
    font-weight: bold;
    color: #d63384; /* Başlıklar pembe olsun */
    padding: 0 10px;
}

/* Form Elemanları */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Input, Select, Textarea Genel Tasarımı */
.form-group input[type="text"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

/* Focus olunca pembe çizgi */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d63384;
}

/* Radio ve Checkbox Grupları */
.radio-group, .checkbox-group {
    display: flex;
    gap: 15px; /* Yan yana boşluk */
    flex-wrap: wrap;
}

.radio-group label, .checkbox-group label {
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Buton Grubu */
.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.submit-btn {
    flex: 2; /* Gönder butonu daha geniş olsun */
    background-color: #222;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background-color: #d63384;
}

.reset-btn {
    flex: 1; /* Temizle butonu daha dar */
    background-color: #ddd;
    color: #333;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.reset-btn:hover {
    background-color: #ccc;
}

/* =========================================
   SADE DUYURULAR SAYFASI TASARIMI
   ========================================= */

.news-section {
    padding: 60px 10%;
    min-height: 80vh;
}

/* Başlık Alanı */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Kartların Dizilimi (Grid) */
.news-grid {
    display: grid;
    /* Kart genişliği en az 300px olsun, sığdığı kadar yan yana diz */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Kart Kutusu */
.news-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Çok hafif gölge */
    transition: transform 0.3s ease;
    border-left: 5px solid #d63384; /* Sol tarafı pembe çizgili */
    display: flex;
    flex-direction: column;
}

/* Hover Efekti: Kart hafifçe yukarı kalksın */
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* İçerik Alanı */
.card-content {
    padding: 30px;
}

/* Kategori ve Tarih Satırı */
.card-meta {
    display: flex;
    justify-content: space-between; /* İki uca yasla */
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.category {
    color: #d63384;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #fff0f5; /* Kategori arkasına hafif pembe fon */
    padding: 4px 10px;
    border-radius: 4px;
}

.date {
    color: #999;
    font-weight: 600;
}

/* Başlık */
.card-content h3 {
    margin-bottom: 15px;
    color: #222;
    font-size: 1.3rem;
    line-height: 1.3;
}

/* Açıklama Yazısı */
.card-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}