/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #c0392b;
    /* Deep Red */
    --secondary-color: #e74c3c;
    /* Lighter Red */
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --font-main: 'Inter', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--dark-color);
    background-color: var(--light-color);
}

/* Bootstrap Overrides for Red Theme */
.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: #a93226;
    /* Darker red */
    border-color: #a93226;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}


/* Navbar Tweaks */
.navbar-brand img {
    height: 60px;
    /* Adjust based on logo aspect ratio */
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section / Carousel */
.hero-bg {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    /* Background image is set inline in HTML for each slide, or can be default */
}

@media (max-width: 768px) {
    .hero-bg {
        height: 400px;
    }

    .display-3 {
        font-size: 2.5rem;
    }
}


/* Info Cards */
.info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.info-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer Card Style Override if needed */
footer {
    background-color: #212529;
    color: #adb5bd;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

.baslik
{
  font-size: 24px;
  font-weight: bold;
  color: #C0392B;
  padding-bottom: 10px;
  border-bottom: 1px solid #969696;
  margin-bottom: 10px;
  margin-top: 30px;
}

/* Pasif sekmeler */
.nav-tabs .nav-link {
    background-color: #dc3545; /* bootstrap danger */
    color: #fff;
    border: none;
    margin-right: 2px;
}

/* Aktif sekme */
.nav-tabs .nav-link.active {
    background-color: #495057; /* koyu gri (görseldeki gibi) */
    color: #fff;
}


  .period-card{
    border:1px solid #e5e5e5;
    background:#fff;
    padding:15px;
    margin-bottom:20px;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
  }
  .period-title{
    font-weight:700;
    text-align:center;
    padding:10px 12px;
    margin:0 0 15px;
    background:#f7f7f7;
    border:1px solid #eee;
  }
  .member-card{
    background:#fafafa;
    border:1px solid #eee;
    padding:10px;
    margin-bottom:15px;
    text-align:center;
    min-height: 310px;
  }
  .member-card img{
    width:100%;
    max-width:220px;
    display:block;
    margin:0 auto 10px;
    border:1px solid #eaeaea;
    background:#fff;
  }
  .member-name{ font-weight:700; }
  .member-role{ color:#777; font-size:13px; }

    .congress-grid { margin-top: 15px; }

  .congress-card{
    border:1px solid #e6e6e6;
    background:#fff;
    margin-bottom:20px;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
    transition: all .15s ease-in-out;
    min-height: 665px;
  }
  .congress-card:hover{
    box-shadow: 0 6px 18px rgba(0,0,0,.10);
    transform: translateY(-2px);
  }

  .congress-thumb{
    display:block;
    overflow:hidden;
    border-bottom:1px solid #eee;
  }
  .congress-thumb img{
    width:100%;
    display:block;
  }

  .congress-body{ padding:12px 14px; }
  .congress-title{
    margin:0;
    font-size:16px;
    line-height:1.35;
    font-weight:700;
    color:#222;
    text-align: center;
  }

  /* haberler */
  .news-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    height: 100%;
    }
    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .card-img-top {
        height: 200px;
        object-fit: cover;
        background-color: #eee;
    }
    .card-title a {
        text-decoration: none;
        color: #2c3e50;
        font-weight: 600;
    }
    .card-title a:hover {
        color: var(--primary-color);
    }
    .meta-text {
        font-size: 0.85rem;
        color: #777;
        margin-bottom: 0.5rem;
    }
    .btn-read-more {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
    }
    .btn-read-more:hover {
        text-decoration: underline;
    }

    .news-baslik {
    color: #333; 
    font-weight: 900; /* Extra bold */
    font-size: 2.2rem;
    line-height: 1.2;
    color: #2c3e50; /* Dark slate blue-ish */
}

/* Meta Bar customization */
.meta-bar {
    font-size: 0.95rem;
    font-weight: 500;
}

.date-box {
    background-color: #3b4b60; /* Dark slate */
    border-right: 1px solid rgba(255,255,255,0.2);
}

.category-box {
    background-color: #3b4b60; /* Dark slate */
    border-right: 1px solid #fff; /* Separator */
}

.tag-box {
    background-color: #00897b; /* Teal */
}

/* Content typography */
.content-body p {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    color: #444; /* Slightly softer black */
    font-size: 1.05rem;
}

.signature p {
    font-size: 1.05rem;
}

.signature .fw-bold {
    color: #000;
}

.haber-ici {
    min-height: 600px;
}


 /* Meetings */
.event-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    color: #0d6efd;
  }

  .event-link:hover {
    
    color: #0b5ed7;
  }

  .table td, .table th {
    padding: 0.85rem 1rem;
  }

/* Meeting Highlight Section */
.meeting-highlight {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: #fff;
}

.meeting-box {
    background: rgba(255,255,255,0.08);
    padding: 40px;
    border-radius: 14px;
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.meeting-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 1.25rem; 
    font-weight: 700;
    letter-spacing: .3px;
    line-height: 1.4;
}

.meeting-title {
    font-weight: 600;
    font-size: 1.1rem; 
    margin-top: 20px;
}

.meeting-text {
    font-size: 1.1rem; 
    opacity: 0.9;
    line-height: 1.6;
    max-width: 650px;
}

/* Button override for this section */
.meeting-highlight .btn-primary {
    background-color: #fff !important;
    border-color: #fff !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    transition: all .25s ease;
}

.meeting-highlight .btn-primary:hover {
    background-color: #f8f9fa !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Mobile */
@media (max-width: 768px) {
    .meeting-box {
        padding: 25px;
        text-align: center;
    }

    .meeting-title {
        font-size: 1.4rem;
    }
}