/* ============================================================
   Alt sayfa stilleri (site.css mockup'tan birebir ayrıştırıldı,
   buradaki kurallar MVC'ye eklenen yeni sayfalar içindir)
   ============================================================ */

/* ---- bilgi bandı (TempData mesajları) ---- */
.site-alert {
    padding: 14px 0;
    font-weight: 600;
    font-size: 14.5px;
}

    .site-alert.ok {
        background: #e7f7ef;
        color: #0e6b4a;
        border-bottom: 1px solid #bfe8d5;
    }

    .site-alert.err {
        background: #fdeaea;
        color: #a13034;
        border-bottom: 1px solid #f3c6c8;
    }

/* ---- sayfa başlığı (alt sayfalar) ---- */
.page-hero {
    background: linear-gradient(115deg,var(--navy-deep) 0%,var(--navy) 55%,var(--blue) 100%);
    color: #fff;
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}

    .page-hero::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle,rgba(255,164,21,.14),transparent 65%);
        top: -160px;
        right: -120px;
    }

    .page-hero h1 {
        color: #fff;
        font-size: clamp(30px,4vw,44px);
        font-weight: 800;
        position: relative;
    }

.crumbs {
    position: relative;
    margin-top: 12px;
    font-size: 14px;
    color: #c4d6f0;
}

    .crumbs a {
        color: #ffd9a0;
    }

        .crumbs a:hover {
            color: var(--orange);
        }

    .crumbs .sep {
        margin: 0 8px;
        color: #8fa7c6;
    }

/* ---- ürün listesi ---- */
.prod-grid {
    grid-template-columns: repeat(auto-fill,minmax(255px,1fr));
}

.svc h3 a:hover {
    color: var(--blue);
}

/* ---- ürün detay ---- */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr .42fr;
    gap: 56px;
    align-items: start;
}

    .detail-grid h2 {
        font-size: 26px;
        margin: 34px 0 16px;
    }

.dpar {
    margin-bottom: 16px;
    font-size: 16px;
}

.checks2 {
    margin: 10px 0 8px;
    display: grid;
    gap: 12px;
}

    .checks2 li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        color: var(--ink);
        font-weight: 600;
        font-size: 15.5px;
    }

        .checks2 li svg {
            width: 22px;
            height: 22px;
            fill: var(--orange);
            flex: 0 0 auto;
            margin-top: 3px;
        }

.kimler {
    background: var(--wash);
    border-left: 4px solid var(--blue);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 28px 0 30px;
}

    .kimler h3 {
        font-size: 17px;
        margin-bottom: 6px;
    }

/* ---- yan panel ---- */
.side-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 8px 30px rgba(15,53,100,.07);
    margin-bottom: 24px;
}

    .side-card h3 {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .side-card.cta {
        background: linear-gradient(135deg,var(--navy-deep),var(--navy));
        color: #d9e6f8;
        border: none;
    }

        .side-card.cta h3 {
            color: #fff;
            margin-bottom: 6px;
        }

        .side-card.cta .tel {
            display: block;
            font-family: "Poppins","Segoe UI",sans-serif;
            font-size: 22px;
            font-weight: 800;
            color: var(--orange);
            margin: 12px 0 4px;
        }

        .side-card.cta small {
            font-size: 13px;
            color: #c4d6f0;
        }

        .side-card.cta .btn {
            width: 100%;
            justify-content: center;
            margin-top: 18px;
        }

.side-list {
    display: grid;
    gap: 10px;
}

    .side-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 11px 14px;
        border: 1px solid var(--line);
        border-radius: 10px;
        font-weight: 600;
        font-size: 14.5px;
        color: var(--ink);
        transition: border-color .2s,color .2s,transform .2s;
    }

        .side-list a::after {
            content: "\2192";
            color: var(--orange);
        }

        .side-list a:hover {
            border-color: var(--blue);
            color: var(--blue);
            transform: translateX(3px);
        }

/* ---- iletişim ---- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.ccard {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px 26px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(15,53,100,.07);
}

    .ccard .ico {
        width: 58px;
        height: 58px;
        border-radius: 14px;
        background: rgba(3,101,211,.09);
        display: grid;
        place-items: center;
        margin: 0 auto 16px;
    }

        .ccard .ico svg {
            width: 26px;
            height: 26px;
            fill: var(--blue);
        }

    .ccard h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .ccard p, .ccard a {
        font-size: 14.5px;
        color: var(--text);
    }

        .ccard a:hover {
            color: var(--blue);
        }

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(15,53,100,.1);
}

/* ---- form ekleri ---- */
.quote-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: var(--ink);
    background: var(--wash);
    resize: vertical;
    min-height: 130px;
    margin-bottom: 4px;
}

    .quote-form textarea:focus {
        outline: 2px solid var(--blue);
        border-color: var(--blue);
        background: #fff;
    }

.field-validation-error {
    display: block;
    color: #e5484d;
    font-size: 12.5px;
    margin-top: 4px;
    text-align: left;
}

.input-validation-error {
    border-color: #e5484d !important;
}

.validation-summary-errors {
    color: #e5484d;
    font-size: 13.5px;
    margin-bottom: 12px;
}

    .validation-summary-errors ul {
        display: grid;
        gap: 4px;
    }

.validation-summary-valid {
    display: none;
}

/* ---- blog makale ---- */
.blogpost {
    max-width: 820px;
    margin: 0 auto;
}

    .blogpost .banner {
        height: 210px;
        border-radius: 16px;
        display: grid;
        place-items: center;
        margin-bottom: 30px;
    }

        .blogpost .banner svg {
            width: 74px;
            height: 74px;
            fill: rgba(255,255,255,.9);
        }

    .blogpost .p-meta {
        font-size: 14px;
        color: var(--text);
        display: flex;
        gap: 16px;
        margin-bottom: 22px;
    }

        .blogpost .p-meta b {
            color: var(--blue);
        }

    .blogpost h2 {
        font-size: 24px;
        margin: 34px 0 14px;
    }

    .blogpost p {
        margin-bottom: 16px;
    }

    .blogpost ul {
        list-style: disc;
        padding-left: 24px;
        display: grid;
        gap: 8px;
        margin-bottom: 16px;
        color: var(--text);
    }

/* ---- düz metin sayfaları (KVKK, çerez) ---- */
.prose {
    max-width: 860px;
}

    .prose h2 {
        font-size: 22px;
        margin: 30px 0 12px;
    }

    .prose p {
        margin-bottom: 14px;
    }

    .prose ul {
        list-style: disc;
        padding-left: 24px;
        display: grid;
        gap: 6px;
        margin-bottom: 14px;
        color: var(--text);
    }

    .prose a {
        color: var(--blue);
        font-weight: 600;
    }

/* ---- teşekkür / hata ---- */
.tesekkur {
    text-align: center;
    padding: 60px 0;
}

    .tesekkur .big {
        width: 96px;
        height: 96px;
        border-radius: 50%;
        background: rgba(14,159,110,.12);
        display: grid;
        place-items: center;
        margin: 0 auto 26px;
    }

        .tesekkur .big svg {
            width: 48px;
            height: 48px;
            fill: #0e9f6e;
        }

    .tesekkur h1 {
        font-size: clamp(28px,4vw,40px);
        margin-bottom: 14px;
    }

    .tesekkur p {
        max-width: 56ch;
        margin: 0 auto 30px;
    }

/* ---- responsive ---- */
@media (max-width:1020px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }
}
