/* style.css - Espor Temalı Karanlık CSS */

/* Renk Değişkenleri ve Reset */
:root {
    --bg-color: #0b0c10;
    --card-bg: #1f2833;
    --text-color: #c5c6c7;
    --primary-color: #66fcf1; /* Neon Turkuaz */
    --secondary-color: #45a29e;
    --accent-color: #9d4edf; /* Espor Moru */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
}

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

/* --- HEADER / NAVIGATION STYLES --- */
.main-header {
    background-color: rgba(31, 40, 51, 0.95);
    border-bottom: 2px solid var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* Logo */
.logo a {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Navigasyon Linkleri */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item a {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    position: relative;
}

/* Link Üzerine Gelince Efekt (Hover) */
.nav-item a:hover {
    color: var(--primary-color);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item a:hover::after {
    width: 100%;
}

/* Sağ Taraf - Giriş/Kayıt Butonları */
.header-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.btn-login:hover {
    color: var(--primary-color);
}

.btn-register {
    background-color: var(--accent-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(157, 78, 223, 0.4);
    transition: all 0.3s ease;
}

.btn-register:hover {
    background-color: #8a3cd0;
    box-shadow: 0 0 15px rgba(157, 78, 223, 0.7);
    transform: translateY(-2px);
}


/* --- HERO / SLIDER SECTION --- */
.hero-section {
    position: relative;
    height: 75vh; /* Ekranın %75'ini kaplasın */
    min-height: 500px;
    background: linear-gradient(rgba(11, 12, 16, 0.8), rgba(11, 12, 16, 0.95)), 
                url('https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=1920') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
    border-bottom: 1px solid rgba(102, 252, 241, 0.1);
}

/* Arkadaki neon ışık efekti */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(157, 78, 223, 0.08) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(102, 252, 241, 0.3);
}

.hero-title {
    font-size: 54px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-title span {
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-color);
    filter: drop-shadow(0 0 15px rgba(157, 78, 223, 0.5));
}

.hero-description {
    font-size: 18px;
    color: #a3a5a7;
    margin-bottom: 35px;
    font-weight: 400;
}

/* Kahraman Butonları */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent-color), #8a3cd0);
    color: #fff;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(157, 78, 223, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(157, 78, 223, 0.6);
}

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(102, 252, 241, 0.1);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.2);
    transform: translateY(-3px);
}

/* Sayfa Açılış Animasyonu */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- SPONSORLAR VITRIN SECTION --- */
.sponsors-section {
    padding: 60px 20px;
    background-color: #0f1115; /* Siteden hafif farklı bir koyu ton derinlik katar */
    border-top: 1px solid rgba(102, 252, 241, 0.05);
    text-align: center;
}

.sponsors-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sponsors-title {
    font-size: 14px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
    font-weight: 700;
}

.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px; /* Logolar arası boşluk */
}

.sponsor-item {
    display: block;
    transition: all 0.4s ease;
    filter: grayscale(100%) opacity(40%); /* Logolar normalde renksiz ve soluk */
}

/* Mouse ile logonun üzerine gelindiğinde */
.sponsor-item:hover {
    filter: grayscale(0%) opacity(100%); /* Orijinal rengine döner ve parlar */
    transform: scale(1.1); /* Hafifçe büyür */
}

.sponsor-logo {
    max-width: 140px;
    height: auto;
    object-fit: contain;
}



/* --- HABERLER VITRIN SECTION --- */
.news-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-section-title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.news-section-title span {
    color: var(--primary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--card-bg);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Karta hover olunca parlasın ve yukarı kalksın */
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 252, 241, 0.15);
    border-color: rgba(102, 252, 241, 0.2);
}

.news-image-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image {
    transform: scale(1.08);
}

.news-body {
    padding: 20px;
}

.news-date {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.news-excerpt {
    font-size: 14px;
    color: #a3a5a7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.btn-read-more:hover {
    color: var(--accent-color);
}


/* --- FOOTER SECTION --- */
.main-footer {
    background-color: #07080a;
    border-top: 2px solid var(--accent-color);
    padding: 40px 20px 20px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-desc {
    font-size: 14px;
    color: #a3a5a7;
    max-width: 350px;
}

.footer-links {
    display: flex;
    gap: 50px;
}

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

.footer-link-group h4 {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.footer-link-group a {
    font-size: 14px;
    color: #a3a5a7;
    transition: color 0.3s ease;
}

.footer-link-group a:hover {
    color: var(--primary-color);
}

/* Telif Hakkı Barı */
.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #666;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: #a3a5a7;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--primary-color);
}