﻿:root {
    --hisad-primary: #0a2540;
    --hisad-primary-dark: #000f22;
    --hisad-primary-light: #173a58;
    --hisad-secondary: #0d9488;
    --hisad-secondary-hover: #0f766e;
    --hisad-secondary-light: #ccfbf1;
    --hisad-warning: #d97706;
    --hisad-warning-light: #fef3c7;
    --hisad-background: #faf8ff;
    --hisad-surface: #ffffff;
    --hisad-surface-low: #f2f3ff;
    --hisad-surface-medium: #eaedff;
    --hisad-text: #131b2e;
    --hisad-text-secondary: #43474d;
    --hisad-text-muted: #64748b;
    --hisad-text-light: #ffffff;
    --hisad-border: #e2e8f0;
    --hisad-radius-small: 8px;
    --hisad-radius-medium: 12px;
    --hisad-radius-large: 16px;
    --hisad-shadow-small: 0 4px 20px rgba(10, 37, 64, 0.06);
    --hisad-shadow-medium: 0 12px 32px rgba(10, 37, 64, 0.10);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--hisad-background);
    color: var(--hisad-text);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--hisad-primary);
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--hisad-secondary);
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

    a:hover {
        color: var(--hisad-secondary-hover);
    }

button,
input,
select,
textarea {
    font: inherit;
}

    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline: 3px solid rgba(13, 148, 136, 0.25);
        outline-offset: 3px;
    }

/* Tek parçalı HİSAD üst menüsü */

.hisad-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1030;
    background-color: var(--hisad-surface);
    box-shadow: 0 2px 12px rgba(10, 37, 64, 0.08);
}

.hisad-navbar {
    min-height: 104px;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: var(--hisad-surface);
}

    .hisad-navbar > .container {
        max-width: 1380px;
    }

/* HİSAD logosu */

.hisad-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: 0 !important;
    color: var(--hisad-primary);
    text-decoration: none;
}

    .hisad-brand:hover {
        color: var(--hisad-primary);
    }

.hisad-brand__mark {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
}

    .hisad-brand__mark img {
        display: block;
        width: 125%;
        height: 125%;
        object-fit: contain;
    }

.hisad-brand__mark--legacy {
    border: 4px solid #e9a735;
    border-radius: 50%;
    background-color: var(--hisad-surface);
    color: var(--hisad-primary);
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
    font-size: 27px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    padding-right: 3px;
}

.hisad-brand__text {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

    .hisad-brand__text strong {
        color: var(--hisad-primary);
        font-family: "Plus Jakarta Sans", Arial, sans-serif;
        font-size: 21px;
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: 1px;
    }

    .hisad-brand__text small {
        margin-top: 4px;
        color: var(--hisad-text-secondary);
        font-size: 10px;
        font-weight: 500;
        line-height: 1.35;
    }

/* Ana menü */

.hisad-menu {
    align-items: center;
    gap: 2px;
}

.hisad-navbar .hisad-menu .nav-link {
    padding: 11px 9px;
    border-radius: 10px;
    color: #131b2e !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}

    .hisad-navbar .hisad-menu .nav-link:hover,
    .hisad-navbar .hisad-menu .nav-link:focus,
    .hisad-navbar .hisad-menu .nav-link.show,
    .hisad-navbar .hisad-menu .nav-link.active {
        background-color: #e2e7ff;
        color: #000f22 !important;
    }

/* Açılır menü */

.hisad-navbar .dropdown-menu {
    padding: 8px;
    border: 1px solid var(--hisad-border);
    border-radius: 12px;
    background-color: var(--hisad-surface);
    box-shadow: var(--hisad-shadow-medium);
}

.hisad-navbar .dropdown-item {
    padding: 10px 12px;
    border-radius: 8px;
    color: #131b2e;
    font-size: 14px;
    font-weight: 500;
}

    .hisad-navbar .dropdown-item:hover,
    .hisad-navbar .dropdown-item:focus {
        background-color: #e2e7ff;
        color: #000f22;
    }

/* Üye girişi ve işlem butonları */

.hisad-header-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: 12px;
}

    .hisad-header-actions form {
        margin: 0;
    }

.hisad-header-actions__login,
.hisad-header-actions__logout,
.hisad-header-actions__donate,
.hisad-header-actions__join {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 11px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
}

.hisad-header-actions__login {
    background-color: #e2e7ff;
    color: var(--hisad-primary);
}

    .hisad-header-actions__login:hover {
        background-color: #d5dcf7;
        color: var(--hisad-primary-dark);
    }

.hisad-header-actions__logout {
    background-color: transparent;
    color: var(--hisad-primary);
}

.hisad-header-actions__donate {
    gap: 3px;
    padding-right: 5px;
    padding-left: 5px;
    border-color: var(--hisad-secondary);
    background-color: var(--hisad-surface);
    color: var(--hisad-secondary);
    font-size: 12px;
}

    .hisad-header-actions__donate i {
        font-size: 13px;
    }

    .hisad-header-actions__donate:hover {
        border-color: var(--hisad-secondary-hover);
        background-color: #ecfdf9;
        color: var(--hisad-secondary-hover);
    }

.hisad-header-actions__join {
    background-color: var(--hisad-secondary);
    color: var(--hisad-text-light);
}

    .hisad-header-actions__join:hover {
        background-color: var(--hisad-secondary-hover);
        color: var(--hisad-text-light);
    }

/* Tablet ve mobil görünüm */

@media (max-width: 1199.98px) {
    .hisad-navbar {
        min-height: 86px;
    }

        .hisad-navbar .navbar-collapse {
            padding-top: 18px;
            padding-bottom: 8px;
        }

    .hisad-menu {
        align-items: stretch;
        gap: 3px;
    }

    .hisad-navbar .hisad-menu .nav-link {
        padding: 11px 12px;
        font-size: 14px;
    }

    .hisad-header-actions {
        margin-top: 14px;
        margin-left: 0;
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .hisad-brand__mark {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .hisad-brand__mark--legacy {
        border-width: 3px;
        font-size: 22px;
    }

    .hisad-brand__text {
        min-width: 0;
    }

        .hisad-brand__text strong {
            font-size: 18px;
        }

        .hisad-brand__text small {
            display: none;
        }

    .hisad-header-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .hisad-header-actions form,
        .hisad-header-actions__login,
        .hisad-header-actions__logout,
        .hisad-header-actions__donate,
        .hisad-header-actions__join {
            width: 100%;
        }
}
/* Masaüstünde logo, kurum adı ve menü büyüklüğü */

@media (min-width: 1200px) {
    .hisad-navbar {
        min-height: 96px;
    }

        .hisad-navbar > .container {
            max-width: 1480px;
        }

    .hisad-brand__mark {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }

    .hisad-brand__mark--legacy {
        border-width: 5px;
        font-size: 31px;
    }

    .hisad-brand__text {
        min-width: 215px;
    }

        .hisad-brand__text strong {
            font-size: 25px;
        }

        .hisad-brand__text small {
            font-size: 15px;
            line-height: 1.4;
        }

    .hisad-navbar .hisad-menu .nav-link {
        padding: 13px 11px;
        font-size: 20px;
    }
}
