﻿:root {
    --bg: #061830;
    --bg2: #0c2146;
    --brand: #0e4ad8;
    --brand2: #123a7a;
    --muted: #6b7280;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(0,0,0,.12);
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    padding: 0
}

body {
    font-family: system-ui,Segoe UI,Roboto,Arial,sans-serif;
    color: #111;
    background: #fff
}

img {
    max-width: 100%;
    display: block
}

a {
    color: var(--brand);
    text-decoration: none
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

.flex {
    display: flex
}

.between {
    justify-content: space-between
}

.align-center {
    align-items: center
}

.grid {
    display: grid;
    gap: 20px
}

    .grid.two {
        grid-template-columns: 1.2fr .8fr
    }

.section {
    padding: 72px 0
}

    .section.muted {
        background: #f6f8fc
    }

.section-title {
    font-size: 28px;
    margin: 0 0 20px
}

.muted {
    color: var(--muted)
}

.topbar {
    background: #0c2146;
    color: #fff;
    font-size: 14px
}

    .topbar a {
        color: #fff;
        opacity: .9;
        margin-left: 16px
    }

.sep {
    opacity: .4;
    margin: 0 8px
}

.brandbar {
    margin-bottom:0;
    background: #0b1f40;
    padding: 16px 0;
    border-bottom: 1px solid #0f2b5f
}

.brand-wrap {
    display: flex;
    justify-content: center;
    align-items: center
}


.nav-main {
    margin-bottom:0;
    border-bottom:0;
    background: #0c2146;
    position: sticky;
    top: 0;
    z-index: 50
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center
}

.nav-toggle {
    display: none;
    margin-right: auto;
    background: #0c2146;
    color: #fff;
    border: 1px solid #1e3566;
    border-radius: 8px;
    padding: 6px 10px
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 22px;
    padding: 10px 0;
    margin: 0
}

    .nav-list a {
        color: #e5eaf5;
        position: relative
    }

        .nav-list a:hover {
            color: #fff
        }

        .nav-list a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 0;
            height: 2px;
            background: #fff;
            transition: width .2s
        }

        .nav-list a:hover::after {
            width: 100%
        }

@media(max-width:900px) {
    .nav-toggle {
        display: block
    }

    .nav-list {
        display: none;
        flex-direction: column;
        gap: 12px;
        padding: 14px 0
    }

    .nav-main.open .nav-list {
        display: flex
    }
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #0c2146;
    box-shadow: var(--shadow)
}

    .btn:hover {
        transform: translateY(-1px)
    }

.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: #fff
}

.user {
    margin-left: 8px
}
/* Logout form in navbar */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.topbar .logout-form {
    display: inline;
    margin: 0;
}

.topbar .logout-link {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    color: #fff;
    opacity: .9;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

    .topbar .logout-link:hover {
        opacity: 1;
        text-decoration: underline;
    }
.topbar .user{
    margin-right:4px;
    color:#cbd5e1;
}
/* HERO */
.hero-banner {
    display:flow-root;
    padding-top:1px;
    margin-top:-1px;
    margin-bottom:0;
    position: relative;
    height: 72vh;
    min-height: 520px;
    background: #061830;
    background-size: cover;
    background-position: center;
    background-image: var(--hero);
    background-size: cover;
    background-size:cover;background-position:center;
}

    .hero-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,#0b1f40 0%,rgba(11,31,64,.2) 70%)
    }

    .hero-banner .overlay {
        position: absolute;
        inset: 0;
        background: radial-gradient(70% 60% at 20% 30%,rgba(14,74,216,.4),transparent 70%)
    }

.hero-inner {
    padding-top:12vh;
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 760px;
    margin-top: 0vh
}

    .hero-inner h1 {
        font-size: 44px;
        margin: 0 0 10px
    }

    .hero-inner p {
        font-size: 18px;
        opacity: .95
    }

    .hero-inner .cta {
        margin-top: 22px;
        display: flex;
        gap: 12px
    }

/* Kartlar */
.cards-6 {
    grid-template-columns: repeat(6,1fr)
}

@media(max-width:1100px) {
    .cards-6 {
        grid-template-columns: repeat(3,1fr)
    }
}

@media(max-width:640px) {
    .cards-6 {
        grid-template-columns: repeat(2,1fr)
    }

    .grid.two {
        grid-template-columns: 1fr
    }
}

.card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    transition: transform .2s
}

    .card:hover {
        transform: translateY(-4px)
    }

    .card .icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: linear-gradient(135deg,var(--brand),var(--brand2));
        margin-bottom: 8px
    }

/* Bant ve sayaçlar */
.band.stats {
    background: linear-gradient(90deg,#061830,#0e4ad8);
    color: #fff;
    padding: 40px 0
}

.stats-grid {
    grid-template-columns: repeat(4,1fr);
    text-align: center
}

    .stats-grid strong {
        font-size: 32px;
        display: block
    }

    .stats-grid span {
        opacity: .9
    }

/* Çözümler */
.checklist {
    padding: 0;
    margin: 0;
    list-style: none
}

    .checklist li {
        padding-left: 28px;
        position: relative;
        margin-bottom: 10px
    }

        .checklist li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--brand)
        }

.mockup {
    height: 300px;
    border-radius: 16px;
    background: radial-gradient(80% 120% at 10% 0%,#0e4ad8 0%,transparent 60%), linear-gradient(135deg,#0c2146,#123a7a);
    box-shadow: var(--shadow)
}

/* Referanslar ve blog */
.logos {
    grid-template-columns: repeat(6,1fr)
}

.logo-box {
    height: 64px;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    background: #fff
}

.posts {
    grid-template-columns: repeat(3,1fr)
}

.post {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow)
}

/* CTA ve footer */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg,#0c2146,#0e4ad8);
    color: #fff;
    text-align: center
}

.footer {
    background: #0c2146;
    color: #cbd5e1;
    padding: 36px 0;
    margin-top: 40px
}

    .footer a {
        color: #cbd5e1
    }

.footer-grid {
    grid-template-columns: 2fr 1fr 1fr
}
.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    box-shadow: var(--shadow);
    box-sizing: border-box;
}
.field-error {
    display: block;
    color: #b91c1c;
    font-size: 12px;
    margin-top: 6px;
}
.summary {
    color: #b91c1c;
    margin-top: 8px;
}
.nav-pills .nav-link { border-radius: 12px; }
.card { border: 0; border-radius: 16px; }
.form-control, .form-select { border-radius: 12px; }
.btn { border-radius: 12px; }
.object-fit-cover { object-fit: cover; }

.circular-actions {
    display: inline-flex;
    align-items: stretch;
    border-radius: 0.4rem;
    overflow: hidden; /* köşeler yuvarlak */
    font-size: 0.85rem;
}

/* Ortak segment buton stili */
.circular-actions .seg-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border: 1px solid #0d6efd;
    background-color: #fff;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.3;
}

/* Ortadakilerde çift çizgi olmasın */
.circular-actions > * + * .seg-btn {
    border-left: none;
}

/* Sol / sağ kenarları yumuşat */
.circular-actions .seg-btn:first-child {
    border-top-left-radius: 0.4rem;
    border-bottom-left-radius: 0.4rem;
}

.circular-actions .seg-btn:last-child {
    border-top-right-radius: 0.4rem;
    border-bottom-right-radius: 0.4rem;
}

/* Form araya girince saçma margin olmasın */
.circular-actions .seg-form {
    margin: 0;
}

/* Renkler */
.seg-btn-primary {
    color: #0d6efd;
}
.seg-btn-primary:hover {
    background-color: #0d6efd;
    color: #fff;
}

.seg-btn-danger {
    border-color: #dc3545;
    color: #dc3545;
}
.circular-actions > * + * .seg-btn-danger {
    border-left-color: #dc3545;
}
.seg-btn-danger:hover {
    background-color: #dc3545;
    color: #fff;
}
