* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Arial;
    background: #0a0a0a;
    color: white;
}

/* HEADER */
.header {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 60px;
    z-index: 2;
}

.logo {
    font-weight: bold;
}

.logo span {
    font-size: 12px;
    opacity: 0.6;
}

.header a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
}

/* HERO */
.hero {
    height: 82vh;
    display: flex;
      flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    background: url("img/hero.png") center/cover no-repeat;
    position: relative;
}

/* DARK OVERLAY */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
}
.hero-left .all-btn {
    display: inline-block;
    width: auto;
    padding: 10px 20px; /* genişliği buradan ayarlarsın */
     border-radius: 8px;
}
/* LEFT */
.hero-left {
    position: relative;
    width: 50%;
}

.tag {
    color: #E03F4F;
    font-size: 12px;
}

.hero-left h1 {
    font-size: 60px;
    margin: 10px 0;
}

.hero-left p {
    color: #ccc;
}

.hero-left button {
    margin-top: 20px;
    background: #E03F4F;
    color: white;
    border: none;
    padding: 12px 25px;
}

.hero-right {
    position: relative;
    width: 30%;
margin-top: 70px;
    max-height: 55vh;   /* hero içinde kalır */
    overflow-y: auto;   /* iç scroll */
border-radius: 8px;
    /* mevcutlar */
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 20px;
    color: white;
}

/* daha şık scroll için (opsiyonel) */
.hero-right::-webkit-scrollbar {
    width: 6px;
}

.hero-right::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
}
.news-item {
    margin-bottom: 20px;
    cursor: pointer;
}

.news-item span {
    color: #E03F4F;
    font-size: 12px;
}

.news-item h4 {
    margin: 5px 0;
}

.news-item p {
    color: #aaa;
    font-size: 14px;
}

.all-btn {
    border: 1px solid #555;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

/* AUTHORS */
/* AUTHORS */
.authors {
    padding: 80px;
    text-align: center;
    background: #fff;   /* 🔥 beyaz arka plan */
    color: #000;        /* 🔥 yazılar siyah */
}

.author h3 {
    color: #000;
}

.author span {
    color: #555;
}

.author p {
    color: #333;
}

.author-list {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.author img {
    width: 140px;
    height: 140px;
    border-radius: 50%;

    object-fit: cover;      /* resmi kırpar */
    object-position: center; /* ORTALAR (kritik) */
}
/* ABOUT */
.about {
    padding: 100px;
    background: #111;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.98);
    justify-content: center;
    align-items: center;
    z-index: 99999; /* 🔥 KRİTİK */
}
.modal-content {
    width: min(1100px, 95vw);
    height: 90vh;
    position: relative;
    margin: auto;
}

.modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;

    /* scrollbar gizleme */
    overflow: hidden;
}

/* Chrome, Edge */
.modal iframe::-webkit-scrollbar {
    display: none;
}
/* X butonu modern yap */
.close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 28px;
    cursor: pointer;
    color: white;
    opacity: 0.7;
    transition: 0.3s;
}

.close:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* ===================== */
/* TABLET & MOBİL RESPONSIVE */
/* ===================== */

@media (max-width: 1024px) {

 
    .hero {
        min-height: 100vh; /* 🔥 tam ekran yapar */
        height: auto;
    }

    .hero-left {
        width: 100%;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 40px;
    }

    .hero-right {
        display: none;
    }
    .header {
        padding: 15px 20px;
    }
}

/* ===================== */
/* TELEFON (MOBİL) */
/* ===================== */

@media (max-width: 768px) {

        .modal-content {
        width: 95vw;
        height: 90vh;
    }
    .hero-left h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-left p {
        font-size: 14px;
    }

    .hero-left button {
        width: 100%;
    }

    .hero-right {
        margin-top: 0;
        padding: 15px;
        border-radius: 12px;
    }

    .news-item h4 {
        font-size: 14px;
    }

    .news-item p {
        font-size: 12px;
    }

  .author-list {
        flex-direction: column;
        align-items: center;
    }

    .authors {
        padding: 40px 20px;
    }

    .about {
        padding: 50px 20px;
        text-align: center;
    }
}

/* ===================== */
/* ÇOK KÜÇÜK EKRANLAR */
/* ===================== */

@media (max-width: 480px) {

    .hero-left h1 {
        font-size: 26px;
    }

    .hero {
        padding: 20px 15px;
    }

    .logo {
        font-size: 14px;
    }

    .logo span {
        display: block;
        font-size: 10px;
    }
}