:root {
    --primary-color: #0066cc;
    --text-dark: #1a1a1a;
    --border-color: #eee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.container {
    width: 95%;
    max-width: 1300px;
    margin: auto;
}

/* Navbar */
.navbar {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
}

.logo span {
    color: var(--primary-color);
}

/* Hamburger Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
}

/* Nav Menu */
.nav-menu ul {
    list-style: none;
    gap: 5px;
	display: flex !important;
    justify-content: center !important;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 10px;
    font-weight: 700;
    padding: 10px 8px;
    text-transform: uppercase;
    display: block;
}

/* Dropdown - Kesin Gizleme */
.dropdown {
    position: absolute;
    top: 120%;
    /* Navbar'dan biraz aşağıda başlar */
    left: 0;
    background: #fff;
    min-width: 240px;
    /* İçeriklerin sığması için biraz genişlettik */
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 10px 0;

    /* Gizleme */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;

    /* Alt alta dizilimi garanti eder */
    display: flex;
    flex-direction: column;
}

.dropdown li {
    width: 100%;
    /* Her liste öğesi satırı kaplar */
    display: block;
}

.dropdown li a {
    font-size: 11px;
    text-transform: none;
    font-weight: 500;
    padding: 12px 20px;
    display: block;
    /* Tıklanabilir alanı satır boyuna çıkarır */
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s ease;
}

/* Hover durumunda satırın arka planı değişir */
.dropdown li a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-left: 25px;
    /* Hafif bir kayma efekti kurumsallığı artırır */
}

/* Masaüstü görünürlük tetikleyici */
@media (min-width: 1101px) {
    .nav-menu ul li:hover .dropdown {
        opacity: 1;
        visibility: visible;
        top: 100%;
    }
}

/* Masaüstünde Hover Etkisi */
@media (min-width: 1101px) {
    .nav-menu ul li:hover .dropdown {
        opacity: 1;
        visibility: visible;
        top: 100%;
    }
}

/* RESPONSIVE (MOBİL) */
@media (max-width: 1100px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: 0.4s;
        padding-top: 60px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        /* Mobilde tıkla-aç için */
        box-shadow: none;
        background: #f9f9f9;
        border: none;
        padding-left: 15px;
    }
}

/* Kurumsal Üst Çubuk (Interreg Logosu İçin) */
.corporate-header {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f6;
}

.interreg-img {
    max-height: 45px;
    display: block;
}

/* Ana Logo Alanı (Bioblack İkonu İçin) */
.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
}

.bioblack-img {
    height: 55px;
    width: auto;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: #003399;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.brand-text span {
    color: #333;
}

/* Proje Künyesi Rozeti */
.project-meta-badge {
    background: #f0f4f8;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #003399;
    font-weight: 600;
}

.links-list {
    max-width: 900px;
    margin: 0 auto 100px;
}

.link-item {
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

/* İlk elemanın üstüne de çizgi ekleyelim (AquaTT tarzı ayrım) */
.link-item:first-child {
    border-top: 1px solid var(--border-color);
}

.link-title {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 5px;
    transition: color 0.2s ease;
}

.link-title:hover {
    color: #004499;
    text-decoration: underline;
}

.link-meta {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.link-desc {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

/* Mobil Uyumluluk */
@media (max-width: 1100px) {
    .link-title {
        font-size: 12px;
    }
}

/* --- Navigasyon Sosyal İkonları (Eksiksiz Son Hal) --- */
.nav-socials {
    display: flex;
    align-items: center;
    gap: 0;
    padding-left: 10px;
    margin-left: auto !important; /* İkonları en sağa yaslar, diğer menülerin boşluğunu korur */
    border-left: 1px solid #ddd;
    flex-shrink: 0; /* Öğenin esneyip yapıyı bozmasını engeller */
}

.nav-socials a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 2px !important;
    margin: 0 -2px !important;
    color: #555 !important;
    background: transparent !important;
    border: none !important;
    width: auto !important;
    transition: color 0.3s ease, transform 0.2s ease;
}

/* İKONLARIN GÖRÜNMESİNİ SAĞLAYAN BOYUT KODU */
.nav-socials a svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

.nav-socials a:hover {
    color: #0056b3 !important;
    transform: translateY(-2px);
}

/* Mobil / Yan Menü Görünümü */
@media (max-width: 992px) {
    .nav-socials {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 15px 0 20px 0 !important;
        margin: 10px 0 0 0 !important;
        border-left: none !important;
        border-top: 1px solid #eee !important;
    }
    
    .nav-socials a {
        padding: 5px !important;
        margin: 0 5px !important;
    }
}

/* --- ÜST SATIR DÜZENİ --- */
.corporate-header {
    background-color: #fff;
    border-bottom: 1px solid #edf2f7; /* İnce yatay ayraç */
    padding: 15px 0;
}

.header-top-row {
	display: flex;
    justify-content: center; /* Öğeleri yatayda tam ortaya hizalar */
    align-items: center;
    gap: 30px;
}

.interreg-img {
    max-height: 60px; /* Sitenizdeki logo boyutuna göre artırıp azaltabilirsiniz */
    width: auto;
}

/* Dikey Ayraç */
.header-divider {
    width: 1px;
    height: 50px;
    background-color: #e2e8f0; /* İnce açık gri ton */
}

/* BIOBLACK Logo (Üst satıra taşındı) */
.brand-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.bioblack-img {
    height: 50px;
    border-radius: 50%;
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color, #0056b3);
}

.brand-text span {
    color: #333;
}

/* --- ALT SATIR (NAVBAR) DÜZENİ --- */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #edf2f7;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-bottom-row {
    display: flex;
    justify-content: center; /* Logonun çıkmasıyla menüyü ortalarız */
    align-items: center;
    width: 100%;
}

/* --- MOBİL UYUM (RESPONSIVE) --- */
@media (max-width: 992px) {
    .header-top-row {
        flex-direction: column; /* Logoları alt alta sıralar */
        gap: 15px;
        text-align: center;
    }
    
    .header-divider {
        width: 60%; /* Dikey çizgiyi yatay ayırıcıya dönüştürür */
        height: 1px;
    }
    
    .header-bottom-row {
        justify-content: flex-end; /* Hamburger menüyü hizalar */
        padding: 10px 0;
    }
}

.nav-menu {
    width: 100%;
    display: flex;
    justify-content: center;
}

.eu-disclaimer {
    background-color: #f8fafc;
    padding: 20px;
    margin-top: 50px;
    border-top: 1px solid #edf2f7;
    text-align: center;
}
.eu-disclaimer p {
    font-size: 12px;
    color: #64748b;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.5;
}