/* Genel Resetler */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Header Stilleri */
header {
    position: relative;
    width: 100%;
    background-color: #ffffff;
}

.logoBg {
    background-color: #1f2950;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 9;
    width: 20%;
    height: 102px;
}

.logoTop {
    position: absolute;
    z-index: 9;
    width: auto;
    height: 102px;
    top: 0;
    left: 10%;
}

.mobillogoTop {
    display: none !important;
}

/* Masaüstünde mobil logo gizli */
@media (min-width: 992px) {
    .mobillogoTop {
        display: none !important;
    }
}

/* Üst Siyah Bar */
.blackTopHeader {
    background-color: #1f2950;
    position: relative;
    width: 100%;
    color: #ffffff;
    padding: 10px;
}

.blackTopHeader .container {
    padding: 0 15px;
}

.mb-custom-content-end {
    display: flex;
    align-items: center;
}

/* Header Sosyal Medya İkonları */
.header-social-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-social-container a {
    text-decoration: none;
    color: inherit;
}

.header-social-icon {
    display: flex;
    align-items: center;
    margin-right: 12px;
    color: #ffffff;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.header-social-icon:hover {
    opacity: 0.8;
}

.header-social-icon i {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1f2950;
    border-radius: 50%;
    color: white;
    margin-right: 6px;
    font-size: 15px;
}

/* Navbar Stilleri */
.navbarCustom {
    background-color: #ffffff !important;
    border-bottom: 2px solid #1f2950;
    float: right;
    width: 100%;
    justify-content: flex-end;
    padding: 0 !important;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    margin: 0;
    margin-bottom: 0 !important;
    min-height: auto;
    display: flex;
    align-items: flex-end;
}

.navbarCustom .navbar-nav {
    align-items: flex-end;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 15px !important;
}

.navbarCustom .navbar-nav.mb-2,
.navbarCustom .navbar-nav.mb-lg-0 {
    margin-bottom: 0 !important;
}

.navbarCustom .container {
    padding: 0 !important;
    margin-bottom: 0 !important;
    display: flex;
    align-items: flex-end;
    min-height: auto;
}

.navbarCustom .container > * {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.navbarCustom .navbar-brand {
    color: #1f2950 !important;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    align-items: flex-end;
    padding: 0 !important;
    padding-top: 22px !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    position: relative;
    align-self: flex-end;
    line-height: 1;
    height: auto;
}

.navbarCustom .navbar-brand img {
    margin-right: 10px;
    position: relative;
    z-index: 1;
    height: 56px;
    width: auto;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    display: block;
}

.navbarCustom .navbar-collapse {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    align-self: flex-end;
}

.navbarCustom ul {
    margin-left: 47%;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.navbarCustom ul li {
    margin-bottom: 0 !important;
}

.navbarCustom ul li a {
    white-space: nowrap;
}

.navbarCustom .nav-item {
    margin-bottom: 0 !important;
}


.navbarCustom .navbar-toggler {
    border-color: rgba(192, 14, 14, 0.3);
}

.navbarCustom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(192, 14, 14, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbarCustom .nav-link {
    color: #1f2950 !important;
    font-weight: 700;
    padding: 15px 10px 8px 10px !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase !important;
}

.navbarCustom .nav-item .nav-link {
    padding-bottom: 8px !important;
}

.navbarCustom .gap-3 {
    gap: 0.5rem !important;
    margin-bottom: 0 !important;
}

.navbarCustom .nav-link:hover {
    color: #a00c0c !important;
}

.navbarCustom .nav-link.dropdown-toggle::after {
    margin-left: 5px;
}

/* Dropdown Menüler */
.dropdown .dropdown-menu {
    left: -42px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    top: 37px;
    border-top: 1px solid #1f2950;
    position: absolute;
    background-color: #ffffff;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 10px 0;
}

.dropdown .dropdown-menu::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -1px;
    width: 55%;
    height: 4px;
    background-color: #1f2950;
}

.dropdown .dropdown-menu li {
    border-bottom: 1px solid #b0a6a65e;
}

.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
}

.dropdown-item {
    color: #333 !important;
    padding: 10px 20px;
    transition: color 0.3s ease;
    text-transform: uppercase !important;
}

.dropdown-item:hover {
    background-color: transparent;
    border-style: none;
    color: #1f2950 !important;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:focus,
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: transparent;
    color: #1f2950;
    border-style: none;
}

.dropdown-item.dropdown-toggle::after {
    float: right;
    margin-top: 5px;
}

/* Dropdown Submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: 1px;
    transform: translateX(-10px);
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu > .dropdown-menu {
    left: calc(100% + 1px);
}

@media (min-width: 767px) {
    .dropdown:hover > .dropdown-menu,
    .dropdown-submenu:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) translateX(0);
    }
}

.dropdown-menu-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(0);
}

/* Row Ayarları */
.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Responsive Tasarım */
@media (min-width: 1400px) {
    .logoBg {
        display: block;
    }
    
    .logoTop {
        display: block;
    }
    
    .mobillogoTop {
        display: none;
    }
}

@media (max-width: 1400px) {
    .logoBg {
        display: none;
    }

    .navbarCustom ul {
        margin-left: 37%;
    }

    .logoTop {
        display: none;
    }
}

@media (max-width: 1300px) {
    .navbarCustom ul {
        margin-left: 27%;
    }
}

/* Masaüstü header mobilde gizli */
@media (max-width: 991px) {
    .desktop-header-wrapper {
        display: none !important;
    }
    
    .main-content-top-margin {
        margin-top: 0 !important;
    }
}

/* Masaüstü görünümde mobil header gizli */
@media (min-width: 992px) {
    .mobile-header-wrapper {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .mobillogoTop {
        display: flex !important;
        align-items: center;
        position: relative;
        z-index: 9;
        margin-right: auto;
    }

    .mobillogoTop img {
        width: auto;
        height: 56px;
        margin-right: 10px;
    }

    .navbarCustom .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbarCustom .navbar-brand {
        flex: 1;
        margin-right: 15px;
    }

    .navbarCustom .navbar-toggler {
        margin-left: auto;
        margin-right: 0;
    }

    .navbarCustom ul {
        margin-left: 14%;
    }

    .mb-custom-content-end {
        justify-content: end;
        text-align: end;
    }

    .blackTopHeader {
        font-size: 12px;
    }

    .header-social-icon {
        font-size: 12px;
    }

    .header-social-icon i {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .navbarCustom .nav-link {
        padding: 12px 15px !important;
    }

    .navbarCustom .navbar-brand img {
        height: 48px;
    }

    .dropdown-menu-show {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .blackTopHeader .row {
        flex-direction: column;
    }

    .mb-custom-content-end {
        justify-content: center;
        text-align: center;
        margin-bottom: 10px;
    }

    .header-social-container {
        justify-content: center;
    }

    .navbarCustom .navbar-brand {
        font-size: 18px;
    }

    .navbarCustom .navbar-brand img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .blackTopHeader {
        font-size: 11px;
        padding: 6px 0;
    }

    .header-social-icon {
        font-size: 11px;
        margin-right: 8px;
    }

    .header-social-icon i {
        width: 18px;
        height: 18px;
        font-size: 11px;
        margin-right: 4px;
    }

    .navbarCustom .navbar-brand img {
        height: 36px;
    }
}

.navbar-toggler {
    margin-bottom: 10px;
}

.navbar-nav {
    color: #1f2950 !important;
    --bs-nav-link-color: #1f2950 !important;
}

.navbar-nav .nav-link.active {
    color: #1f2950 !important;
    --bs-nav-link-color: #1f2950 !important;
}

.navbarCustom div {
    margin-right: 100px;
}


/* Dropdown Toggle Indicator */
.navbarCustom .dropdown-toggle::after {
    border-top-color: #1f2950;
}

/* Menu Social Icon */
.menu-social-icon {
    display: flex;
    align-items: center;
}

.menu-social-icon i {
    color: #1f2950;
    font-size: 16px;
}

.menu-social-icon:hover i {
    color: #a00c0c;
}

/* Slider Stilleri */
.ygySlider-container {
    width: 100%;
    height: auto;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 3.2/1;
    border-radius: 12px;
}

.ygySlider-slide {
    min-width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.ygySlider-wrapper {
    width: 100%;
    position: relative;
    padding: 0 40px;
}

.ygySlider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.ygySlider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease-in;
    position: relative;
    z-index: 0;
}

.ygySlider-slide img.loaded {
    opacity: 1;
}

.ygySlider-slide:first-child img {
    opacity: 1 !important;
}

.ygySlider-button {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.ygySlider-button img {
    width: 100%;
    height: 100%;
    filter: brightness(0) saturate(100%) invert(11%) sepia(96%) saturate(4929%) hue-rotate(356deg) brightness(92%) contrast(102%);
    transition: filter 0.3s ease;
}

.ygySlider-button:hover img {
    filter: brightness(0) saturate(100%) invert(40%) sepia(94%) saturate(7499%) hue-rotate(356deg) brightness(101%) contrast(115%);
}

.ygySlider-prev {
    left: 0;
}

.ygySlider-next {
    right: 0;
}

.ygySlider-dots-container {
    position: relative;
    display: flex;
    gap: clamp(5px, 1vw, 10px);
    justify-content: center;
    margin-top: 20px;
}

.ygySlider-dot {
    width: clamp(8px, 1.5vw, 12px);
    height: clamp(8px, 1.5vw, 12px);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    border: none;
    touch-action: manipulation;
}

.ygySlider-dot.active {
    background: #1f2950;
}

.loading-placeholder {
    display: none;
}

/* Carousel Overlay ve Metinler */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(192, 14, 14, 0.4); /* Kırmızı overlay */
    z-index: 1;
    pointer-events: none;
}

.carousel-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #ffffff;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    pointer-events: none;
}

.carousel-main-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.carousel-sub-title {
    font-size: clamp(18px, 2.5vw, 32px);
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.carousel-small-text {
    font-size: clamp(14px, 1.8vw, 20px);
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
}

@media (max-width: 768px) {
    .ygySlider-wrapper {
        padding: 0 40px;
    }
    
    .ygySlider-button {
        width: 30px;
        height: 30px;
    }
    
    .carousel-text-overlay {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .ygySlider-wrapper {
        padding: 0 30px;
    }
    
    .ygySlider-button {
        width: 25px;
        height: 25px;
    }
}

/* Hızlı Erişim Kartları */
.kutuMain {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 30px;
}

.kutu {
    width: 250px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border-bottom: 4px solid #1f2950;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.kutu:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: #333;
}

.kutu i {
    font-size: 50px;
    color: #1f2950;
}

.kutu span {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}

/* Bilgilendirici Kartlar */
.info-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid #1f2950;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.info-card-icon {
    margin-bottom: 20px;
}

.info-card-icon i {
    font-size: 60px;
    color: #1f2950;
}

.info-card-title {
    font-size: 24px;
    font-weight: bold;
    color: #1f2950;
    margin-bottom: 15px;
}

.info-card-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Haberler Bölümü */
.mainNewsTitle {
    height: 50px;
}

.mainNewsDesc {
    height: 70px;
}

.imgCard img {
    height: 190px;
    border-radius: 10px;
    width: 100%;
    object-fit: cover;
}

.haber {
    border-bottom: 4px solid #1f2950;
    padding-bottom: 15px;
}

.haber .day {
    color: #1f2950;
    font-size: 13px;
    margin-top: 10px;
}

.haber div {
    border-bottom: 4px solid #1f2950;
    padding-bottom: 5px;
}

.haber img {
    object-fit: cover;
    height: 190px;
    width: 100%;
    border-radius: 10px;
}

/* Devamını Oku linkleri - kırmızı */
.text-end a,
.text-end a i {
    color: #1f2950;
    text-decoration: none;
}

.text-end a:hover,
.text-end a:hover i {
    color: #a00c0c;
    text-decoration: none;
}

/* Video Gallery */
.gallery-section {
    background-color: #f8f9fa;
    padding: 60px 40px;
}

.gallery-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.gallery-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.gallery-item {
    flex: 0 0 300px;
    width: 300px;
}

.video-thumb-wrapper {
    position: relative;
    width: 300px;
    height: 190px;
    background-color: #353535;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: auto;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.play-button i {
    font-size: 20px;
    margin-left: 3px;
}

.video-thumb-wrapper:hover .play-button {
    background-color: rgba(192, 14, 14, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-thumb-wrapper:hover .gallery-image.loaded {
    opacity: 0.8;
}

.loading-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ccc;
    z-index: 1;
}

/* Modal Stilleri */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #000;
    border: none;
}

.modal-header {
    border: none;
    padding: 0.5rem 1rem;
    position: relative;
    z-index: 1051;
}

.modal-body {
    padding: 0;
}

.modal-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.modal-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.close {
    color: #fff;
    opacity: 1;
    text-shadow: none;
}

.close:hover {
    color: #fff;
    opacity: 0.8;
}

/* ZAFERE DESTEK OLUN */
.zafereDestekOlun {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 30px 20px;
}

.badge {
    cursor: pointer;
    padding: 10px 20px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.badge:hover {
    background-color: #1f2950 !important;
    transform: scale(1.05);
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group-text {
    margin-right: 5px;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
}

/* Footer */
footer {
    background-color: #6D6D6D;
    color: white;
}

footer .pd-20 {
    padding: 3% 0;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    list-style: none;
    line-height: 33px;
    color: #F4F4F4;
    font-size: 14px;
}

footer ul li:first-child {
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 45px !important;
    margin-bottom: 10px;
    font-weight: bold;
}

footer ul li a {
    color: inherit;
    text-decoration: none;
    margin-left: 0 !important;
}

footer ul li a:hover {
    opacity: 0.7;
    text-decoration: none;
}

footer ul li a:visited {
    color: inherit;
}

.hizliErisim a {
    color: inherit;
    text-decoration: none;
    margin-left: 0 !important;
}

.hizliErisim a:hover {
    opacity: 0.7;
}

.hizliErisim a:visited {
    color: inherit;
}

.footer-black {
    background-color: #000000;
    width: 100%;
    padding: 26px 0;
    border-top: 3px solid #1f2950;
}

.footer-black img {
    width: 36px;
    height: 36px;
}

.altlogo {
    max-width: 250px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1f2950;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #a00c0c;
    color: white;
    transform: scale(1.1);
}

.social-icon-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive Tasarım */
@media (max-width: 991px) {
    .kutuMain {
        gap: 15px;
        padding: 20px;
    }

    .kutu {
        width: 220px;
        height: 140px;
    }

    .kutu i {
        font-size: 45px;
    }

    .kutu span {
        font-size: 16px;
    }

    .info-card {
        padding: 30px 20px;
    }

    .info-card-icon i {
        font-size: 50px;
    }

    .info-card-title {
        font-size: 22px;
    }

    .info-card-text {
        font-size: 15px;
    }

    .gallery-section {
        padding: 40px 20px;
    }

    .gallery-item {
        width: 100%;
        max-width: 300px;
    }

    .video-thumb-wrapper {
        width: 100%;
    }

    .gallery-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .kutuMain {
        flex-direction: column;
        align-items: center;
    }

    .kutu {
        width: 100%;
        max-width: 300px;
    }

    .info-card {
        margin-bottom: 20px;
    }

    .gallery-row {
        flex-direction: column;
        align-items: center;
    }

    .video-thumb-wrapper {
        max-width: 100%;
    }

    .zafereDestekOlun {
        flex-direction: column;
    }

    .badge {
        margin: 5px !important;
    }

    footer .row {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .kutu {
        width: 100%;
        height: 120px;
    }

    .kutu i {
        font-size: 40px;
    }

    .kutu span {
        font-size: 14px;
    }

    .info-card {
        padding: 25px 15px;
    }

    .info-card-icon i {
        font-size: 45px;
    }

    .info-card-title {
        font-size: 20px;
    }

    .info-card-text {
        font-size: 14px;
    }

    .gallery-section {
        padding: 30px 15px;
    }

    .gallery-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .modal-video {
        padding-bottom: 75%;
    }
}

