/* YENİDEN UMUT PARTİSİ - KURUMSAL STİL REHBERİ (V4 - FİNAL)
    Renk Paleti: Turkuaz, Beyaz ve Kırmızı Detaylar
*/

:root {
    --primary-color: #008080;   /* Turkuaz / Petrol Mavisi */
    --secondary-color: #e63946; /* Kırmızı / Bayrak Rengi */
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 1. SAYFA YAPISI (Sticky Footer Ayarı) */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--light-bg);
    color: #333;
    line-height: 1.6;
}

/* 2. HEADER & NAVBAR */
header {
    background: var(--white);
    border-bottom: 4px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
    margin-right: 15px;
}

.logo-text {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-color);
    text-transform: uppercase;
    line-height: 1.1;
}

.logo-text span {
    color: var(--secondary-color);
    display: block;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* 3. SAYFA BANNER (SLOGAN ALANI) */
.page-banner {
    background: linear-gradient(rgba(0,128,128,0.9), rgba(0,77,77,1));
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    text-align: center; /* Slogan tam ortalanır */
}

/* 4. ANA İÇERİK KONTEYNERI (Footer'ı Aşağı İten Alan) */
.container {
    flex: 1 0 auto; /* Sayfa dolmasa bile içeriği esnetir */
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    width: 100%;
}

.content-box {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

h2.section-title {
    color: var(--primary-color);
    margin-bottom: 25px;
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
}

/* 5. DUYURU VE BAŞKANLIK GRID YAPILARI */
.duyuru-grid, .baskan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.duyuru-card, .baskan-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

.duyuru-card:hover, .baskan-card:hover {
    transform: translateY(-5px);
}

.duyuru-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.duyuru-body {
    padding: 20px;
}

/* 6. BAŞKANLIK ÖZEL AYARLARI */
.baskan-card {
    padding: 30px;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.baskan-foto {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--primary-color);
}

/* 7. BUTONLAR VE FORMLAR */
.btn-devam {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: 0.3s;
}

.btn-devam:hover {
    background: var(--secondary-color);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

/* 8. MODAL (POP-UP) SİSTEMİ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    width: 90%;
    max-width: 750px;
    border-radius: 15px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    animation: bounceIn 0.4s ease;
}

@keyframes bounceIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.close-btn {
    position: absolute;
    right: 20px; top: 15px;
    font-size: 30px;
    cursor: pointer;
    color: var(--secondary-color);
}

/* 9. FOOTER (TAM EN ALTTA KALAN) */
footer {
    flex-shrink: 0;
    background: var(--dark-bg);
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: auto;
}

/* 10. MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .navbar { flex-direction: column; }
    .nav-links { margin-top: 15px; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .page-banner h1 { font-size: 1.8rem; }
    .logo-img { height: 50px; }
}