﻿


:root {
    --screen-orientation: portrait;
}

@media (orientation: landscape) {
    :root {
        --screen-orientation: landscape;
    }
}

/* -----------------------------------------------------
		BEGİNHTML içerik için responsive stiller  @((MarkupString)ProcessHtmlContent(model.HTML_Icerik!)) *
   ----------------------------------------------------- */
.html-content-container {
    max-width: 100%;
    overflow-x: hidden;
}

    .html-content-container p,
    .html-content-container ul,
    .html-content-container ol,
    .html-content-container table {
        max-width: 100%;
        word-wrap: break-word;
    }

    /* Resimler için responsive ayarlar */
    .html-content-container img {
        max-width: 100%;
        height: auto !important;
        display: block;
        margin: 0.5rem auto;
    }

    /* Tablolar için responsive çözüm */
    .html-content-container table {
        width: 100% !important;
        border-collapse: collapse;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Videolar için */
    .html-content-container iframe,
    .html-content-container video {
        max-width: 100%;
        height: auto;
    }

/* Mobil görünüm */
@media (max-width: 768px) {
    .html-content-container {
        font-size: 0.95rem;
        line-height: 1.6;
    }

        .html-content-container h1,
        .html-content-container h2,
        .html-content-container h3 {
            font-size: 1.4rem;
            line-height: 1.3;
        }
}
/* -----------------------------------------------------
		END HTML içerik için responsive stiller (MarkupString)model.HTML_Icerik *
   ----------------------------------------------------- */

 /* -----------------------------------------------------
		BEGİN universal-underline
   ----------------------------------------------------- */
/* tüm elementlerde renk bağımsız çalışan, evrensel alt çizgi hover efekti için Renk Bağımsız
currentColor sayesinde parent'ın text rengini otomatik alır.Adaptif Çizgiler -Normalde: %20 opak ince çizgi-Hover'da: Tam opak kalın çizgi (animasyonlu)
Tüm Elementlerde Çalışır
<a>, <span>, <h2>, <MudText> vb. her yerde kullanılabilir.
    Temel Stil */
.universal-underline {
    display: inline-block;
    position: relative;
    padding-bottom: 3px; /* Çizgi boşluğu */
    cursor: pointer; /* Etkileşim hissi */
}

    /* Daimi hafif çizgi (mevcut metin renginin %10'u) */
    .universal-underline::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: currentColor; /* Mevcut metin rengini alır */
        opacity: 0.2;
        transition: opacity 0.3s ease;
    }

    /* Hover'da animasyonlu çizgi */
    .universal-underline::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: currentColor; /* Mevcut metin rengiyle uyumlu */
        transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    }

    /* Hover Efektleri */
    .universal-underline:hover::before {
        opacity: 0; /* Sabit çizgiyi kaybet */
    }

    .universal-underline:hover::after {
        width: 100%;
    }

/* -----------------------------------------------------
		END universal-underline
   ----------------------------------------------------- */

/* -----------------------------------------------------
		BEGİN custom-breadcrumbs
   ----------------------------------------------------- */
/* TEMEL STILLER */
.custom-breadcrumbs {
    padding: 4px 0;
}

    .custom-breadcrumbs .breadcrumb-link {
        display: inline-flex;
        align-items: center;
        padding: 6px 10px;
        border-radius: 6px;
        text-decoration: none;
        transition: all 0.25s ease-out;
        color: var(--mud-palette-text-primary);
        margin: 0 2px;
    }

        /* HOVER EFEKTLERİ */
        .custom-breadcrumbs .breadcrumb-link:not(.mud-disabled):hover {
            background-color: var(--mud-palette-action-default-hover);
            color: var(--hover-color);
            transform: translateY(-2px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

            .custom-breadcrumbs .breadcrumb-link:not(.mud-disabled):hover .breadcrumb-text {
                /*  text-decoration: underline; */
                text-underline-offset: 4px;
            }

            .custom-breadcrumbs .breadcrumb-link:not(.mud-disabled):hover .mud-icon {
                transform: scale(1.15);
                color: var(--hover-color);
            }

    /* DEVRE DIŞI ÖĞELER */
    .custom-breadcrumbs .mud-disabled {
        opacity: 0.7;
        cursor: default;
        color: var(--mud-palette-text-disabled);
    }

    /* AYIRICI STİLİ */
    .custom-breadcrumbs .mud-breadcrumbs-separator {
        margin: 0 6px;
        color: var(--mud-palette-text-secondary);
        font-size: 0.9em;
    }

/* -----------------------------------------------------
		END custom-breadcrumbs
   ----------------------------------------------------- */



/* -----------------------------------------------------
		BEGİN section-title
   ----------------------------------------------------- */
.section-title {
    color: #0f4571;
    display: inline-block;
    letter-spacing: 2px;
    padding-bottom: 8px; /* Çizgi için boşluk */
    line-height: 1.2;
    font-weight: bold;
    text-align: center !important;
    position: relative;
    /* Daimi hafif çizgi */
    background-image: linear-gradient(90deg, rgba(0,101,125,0.1), rgba(0,101,125,0.1));
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: bottom;
}

    /* Hover'da belirginleşecek çizgi */
    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, rgba(0,101,125,0.7), rgba(0,69,125,0.9));
        transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    }

    .section-title:hover::after {
        width: 100%;
    }
    /* Daha dinamik hover efekti */
    .section-title:hover {
        letter-spacing: 2.5px; /* Hafif genişleme */
        transition: letter-spacing 0.3s ease;
    }

/* Mobilde animasyonu kısaltma */
@media (max-width: 768px) {
    .section-title::after {
        transition-duration: 0.2s;
    }
}
/* -----------------------------------------------------
		END Section Title 
   ----------------------------------------------------- */



/* -----------------------------------------------------
		BEGİN section-title
   ----------------------------------------------------- */
.section-title2 {
    color: #0f4571;
/*    display: inline-block;
*//*    letter-spacing: 2px;*/
    padding-bottom: 8px; /* Çizgi için boşluk */
    line-height: 1.2;
    font-weight: bold;
    text-align: center;
    position: relative;
    /* Daimi hafif çizgi */
    background-image: linear-gradient(90deg, rgba(0,101,125,0.1), rgba(0,101,125,0.1));
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: bottom;
}

    /* Hover'da belirginleşecek çizgi */
    .section-title2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, rgba(0,101,125,0.7), rgba(0,69,125,0.9));
        transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    }

    .section-title2:hover::after {
        width: 100%;
    }
    /* Daha dinamik hover efekti */
    .section-title2:hover {
        letter-spacing: 1px; /* Hafif genişleme */
        transition: letter-spacing 0.3s ease;
    }

/* Mobilde animasyonu kısaltma */
@media (max-width: 768px) {
    .section-title2::after {
        transition-duration: 0.2s;
    }
}
/* -----------------------------------------------------
		END Section Title 
   ----------------------------------------------------- */

/* -----------------------------------------------------
		BEGİN map
   ----------------------------------------------------- */
.map iframe {
    height: 400px !important;
}

.map-container {
    height: 400px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

    .map-container iframe {
        height: 100%;
        width: 100%;
        border: none;
    }

/* -----------------------------------------------------
		END map
   ----------------------------------------------------- */


/* Begin Ana Sayfa Kart Stili */
.custom-card {
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border: 1px solid rgba(226, 232, 240, 0.6);
    overflow: hidden;
    position: relative;
    height: 100%;
}

    /* Hover Efekti (KESİN ÇALIŞIR) */
    .custom-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
        border-color: rgba(226, 232, 240, 0.9) !important;
    }

/* Dark Mode */
.mud-theme-dark .custom-card {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(30, 41, 59, 0.6);
}

    .mud-theme-dark .custom-card:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
        border-color: rgba(51, 65, 85, 0.8) !important;
    }

/* Diğer Bileşenler */
.card-avatar {
    width: 48px;
    height: 48px;
    background: rgba(226, 232, 240, 0.6);
    color: #475569;
    transition: transform 0.3s ease;
}

    .card-avatar:hover {
        transform: scale(1.08);
    }

.card-content {
    padding: 16px;
}

.card-value {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 12px 0 4px 0;
    line-height: 1.2;
}

.card-label {
    font-size: 0.875rem;
    color: #64748b;
    letter-spacing: 0.5px;
}

.card-actions {
    padding: 8px 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(255, 255, 255, 0.4);
}

.mud-theme-dark .card-value {
    color: #f8fafc;
}

.mud-theme-dark .card-label {
    color: #94a3b8;
}

.mud-theme-dark .card-actions {
    background: rgba(15, 23, 42, 0.5);
}
/* End Ana Sayfa Kart Stili */

/*Begin program.cs.AddRateLimiter uyarı text style*/
.rate-limit-error {
    font-family: 'Segoe UI', system-ui, sans-serif;
    max-width: 400px;
    margin: 2rem auto;
    padding: 1.5rem;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

    .rate-limit-error svg {
        margin-bottom: 1rem;
    }

    .rate-limit-error h3 {
        color: #d32f2f;
        margin-bottom: 0.5rem;
    }

.docs-link {
    display: inline-block;
    margin-top: 1rem;
    color: #1976d2;
    text-decoration: none;
}

/*End program.cs.AddRateLimiter uyarı text style*/

/* Begin kaydırma çubuğu görünümünü özelleştirmek isterseniz: */
.scrollable-text::-webkit-scrollbar {
    height: 4px;
}
.scrollable-text::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 2px;
}
/* end kaydırma çubuğu görünümünü özelleştirmek isterseniz: */


/*--------------------------------------------------------------
# BEGİN duration : Kullanımı -->>  style="--duration: 35s"
--------------------------------------------------------------*/
:root {
    --duration: 5s;
}

#carouselcard, #carouselcard2, #carouselcardSonMakalelerperByGroup, .customduration
/*#DuyurularSilide,*/ {
    /* color: white;
    background: #27ae60;
    border-radius: 5px;
    padding: 5px;*/
    -moz-animation: inAndOut var(--duration) ease-in forwards;
    -webkit-animation: inAndOut var(--duration) ease-in forwards;
    animation: inAndOut var(--duration) ease-in forwards;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}

@keyframes inAndOut {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
/*--------------------------------------------------------------
# END duration : Kullanımı -->>  style="--duration: 35s"
--------------------------------------------------------------*/