/* =========================================================
   FORGE & PRECISION DESIGN SYSTEM
   Industrial Minimalism / High-Contrast Brutalism
   ========================================================= */

/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {
    /* Surface */
    --surface: #121414;
    --surface-dim: #121414;
    --surface-bright: #37393a;
    --surface-container-lowest: #0c0f0f;
    --surface-container-low: #1a1c1c;
    --surface-container: #1e2020;
    --surface-container-high: #282a2b;
    --surface-container-highest: #333535;

    /* Text */
    --on-surface: #e2e2e2;
    --on-surface-variant: #e9bcb5;
    --inverse-surface: #e2e2e2;
    --inverse-on-surface: #2f3131;

    /* Primary */
    --surface-tint: #ffb4a8;
    --primary: #ffb4a8;
    --on-primary: #690000;
    --primary-container: #e60000;
    --on-primary-container: #fff7f5;
    --inverse-primary: #c00000;

    /* Secondary */
    --secondary: #c6c6c6;
    --on-secondary: #303030;
    --secondary-container: #474747;
    --on-secondary-container: #b5b5b5;

    /* Tertiary */
    --tertiary: #c8c6c5;
    --on-tertiary: #313030;
    --tertiary-container: #737272;
    --on-tertiary-container: #fbf8f7;

    /* Error */
    --error: #ffb4ab;
    --on-error: #690005;
    --error-container: #93000a;
    --on-error-container: #ffdad6;

    /* Fixed Colors */
    --primary-fixed: #ffdad4;
    --primary-fixed-dim: #ffb4a8;
    --on-primary-fixed: #410000;
    --on-primary-fixed-variant: #930100;

    --secondary-fixed: #e2e2e2;
    --secondary-fixed-dim: #c6c6c6;
    --on-secondary-fixed: #1b1b1b;
    --on-secondary-fixed-variant: #474747;

    --tertiary-fixed: #e5e2e1;
    --tertiary-fixed-dim: #c8c6c5;
    --on-tertiary-fixed: #1c1b1b;
    --on-tertiary-fixed-variant: #474746;

    /* Background */
    --background: #121414;
    --on-background: #e2e2e2;
    --surface-variant: #333535;

    /* Outline */
    --outline: #b08781;
    --outline-variant: #5f3f3a;

    /* Typography */
    --font-display: "JetBrains Mono", monospace;
    --font-body: "Hanken Grotesk", sans-serif;

    /* Spacing */
    --space-unit: 4px;
    --gutter: 24px;
    --margin-desktop: 64px;
    --margin-mobile: 16px;
    --stack-sm: 8px;
    --stack-md: 16px;
    --stack-lg: 32px;

    /* Borders */
    --border-thin: 1px solid var(--on-surface);
    --border-thick: 2px solid var(--on-surface);
    --border-primary: 2px solid var(--primary-container);

    /* Sharp Geometry */
    --radius: 0px;
}


/* =========================================================
   2. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--on-surface);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
}


/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--on-surface);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

h2 {
    font-size: 32px;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 24px;
}

p {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
}

.label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.label-small {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* =========================================================
   4. LAYOUT
   ========================================================= */

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: var(--margin-desktop);
    padding-right: var(--margin-desktop);
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gutter);
}

.flex {
    display: flex;
}

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

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   5. BUTTONS
   ========================================================= */

button,
.btn {
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Primary Button */

.btn-primary {
    background: var(--primary-container);
    color: #000000;
    border: 2px solid var(--primary-container);
    padding: 14px 24px;
}

.btn-primary:hover {
    background: #000000;
    color: var(--primary);
    border-color: var(--primary);
}

/* Secondary Button */

.btn-secondary {
    background: #000000;
    color: var(--on-surface);
    border: 2px solid var(--on-surface);
    padding: 14px 24px;
}

.btn-secondary:hover {
    background: var(--on-surface);
    color: #000000;
}


/* =========================================================
   6. INPUTS
   ========================================================= */

input,
textarea,
select {
    width: 100%;
    background: #000000;
    color: var(--on-surface);
    border: none;
    border-bottom: 1px solid var(--on-surface);
    border-radius: 0;
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-bottom: 2px solid var(--primary-container);
}

input::placeholder,
textarea::placeholder {
    color: rgba(226, 226, 226, 0.5);
}


/* =========================================================
   7. CARDS
   ========================================================= */

.card {
    background: var(--surface-container-low);
    border: 1px solid var(--on-surface);
    border-radius: var(--radius);
    padding: 24px;
}

.card-header {
    background: var(--surface-container);
    border-bottom: 1px solid var(--on-surface);
    padding: 16px;
    margin: -24px -24px 24px -24px;
}


/* =========================================================
   8. CHIPS / TAGS
   ========================================================= */

.chip {
    display: inline-block;
    padding: 8px 12px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary-container);
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}


/* =========================================================
   9. LISTS
   ========================================================= */

.list {
    list-style: none;
}

.list-item {
    position: relative;
    padding: 16px;
    border-bottom: 1px solid var(--surface-container-high);
}

.list-item.active {
    border-left: 4px solid var(--primary-container);
    background: var(--surface-container);
}


/* =========================================================
   10. CHECKBOXES & RADIOS
   ========================================================= */

input[type="checkbox"],
input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    padding: 0;
    background: #000000;
    border: 2px solid var(--on-surface);
    cursor: pointer;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background: var(--primary-container);
    border-color: var(--primary-container);
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="radio"]:checked {
    box-shadow: inset 0 0 0 4px #000000;
}


/* =========================================================
   11. NAVIGATION
   ========================================================= */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    background: var(--surface-container-lowest);
    border-bottom: 1px solid var(--on-surface);
    padding: 0 var(--margin-desktop);
}

.nav-link {
    color: var(--on-surface);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}


/* =========================================================
   12. ALERTS / STATUS
   ========================================================= */

.alert {
    padding: 16px;
    border: 1px solid var(--on-surface);
    background: var(--surface-container);
}

.alert-success {
    border-color: var(--primary-container);
    color: var(--primary);
}

.alert-error {
    border-color: var(--error);
    color: var(--error);
}


/* =========================================================
   13. DATA VISUALIZATION
   ========================================================= */

.chart {
    background: var(--surface-container-lowest);
    border: 1px solid var(--on-surface);
}

.chart-line {
    stroke: var(--primary-container);
}

.chart-axis {
    stroke: var(--on-surface);
}

.chart-grid {
    stroke: rgba(226, 226, 226, 0.2);
}


/* =========================================================
   14. UTILITY CLASSES
   ========================================================= */

.text-primary {
    color: var(--primary);
}

.text-red {
    color: var(--primary-container);
}

.text-white {
    color: var(--on-surface);
}

.text-muted {
    color: var(--secondary);
}

.bg-black {
    background: #000000;
}

.bg-dark {
    background: var(--surface-container-low);
}

.bg-red {
    background: var(--primary-container);
}

.border-white {
    border: 1px solid var(--on-surface);
}

.border-red {
    border: 1px solid var(--primary-container);
}

.no-radius {
    border-radius: 0;
}


/* =========================================================
   15. RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 768px) {

    .container {
        padding-left: var(--margin-mobile);
        padding-right: var(--margin-mobile);
    }

    .grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 16px;
    }

    .navbar {
        padding: 0 var(--margin-mobile);
    }
}/* =========================================================
   16. PROJECT GALLERY
   ========================================================= */

.projects-section {
    padding: 96px 0;
    background: var(--background);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-heading .label-small {
    display: block;
    margin-bottom: 16px;
    color: var(--primary-container);
}

.section-heading h2 {
    margin-bottom: 16px;
}

.section-heading p {
    color: var(--secondary);
    max-width: 620px;
}


/* FILTERS */

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--surface-container-high);
    padding-bottom: 24px;
}

.filter-btn {
    background: transparent;
    color: var(--on-surface);
    border: 1px solid var(--on-surface);
    padding: 12px 18px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-container);
    color: #000000;
    border-color: var(--primary-container);
}


/* GRID */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


/* CARD */

.project-card {
    background: var(--surface-container-low);
    border: 1px solid var(--surface-container-highest);
    transition: transform 0.25s ease,
                border-color 0.25s ease;
}

.project-card:hover {
    border-color: var(--primary-container);
    transform: translateY(-4px);
}


/* IMAGE */

.project-image {
    position: relative;
    height: 360px;
    overflow: hidden;
    background: #000000;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
    transition: transform 0.5s ease,
                filter 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}


/* OVERLAY */

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9),
        rgba(0, 0, 0, 0.15),
        transparent
    );
    opacity: 0;
    transition: opacity 0.25s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay .label-small {
    color: var(--primary);
    margin-bottom: 8px;
}

.project-overlay h3 {
    font-size: 20px;
}

.project-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: var(--primary-container);
}


/* INFO */

.project-info {
    padding: 20px;
    border-top: 1px solid var(--surface-container-high);
}

.project-info .chip {
    margin-bottom: 16px;
}

.project-info h3 {
    font-size: 18px;
}


/* MOBILE */

@media (max-width: 900px) {

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .projects-section {
        padding: 64px 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 300px;
    }

    .project-filters {
        gap: 6px;
    }

    .filter-btn {
        flex: 1;
        padding: 12px 8px;
        font-size: 10px;
    }
}
/* NAVBAR LOGO */
.nav-brand img{
    height:50px;
    width:auto;
    display:block;
}

footer .nav-brand img{
    height:40px;
    width:auto;
}
header img {
    height: 50px !important;
    width: auto !important;
    max-height: 50px !important;
}

footer img {
    height: 40px !important;
    width: auto !important;
    max-height: 40px !important;
}
.nav-brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

.nav-brand img{
    height:50px;
    width:auto;
}

.nav-brand span{
    color:#e2e2e2;
    font-family:"JetBrains Mono", monospace;
    font-size:24px;
    font-weight:700;
}
html{
    scroll-behavior:smooth;
    scroll-padding-top:90px;
}

#projelerimiz{
    scroll-margin-top:90px;
}