/* --- MODERN RENK PALETİ & DEĞİŞKENLER --- */
:root {
    --primary-red: #c5282e;       /* Türk Bayrağı Kırmızısı */
    --primary-gold: #c5a065;      /* Asil Altın */
    --primary-gold-dark: #a8885a; /* Koyu Altın */
    --primary-dark: #212529;      /* Antrasit */
    --section-bg: #f8f9fa;        /* Açık Gri Arkaplan */
    --font-main: 'Cinzel', serif; /* Başlık Fontu */
    --font-body: 'Poppins', sans-serif; /* Okuma Fontu */
}

body {
    font-family: var(--font-body);
    color: var(--primary-dark);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .brand-text {
    font-family: var(--font-main);
}

a { text-decoration: none; }

/* --- ÜST BİLGİ ÇUBUĞU --- */
.top-info-bar {
    background: linear-gradient(135deg, var(--primary-dark), #000);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--primary-gold);
    position: relative;
    z-index: 1001; /* Header'ın üstünde kalsın */
}
.top-info-bar a {
    color: rgba(255,255,255,0.8);
    transition: 0.3s;
    margin-left: 15px;
}
.top-info-bar a:hover { color: var(--primary-gold); }

/* --- YENİLENMİŞ HEADER TASARIMI (Gölge Resimli) --- */
.main-header {
    position: relative;
    padding: 25px 0;
    background-color: #fff;
    overflow: hidden; /* Resim taşmasını engelle */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    z-index: 1000;
}

/* Arkaplan "Gölge" Resim Efekti */
.main-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Meclis Genel Kurul Resmi (Silik) */
    background-image: url('../tpb_header.jpg');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.15; /* Daha görünür */
    filter: grayscale(50%); /* Siyah beyaz olsun, renkleri bozmasın */
    z-index: 0;
}

/* İçeriği resmin üstüne çıkarmak için */
.main-header .container {
    position: relative;
    z-index: 1;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(197, 160, 101, 0.4);
    border: 3px solid #fff; /* Logoyu öne çıkarmak için beyaz çerçeve */
    transition: all 0.4s ease;
}
.logo-circle:hover { transform: rotate(360deg); }

.brand-text {
    padding-left: 15px;
    border-left: 1px solid rgba(0,0,0,0.1);
    margin-left: 15px;
}

.brand-text h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}
.brand-text p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--primary-red); /* Slogan kırmızı olsun */
    margin: 5px 0 0 0;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

/* --- NAVİGASYON --- */
.navbar-custom {
    background: white;
    padding: 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
    padding: 18px 20px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
}

/* Hover Çizgisi */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 3px;
    background: var(--primary-gold); /* Menü alt çizgi gold olsun */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 100%; }
.navbar-nav .nav-link:hover { color: var(--primary-gold-dark); }

/* Dropdown - Ajax Gibi */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block; opacity: 1; visibility: visible;
        transform: translateY(0);
    }
    .dropdown-menu {
        display: block; opacity: 0; visibility: hidden;
        transform: translateY(15px);
        transition: all 0.3s ease;
        border: none;
        border-top: 3px solid var(--primary-gold);
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        border-radius: 0 0 8px 8px;
        padding: 10px 0;
        min-width: 240px;
        margin-top: 0; /* Boşluk kalmasın */
    }
}
.dropdown-item {
    padding: 12px 25px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: all 0.2s;
    border-bottom: 1px solid #f8f9fa;
    color: #555;
}
.dropdown-item:hover {
    background-color: #fcfcfc;
    color: var(--primary-red);
    padding-left: 32px;
    font-weight: 600;
}

/* --- HERO SLIDER --- */
.hero-slider .carousel-item {
    height: 550px;
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
    display: flex; align-items: center;
}
.hero-content {
    padding-left: 5%; color: white; max-width: 800px;
    animation: fadeInLeft 1s ease;
}
.hero-content h2 {
    font-size: 3.5rem; font-weight: 700; line-height: 1.1; margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.btn-gold {
    background-color: var(--primary-gold);
    color: white; padding: 12px 35px; border-radius: 0; /* Keskin köşe daha resmi */
    font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    transition: all 0.3s; border: none;
}
.btn-gold:hover { background-color: white; color: var(--primary-gold-dark); transform: translateY(-3px); }

@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }

/* --- HIZLI ERİŞİM (Quick Access) --- */
.quick-access-section {
    margin-top: -60px; position: relative; z-index: 10; padding-bottom: 50px;
}
.access-card {
    background: white; padding: 30px 20px; text-align: center;
    border-radius: 4px; box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.3s; height: 100%; border-bottom: 4px solid var(--primary-gold);
}
.access-card:hover {
    transform: translateY(-10px); border-bottom-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.icon-box { font-size: 2.5rem; color: var(--primary-dark); margin-bottom: 15px; transition: 0.3s; }
.access-card:hover .icon-box { transform: scale(1.1); color: var(--primary-red); }

/* --- ORTAK BAŞLIK STİLİ --- */
.section-title { margin-bottom: 40px; position: relative; }
.section-title h2 { font-size: 2.2rem; font-weight: 700; color: var(--primary-dark); }
.section-title-line {
    width: 80px; height: 3px; background: var(--primary-red); margin: 15px auto 0;
}

/* --- BAŞKAN & DUYURULAR BÖLÜMÜ --- */
.president-section { background-color: #fff; padding: 60px 0; }
.president-card {
    display: flex; flex-direction: column; height: 100%;
    background: #fff; border: 1px solid #eee; border-top: 5px solid var(--primary-dark);
    padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.president-img-wrapper {
    width: 140px; height: 140px; border-radius: 50%; overflow: hidden;
    margin-bottom: 20px; border: 4px solid var(--primary-gold);
}
.president-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.quote-icon { font-size: 2rem; color: #f0f0f0; margin-bottom: 10px; }

/* Duyurular Listesi */
.announcement-list { list-style: none; padding: 0; margin: 0; }
.announcement-item {
    display: flex; align-items: flex-start; padding: 18px 0;
    border-bottom: 1px dashed #ddd; transition: 0.3s;
}
.announcement-item:last-child { border-bottom: none; }
.announcement-item:hover { background-color: #fafafa; padding-left: 10px; border-left: 3px solid var(--primary-gold); }
.announcement-date {
    background: var(--primary-dark); color: white;
    padding: 8px 10px; border-radius: 2px; font-size: 0.8rem;
    font-weight: 600; text-align: center; min-width: 65px; margin-right: 15px;
}
.announcement-content h6 {
    margin: 0 0 5px; font-size: 1rem; font-weight: 600; color: var(--primary-dark);
    font-family: var(--font-main);
}
.announcement-content p { margin: 0; font-size: 0.85rem; color: #6c757d; }

/* --- HABERLER BÖLÜMÜ --- */
.news-section { background-color: #f4f6f9; padding: 80px 0; }
.news-card {
    background: white; border-radius: 0; overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); transition: all 0.3s; border: none;
    height: 100%; border-bottom: 3px solid transparent;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-bottom-color: var(--primary-gold); }
.news-img {
    height: 220px; background-size: cover; background-position: center; position: relative;
}
.news-date-badge {
    position: absolute; top: 0; right: 0;
    background: var(--primary-red); color: white;
    padding: 8px 15px; font-size: 0.8rem; font-weight: 600;
}
.news-body { padding: 25px; }
.news-body h5 {
    font-family: var(--font-main); font-weight: 700; font-size: 1.2rem;
    margin-bottom: 12px; line-height: 1.4; color: var(--primary-dark);
}
.news-body p { font-size: 0.9rem; color: #6c757d; margin-bottom: 20px; }
.read-more {
    color: var(--primary-gold-dark); font-weight: 700; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 1px; transition: 0.2s;
}
.read-more:hover { color: var(--primary-red); margin-left: 5px; }

/* --- BREADCRUMB --- */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), #000);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://dummyimage.com/1920x400/2c3e50/ffffff&text=Yonetim+Kurulu');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}
.page-header .container {
    position: relative;
    z-index: 1;
}
.page-title {
    font-family: var(--font-main);
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}
.breadcrumb-item {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}
.breadcrumb-item a {
    color: var(--primary-gold);
    transition: 0.3s;
}
.breadcrumb-item a:hover {
    color: white;
}
.breadcrumb-item.active {
    color: white;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* --- YÖNETİM KURULU SECTION --- */
.board-section {
    padding: 80px 0;
    background-color: var(--section-bg);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-intro h2 {
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.section-line {
    width: 80px;
    height: 3px;
    background: var(--primary-red);
    margin: 20px auto;
}

.section-intro p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
}

/* --- ÜYE KARTLARI --- */
.board-member-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
    border-bottom: 4px solid transparent;
}

.board-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-bottom-color: var(--primary-gold);
}

.member-photo {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center top;
    position: relative;
    overflow: hidden;
}

.member-position-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-red);
    color: white;
    padding: 8px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
}

.member-position-badge.chairman {
    background: var(--primary-gold);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h4 {
    font-family: var(--font-main);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.member-title {
    font-size: 0.95rem;
    color: var(--primary-gold-dark);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.member-period {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.member-period i {
    color: var(--primary-gold);
}

.member-divider {
    width: 50px;
    height: 2px;
    background: var(--primary-gold);
    margin: 15px auto;
}

.member-contact {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.contact-icon {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.contact-icon:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

.view-profile-btn {
    margin-top: 20px;
    display: inline-block;
    background: var(--primary-dark);
    color: white;
    padding: 10px 30px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.view-profile-btn:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateX(5px);
}

/* --- PROFİL DETAY --- */
.profile-section {
    padding: 80px 0;
    background: var(--section-bg);
}

.profile-header-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.profile-cover {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-gold-dark));
    position: relative;
}

.profile-main-info {
    padding: 0 40px 40px;
    margin-top: -80px;
    position: relative;
}

.profile-photo-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 25px;
}

.profile-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name h1 {
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.profile-position {
    background: var(--primary-gold);
    color: white;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.profile-quick-info {
    display: flex;
    gap: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6c757d;
    font-size: 0.95rem;
}

.quick-info-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.profile-contact-btn {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.contact-btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-btn-primary {
    background: var(--primary-dark);
    color: white;
    border: 2px solid var(--primary-dark);
}

.contact-btn-primary:hover {
    background: transparent;
    color: var(--primary-dark);
}

.contact-btn-outline {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.contact-btn-outline:hover {
    background: var(--primary-gold);
    color: white;
}

/* --- DETAY İÇERİK --- */
.profile-details {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-title {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-gold);
    display: inline-block;
}

.detail-content {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.9;
    text-align: justify;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: start;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 700;
    color: var(--primary-dark);
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-label i {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.info-value {
    color: #555;
    flex: 1;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-gold);
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--primary-gold);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-gold);
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-gold-dark);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.timeline-content {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 5px;
    border-left: 3px solid var(--primary-gold);
}

.timeline-content h5 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

/* --- FOOTER --- */
footer {
    background-color: #2c3e50;
    color: #b8c2cc;
    padding-top: 0;
    position: relative;
}

.footer-top {
    background-color: #34495e;
    padding: 50px 0 30px;
    text-align: center;
}

.footer-building {
    max-width: 400px;
    margin: 0 auto 20px;
}

.footer-building img {
    width: 100%;
    height: auto;
}

.footer-slogan {
    color: #c5a065;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0;
}

.footer-links-section {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-column h5 {
    color: #c5a065;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: none;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b8c2cc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    padding: 30px 0;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.footer-logo-text h6 {
    color: white;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.footer-logo-text p {
    color: #b8c2cc;
    font-size: 0.75rem;
    margin: 0;
}

.footer-contact h6 {
    color: #c5a065;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #b8c2cc;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: #c5a065;
    margin-right: 10px;
    margin-top: 3px;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.social-icon:hover {
    background-color: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

.footer-copyright {
    background-color: #1a252f;
    padding: 15px 0;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.85rem;
}
