/*
Theme Name: Faruk Ucar
Theme URI: https://farukucar.local
Author: Faruk Uçar
Author URI: https://farukucar.local
Description: Pictech HTML şablonundan dönüştürülmüş özel WordPress teması.
Version: 1.0
Text Domain: farukucar
*/

/* Menüde olası bullet ve boşlukları temizleyelim */
.navbar-nav.menu,
.navbar-nav.menu li,
.navbar-nav.menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* ==== WORDPRESS MENÜ DROPDOWN DÜZELTME ==== */

/* Tüm li'ler relative olsun ki alt menüleri absolute konumlayabilelim */
.navbar-nav.menu > li {
    position: relative;
}

/* Alt menüleri gizle + dropdown görünümü ver */
.navbar-nav.menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;              /* asıl kritik kısım: varsayılan gizli */
    background: #ffffff;
    min-width: 220px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 12px 24px rgba(15, 35, 52, 0.12);
    z-index: 99;
}

/* Alt menü içindeki li'ler tam genişlik olsun */
.navbar-nav.menu .sub-menu li {
    width: 100%;
}

/* Alt menü linklerinin içeri doğru padding alması */
.navbar-nav.menu .sub-menu a.nav-link {
    display: block;
    padding: 6px 18px;
    white-space: nowrap;
    font-size: 14px;
}

/* Üst menü elemanının üzerine gelince alt menüyü göster */
.navbar-nav.menu li:hover > .sub-menu,
.navbar-nav.menu li:focus-within > .sub-menu {
    display: block;
}

/* Bullet ve boşlukları tamamen temizleyelim */
.navbar-nav.menu,
.navbar-nav.menu li,
.navbar-nav.menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* ===== HEADER TASARIMI (pazardex benzeri) ===== */

.fc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #f4f6fb 0%, #eef1f7 50%, #e6eaef 100%);
}

.fc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 32px;
}

.fc-logo img {
    height: 32px;
    display: block;
}

/* NAV */
.fc-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.fc-nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fc-nav-item { /* WP filter ile gelecek class */
    position: relative;
}

.fc-nav-link,
.fc-nav-list > li > a {
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    padding: 4px 0;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.fc-nav-link:hover,
.fc-nav-list > li > a:hover {
    color: #00c58a;
    transform: translateY(-1px);
}

/* SAĞ BLOK */
.fc-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* YEŞİL BUTON */
.fc-portal-btn {
    background: #00c58a;
    color: #ffffff;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 14px 24px rgba(0, 197, 138, 0.28);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fc-portal-btn:hover {
    background: #00b17b;
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(0, 197, 138, 0.35);
}

/* DİL SEÇİCİ */
.fc-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
}

.fc-lang-caret {
    font-size: 10px;
}

/* İKON BUTONLARI */
.fc-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.fc-icon-btn:hover {
    background: rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

/* basit user ikon */
.fc-icon-circle {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid #111827;
}

/* basit search ikon */
.fc-icon-search {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 2px solid #111827;
    border-right-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(-45deg);
}

/* BURGER (sadece mobilde gösterilecek) */
.fc-burger {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    cursor: pointer;
}

.fc-burger span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .fc-header-inner {
        padding: 10px 0;
    }

    .fc-nav {
        display: none; /* burger ile aç/kapa JS yazılabilir, şimdilik gizli */
    }

    .fc-header-right {
        gap: 10px;
    }

    .fc-portal-btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    .fc-burger {
        display: flex;
    }
}
/* ===========================
   FARUKUCAR – MODERN HEADER MENÜ
   =========================== */

/* Top header alanı (bunu istersen zaten eklemiştik, yoksa kalsın) */
.fc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #f4f6fb 0%, #eef1f7 50%, #e6eaef 100%);
}

.fc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 32px;
}

/* LOGO */
.fc-logo img {
    height: 32px;
    display: block;
}

/* ===== ANA MENÜ LAYOUT ===== */

.fc-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* UL reset + yatay dizilim */
.fc-nav-list,
.fc-nav-list li,
.fc-nav-list .sub-menu {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.fc-nav-list {
    display: flex !important;
    align-items: center;
    gap: 40px;
}

/* Üst seviye li */
.fc-nav-list > li,
.fc-nav-item {
    position: relative;
}

/* Üst seviye linkler */
.fc-nav-link,
.fc-nav-list > li > a {
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    padding: 4px 0;
    display: inline-block;
    position: relative;
    transition: color 0.18s ease, transform 0.18s ease;
}

/* Hover’da hafif kaldır + renk */
.fc-nav-link:hover,
.fc-nav-list > li > a:hover {
    color: #00c58a;
    transform: translateY(-1px);
}

/* Aktif menü alt çizgi için (istersen kullan) */
.fc-nav-link::after,
.fc-nav-list > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: #00c58a;
    transition: width 0.18s ease;
}

.fc-nav-link:hover::after,
.fc-nav-list > li:hover > a::after {
    width: 100%;
}

/* ===== DROPDOWN (ALT MENÜLER) ===== */

/* Tüm alt menüler default gizli */
.fc-nav-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px) scaleY(0.9);
    transform-origin: top center;
    opacity: 0;
    pointer-events: none;
    min-width: 220px;
    background: #ffffff;
    padding: 10px 0;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 35, 52, 0.18);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 9999;
}

/* Alt menü içindeki her li */
.fc-nav-list .sub-menu > li {
    width: 100%;
}

/* Alt menü linkleri */
.fc-nav-list .sub-menu a,
.fc-nav-list .sub-menu .fc-nav-link {
    display: block;
    padding: 7px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.16s ease, padding-left 0.16s ease, color 0.16s ease;
}

.fc-nav-list .sub-menu a:hover,
.fc-nav-list .sub-menu .fc-nav-link:hover {
    background: #f0f9ff;
    color: #00b17b;
    padding-left: 22px;
}

/* Hover / focus ile açılma animasyonu */
.fc-nav-list > li:hover > .sub-menu,
.fc-nav-list > li:focus-within > .sub-menu {
    opacity: 1;
    transform: translate(-50%, 14px) scaleY(1);
    pointer-events: auto;
}

/* ===== 3. seviye (sub-menu içindeki sub-menu) ===== */

.fc-nav-list .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    transform: translate(8px, 0) scaleY(0.9);
    transform-origin: top left;
    box-shadow: 0 18px 32px rgba(15, 35, 52, 0.15);
}

.fc-nav-list .sub-menu li:hover > .sub-menu,
.fc-nav-list .sub-menu li:focus-within > .sub-menu {
    opacity: 1;
    transform: translate(12px, 0) scaleY(1);
    pointer-events: auto;
}

/* ===== SAĞ TARAFTAKİ BUTON & İKONLAR ===== */

.fc-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Yeşil portal butonu */
.fc-portal-btn {
    background: #00c58a;
    color: #ffffff;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 14px 24px rgba(0, 197, 138, 0.28);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.fc-portal-btn:hover {
    background: #00b17b;
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(0, 197, 138, 0.35);
}

/* Dil seçici */
.fc-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
}

.fc-lang-caret {
    font-size: 10px;
}

/* İkon butonlar */
.fc-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.18s ease, transform 0.18s ease;
}

.fc-icon-btn:hover {
    background: rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

/* basit user ikon */
.fc-icon-circle {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid #111827;
}

/* basit search ikon */
.fc-icon-search {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 2px solid #111827;
    border-right-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(-45deg);
}

/* Burger – mobil için (şimdilik sadece görüntü) */
.fc-burger {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    cursor: pointer;
}

.fc-burger span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .fc-header-inner {
        padding: 10px 0;
    }

    .fc-nav {
        display: none; /* sonra istersek JS ile açılır panel yaparız */
    }

    .fc-header-right {
        gap: 10px;
    }

    .fc-portal-btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    .fc-burger {
        display: flex;
    }
}


