﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    background: white;
    overflow: hidden;
    height: 100vh;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 1000;
}

/* Container yapısı */
.header .container {
    max-width: 1200px; /* isteğe göre 1000-1400 arası ayarlanabilir */
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}


.turkiye-logo {
    color: #c8102e;
    font-weight: bold;
    font-size: 18px;
}

.hj-logo {
    color: #c8102e;
    font-weight: 800;
    font-size: 20px;
    font-style: italic;
}

/* CONTAINER */
.screens-container {
    height: 100vh;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* EKRANLAR */
.screen {
    height: calc(100vh);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    padding: 0 0 60px 0; /* yukarı ve aşağıdan boşluk */
}

/* GİRİŞ EKRANI */
.intro-screen {
    background: linear-gradient(135deg, #c8102e 0%, #8b0000 100%);
    color: white;
    text-align: center;
}

.intro-content h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.intro-logo {
    font-size: 72px;
    font-weight: 900;
    margin: 20px 0;
    font-style: italic;
}

.intro-content small {
    font-size: 15px;
    opacity: 0.95;
    display: block;
    margin-top: 10px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(5px);
    }

    60% {
        transform: translateY(3px);
    }
}

.scroll-indicator i {
    font-size: 32px;
    color: white;
    opacity: 0.9;
}

.scroll-text {
    color: white;
    font-size: 13px;
    margin-bottom: 8px;
    opacity: 0.9;
}

/* HABER KARTI */
.news-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    width: 90%;
    max-width: 450px;
    height: calc(100% - 60px); /* üst-alt 30px boşluk */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 30%;
    object-fit: cover;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 20px;
    overflow: hidden;
}

.news-summary-wrapper {
    flex: 1;
    overflow-y: auto;
    margin: 10px 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.news-category {
    display: inline-block;
    background: #c8102e;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-date {
    font-size: 12px;
    color: #666;
}

.news-summary h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 130%;
}

.news-summary ul {
    padding-left: 20px;
    margin: 10px 0;
}

.news-summary li {
    margin: 6px 0;
    list-style: disc;
    line-height: 130%;
}

.news-summary li::marker {
    color: #c8102e;
}

.details-btn {
    display: flex;
    text-decoration-line: none;
    background: #c8102e;
    color: white;
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 12px;
    width: fit-content;
    margin: 0 auto 12px auto;
}

/* FOOTER */
.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
    padding: 0 20px 20px 20px;
    position: relative;
}

.news-index {
    flex: 1;
    text-align: left;
    font-weight: 500;
}

.scroll-center {
    flex: 1;
    text-align: center;
    cursor:pointer;
}

    .scroll-center .scroll-text {
        font-size: 13px;
        color: #c8102e;
        margin-bottom: 4px;
    }

    .scroll-center i {
        font-size: 22px;
        color: #c8102e;
        animation: bounce 2s infinite;
    }

.scroll-share {
    flex: 1;
    text-align: right;
}

    .scroll-share i {
        font-size: 16px;
        color: #c8102e;
        cursor: pointer;
    }


/* === PAYLAŞ MENÜSÜ === */
.detailShareMenu {
    position: absolute;
    bottom: 60px; /* haber kartının alt kısmının üstüne gelir */
    right: 20px;
    width: 300px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 15px 12px;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: center;
    animation: fadeOut 0.2s ease forwards;
}

    /* Menü açıkken aktif hale gelir */
    .detailShareMenu.open {
        display: flex;
        animation: fadeIn 0.25s ease forwards;
    }

.detailShareClick {
    color: #29293A;
    font-family: "Roboto", sans-serif;
    font-size: 0.8125rem;
    line-height: 100%;
    font-weight: 400;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    cursor: pointer;
}

    .detailShareClick::before {
        content: "";
        display: inline-block;
        width: 18px;
        height: 16px;
        background-image: url("/s/images/icons/icon-detail-share.svg");
        background-repeat: no-repeat;
        background-size: cover;
        margin-right: 6px;
        -webkit-transform: translateY(1px);
        transform: translateY(1px);
    }

/* Başlık ve kapatma butonu */
.detailShareTitle {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    text-align: center;
    margin-bottom: 12px;
}

.detailShareClose {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #555;
    cursor: pointer;
}

    .detailShareClose:hover {
        color: #000;
    }

/* Paylaş ikon ızgarası */
.detailShareGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
}

.detailShareItem {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    background: #f7f7f7;
    border-radius: 10px;
    padding: 8px 10px;
    transition: all 0.2s ease;
}

    .detailShareItem:hover {
        background: #e5e5e5;
    }

    .detailShareItem img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

/* Animasyon */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* Buton üstünde yerleşim ayarı */
.news-card {
    position: relative;
}
