/*
 * portalnet.css — Site-specific overrides
 * Portalnet Yazılım ve Danışmanlık Ticaret A.Ş.
 */

/* Google Fonts — Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&display=swap');

/* =======================================================
   KURUMSAL RENK PALETİ — PortalNet
   Portal Navy     #0B1F3A  → footer, header, koyu bölümler (%30)
   Portal Blue     #0B5AA6  → logo uyumu, butonlar, linkler (%30)
   Digital Sky Blue#27A4DA  → CTA butonları, hover, ikon vurgusu (%10)
   Ice Blue        #EAF6FF  → bölüm arka planları, kart alanları (%60 içinde)
   Soft White      #F7FAFC  → genel web sitesi arka planı (%60 içinde)
   Graphite Black  #161F30  → paragraf, başlık altları
   Cool Gray       #6B7280  → ikincil metinler, form alanları
   Turuncu (Aksan) #ff6900  → hover CTA, vurgu (korunuyor)
   Font: Roboto (Google Fonts)
======================================================= */
:root {
    /* Portal Navy — footer, header dark bölümler */
    --tj-color-theme-dark:       #0B1F3A;
    --tj-color-theme-dark-2:     #0B1F3A;
    --tj-color-theme-bg-3:       #0B1F3A;

    /* Portal Blue — butonlar, linkler, başlıklar */
    --tj-color-heading-primary:  #0B5AA6;
    --tj-color-theme-primary:    #0B5AA6;
    --tj-color-text-body-4:      #0B5AA6;
    --tj-color-border-5:         rgba(11, 90, 166, 0.15);
    --tj-color-border-2:         #0B5AA6;

    /* Turuncu — aksan, hover CTA (korunuyor) */
    --pn-color-accent:           #ff6900;

    /* Digital Sky Blue — CTA, hover efektleri */
    --pn-color-sky:              #27A4DA;

    /* Graphite Black — paragraf metinleri */
    --tj-color-text-body:        #161F30;
    --tj-color-theme-dark-3:     #161F30;

    /* Cool Gray — ikincil metinler */
    --tj-color-text-body-2:      #6B7280;
    --tj-color-text-body-3:      #6B7280;
    --tj-color-theme-dark-4:     #6B7280;
    --tj-color-theme-dark-5:     #6B7280;
    --tj-color-grey-2:           #6B7280;

    /* Ice Blue — bölüm arka planları, kart alanları */
    --tj-color-theme-bg:         #EAF6FF;
    --tj-color-theme-bg-2:       #d0eaf8;

    /* Soft White — genel zemin */
    --tj-color-grey-1:           #F7FAFC;

    /* Border */
    --tj-color-border-1:         #d0e4f0;
}


/* Roboto font sitede genel kullanım */
body,
h1, h2, h3, h4, h5, h6,
p, a, span, li, input, button, textarea, select {
    font-family: 'Roboto', sans-serif !important;
}

/* Genel sayfa zemini */
body {
    background-color: #F7FAFC;
}

/* Hover / CTA — Turuncu Aksan */
.tj-primary-btn:hover,
.tj-secondary-btn:hover,
a.tj-primary-btn:hover,
a.tj-secondary-btn:hover {
    background-color: #ff6900 !important;
    border-color: #ff6900 !important;
}

/* -------------------------------------------------------
   Logo: boyut düzeltme (logo.png büyük olduğu için)
------------------------------------------------------- */
.site_logo img,
.hamburger_logo img,
.footer-logo img,
.subscribe-logo img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

/* -------------------------------------------------------
   Dil seçici (Language Switcher)
------------------------------------------------------- */
.pn-lang-switcher {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.pn-lang-current {
    font-size: 13px;
    font-weight: 600;
    color: inherit;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all .2s;
}

.header-sticky .pn-lang-current {
    color: var(--tj-color-heading, #1a1a2e);
    border-color: rgba(0,0,0,0.15);
}

.pn-lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;           /* sıfır boşluk — hover gap kalmıyor */
    left: 0;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    list-style: none;
    margin: 0;
    padding: 10px 0 6px; /* üstte padding ile görsel boşluk, ama hover alanı kopmuyor */
    min-width: 60px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 99999;
}

.pn-lang-switcher:hover .pn-lang-dropdown {
    display: block;
}

.pn-lang-dropdown li a {
    display: block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tj-color-heading, #1a1a2e);
    text-decoration: none;
    transition: background .15s;
}

.pn-lang-dropdown li a:hover {
    background: var(--tj-color-grey-1, #f8f8f8);
}

/* -------------------------------------------------------
   Stat Bar (hero alt bilgi çubuğu)
------------------------------------------------------- */
.pn-stat-bar {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    background: #EAF6FF;
    border: 1px solid #d0eaf8;
    border-radius: 14px;
    padding: 22px 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    margin-top: 40px;
}

.pn-stat-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
    padding: 0 16px;
}

.pn-stat-bar-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.pn-stat-bar-text {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2a;
    white-space: nowrap;
}

.pn-stat-bar-divider {
    width: 1px;
    height: 40px;
    background: #b8d8ef;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .pn-stat-bar { flex-wrap: wrap; padding: 20px; gap: 16px; }
    .pn-stat-bar-divider { display: none; }
    .pn-stat-bar-item { flex: 0 0 calc(50% - 16px); justify-content: flex-start; padding: 8px; }
}

@media (max-width: 480px) {
    .pn-stat-bar-item { flex: 0 0 100%; }
    .pn-stat-bar-text { font-size: 15px; }
}

/* -------------------------------------------------------
   Cookie Consent Banner
------------------------------------------------------- */
.pn-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #002a6e;
    color: #fff;
    z-index: 99999;
    padding: 20px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}

.pn-cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.pn-cookie-text {
    flex: 1;
    min-width: 240px;
}

.pn-cookie-text p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.pn-cookie-text a {
    color: var(--tj-color-primary, #818cf8);
    text-decoration: underline;
}

.pn-cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.pn-cookie-accept {
    font-size: 13px;
    padding: 10px 20px;
}

.pn-cookie-reject {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.8);
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

.pn-cookie-reject:hover {
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}

/* -------------------------------------------------------
   Feature items (about section)
------------------------------------------------------- */
.feature-item {
    font-size: 15px;
    color: var(--tj-color-body, #555);
    display: flex;
    align-items: flex-start;
}

/* -------------------------------------------------------
   Checklist in product highlight
------------------------------------------------------- */
.pn-check-list li {
    margin-bottom: 10px;
    font-size: 15px;
    display: flex;
    align-items: center;
}

/* -------------------------------------------------------
   Responsive: logo on dark header
------------------------------------------------------- */
.header-area .site_logo img {
    /* If logo has a dark background in PNG, use filter for dark themes */
    /* filter: brightness(0) invert(1); */  /* uncomment if logo is dark-on-transparent */
}

/* -------------------------------------------------------
   Footer — tam genişlik, köşe yuvarlama yok
   (main.css'te border-radius: 12px + section-gap-x margin var, burada sıfırlıyoruz)
------------------------------------------------------- */
.tj-footer-section {
    border-radius: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

/* smooth-content padding-bottom: 15px → footer altında beyaz boşluk bırakıyor */
#smooth-content {
    padding-bottom: 0 !important;
}

/* -------------------------------------------------------
   Footer logo
------------------------------------------------------- */
.tj-footer-section .footer-logo img,
.tj-footer-section .subscribe-logo img {
    filter: none;
}
