/* NOKTACOM MEDYA - 2026 GLOBAL DESIGN SYSTEM 
    Dosya Adı: css/modern-2026.css
*/

/* 1. GLOBAL DEĞİŞKENLER (Renkler ve Fontlar) */

/* --- SİTE İSKELETİ DÜZELTME (ESKİ TEMAYI SIFIRLAMA) --- */

/* 1. Tüm sayfa genişliğini %100 yap ve aydınlık zemin zorla */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important; /* Yatay taşmayı engelle */
    background-color: #ffffff !important; /* Arkaplan Beyaz */
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Eski temanın "body-inner" kutusunu açıyoruz */
.body-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important; /* Beyaz arkaplanı kaldır */
    box-shadow: none !important; /* Varsa gölgeyi kaldır */
    position: relative;
    z-index: 1;
}

/* 3. Slider'ın kesinlikle tam ekran olmasını sağla */
.hero-section, #heroCanvas {
    width: 100vw !important;
    height: 100vh !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    z-index: 5 !important;
}

/* 4. Eski şablon dosyaları (Haberler/İletişim) için geçici düzen */
/* Eski bölümler siyah zeminde kaybolmasın veya çok yapışmasın diye */
.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 1200px) {
    .container { max-width: 1300px; }
}

/* Eski PHP dosyalarından gelen içerikleri biraz ferahlat */
section {
    position: relative;
    background: #ffffff; /* Her bölümün arkası beyaz olsun */
}


:root {
    --nk-primary: #FFE102;       /* Marka Sarısı */
    --nk-bg-dark: #ffffff;       /* Ana Arka Plan (Ferah Beyaz) */
    --nk-bg-panel: #f8f9fa;      /* Kart/Panel Arka Planları (Açık Gri) */
    --nk-text-main: #0F172A;     /* Ana Metin (Premium Koyu Lacivert/Siyah) */
    --nk-text-muted: #475569;    /* İkincil Metin (Premium Gri) */
    --nk-border: rgba(0, 0, 0, 0.06); /* İnce, zarif çizgiler */
    
    /* Font Ailesi */
    --font-heading: 'Outfit', sans-serif;  /* Başlıklar için Premium modern font */
    --font-body: 'Inter', sans-serif;      /* Gövde metni için yüksek okunabilirlik */
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. GENEL SIFIRLAMA VE TEMEL AYARLAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    background-color: var(--nk-bg-dark);
    color: var(--nk-text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden; /* Yatay taşmayı engelle */
}

/* Linkler */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Başlıklar (Tüm sayfalarda H1, H2, H3 böyle görünecek) */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--nk-text-main);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

p {
    color: var(--nk-text-muted);
    margin-bottom: 20px;
}

/* Resimler */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container Yapısı (İçeriği Ortalar) */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 3. HEADER TASARIMI (GLOBAL) */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent; /* Başlangıçta şeffaf */
}

/* Sayfa aşağı kayınca header'ın alacağı hal */
#main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--nk-border);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-area img {
    height: 50px; /* Logo yüksekliği */
    width: auto;
}

/* Masaüstü Menü */
.desktop-nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

.desktop-nav ul li a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    position: relative;
    padding: 10px 0;
}

/* Menü Alt Çizgi Efekti */
.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nk-primary);
    transition: var(--transition);
    box-shadow: 0 0 10px var(--nk-primary);
}

.desktop-nav ul li a:hover {
    color: var(--nk-primary);
}

.desktop-nav ul li a:hover::after {
    width: 100%;
}

/* Dropdown (Alt Menü) */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #ffffff;
    min-width: 220px;
    border: 1px solid var(--nk-border);
    border-top: 3px solid var(--nk-primary);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 10px 0;
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 0 !important; /* Üst menü gap'ini sıfırla */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-body) !important;
    font-weight: 500 !important;
    text-transform: none !important;
    color: #333 !important;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.dropdown-menu li a:hover {
    background: var(--nk-primary);
    color: #000 !important;
    padding-left: 25px;
}

/* Header Sağ Taraf (Buton & Sosyal) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    padding-right: 20px;
    border-right: 1px solid rgba(0,0,0,0.1);
    color: #111;
}

.social-links a {
    font-size: 18px;
}
.social-links a:hover {
    color: var(--nk-primary);
    transform: scale(1.1);
}

/* Parlayan Buton (CTA) */
.btn-glow {
    background: var(--nk-primary);
    color: #000 !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 225, 2, 0.3);
    background: #fff;
}

/* 4. MOBİL MENÜ YAPISI */
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

.mobile-overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Kapalı Durum */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-overlay-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-overlay-menu ul {
    list-style: none;
}

.mobile-overlay-menu ul li a {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #000;
    display: block;
    margin-bottom: 20px;
    opacity: 0; /* JS ile gelecek */
    transform: translateY(20px);
}

.mobile-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
    color: #000;
}

/* RESPONSIVE AYARLAR */
@media (max-width: 1024px) {
    .desktop-nav, .header-actions {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    /* Logo mobil boyutu */
    .logo-area img {
        height: 40px;
    }
}

/* --- FOOTER TASARIMI (2026 GLOBAL) --- */

/* 1. Pre-Footer (Eylem Çağrısı Alanı) */
.pre-footer-cta {
    background-color: var(--nk-primary); /* Sarı Zemin */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    color: #000;
    line-height: 1.1;
    margin-bottom: 10px;
}

.cta-text p {
    color: #333;
    font-size: 18px;
    margin: 0;
}

/* Kayan Arka Plan Yazısı */
.cta-bg-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: 200px;
    font-weight: 800;
    color: rgba(0,0,0,0.03); /* Çok silik */
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.btn-black {
    background: #000;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-black:hover {
    transform: scale(1.05);
    background: #222;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* 2. Ana Footer Alanı */
.main-footer {
    background-color: #fcfcfc;
    border-top: 1px solid var(--nk-border);
    padding: 80px 0 30px 0;
    font-family: var(--font-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr; /* Sol taraf daha geniş */
    gap: 40px;
    margin-bottom: 60px;
}

/* Footer Başlıkları */
.footer-heading {
    color: #000;
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 25px;
    display: block;
    letter-spacing: 1px;
}

/* Footer Linkleri */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--nk-text-muted);
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Link Hover Efekti (Ok Çıkar) */
.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    color: var(--nk-primary);
}

.footer-links a:hover {
    color: #000;
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* İletişim Bilgileri */
.contact-info li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    color: var(--nk-text-muted);
    margin-bottom: 20px;
    font-size: 15px;
}
.contact-info i {
    color: var(--nk-primary);
    font-size: 20px;
    margin-top: 3px;
}

/* 3. Alt Bar (Copyright) */
.footer-bottom {
    border-top: 1px solid var(--nk-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text {
    color: #555;
    font-size: 14px;
}

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

.social-circle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--nk-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: var(--transition);
}

.social-circle:hover {
    background: var(--nk-primary);
    color: #000;
    border-color: var(--nk-primary);
}

/* Scroll Top Butonu */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: 1px solid var(--nk-border);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--nk-primary);
    color: #000;
}

/* MOBİL RESPONSIVE */
@media (max-width: 991px) {
    .cta-content { flex-direction: column; text-align: center; gap: 30px; }
    .cta-text h2 { font-size: 32px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}