/* Ana bölüm için stiller */
.main-section {
    padding: 37px 0 0 0;
}

/* Slider ve duyurular için eşit yükseklik */
.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.equal-height > div {
    display: flex;
    flex-direction: column;
}

/* Owl Carousel için stiller */
.owl-carousel,
.owl-carousel .owl-stage-outer,
.owl-carousel .owl-stage,
.owl-carousel .owl-item {
    height: 100%;
}

.owl-carousel .item {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.owl-carousel h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.owl-carousel h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    background-color: rgba(0,0,0,0.5);
    padding: 10px;
}

.owl-carousel .text {
    max-width: 80%;
    margin-bottom: 20px;
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.owl-prev, .owl-next {
    position: absolute;
    color: #fff !important;
    padding: 10px 15px !important;
    font-size: 24px !important;
}

.owl-prev {
    left: 10px;
}

.owl-next {
    right: 10px;
}

.owl-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.owl-dot span {
    background: rgba(255, 255, 255, 0.5) !important;
}

.owl-dot.active span {
    background: #fff !important;
}

/* Duyurular bölümü için stiller */
.announcements-section {
    height: 100%;
}

.announcements-section .vertical-links-outer {
    height: 100%;
    overflow-y: auto;
}

.bg-transparent {
    background-color: transparent !important;
}

/* Recent Projects Section */
.recent-projects {
    padding: 15px;
    background-color: #4b4f5a;
}

.recent-projects .default-featured-column {
    height: 100%;
}

.recent-projects .inner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 120px;
}

.image-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.recent-projects .image-box img {
    width: 32px !important;
    height: 32px !important;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.recent-projects .inner-box:hover .image-box img {
    opacity: 1;
}

.recent-projects h3 {
    margin: 0;
    text-align: center;
}

.recent-projects h3 a {
    color: #fff!important;
    font-weight: 300;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.recent-projects .col-md-2:not(:last-child):after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 0.5px;
    background: #a89872;
}

.recent-projects .inner-box {
    padding: 15px 10px;
}

.fs-12 a {
    font-size: 12px !important;
}

@media (max-width: 767px) {
    .recent-projects .col-md-2:not(:last-child):after {
        right: 0;
        top: auto;
        bottom: 0;
        height: 0.5px;
        width: 80%;
        left: 10%;
    }
    .recent-projects .inner-box {
        padding: 10px 5px;
    }
}

/* Birim Haberleri Section */
.birim-haberleri {
    padding: 15px;
}

.section-header {
    position: relative;
    padding-bottom: 15px;
    border-bottom: 2px solid #a89872;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    color: #4b4f5a;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
}

.all-news-link {
    color: #a89872;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.all-news-link:hover {
    color: #4b4f5a;
}

.all-news-link i {
    margin-left: 5px;
    font-size: 14px;
}

.tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    padding-bottom: 5px; /* Scrollbar için ekstra alan */
}

.tabs-wrapper::-webkit-scrollbar { 
    display: none; /* Chrome, Safari, Opera */
}

#birimTabs {
    border: none;
    flex-wrap: nowrap;
    min-width: max-content;
    display: flex;
    justify-content: space-around;
}

#birimTabs .nav-item {
    width: 100%;
}

#birimTabs .nav-link {
    color: #4b4f5a;
    border: none;
    padding: 12px 24px;
    margin: 0;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 0;
    white-space: nowrap;
    width: 100% !important;
}

#birimTabs .nav-link.active {
    background-color: #4b4f5a;
    color: white;
}

#birimTabsContent {
    margin-top: 30px;
}

.birim-haberleri .card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.birim-haberleri .card:hover {
    transform: translateY(-5px);
}

.birim-haberleri .card-img-top {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.birim-haberleri .card-body {
    padding: 20px;
}

/* Responsive düzenlemeler */
@media (max-width: 767px) {
    .equal-height > div {
        width: 100%;
    }

    .owl-carousel,
    .owl-carousel .owl-item {
        height: 50vh;
    }

    .announcements-section {
        height: auto;
        max-height: 50vh;
    }

    .p-md-15-sm-0 {
        padding: 0 !important;
    }

    .m-md-15-sm-0 {
        margin: 0 !important;
    }

    #birimTabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
    }

    #birimTabs .nav-item {
        white-space: nowrap;
    }

    #birimTabs .nav-link {
        padding: 8px 16px;
        margin: 0 4px;
    }

    .birim-haberleri .card-img-top {
        height: 150px;
    }

    .birim-haberleri {
        padding: 15px;
    }

    .recent-projects {
        padding: 15px;
    }
}

@media (min-width: 768px) {
    .p-md-15-sm-0 {
        padding: 15px !important;
    }

    .m-md-15-sm-0 {
        margin: 15px !important;
    }
}
