/* DOĞUŞ KOLEJİ - MASTER STYLE SHEET
   Renk Paleti: Mat Gece Mavisi (#0a2540) & Prestij Kehribarı (#d97706)
   Font: Poppins
*/

:root {
    --primary: #0a2540;
    --secondary: #d97706;
    --bg-light: #f1f5f9;
    --white: #ffffff;
    --text-main: #334155;
    --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* --- TEMEL SIFIRLAMA --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--bg-light); 
    color: var(--text-main); 
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; width: 95%; }

/* --- HEADER & NAVİGASYON --- */
header { 
    background: var(--white); 
    padding: 10px 0; 
    position: sticky; 
    top: 0; 
    z-index: 2000; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); 
}
.header-flex { display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo img { height: 65px; width: auto; display: block; }

.nav-menu { list-style: none; display: flex; }
.nav-menu > li { margin-left: 25px; position: relative; padding: 15px 0; }
.nav-menu > li > a { 
    text-decoration: none; 
    color: var(--primary); 
    font-weight: 700; 
    font-size: 13px; 
    text-transform: uppercase; 
    transition: 0.3s;
}
.nav-menu > li > a:hover { color: var(--secondary); }

/* --- DROPDOWN --- */
.dropdown-content {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary);
    padding: 10px 0;
    z-index: 3000;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content li a {
    display: block;
    padding: 12px 20px;
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600; 
    border-bottom: 1px solid #f1f5f9;
}
.dropdown-content li a:hover { background: #f8fafc; color: var(--secondary); }

/* --- SLIDER KONTEYNER --- */
.slider-container { 
    width: 100%; 
    height: 380px; 
    overflow: hidden; 
    position: relative; 
    margin: 20px 0; 
    border-radius: 12px; 
    box-shadow: var(--shadow);
}
.slider { display: flex; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.slide { 
    width: 100%; height: 100%; background-size: cover; background-position: center; 
    display: flex; align-items: flex-end; justify-content: flex-start; position: relative; flex-shrink: 0;
}
.slide::after { content: none; }

/* YAZI ALANI: SOL ALT 100PX - DİNAMİK ARKA PLAN */
.slide-content { 
    position: relative; z-index: 5; margin-left: 100px; margin-bottom: 50px; 
    width: 80%; background: transparent; padding: 0; 
}
.slide-content h2 { 
    font-size: 32px; font-weight: 800; line-height: 1.4; color: white; display: inline; 
    background-color: rgba(0, 0, 0, 0.25); padding: 4px 10px; 
    box-decoration-break: clone; -webkit-box-decoration-break: clone; border-radius: 4px; 
}
.slide-content .btn { display: table; margin-top: 20px; }

/* OKLAR: KARE VE RADIUS 3 */
.prev, .next { 
    position: absolute; top: 50%; transform: translateY(-50%); 
    background: rgba(0,0,0,0.5); color: white; width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; border-radius: 3px; z-index: 100; transition: 0.3s; font-size: 20px;
}
.prev:hover, .next:hover { background: var(--secondary); }
.prev { left: 20px; }
.next { right: 20px; }

/* --- ASİMETRİK HABERLER YAPISI --- */
.news-section { padding: 60px 0; background: var(--white); }
.news-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.news-header h2 { font-size: 28px; font-weight: 800; color: var(--primary); position: relative; }
.news-header h2::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 50px; height: 4px; background: var(--secondary); }

.custom-news-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; }
.side-news { display: flex; flex-direction: column; gap: 20px; }

.news-card { text-decoration: none; transition: 0.3s; display: block; background: white; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); }
.news-card:hover { transform: translateY(-5px); }
.news-image { width: 100%; overflow: hidden; position: relative; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.news-card:hover .news-image img { transform: scale(1.05); }

.big-card .news-image { height: 350px; }
.small-card { display: grid; grid-template-columns: 120px 1fr; gap: 15px; padding: 10px; align-items: center; }
.small-img { height: 100px !important; border-radius: 8px; }

.card-info { padding: 15px; }
.card-info .date { font-size: 11px; color: var(--secondary); font-weight: 700; display: block; margin-bottom: 5px; }
.card-info h3 { font-size: 18px; color: var(--primary); margin: 0; line-height: 1.3; font-weight: 700; }
.big-card h3 { font-size: 24px; margin-top: 10px; }
.big-card p { color: #64748b; font-size: 14px; margin-top: 10px; line-height: 1.5; }

/* --- İLETİŞİM SAYFASI ÖZEL --- */
.contact-grid-container {
    display: grid; 
    grid-template-columns: 1fr 1.5fr; 
    gap: 60px; 
    align-items: start;
}
.contact-form-box {
    background: var(--bg-light); 
    padding: 40px; 
    border-radius: 20px; 
    box-shadow: var(--shadow);
}

/* --- BİRİMLER KARTLARI --- */
.birimler-minimal-section { padding: 60px 0; }
.minimal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.minimal-card { 
    background: var(--white); padding: 25px; border-radius: 12px; display: flex; 
    align-items: center; gap: 15px; text-decoration: none; border: 1px solid #e2e8f0; transition: 0.3s; 
}
.minimal-card:hover { transform: translateY(-5px); border-color: var(--secondary); box-shadow: var(--shadow); }
.minimal-card .icon-box { width: 50px; height: 50px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 22px; }
.minimal-card h4 { color: var(--primary); font-size: 16px; font-weight: 700; }

/* --- BUTONLAR --- */
.btn { 
    background: var(--secondary); color: white; padding: 14px 30px; border-radius: 6px; 
    text-decoration: none; font-weight: 700; display: inline-block; transition: 0.3s; 
    font-size: 12px; text-transform: uppercase; border: none; cursor: pointer;
}
.btn:hover { background: var(--primary); transform: translateY(-2px); }

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 992px) {
    .nav-menu { display: none; }
    .custom-news-grid { grid-template-columns: 1fr; }
    .small-card { grid-template-columns: 100px 1fr; }
    .minimal-grid { grid-template-columns: 1fr; }
    .slide-content { margin-left: 30px; width: 90%; margin-bottom: 30px; }
    .slide-content h2 { font-size: 22px; line-height: 1.5; }
    .slider-container { height: 300px; }

    /* İletişim Mobilde Form Üste Gelsin */
    .contact-grid-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .contact-form-box {
        order: 1 !important; /* Form en üste */
        padding: 25px !important;
    }
    .contact-info-box {
        order: 2 !important; /* Adresler alta */
    }
}

/* Arşiv sayfası mobilde 4'ten 1'e düşsün */
@media (max-width: 1200px) {
    .news-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 992px) {
    .news-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
    .news-grid { grid-template-columns: 1fr !important; }
}