
/* MOBIL RESET - En başa eklenecek */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Zorunlu mobil düzeltme */
@media screen and (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    * {
        max-width: 100%;
    }
}
/* [1] Google fontları yükle */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;700&family=Poppins:wght@300;400;500;700&display=swap');

/* [1.1] Genel stil sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* [2] Renk değişkenleri */
:root {
    --primary-color: #e6f7ff;
    --secondary-color: #cce6ff;
    --ping: #1e90ffcc;
    --blue-light: #87cefa66;
    --black: #000;
    --white: #fff;
}

/* [3] Genel stil - Body */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-color);
    color: var(--black);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
}

/* [4] Header Container */
.header-container {
    background-color: #0056b3;
    height: 24vh;
    padding: 12px 0;
    text-align: center;
}

.header-container img {
    height: 100%;
    object-fit: cover;
}

/* [5] Navbar */
.nav-bar {
    background-color: var(--ping);
    height: 8vh;
    padding: 0 10vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.nav-bar ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-bar li a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.nav-bar li a:hover {
    text-shadow: 0 0 7px #00f, 0 0 10px #00f, 0 0 21px #00f, 0 0 42px #1e90ffcc;
    transform: translateY(-2px);
}

/* [6] Dil Seçici */
.lang-dropdown select {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--ping);
    background-color: var(--ping);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.lang-dropdown select:hover {
    background-color: #104e8b;
    border-color: #1e90ff;
}

/* [7] Banner */
.banner-container {
    position: relative;
    box-shadow: 0px 15px 20px var(--blue-light);
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

.banner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-content {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    -webkit-text-stroke: 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.banner-content h1:hover {
    -webkit-text-stroke: 3px var(--ping);
    text-shadow: 0 0 7px #00f, 0 0 10px #00f, 0 0 21px #00f;
}

/* [8] Ana Container */
.main-container {
    position: relative;
    z-index: 1;
}

.main-menu {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.main-menu li a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.main-menu li a:hover {
    text-shadow: 0 0 7px #00f, 0 0 10px #00f, 0 0 21px #00f, 0 0 42px var(--ping);
    transform: translateY(-2px);
}

/* [9] Makale container */
.articles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 10vw;
    justify-content: center;
}

/* [10] Her bir makale kutusu */
.article-body {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 0 15px var(--blue-light);
    padding: 1rem;
    min-width: 280px;
    max-width: 31%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
}

.article-content {
    flex-grow: 1;
}

.article-footer {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.article-header h3 {
    color: var(--ping);
    margin-bottom: 1rem;
}

.article-image-section img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.article-content p {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.article-footer a,
.article-footer button {
    background-color: var(--ping);
    border: none;
    padding: 0.5rem 1rem;
    color: var(--white);
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.article-footer a:hover,
.article-footer button:hover {
    background-color: #104e8b;
}

/* [11] Footer */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    background-color: var(--ping);
    color: var(--white);
}

.footer-container img {
    height: 50px;
    object-fit: contain;
    margin-right: auto;
}

.footer-container p {
    font-weight: 600;
    margin-left: auto;
}

/* [12] Mobil uyum */
@media (max-width: 768px) {
    .nav-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        height: auto;
        padding: 1rem 0;
    }
    
    .main-menu {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-bottom: 1rem;
        align-items: center;
    }
    
    .lang-dropdown {
        margin-top: 1rem;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .lang-dropdown select {
        padding: 0.5rem;
        width: 100%;
    }
    
    .header-container img {
        width: auto;
        max-width: 100%;
        height: auto;
    }

    .banner-content h1 {
        font-size: 1.8rem;
    }

    .articles-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .article-body {
        flex-basis: 100%;
        margin-bottom: 1rem;
        max-width: 100%;
        min-height: 300px;
        padding: 1rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
/* [MOBILE RESPONSIVE İYİLEŞTİRMELERİ] */
/* Mevcut styles.css dosyasının sonuna eklenecek */

/* SADECE MOBİL DÜZELTMELERİ - Mevcut CSS'in sonuna ekleyin */

@media (max-width: 768px) {
    /* Navigation düzeltmesi */
    .nav-bar {
        height: auto !important;
        min-height: auto !important;
        flex-direction: column !important;
        padding: 1rem !important;
    }
    
    .main-menu {
        flex-direction: column !important;
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
        align-items: center !important;
    }
    
    .main-menu li a {
        font-size: 0.9rem !important;
        padding: 0.7rem 1.5rem !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border-radius: 20px !important;
        display: block !important;
        text-align: center !important;
        width: 150px !important;
    }
    
    /* Banner düzeltmesi */
    .banner-container {
        height: 50vh !important;
    }
    
    .banner-content h1 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }
    
    /* Articles düzeltmesi */
    .articles-container {
        flex-direction: column !important;
        padding: 1rem !important;
        gap: 1rem !important;
    }
    
    .article-body {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Footer düzeltmesi */
    .footer-container {
        flex-direction: column !important;
        padding: 1rem !important;
        gap: 1rem !important;
        text-align: center !important;
    }
    
    .footer-container img {
        margin: 0 !important;
    }
    
    .footer-container p {
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    /* Çok küçük ekranlar için */
    .main-menu li a {
        font-size: 0.8rem !important;
        padding: 0.6rem 1rem !important;
        width: 130px !important;
    }
    
    .banner-content h1 {
        font-size: 1.2rem !important;
    }
    
    .header-container {
        height: 120px !important;
    }
    
    .header-container img {
        height: 80px !important;
        max-height: 80px !important;
    }
}