/* assets/css/global.css */

/* Header overlay – HERO (both themes) */
.header-area.overlay-section .overlay {
    background:
        radial-gradient(120% 90% at 20% 15%,
            rgba(0, 0, 0, 0.10) 0%,
            rgba(0, 0, 0, 0.35) 60%),
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.30) 0%,
            rgba(0, 0, 0, 0.55) 100%);
}

/* HERO metinleri – light modda da beyaz kalsın (eski görünüme sadakat) */
.header-text-area .domain-title,
.header-text-area h3,
.header-text-area div span,
.header-text-area .color-white {
    color: #ffffff !important;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* HERO TLD – altın ton */
.header-text-area .domain-tld {
    color: #ffd54a;
}

/* Back-to-top – light mode */
html.theme-light .back-to-top {
    background: rgba(15, 23, 42, 0.85);
    color: #f9fafb;
}

html.theme-light .back-to-top:hover {
    background: rgba(15, 23, 42, 1);
}

/* Tema değiştirici buton */
.theme-toggle {
    position: fixed;
    left: 18px;
    bottom: 20px;
    z-index: 1500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.92);
    color: #f9fafb;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        background .16s ease-out,
        transform .16s ease-out,
        box-shadow .16s ease-out,
        border-color .16s ease-out;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    transform: translateY(-1px);
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.85);
    border-color: rgba(0, 73, 144, 0.90);
}

.theme-toggle-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    position: relative;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0.12) 38%, transparent 45%),
        linear-gradient(135deg, #004990 0%, #B32017 100%);
}

/* Light’ta buton görünümü */
html.theme-light .theme-toggle {
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.20);
}

html.theme-light .theme-toggle-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    position: relative;

    /* home.css ile birebir “gündüz” ikon */
    background: radial-gradient(circle at 30% 30%, #fde68a 0, #fb923c 40%, #f97316 60%, #e5e7eb 61%);
    box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.35);
}

/* Mobilde tema butonunu biraz yukarı alalım */
@media (max-width: 767.98px) {
    .theme-toggle {
        left: 12px;
        bottom: 72px;
    }
}

/* Genel küçük ayarlar */
.input-group-addon i {
    padding: 15px 10px;
}

[data-notify="container"] {
    width: 260px;
}

/* Sabit navbar boşluğu */
#header-area {
    margin-top: 0px;
}

/* Başlık: koyu zeminde beyaz */
.header-text-area .domain-title,
.header-text-area h3,
.header-text-area div span {
    color: #fff !important;
}

/* Domain başlığı */
.domain-title {
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, .5);
    letter-spacing: -1px;
    display: block;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.domain-tld {
    font-size: 3rem;
    color: #FFD700;
    font-weight: 700;
    display: inline-block;
    margin-left: 5px;
}

/* 4’lü adım kutusu – responsive */
.domain-steps-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 30px 20px 25px;
    margin-top: 20px;
}

.domain-step-item {
    flex: 1 1 22%;
    min-width: 0;
    text-align: center;
    color: #fff;
    padding: 0 10px;
    font-size: 15px;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.domain-step-item i {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Orta ekranlarda 2x2 olsun */
@media (max-width: 1200px) {
    .domain-step-item {
        flex: 0 0 50%;
        margin-top: 20px;
        font-size: 14px;
    }
}

/* Küçük ekran / mobil – tek sütun */
@media (max-width: 575px) {
    .domain-step-item {
        flex: 0 0 100%;
        margin-top: 18px;
        font-size: 13px;
    }
}

/* Mobil genel */
@media (max-width: 767.98px) {
    .header-area {
        height: 100% !important;
    }

    .make-offer-form form {
        margin: 40px 0 !important;
    }

    .filter-option-inner-inner {
        text-align: center;
    }

    .g-recaptcha>div>div {
        transform: scale(.75);
        transform-origin: 0 0;
    }

    .domain-title,
    .domain-tld {
        font-size: 2rem;
        display: block;
        margin-left: 0;
    }
}

/* iPad 768–1024 */
@media (min-width: 768px) and (max-width: 1024px) {
    .domain-title {
        font-size: 2.4rem;
        line-height: 1.1;
    }

    .domain-tld {
        font-size: 2.2rem;
    }

    .header-form-area h1 {
        font-size: 1.6rem;
    }

    .header-form-area h2 {
        font-size: 1.3rem;
    }
}

/* İkon/ok */
.angle-down-icon {
    color: #ffffff;
    font-size: 20px;
    padding-left: 4px;
    padding-top: 5px;
}

/* Light mode icon color */
html.theme-light .angle-down-icon {
    color: #0f172a;
}

/* === TEKLİF / SATIN AL SPLIT BUTON – MASAÜSTÜ/TABLET === */

/* Eski width/float davranışlarını tamamen temizle */
.buy-offer-button {
    cursor: pointer;
    margin: 0;
    float: none;
    width: auto;
}

/* Kapsayıcı: default’ta yan yana pill */
.buy-split-container {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
    margin-top: 10px;
}

/* Sol: TEKLİF VER / HEMEN AL */
.btn-buy-split {
    flex: 1 1 auto;
    height: 54px !important;
    line-height: 54px !important;
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
    border: none;
    border-radius: 999px 0 0 999px;
    background: linear-gradient(90deg, var(--brand, #004990) 0%, var(--accent, #b32017) 100%);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        transform .2s ease,
        filter .2s ease,
        box-shadow .2s ease;
}

/* submit-btn’in varsayılan stilini bastır */
.submit-btn.btn-buy-split {
    border-radius: 999px 0 0 999px !important;
    border: none !important;
    background: linear-gradient(90deg, var(--brand, #004990) 0%, var(--accent, #b32017) 100%) !important;
}

/* Hover efekti */
.btn-buy-split:hover {
    transform: translateY(-1px);
    filter: saturate(1.05) brightness(1.02);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

/* Sağ: ok butonu (modal tetikleyici) */
.btn-buy-split-tail {
    width: 60px !important;
    min-width: 60px !important;
    height: 54px !important;
    line-height: 54px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 999px 999px 0 !important;
    background: linear-gradient(90deg, var(--accent, #b32017) 0%, var(--brand, #004990) 100%) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18) !important;
}

.btn-buy-split-tail:hover {
    filter: saturate(1.05) brightness(1.02);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22) !important;
}

/* === MOBİL (<= 767.98px): 2 SATIR, KARE TASARIM === */
@media (max-width: 767.98px) {

    /* Kapsayıcı: alt alta iki buton */
    .header-form-area .buy-split-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        margin-top: 10px !important;
    }

    /* 1. satır: TEKLİF VER / HEMEN AL */
    .header-form-area .buy-split-container .btn-buy-split,
    .header-form-area .buy-split-container .buy-offer-button {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        float: none !important;
        height: 46px !important;
        line-height: 46px !important;
        font-size: 14px !important;
        border-radius: 6px !important;
    }

    /* 2. satır: ödeme platformları butonu */
    .header-form-area .buy-split-container .btn-buy-split-tail {
        width: 100% !important;
        min-width: 0 !important;
        margin: 8px 0 0 0 !important;
        height: 46px !important;
        line-height: 46px !important;
        border-radius: 6px !important;
        justify-content: center !important;
    }

    .header-form-area .buy-split-container .angle-down-icon {
        font-size: 18px;
        padding: 0;
    }
}

/* Canvas ve overlay */
#iIdentify {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background: rgba(0, 73, 144, .7);
    z-index: -1;
}

canvas#spiders {
    position: absolute;
}

/* Ödeme platformu dropdown kasası */
.header-form-area .bootstrap-select.buy-method-select .dropdown-menu {
    background: rgba(15, 23, 42, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.65);
    padding: 8px 0;
    margin-top: 6px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
    min-width: 220px;
}

/* Menü içindeki satırlar */
.header-form-area .bootstrap-select.buy-method-select .dropdown-menu .dropdown-item {
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #e5e7eb;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

/* Son satırın alt çizgisi olmasın */
.header-form-area .bootstrap-select.buy-method-select .dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
}

/* Hover / seçili durum */
.header-form-area .bootstrap-select.buy-method-select .dropdown-menu .dropdown-item:hover,
.header-form-area .bootstrap-select.buy-method-select .dropdown-menu .dropdown-item:focus,
.header-form-area .bootstrap-select.buy-method-select .dropdown-menu .dropdown-item.active {
    background: linear-gradient(90deg, #004990, #b32017);
    color: #ffffff;
}

/* Scroll */
.header-form-area .bootstrap-select.buy-method-select .dropdown-menu .inner {
    max-height: 260px;
}

.header-form-area .bootstrap-select.buy-method-select .dropdown-menu .inner::-webkit-scrollbar {
    width: 6px;
}

.header-form-area .bootstrap-select.buy-method-select .dropdown-menu .inner::-webkit-scrollbar-track {
    background: transparent;
}

.header-form-area .bootstrap-select.buy-method-select .dropdown-menu .inner::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.8);
    border-radius: 999px;
}

/* === KRİTİK: 1025px ve ALTINDA EFEKTLERİ KAPAT === */
@media (max-width: 1025px) {

    #header-area canvas#spiders,
    .banner-video {
        display: none !important;
    }
}

/* Kategori rengine bağlı stiller */
a:hover,
a:focus,
a:active,
.submit-btn:hover,
.make-offer-form .input-group-addon,
.feature-icon,
.actionbutton a,
.domain-box i {
    color: var(--category-color);
}

.submit-btn,
.submit-btn:hover {
    border: 1px solid var(--category-color);
}

.submit-btn,
.back-to-top i:hover,
.call-to-actionbutton {
    background-color: var(--category-color);
}

.overlay {
    background-color: var(--category-color);
}

.form-control:focus {
    border-color: var(--category-color);
}

.feature-cell {
    box-shadow: 0px 5px 30px var(--category-color);
}

.feature-cell:hover {
    box-shadow: 0px 20px 40px var(--category-color);
}

/* DOMAIN FEATURE AÇIKLAMA METİNLERİNİN GÖRÜNÜRLÜĞÜ */
.feature-cell .feature-text {
    color: #B32017 !important;
    opacity: 1 !important;
    font-weight: 500;
    line-height: 1.5;
}

/* Light mode — domain steps box readability */
html.theme-light .domain-steps-box {
    border-color: rgba(2, 6, 23, 0.10);
}

html.theme-light .domain-step-item {
    color: #0f172a;
}

html.theme-light .domain-step-item i {
    color: #0f172a;
}

/* Domain sayfasında hero fontlarını iptal et */
body[class*="domain"] .slogan-1,
body[class*="domain"] .slogan-2 {
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: 0 !important;
}

/* ============================
   DOMAIN HERO OVERLAY — LIGHT
   ============================ */

/* Mavi iIdentify katmanını light mode’da turuncu aura yap */
html.theme-light #iIdentify {
    background:
        radial-gradient(900px 600px at 12% 12%, rgba(249, 115, 22, 0.28), transparent 60%),
        radial-gradient(900px 600px at 88% 18%, rgba(234, 88, 12, 0.22), transparent 60%),
        radial-gradient(800px 500px at 50% 100%, rgba(255, 237, 213, 0.55), transparent 70%);
}

/* Eğer ekstra koyu overlay de vuruyorsa, onu da light’ta yumuşat */
html.theme-light .header-area.overlay-section .overlay {
    background:
        radial-gradient(120% 90% at 20% 15%, rgba(249, 115, 22, 0.12) 0%, rgba(234, 88, 12, 0.22) 60%),
        linear-gradient(180deg, rgba(255, 247, 237, 0.12) 0%, rgba(255, 237, 213, 0.22) 100%);
}

/* =====================================================
   DOMAIN FOOTER — LIGHT MODE ORANGE
   Scope: sadece domain sayfaları + light mode
   ===================================================== */

html.theme-light body.page-domain .footer-area {
    background:
        radial-gradient(900px 500px at 10% 0%, rgba(255, 237, 213, 0.55), transparent 60%),
        radial-gradient(800px 500px at 90% 100%, rgba(234, 88, 12, 0.35), transparent 65%),
        linear-gradient(135deg, #fb923c, #f97316, #ea580c) !important;

    color: #ffffff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

/* Footer metni */
html.theme-light body.page-domain .footer-area,
html.theme-light body.page-domain .footer-area p,
html.theme-light body.page-domain .footer-area span {
    color: #ffffff !important;
}

/* Footer linkleri */
html.theme-light body.page-domain .footer-area a {
    color: #fff7ed !important;
    font-weight: 600;
}

html.theme-light body.page-domain .footer-area a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Copyright satırı */
html.theme-light body.page-domain .footer-area .copyright-text {
    opacity: 0.95;
}

/* Back-to-top butonu footer üstünde ise */
html.theme-light body.page-domain .back-to-top i {
    background: linear-gradient(135deg, #f67d1a, #a3410c) !important;
    color: #faae3c !important;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

/* =====================================================
   FOOTER ÜSTÜ STRIP — LIGHT (BLUR KAPALI, TRANSPARAN TURUNCU)
   Arka plan görseli net görünsün
   ===================================================== */

html.theme-light .footer-pre,
html.theme-light .footer-top,
html.theme-light .contact,
html.theme-light .call-to-action {
    position: relative;
    overflow: hidden;
}

/* Overlay (blur yok) */
html.theme-light .footer-pre::before,
html.theme-light .footer-top::before,
html.theme-light .contact::before,
html.theme-light .call-to-action::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    /* Daha şeffaf turuncu cam: resim görünür */
    background:
        radial-gradient(800px 420px at 12% 15%, rgba(255, 237, 213, 0.22), transparent 60%),
        radial-gradient(700px 420px at 85% 85%, rgba(234, 88, 12, 0.18), transparent 65%),
        linear-gradient(135deg,
            rgba(249, 115, 22, 0.28),
            rgba(234, 88, 12, 0.26));

    /* KRİTİK: blur tamamen kapalı */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* İçerik üstte kalsın */
html.theme-light .footer-pre>*,
html.theme-light .footer-top>*,
html.theme-light .contact>*,
html.theme-light .call-to-action>* {
    position: relative;
    z-index: 2;
}

/* Yazı okunurluğu */
html.theme-light .footer-pre,
html.theme-light .footer-top,
html.theme-light .contact,
html.theme-light .call-to-action {
    color: #ffffff;
}