/* ═══════════════════════════════════════════════════════════════════════════
   ANKARA HOSTİNG (.NET) - DOMAIN E-TİCARET MODERN STİL DOSYASI
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --primary: #1d4ed8;
    --primary-dark: #1e3a8a;
    --primary-light: #eff6ff;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #0f172a;
    --slate: #475569;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 35px -10px rgba(29, 78, 216, 0.16);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ─── ÜST BİLGİ BARI (TOPBAR) ────────────────────────────────────────────── */
.topbar {
    background: linear-gradient(90deg, #0b1120 0%, #1e293b 100%);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
    color: #e2e8f0;
}

.topbar a:hover {
    color: #38bdf8;
}

.badge-gift-top {
    background: rgba(254, 189, 48, 0.18);
    color: #febd30;
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.78rem;
}

/* ─── ANA HEADER & NAVİGASYON ────────────────────────────────────────────── */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.brand-logo img {
    max-height: 46px;
    width: auto;
}

.nav-link-custom {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.94rem;
    padding: 8px 14px;
    border-radius: 8px;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--primary);
    background: var(--primary-light);
}

/* Sepet Butonu */
.btn-cart-header {
    position: relative;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: #fff !important;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.25);
    border: none;
}

.btn-cart-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.35);
}

.cart-badge-count {
    background: #f59e0b;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 800;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* ─── HERO BÖLÜMÜ ────────────────────────────────────────────────────────── */
.hero-section {
    background: radial-gradient(circle at 15% 20%, #1e3a8a 0%, #0f172a 60%, #090d16 100%);
    color: #fff;
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    right: -120px;
    top: -180px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #38bdf8;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(1.9rem, 3.5vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 14px;
}

.hero-title span {
    background: linear-gradient(90deg, #38bdf8, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-search-box {
    background: #fff;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 760px;
    margin: 26px auto 18px;
}

.hero-search-box input {
    border: none;
    outline: none;
    font-size: 1.05rem;
    padding: 12px 16px;
    width: 100%;
    color: var(--dark);
    font-weight: 500;
}

.hero-search-box .btn-search {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: #fff;
    font-weight: 700;
    border: none;
    padding: 13px 28px;
    border-radius: 12px;
    white-space: nowrap;
}

.tld-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tld-pill:hover,
.tld-pill.active {
    background: #38bdf8;
    color: #0f172a;
    border-color: #38bdf8;
}

/* ─── ÖZELLİK ŞERİDİ (TRUST BAR) ─────────────────────────────────────────── */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ─── SOL KATEGORİ MENÜSÜ (SIDEBAR) ─────────────────────────────────────── */
.category-sidebar {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.category-sidebar-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cat-group-title {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: 800;
    padding: 14px 18px 6px;
}

.cat-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.cat-list-item:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.cat-list-item.active {
    background: var(--primary-light);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 700;
}

.cat-count-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}

.cat-list-item.active .cat-count-badge {
    background: var(--primary);
    color: #fff;
}

/* ─── DOMAİN ÜRÜN KARTLARI ───────────────────────────────────────────────── */
.domain-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.24s ease;
    position: relative;
    overflow: hidden;
}

.domain-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    box-shadow: var(--shadow-lg);
}

.domain-card.in-cart {
    border-color: var(--success);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.domain-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.badge-year {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}

.badge-firsat {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #fff;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}

.domain-name-box {
    margin: 6px 0 12px;
    word-break: break-all;
}

.domain-name-link {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.01em;
    display: inline-block;
}

.domain-name-link:hover {
    color: var(--primary);
}

.domain-name-link .tld-part {
    color: var(--primary);
}

.domain-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.meta-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
}

.meta-chip-gift {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.domain-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    margin-bottom: 14px;
}

.price-current {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
}

.price-old {
    display: none !important;
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 6px;
}

.domain-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.btn-add-cart {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 9px 14px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.2s ease;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn-add-cart.added {
    background: var(--success);
    color: #fff;
}

.btn-buy-now {
    background: #f59e0b;
    color: #0f172a;
    border: none;
    border-radius: 10px;
    padding: 9px 13px;
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-buy-now:hover {
    background: #d97706;
    color: #fff;
}

/* ─── SLIDE-OVER SEPET DRAWER ────────────────────────────────────────────── */
.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.cart-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 430px;
    height: 100vh;
    background: #fff;
    z-index: 1060;
    box-shadow: -10px 0 35px rgba(15, 23, 42, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 18px 22px;
    background: #0f172a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 22px;
}

.cart-drawer-footer {
    padding: 18px 22px;
    border-top: 1px solid var(--border);
    background: #f8fafc;
}

.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
    background: #fff;
}

/* ─── TOAST BİLDİRİMİ ────────────────────────────────────────────────────── */
.toast-container-custom {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-notice {
    background: #0f172a;
    color: #fff;
    padding: 13px 18px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    border-left: 4px solid var(--success);
    animation: slideInUp 0.25s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── ÖDEME EKRANI VE KARTLAR ────────────────────────────────────────────── */
.checkout-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

.payment-tab-btn {
    border: 2px solid var(--border);
    background: #fff;
    border-radius: 14px;
    padding: 16px 20px;
    font-weight: 700;
    color: var(--dark);
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
}

.payment-tab-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-dark);
}

.iban-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
    background: #0b1120;
    color: #94a3b8;
    padding: 56px 0 28px;
    margin-top: 64px;
}

.site-footer h5 {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #38bdf8;
    padding-left: 4px;
}

/* WhatsApp Sabit Buton */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1040;
    background: #25d366;
    color: #fff !important;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.38);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}
