﻿/* ==================== KURUMSAL KİMLİK SAYFA STİLLERİ ==================== */

:root {
    --kdb-primary: #26394A;
    --kdb-secondary: #838690;
    --kdb-accent: #2D5AA5;
    --kdb-light-gray: #F5F7FA;
    --kdb-white: #FFFFFF;
    --kdb-text: #1A2530;
    --kdb-text-muted: #5C6670;
    --kdb-gradient: linear-gradient(135deg, #26394A 0%, #26394A 100%);
    --kdb-shadow: 0 10px 40px rgba(38, 57, 74, 0.12);
    --kdb-shadow-hover: 0 20px 60px rgba(38, 57, 74, 0.18);
    --kdb-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --kdb-radius: 20px;
    --kdb-radius-sm: 12px;
}

.kurumsal-kimlik-v2 {
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F7 100%);
    min-height: 100vh;
    padding-bottom: 80px;
}

/* ==================== HERO SECTION ==================== */
.kk-hero {
    background: var(--kdb-primary);
    padding: 100px 0 150px;
    position: relative;
    overflow: hidden;
}

    .kk-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.5;
    }

    .kk-hero::after {
        content: '';
        position: absolute;
        bottom: -50px;
        left: 0;
        right: 0;
        height: 100px;
        background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F7 100%);
        border-radius: 50% 50% 0 0;
    }

.kk-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.kk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.kk-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.kk-hero-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== BREADCRUMB ==================== */
.kk-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

    .kk-breadcrumb a,
    .kk-breadcrumb span {
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
        text-decoration: none;
        transition: var(--kdb-transition);
    }

        .kk-breadcrumb a:hover {
            color: white;
        }

        .kk-breadcrumb span.active {
            color: white;
        }

/* ==================== CONTAINER ==================== */
.kk-container {
    max-width: 1400px;
    margin: -80px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 3;
}

/* ==================== SECTION BLOCK ==================== */
.kk-section {
    background: var(--kdb-white);
    border-radius: var(--kdb-radius);
    box-shadow: var(--kdb-shadow);
    padding: 48px;
    margin-bottom: 32px;
    transition: var(--kdb-transition);
    border: 1px solid rgba(38, 57, 74, 0.06);
}

    .kk-section:hover {
        box-shadow: var(--kdb-shadow-hover);
        transform: translateY(-4px);
    }

.kk-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--kdb-light-gray);
}

.kk-section-icon {
    width: 56px;
    height: 56px;
    background: var(--kdb-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .kk-section-icon svg {
        width: 28px;
        height: 28px;
        color: white;
    }

.kk-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--kdb-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.kk-section-subtitle {
    font-size: 0.875rem;
    color: var(--kdb-text-muted);
    margin-top: 4px;
}

/* ==================== LOGO SECTION ==================== */
.kk-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.kk-logo-card {
    position: relative;
    border-radius: var(--kdb-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--kdb-transition);
    border: 1px solid rgba(38, 57, 74, 0.08);
}

    .kk-logo-card:hover {
        transform: scale(1.02);
        box-shadow: 0 12px 32px rgba(38, 57, 74, 0.15);
    }

.kk-logo-preview {
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

    .kk-logo-preview.light {
        background: linear-gradient(135deg, #F8FAFC 0%, #E8ECF1 100%);
    }

    .kk-logo-preview.dark {
        background: var(--kdb-gradient);
    }

    .kk-logo-preview img {
        max-width: 85%;
        max-height: 85%;
        object-fit: contain;
        transition: var(--kdb-transition);
    }

.kk-logo-card:hover .kk-logo-preview img {
    transform: scale(1.05);
}

.kk-logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(38, 57, 74, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--kdb-transition);
}

.kk-logo-card:hover .kk-logo-overlay {
    opacity: 1;
}

.kk-logo-zoom-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.5);
    opacity: 0;
    transition: var(--kdb-transition);
}

.kk-logo-card:hover .kk-logo-zoom-icon {
    transform: scale(1);
    opacity: 1;
}

.kk-logo-zoom-icon svg {
    width: 28px;
    height: 28px;
    color: var(--kdb-primary);
}

.kk-logo-info {
    padding: 20px 24px;
    background: var(--kdb-white);
    border-top: 1px solid rgba(38, 57, 74, 0.08);
}

.kk-logo-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--kdb-text);
}

.kk-logo-version {
    font-size: 0.813rem;
    color: var(--kdb-text-muted);
    margin-top: 4px;
}

/* ==================== COLOR PALETTE ==================== */
.kk-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.kk-color-card {
    background: var(--kdb-white);
    border-radius: var(--kdb-radius-sm);
    overflow: hidden;
    border: 1px solid rgba(38, 57, 74, 0.08);
    transition: var(--kdb-transition);
}

    .kk-color-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(38, 57, 74, 0.15);
    }

.kk-color-swatch {
    height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.kk-color-copy-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--kdb-primary);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--kdb-transition);
}

.kk-color-card:hover .kk-color-copy-hint {
    opacity: 1;
    transform: translateY(0);
}

.kk-color-info {
    padding: 24px;
}

.kk-color-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--kdb-text);
    margin-bottom: 16px;
}

.kk-color-codes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kk-color-code {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--kdb-light-gray);
    border-radius: 8px;
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--kdb-transition);
}

    .kk-color-code:hover {
        background: var(--kdb-primary);
        color: white;
    }

.kk-color-code-label {
    font-weight: 600;
    color: var(--kdb-text-muted);
    font-family: inherit;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kk-color-code:hover .kk-color-code-label {
    color: rgba(255, 255, 255, 0.7);
}

.kk-color-code-value {
    font-weight: 500;
}

/* ==================== TYPOGRAPHY SECTION ==================== */
.kk-typography-card {
    background: var(--kdb-light-gray);
    border-radius: var(--kdb-radius-sm);
    padding: 40px;
}

.kk-font-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--kdb-primary);
    margin-bottom: 8px;
}

.kk-font-category {
    font-size: 0.875rem;
    color: var(--kdb-text-muted);
    margin-bottom: 32px;
}

.kk-font-preview {
    font-size: 1.5rem;
    color: var(--kdb-text);
    margin-bottom: 40px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.kk-font-weights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.kk-font-weight-item {
    background: var(--kdb-white);
    border-radius: var(--kdb-radius-sm);
    padding: 24px;
    text-align: center;
    transition: var(--kdb-transition);
}

    .kk-font-weight-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(38, 57, 74, 0.1);
    }

.kk-font-sample {
    font-size: 2rem;
    color: var(--kdb-primary);
    margin-bottom: 12px;
    display: block;
}

.kk-weight-name {
    font-size: 0.875rem;
    color: var(--kdb-text-muted);
    display: block;
}

/* ==================== DOCUMENTS SECTION ==================== */
.kk-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.kk-doc-card {
    background: var(--kdb-white);
    border: 2px solid transparent;
    border-radius: var(--kdb-radius-sm);
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--kdb-transition);
    cursor: pointer;
    text-decoration: none;
}

    .kk-doc-card:hover {
        border-color: var(--kdb-primary);
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(38, 57, 74, 0.12);
        text-decoration: none;
    }

.kk-doc-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .kk-doc-icon.pdf {
        background: linear-gradient(135deg, #FF6B6B 0%, #C41E3A 100%);
    }

    .kk-doc-icon.zip {
        background: linear-gradient(135deg, #FFD93D 0%, #F5A623 100%);
    }

    .kk-doc-icon.image {
        background: linear-gradient(135deg, #6BCB77 0%, #4CAF50 100%);
    }

    .kk-doc-icon.default {
        background: var(--kdb-gradient);
    }

    .kk-doc-icon svg {
        width: 32px;
        height: 32px;
        color: white;
    }

.kk-doc-info {
    flex: 1;
}

.kk-doc-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--kdb-text);
    margin-bottom: 4px;
}

.kk-doc-meta {
    font-size: 0.813rem;
    color: var(--kdb-text-muted);
}

.kk-doc-download {
    width: 48px;
    height: 48px;
    background: var(--kdb-light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--kdb-transition);
}

.kk-doc-card:hover .kk-doc-download {
    background: var(--kdb-primary);
}

.kk-doc-download svg {
    width: 20px;
    height: 20px;
    color: var(--kdb-primary);
    transition: var(--kdb-transition);
}

.kk-doc-card:hover .kk-doc-download svg {
    color: white;
}

.kk-no-docs {
    text-align: center;
    padding: 60px;
    color: var(--kdb-text-muted);
    grid-column: 1 / -1;
}

    .kk-no-docs svg {
        margin-bottom: 16px;
        opacity: 0.4;
    }

/* ==================== MODAL ==================== */
.kk-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

    .kk-modal.active {
        display: flex;
    }

.kk-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: kkModalZoom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes kkModalZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.kk-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.kk-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--kdb-transition);
}

    .kk-modal-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }

.kk-modal-label {
    text-align: center;
    color: white;
    margin-top: 20px;
    font-size: 1.125rem;
    font-weight: 500;
}

/* ==================== TOAST NOTIFICATION ==================== */
.kk-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--kdb-primary);
    color: white;
    padding: 16px 28px;
    border-radius: 50px;
    font-size: 0.938rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(38, 57, 74, 0.3);
}

    .kk-toast.show {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    .kk-toast svg {
        width: 20px;
        height: 20px;
    }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .kk-section {
        padding: 32px 24px;
    }

    .kk-hero {
        padding: 80px 0 120px;
    }

    .kk-hero-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .kk-container {
        padding: 0 16px;
        margin-top: -60px;
    }

    .kk-section {
        padding: 24px 20px;
    }

        .kk-section:hover {
            transform: none;
        }

    .kk-section-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .kk-section-title {
        font-size: 1.5rem;
    }

    .kk-logo-grid,
    .kk-color-grid,
    .kk-docs-grid {
        grid-template-columns: 1fr;
    }

    .kk-font-weights {
        grid-template-columns: repeat(2, 1fr);
    }

    .kk-modal {
        padding: 20px;
    }

    .kk-modal-close {
        top: -40px;
        right: 0;
    }
}
