:root {
    --dark-blue: #004a99;
    --light-blue: #007bff;
    --soft-gray: #f4f7f9;
    --border-color: #eee;
    --radius: 16px;
    --footer-bg: #001f3f;
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    color: #333; 
    background-color: var(--soft-gray); 
    overflow-x: hidden; 
    margin: 0; 
    padding: 0;
}

.navbar { 
    box-shadow: 0 2px 15px rgba(0,0,0,0.04); 
    background: white !important; 
    padding: 12px 0; 
    z-index: 1050; 
    min-height: 80px; 
    display: flex; 
    align-items: center; 
}

.nav-link { 
    color: #444 !important; 
    font-weight: 600; 
    font-size: 0.95rem; 
    padding: 0.5rem 1.2rem !important; 
}

.nav-link:hover, .nav-link.active { 
    color: var(--dark-blue) !important; 
}

@media (min-width: 992px) {
    .navbar-nav .dropdown-menu {
        display: none;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
        border: none;
        border-top: 3px solid var(--dark-blue);
        border-radius: 0 0 12px 12px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    }
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item { 
    padding: 12px 25px; 
    font-weight: 500; 
    color: #555 !important; 
    font-size: 0.9rem; 
}

.dropdown-item:hover { 
    background-color: var(--soft-gray); 
    color: var(--dark-blue) !important; 
    padding-left: 30px; 
}

.hero-slider {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important; 
    position: relative;
    background: #000;
    overflow: hidden;
}

.hero-slider .carousel-inner {
    line-height: 0 !important;
}

.hero-slider .carousel-item {
    height: 600px; 
    width: 100%;
    margin: 0;
    padding: 0;
}



.carousel-indicators {
    position: absolute !important;
    bottom: 30px !important; 
    margin: 0 !important;
    z-index: 15;
    background: transparent !important;
}

.carousel-indicators [data-bs-target] {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    border: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.carousel-indicators .active {
    background-color: var(--light-blue) !important;
    transform: scale(1.2);
}

/* Yazı Alanı (Caption) */
.hero-slider .carousel-caption {
    top: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    z-index: 10;
}

.slider-inner-content {
    max-width: 850px;
}

.slider-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.btn-slider {
    display: inline-block;
    background-color: var(--dark-blue);
    color: white !important;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: 0.3s ease;
}

.btn-slider:hover {
    background-color: var(--light-blue);
    transform: translateY(-3px);
}

.custom-card { 
    background: white; 
    border-radius: var(--radius); 
    border: 1px solid rgba(0,0,0,0.05); 
    padding: 1.5rem !important; 
    height: 100%; 
    transition: 0.3s;
}

.custom-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}

.date-box { 
    background: #f0f7ff; 
    color: var(--dark-blue); 
    min-width: 75px; 
    height: 75px; 
    border-radius: 14px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    margin-right: 15px; 
}

/* 5. KURUMSAL SAYFA & SIDEBAR */
.sidebar-card { background: white; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(0,0,0,0.05); }
.list-group-item { padding: 18px 25px; border: none; border-bottom: 1px solid #f1f1f1; font-weight: 600; color: #555; transition: 0.3s; }
.list-group-item.active { background-color: var(--dark-blue) !important; color: white !important; }
.content-card { background: white; border-radius: var(--radius); padding: 45px; border: 1px solid rgba(0,0,0,0.05); min-height: 550px; }

/* 6. FOOTER */
.footer { 
    background-color: var(--footer-bg); 
    color: white; 
    padding: 80px 0 40px; 
    border-top: 4px solid var(--dark-blue); 
}
.footer a { color: rgba(255, 255, 255, 0.6); text-decoration: none; font-size: 0.85rem; transition: 0.3s; }
.footer a:hover { color: white; padding-left: 5px; }
  /* Kurumsal Sayfa Özel */
        .main-content { padding: 60px 0; }
        .sidebar-card { background: white; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(0,0,0,0.05); }
        .list-group-item { padding: 18px 25px; border: none; border-bottom: 1px solid #f1f1f1; font-weight: 600; color: #555; transition: 0.3s; }
        .list-group-item.active { background-color: var(--dark-blue) !important; color: white !important; }
        .content-card { background: white; border-radius: var(--radius); padding: 45px; border: 1px solid rgba(0,0,0,0.05); min-height: 550px; text-align: left; }
       .support-box {
            background: white;
            border-radius: var(--radius);
            padding: 25px;
            margin-top: 30px;
            border: 1px solid rgba(0,0,0,0.05);
            text-align: center;
        }
        /* Hero Alanı (Sayfa Başlığı) */
        .page-hero {
            background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.85)),
                        url('https://www.targed.org.tr/uploads/sliders/1762845771-c9.jpg');
            background-size: cover;
            background-position: center;
            padding: 70px 0;
            color: #fff;
            text-align: center;
        }
        .page-hero h1 { font-weight: 800; font-size: 2.5rem; margin-bottom: 10px; }
        .breadcrumb { justify-content: center; font-size: 0.9rem; opacity: 0.8; }
        .breadcrumb-item + .breadcrumb-item::before { color: #fff; content: "→"; }
        .breadcrumb a { color: #fff; text-decoration: none; }
@media (max-width: 1400px) {
    .hero-slider .carousel-item { height: 500px !important; }
}

@media (max-width: 992px) {
    .hero-slider .carousel-item { height: 450px !important; }
    .slider-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .hero-slider .carousel-item { height: 350px !important; }
    .slider-title { font-size: 1.8rem; }
    .hero-slider .carousel-caption { padding: 0 5%; }
}

.hero-slider {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    position: relative;
    background: #fff !important; 
    overflow: hidden;
    width: 100%;
}

.hero-slider .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.8s;
    transition-property: opacity;
    display: block !important;
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
    position: relative; 
    z-index: 1;
}

/* 3. Resim Boyutlandırma */
.hero-slider .carousel-item {
    height: 600px ; 
}

.hero-slider .carousel-item img {
    width: 100% ;
    height: 100% ;
    object-fit: contain ;
    border: none ;
}

/* 4. Indicators (Noktalar) */
.carousel-indicators {
    bottom: 30px !important;
    z-index: 15;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2) !important;
    border: none;
    margin: 0 6px;
}

.carousel-indicators .active {
    background-color: var(--dark-blue) !important;
}

/* 5. Yazı Alanı */
.hero-slider .carousel-caption {
    z-index: 10;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* --- MOBİL MENÜ & HAMBURGER KESİN ÇÖZÜM --- */

/* 1. Hamburger İkon Animasyonu */
.navbar-toggler {
    width: 44px;
    height: 44px;
    position: relative;
    cursor: pointer;
    border: none !important;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

.hamburger-icon {
    width: 26px;
    height: 20px;
    position: relative;
    transition: .5s ease-in-out;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark-blue); /* Kurumsal Mavi */
    border-radius: 9px;
    left: 0;
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) { top: 0px; }
.hamburger-icon span:nth-child(2) { top: 8px; }
.hamburger-icon span:nth-child(3) { top: 16px; }

/* Hamburger X Dönüşümü (Menü Açıldığında) */
.navbar-toggler.open .hamburger-icon span:nth-child(1) { top: 8px; transform: rotate(135deg); }
.navbar-toggler.open .hamburger-icon span:nth-child(2) { opacity: 0; left: -40px; }
.navbar-toggler.open .hamburger-icon span:nth-child(3) { top: 8px; transform: rotate(-135deg); }

/* 2. Offcanvas (Açılır Yan Menü) Tasarımı */
.offcanvas { 
    width: 300px !important; 
    border: none !important; 
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.offcanvas-header {
    padding: 25px;
    border-bottom: 1px solid #f1f1f1;
}

.offcanvas-title img {
    height: 40px;
}

.offcanvas-body {
    padding: 20px 25px;
}

/* 3. Menü Link Stilleri */
.mobile-nav-item {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px 0;
    display: block;
    color: var(--dark-blue);
    text-decoration: none;
    border-bottom: 1px solid #f8f9fa;
    transition: 0.3s;
}

/* Alt Menü (Accordion) Butonu */
.mobile-accordion-btn {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 15px 0;
    font-weight: 700;
    color: var(--dark-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    border-bottom: 1px solid #f8f9fa;
}

/* Alt Menü Linkleri */
.mobile-submenu {
    list-style: none;
    padding-left: 15px;
    margin: 0;
    background: #fcfcfc;
}

.mobile-submenu a {
    display: block;
    padding: 12px 15px;
    color: #666 !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-left: 2px solid transparent;
    transition: 0.3s;
}

/* Alt Menü Aktif/Hover Durumu */
.mobile-submenu a:hover, 
.mobile-submenu a.active {
    color: var(--dark-blue) !important;
    background: #f0f7ff;
    border-left: 3px solid var(--dark-blue);
    padding-left: 20px;
}
@media (max-width: 1400px) {
    .hero-slider .carousel-item { height: 500px !important; }
}

@media (max-width: 992px) {
    .hero-slider .carousel-item { height: 400px !important; }
    .slider-title { font-size: 2.2rem !important; }
}

@media (max-width: 768px) {
    .hero-slider .carousel-item { height: 350px !important; }
    .slider-title { font-size: 1.6rem !important; }
}
   #calendar {
        font-family: 'Inter', sans-serif;
    }
.hero-slider .carousel-item img {
    width: 100% ;
    height: 100% ;
    object-fit: contain ;
    border: none ;
}
    .fc .fc-toolbar-chunk {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .fc .fc-button-group {
        gap: 8px;
        box-shadow: none !important;
        background: transparent !important;
    }

    .fc .fc-button {
        padding: 8px 16px !important;
        border-radius: 10px !important;
        font-weight: 600 !important;
        font-size: 0.9rem !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        margin-left: 0 !important;
        transition: all 0.2s ease;
        text-transform: capitalize !important;
    }

    .fc .fc-today-button {
        margin-left: 10px !important;
        background-color: var(--dark-blue) !important;
        opacity: 0.9;
    }

    .fc .fc-button-active {
        background-color: var(--dark-blue) !important;
        border-color: var(--dark-blue) !important;
    }

    .fc-header-toolbar {
        margin-bottom: 30px !important;
    }

    .fc-toolbar-title {
        font-weight: 800;
        color: var(--dark-blue);
        font-size: 1.5rem !important;
    }

    .fc-day-today {
        background-color: rgba(0, 86, 179, 0.05) !important;
    }

    .fc-event {
        cursor: pointer;
        border: none !important;
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 0.8rem;
        transition: 0.3s;
        margin-bottom: 2px;
    }

    .event-side-item {
        transition: 0.3s;
        cursor: pointer;
    }

    .event-side-item:hover {
        border-color: var(--light-blue) !important;
        transform: translateX(5px);
    }
       .main-content { padding: 60px 0; }
    
    .member-card {
        background: white;
        border-radius: var(--radius);
        overflow: hidden;
        border: 1px solid rgba(0,0,0,0.05);
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        height: 100%;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    }
    .member-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 74, 153, 0.1);
        border-color: var(--light-blue);
    }
    
    .member-img-wrap {
        width: 100%;
        height: 320px;
        overflow: hidden;
        background-color: #f0f0f0;
        position: relative;
    }
    .member-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.5s;
    }
    .member-card:hover .member-img-wrap img { transform: scale(1.05); }

    .member-body { padding: 25px; }
    .member-role {
        color: var(--light-blue);
        font-weight: 700;
        font-size: 0.75rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        display: block;
        margin-bottom: 8px;
    }
    .member-name {
        font-weight: 800;
        font-size: 1.2rem;
        color: var(--dark-blue);
        margin-bottom: 5px;
    }
    .member-title { font-size: 0.9rem; color: #777; margin-bottom: 0; }

    @media (max-width: 991px) { .member-img-wrap { height: 280px; } }
    @media (max-width: 768px) { .member-img-wrap { height: 350px; } }
     .info-card { 
        background: white; 
        border-radius: var(--radius); 
        padding: 30px; 
        text-align: left; 
        border: 1px solid rgba(0,0,0,0.05); 
        transition: 0.3s; 
        height: 100%; 
    }
    .info-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 74, 153, 0.08); }
    .icon-circle { 
        width: 50px; height: 50px; border-radius: 12px; 
        display: flex; align-items: center; justify-content: center; 
        margin-bottom: 20px; font-size: 1.2rem; 
    }
    .bg-blue-soft { background: #e7f1ff; color: var(--dark-blue); }
    .bg-green-soft { background: #dcfce7; color: #22c55e; }
    
    .map-wrapper-full { 
        border-radius: var(--radius); 
        overflow: hidden; 
        border: 1px solid #eee; 
        width: 100%;
        height: 500px; 
        box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    }
    @media (max-width: 768px) {
        /* Başlık (Ay/Yıl) kısmını küçült */
        .fc-toolbar-title {
            font-size: 1.1rem !important;
            margin: 10px 0 !important;
        }

        /* Buton gruplarını yan yana getir ve sığmazsa alt satıra at */
        .fc .fc-toolbar {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            gap: 8px;
        }

        .fc-toolbar-chunk {
            display: flex;
            gap: 4px;
            flex-wrap: wrap;
            justify-content: center;
        }

        /* Butonların içindeki yazıları ve boyutları mobilde optimize et */
        .fc .fc-button {
            padding: 5px 10px !important;
            font-size: 0.8rem !important;
            text-transform: capitalize !important;
        }

        /* Takvim içindeki gün kutucuklarının yüksekliğini mobilde ayarla */
        .fc-daygrid-day-frame {
            min-height: 50px !important;
        }
    }

    /* Takvim kutusu mobilde tam ekran genişliği kullansın */
    @media (max-width: 576px) {
        .bg-white.p-2.p-md-4 {
            padding: 5px !important;
        }
    }
    