/*
=====================================================
1OL CMS
Ana Stil Dosyası
=====================================================
*/

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f5f5;
    color:#222;
    line-height:1.6;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:min(94%,1280px);
    margin:auto;
}

/* ==========================
   HEADER
========================== */

.site-header{
    background:#111;
    color:#fff;
    padding:0;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 12px rgba(0,0,0,.12);
}

.header-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:64px;
    gap:25px;
}

.logo a{
    color:#fff;
    font-size:20px;
    font-weight:800;
    letter-spacing:.5px;
}

.logo a:hover{
    color:#d4af37;
}
.logo{
    flex:0 0 auto;
}
/* ==========================
   MENU
========================== */

.main-menu ul{
    list-style:none;
    display:flex;
    align-items:center;
    gap:26px;
}

.main-menu a{
    display:block;
    color:#fff;
    font-size:15px;
    font-weight:600;
    padding:26px 0;
    transition:.25s;
}

.main-menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:16px;
    width:0;
    height:2px;
    background:#d4af37;
    transition:.25s;
}

.main-menu a:hover{
    color:#d4af37;
}

.main-menu a:hover::after{
    width:100%;
}

/* ==========================
   SAĞ MENÜ
========================== */

.header-right{
    display:flex;
    align-items:center;
    gap:10px;
}

.search-form input{
    padding:10px 14px;
    width:180px;
    border:1px solid #ddd;
    border-radius:6px;
    outline:none;
    transition:.25s;
}

.search-form input:focus{
    border-color:#d4af37;
    box-shadow:0 0 0 3px rgba(212,175,55,.15);
}

.btn-login,
.btn-register{
    padding:8px 14px;
    border-radius:5px;
    font-weight:bold;
}

.btn-login{
    background:#444;
    color:#fff;
}

.btn-register{
    background:#d4af37;
    color:#111;
}

/* ==========================
   HERO
========================== */

.hero{
    background:#fff;
    margin:30px 0;
    padding:40px;
    border-radius:10px;
    text-align:center;
}

.hero h1{
    margin-bottom:20px;
    font-size:36px;
}

.hero p{
    color:#666;
}

/* ==========================
   KARTLAR
========================== */

.card{
    background:#fff;
    border-radius:10px;
    padding:20px;
    margin:20px 0;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.card h3{
    margin-bottom:10px;
}

/* ==========================
   FOOTER
========================== */

.site-footer{
    background:#111;
    color:#fff;
    margin-top:50px;
    padding:40px 0;
}

.footer-top{
    display:flex;
    justify-content:space-between;
    gap:40px;
    flex-wrap:wrap;
}

.footer-links{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.footer-links a:hover{
    color:#d4af37;
}

.footer-bottom{
    margin-top:20px;
    text-align:center;
    color:#aaa;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:900px){

.header-container{
    flex-direction:column;
    align-items:flex-start;
}

.main-menu ul{
    flex-wrap:wrap;
}

.header-right{
    width:100%;
    flex-wrap:wrap;
}

.search-form{
    width:100%;
}

.search-form input{
    width:100%;
    margin-bottom:10px;
}

.hero h1{
    font-size:28px;
}

}
.articles{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.article-image{
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:8px;
    margin-bottom:15px;
}

.article-card h3{
    margin-bottom:10px;
}

.article-card small{
    color:#777;
}
.btn-login,
.btn-register,
.search-form button{
    transition:.25s;
}

.btn-login:hover{
    background:#666;
}

.btn-register:hover,
.search-form button:hover{
    transform:translateY(-1px);
    box-shadow:0 4px 12px rgba(0,0,0,.18);
}
.footer-sponsors a{
    color:#d4af37;
    font-weight:700;
    text-decoration:none;
}

.footer-sponsors a:hover{
    color:#ffffff;
    text-decoration:underline;
}

.footer-sponsors p{
    margin:6px 0;
    line-height:1.6;
}
.sponsor-button{
    display:inline-block;
    padding:8px 16px;
    background:#d4af37;
    color:#111;
    border-radius:6px;
    font-weight:bold;
    text-decoration:none;
    transition:0.2s;
}

.sponsor-button:hover{
    background:#e3c75d;
    color:#111;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.footer-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:40px;
    align-items:start;
}

.footer-navigation{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}

.footer-column{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.footer-column a{
    color:#fff;
    text-decoration:none;
}
.footer-grid{
    outline:5px solid red !important;
}
.footer-grid{
    outline:5px solid red !important;
}
/* =====================================================
   GELİŞMİŞ SİTE HEADER
===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #101010;
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);
}

.header-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* ÜST BİLGİ ŞERİDİ */

.header-top {
    background: #080808;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-top-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    font-size: 13px;
}

.header-welcome {
    color: #bdbdbd;
}

.header-welcome strong {
    color: #d4af37;
    font-weight: 600;
}

.header-account-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-account-links a {
    color: #e5e5e5;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.2s ease;
}

.header-account-links a:hover {
    color: #d4af37;
    background: rgba(255, 255, 255, 0.06);
}

.header-account-links .register-link {
    color: #111111;
    background: #d4af37;
}

.header-account-links .register-link:hover {
    color: #111111;
    background: #e4c45a;
}

.header-account-links .logout-link {
    color: #ffb3b3;
}

/* ANA HEADER */

.header-main {
    background:
        radial-gradient(
            circle at top left,
            rgba(212, 175, 55, 0.09),
            transparent 30%
        ),
        #121212;
}

.header-main-inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr minmax(230px, 320px);
    align-items: center;
    gap: 35px;
}

/* LOGO */

.site-logo {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -1px;
}

.logo-main {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
}

.logo-domain {
    color: #d4af37;
    font-size: 15px;
    font-weight: 700;
}

/* MENÜ */

.main-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.main-navigation a {
    position: relative;
    color: #efefef;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 11px;
    border-radius: 6px;
    transition: 0.2s ease;
}

.main-navigation a:hover {
    color: #d4af37;
    background: rgba(255, 255, 255, 0.06);
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 2px;
    background: #d4af37;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.main-navigation a:hover::after {
    transform: scaleX(1);
}

/* ARAMA */

.header-search {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.header-search:focus-within {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 11px 13px;
    font-size: 13px;
    color: #222222;
    background: transparent;
}

.header-search button {
    align-self: stretch;
    border: 0;
    cursor: pointer;
    padding: 0 17px;
    background: #d4af37;
    color: #101010;
    font-weight: 700;
    transition: 0.2s ease;
}

.header-search button:hover {
    background: #e3c458;
}

/* TABLET */

@media (max-width: 980px) {
    .header-main-inner {
        grid-template-columns: auto 1fr;
        padding: 15px 0;
    }

    .main-navigation {
        justify-content: flex-end;
    }

    .header-search {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* MOBİL */

@media (max-width: 680px) {
    .header-container {
        width: min(100% - 24px, 1180px);
    }

    .header-top-inner {
        justify-content: space-between;
        gap: 10px;
    }

    .header-welcome {
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-main-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .site-logo {
        justify-content: center;
    }

    .main-navigation {
        justify-content: center;
    }

    .main-navigation a {
        padding: 9px 8px;
        font-size: 13px;
    }

    .header-search {
        width: 100%;
    }
}
/* =====================================================
   HESABIM SAYFASI
===================================================== */

.account-page {
    width: min(1180px, calc(100% - 40px));
    margin: 45px auto;
}

.account-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 38px;
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.account-heading {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eeeeee;
}

.account-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #b18b18;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.account-heading h1 {
    margin: 0 0 8px;
    color: #151515;
    font-size: 32px;
}

.account-heading p {
    margin: 0;
    color: #666666;
    line-height: 1.6;
}

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.account-info-item {
    padding: 18px;
    background: #f7f7f7;
    border: 1px solid #eeeeee;
    border-radius: 10px;
}

.account-info-item span {
    display: block;
    margin-bottom: 6px;
    color: #777777;
    font-size: 13px;
}

.account-info-item strong {
    display: block;
    color: #1b1b1b;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.account-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    color: #222222;
    background: #eeeeee;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s ease;
}

.account-button:hover {
    background: #dddddd;
}

.account-button.primary {
    color: #111111;
    background: #d4af37;
}

.account-button.primary:hover {
    background: #e3c458;
}

.account-button.logout {
    color: #ffffff;
    background: #9e2f2f;
}

.account-button.logout:hover {
    background: #832525;
}

@media (max-width: 680px) {
    .account-page {
        width: min(100% - 24px, 1180px);
        margin: 25px auto;
    }

    .account-card {
        padding: 24px 18px;
    }

    .account-info-grid {
        grid-template-columns: 1fr;
    }

    .account-actions {
        flex-direction: column;
    }

    .account-button {
        width: 100%;
    }
}