@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap");

/* Tema tokenları: font ve renk (TGRD 2027 Görsel Paleti) */
:root {
    --font-body: "Montserrat", sans-serif;
    --font-heading: "Oswald", sans-serif;
    --font-display: "Poppins", sans-serif;
    --color-bg: #f8f6fc;
    --color-theme: #3177cc;
    --color-theme-dark: #16467d;
    --color-theme-darker: #0e325c;
    --color-footer: #0c1e38;
    --color-heading: #14284b;
    --color-text: #212529;
    --color-text-muted: #6c757d;
    --color-border-accent: #4a8cd2;
    --color-card-bg: #fff;
    --color-accent-purple: #7638ea;
    --color-accent-lilac: #c6b5f1;
    --color-accent-soft: #ede8f8;
    --color-accent-red: #ee222a;
    --font-size-base: 1rem;
    --font-size-small: 0.875rem;
    --font-size-h1: 2.5rem;
    --font-size-h2: 1.375rem;
    --font-size-breadcrumb-title: 1.875rem;
}

/*AYARLAR*/
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 85px;
    font-family: var(--font-body);
    background: var(--color-bg);
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: #fff;
    background-color: var(--color-footer);
    padding: 30px 0;
    box-shadow: inset 0px 10px 10px 0px #061220;
}

footer a {
    text-decoration: none;
    font-weight: normal;
    color: #e76800;
}

.navbar {
    padding: 0;
    position: relative;
    z-index: 3;
    font-family: var(--font-display);
}

.bg-theme {
    background: var(--color-theme);
    position: sticky;
    top: 0;
    padding: 10px 0;
}

.nav-item {
    position: relative;
    margin: 0 5px;
    border-radius: 5px;
}

.nav-item a {
    color: #fff !important;
}

.nav-item a:hover {
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff !important;
}

.nav-item .nav-link {
    font-family: var(--font-display);
    padding: 1rem;
    font-size: 17px;
}

.dropdown ul {
    position: absolute;
    width: 260px;
    padding: 0;
    list-style: none;
    background: var(--color-theme-dark);
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
    text-align: left;
}

.dropdown ul li a {
    padding: 10px;
    display: block;
    text-decoration: none;
    font-family: var(--font-heading);
}

.dropdown:hover ul {
    visibility: visible;
    opacity: 1;
    display: block;
}

.fast-menu .owl-carousel .owl-stage-outer {
    box-shadow: 1px 1px 6px 4px #232a55;
}

.owl-theme .owl-nav.disabled + .owl-dots {
    position: absolute;
    top: 0;
    right: 0;
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.fastmenu {
    background: #fff;
    padding: 50px 0;
}

.inner-page {
}

.inner-page h1 {
    margin: 0 0 30px 0;
    text-transform: uppercase;
    font-size: var(--font-size-h1);
    color: var(--color-heading);
    position: relative;
    font-family: var(--font-heading);
    text-align: left;
}

.contact-text {
    margin-bottom: 10px;
}
.inner-content {
    padding: 30px 0;
}
.inner-page h2 {
    font-size: var(--font-size-h2);
    color: var(--color-theme);
    margin: 0 0 5px 0;
    font-family: var(--font-heading);
}

img {
    max-width: 100%;
}

.header {
    position: relative;
}

.boxes {
    position: relative;
    width: 100%;
}

.box {
    background: var(--color-theme);
    padding: 20px 15px;
    width: 100%;
    font-size: clamp(0.75rem, 1vw, 1rem);
    text-align: left;
    white-space: nowrap;
    pointer-events: auto;
    align-items: center;
    vertical-align: middle;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: 0.5s;
    border: 5px solid var(--color-theme);
}

.box .icon img {
    width: 55px;
}

.box .icon {
    margin-right: 20px;
    transition: 0.5s;
}

.box .text {
    font-weight: bold;
    color: #fff;
    transition: 0.5s;
}

.box:hover {
    background: var(--color-theme-darker);
    border: 5px solid var(--color-theme);
}

.box:hover .text {
    color: #fff;
}

.dummy-space {
    width: 150px;
    height: 40px;
    pointer-events: none;
}

.white_icon {
    display: none;
}

.box:hover .normal_icon {
    display: none;
}

.box:hover .white_icon {
    display: block;
}

@media (max-width: 991.98px) {
    .box {
        margin-bottom: 10px;
        padding: 10px;
    }
}

.top_buttons {
    margin-right: 10px;
}

.top_buttons a {
    display: inline-block;

    color: white;
    padding: 7px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

.top_buttons a:nth-child(1) {
    background-color: #25d366;
}

.top_buttons a:hover:nth-child(1) {
    background-color: #25b65b;
}

.top_buttons a:nth-child(2) {
    background-color: #ff0808;
}

.top_buttons a:hover:nth-child(2) {
    background-color: #c41111;
}

.loading {
    display: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

#alertContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

@media (max-width: 1299.98px) {
    .boxes {
        position: static;
        align-items: center;
        margin-top: 20px;
        transform: none;
        gap: 10px;
    }

    .dummy-space {
        display: none;
    }

    .box {
        width: 95%;
    }
}

@media (max-width: 991.98px) {
    .top_buttons {
        text-align: center;
        padding: 10px 0;
    }

    .owl-theme .owl-nav [class*="owl-"]:hover {
        background: transparent;
        color: #000;
    }

    .dropdown ul {
        position: relative;
        display: none;
        width: 100%;
    }

    .navbar {
        display: block;
    }

    .navbar-toggler {
        margin: 10px;
        font-size: 16px;
    }

    .nav-item .nav-link {
        font-family: var(--font-heading);
        padding: 0.5rem 1rem;
    }

    .sub-navbar {
        position: relative;
        width: 100%;
        padding-left: 20px;
        background: #00062c;
    }

    .navbar .container {
        max-width: 100%;
    }

    .nav-item,
    .sub-item {
        text-align: left !important;
    }

    .lang {
        top: 6px;
        position: absolute;
        right: 10px;
    }

    .navbar-dark .navbar-toggler {
        color: #fff;
        border-color: rgb(255 255 255 / 0%);
        transition: 0.5s;
    }

    button:focus {
        outline: none;
    }

    .navbar-dark .navbar-toggler:hover {
        background: #fff;
        color: var(--color-theme);
    }
}

@media (max-width: 576px) {
    .box .icon img {
        width: 35px;
    }

    .box .text {
        font-size: 12px;
    }
}

.yanson {
    transition: 0.5s;
    animation: hideshow 2s infinite;
}

@keyframes hideshow {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.welcome-page {
    padding: 50px 0;
}

.congresDates {
    padding: 30px;
    background: var(--color-theme);
    margin-bottom: 30px;
    color: #fff;
}
.congresDates .timer {
    display: flex;
    justify-content: center;
}
.congresDates .title {
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}
.congresDates .timer > div {
    position: relative;
}
.congresDates .timer > div:after {
    content: ":";
    font-size: 20px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.congresDates .timer > div:last-child:after {
    display: none;
}
.congresDates .timer div span {
    display: block;
    text-align: center;
    width: 80px;
}
.congresDates .timer div span:first-child {
    font-size: 20px;
}

.impDates {
    padding: 30px;
    background: var(--color-accent-soft);
}
.impDates .title {
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.impDates .islider {
    text-align: center;
}
.impDates .islider p {
    margin: 0;
}

.inner-page .breadcrumb {
    padding: 100px 0;
    background: var(--color-theme-dark);
    color: #fff;
    box-shadow: inset 0px 10px 10px 0px #0e2c50;
}
.inner-page .breadcrumb .title {
    font-size: var(--font-size-breadcrumb-title);
    font-weight: bold;
    font-family: var(--font-display);
}

.table-box {
    border-collapse: 2px;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 10px;
}
.table-box table {
    padding: 0;
    font-size: 12px;
    border-spacing: 2px !important;
    border-collapse: separate !important;
    width: 100%;
}
.table-box td,
.table-box th {
    color: #000;
    text-align: center;
    padding: 10px 0px;
    font-size: 14px;
}
.table-box td p {
    margin: 0;
}
.table-box thead tr:last-child {
    border-bottom: 1px solid #fff;
}
.table-box tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}
.table-box tbody tr:last-child {
    border: 1;
}

.table-box th {
    background: var(--color-theme-dark);
    color: #fff;
}
.table-box tr:nth-child(even) th {
    background: #1f5999;
    color: #fff;
}

.table-box td {
    background: #e7e7e7;
    color: #000;
}
.table-box tr:nth-child(even) td {
    background: #d5d5d5;
    color: #000;
}

.kota {
    margin-bottom: 30px;
}

.lang {
    display: flex;
    font-size: 12px;
    align-items: center;
    margin-left: 30px;
    position: absolute;
    right: 10px;
}
.lang a {
    border: 2px solid #fff;
    padding: 3px 5px;
    border-radius: 5px;
    margin: 2px;
    color: #fff;
    transition: 0.5s;
    text-decoration: none;
}
.lang a.active,
.lang a:hover {
    color: #fff;
    border-color: #fff;
}

@media (max-width: 991.98px) {
    .box {
        margin-bottom: 10px;
        padding: 10px;
    }

    .lang {
        right: 80px;
        top: 33px;
    }
}

/* Canlı Vaka Merkezleri sayfası: tema uyumlu kart ve tipografi
   Doğrulama: (1) Masaüstü ve mobil kırılımlarda kart/başlık okunabilirliği (2) Font yoksa var(--font-*) fallback (3) Renkler var(--color-*) ile tema tutarlılığı */
.live-case-intro {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.live-case-card {
    background: var(--color-card-bg);
    border: 1px solid rgba(49, 119, 204, 0.2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.live-case-card__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.live-case-card__body {
    padding: 1.25rem 1.5rem;
}

.live-case-card__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.live-case-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.live-case-card__meta-date {
    font-family: var(--font-body);
    font-size: var(--font-size-small);
    font-weight: 500;
    color: var(--color-text);
}

.live-case-card .badge.bg-secondary {
    background-color: #e9ecef !important;
    color: var(--color-text);
}

.live-case-card .badge.bg-danger {
    background-color: #dc3545 !important;
    color: #fff;
}

.live-case-program-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.live-case-program-item {
    border-left: 3px solid var(--color-border-accent);
    padding: 0.5rem 0 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
}

.live-case-program-item:last-child {
    margin-bottom: 0;
}

.live-case-program-item__time {
    font-size: var(--font-size-small);
    font-weight: 600;
    color: var(--color-text);
}

.live-case-program-item__title {
    font-weight: 500;
    color: var(--color-text);
    margin-top: 0.15rem;
}

.live-case-program-item__meta {
    font-size: var(--font-size-small);
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

/* Canlı Vaka Merkezleri responsive: 576px altında başlık küçülür, kart padding ve program sol boşluk azalır */
@media (max-width: 576px) {
    .live-case-card__title {
        font-size: 1rem;
    }
    .live-case-card__body {
        padding: 1rem;
    }
    .live-case-program-item {
        padding-left: 0.5rem;
    }
}
