* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================
   HEADER
========================= */

.header {
    height: 80px;
    padding: 0 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #000000;
}

.brand {
    color: #000000;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.navigation {
    display: flex;
    gap: 32px;
}

.navigation a {
    color: #000000;
    text-decoration: none;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.navigation a:hover {
    text-decoration: underline;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 72vh;
    padding: 10vh 5vw;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-bottom: 1px solid #000000;

    position: relative;
    overflow: hidden;
}

.hero p {
    margin-bottom: 30px;

    font-size: 12px;
    letter-spacing: 0.2em;
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(60px, 12vw, 180px);
    font-weight: 400;

    line-height: 0.82;
    letter-spacing: -0.05em;
}

.hero-meta {
    position: absolute;

    bottom: 30px;
    left: 5vw;
    right: 5vw;

    display: flex;
    justify-content: space-between;

    font-size: 10px;
    letter-spacing: 0.12em;
}


/* =========================
   FEATURE SECTIONS
========================= */

.feature-section {
    border-bottom: 1px solid #000000;
    padding: 0 0 30px;
}

.feature-label {
    padding: 25px 5vw;

    display: flex;
    justify-content: space-between;

    font-size: 10px;
    letter-spacing: 0.14em;
}


/* =========================
   BANNER
========================= */

.banner-link {
    display: block;

    color: #ffffff;
    text-decoration: none;

    overflow: hidden;
}

.banner {
    height: 430px;

    position: relative;
    overflow: hidden;

    background: #111111;

    transition:
        transform 0.6s cubic-bezier(.2,.8,.2,1),
        filter 0.6s ease;
}


/* =========================
   TECHNICAL BACKGROUND
========================= */

.banner::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(255,255,255,0.04) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    opacity: 0.8;
}


/* Large engineering circles */

.banner::after {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;

    right: -100px;
    top: -100px;

    box-shadow:
        0 0 0 70px rgba(255,255,255,0.03),
        0 0 0 140px rgba(255,255,255,0.02);
}


/* =========================
   DIFFERENT BANNER WORLDS
========================= */

.banner-tools {
    background:
        linear-gradient(
            135deg,
            #080808 0%,
            #202020 50%,
            #080808 100%
        );
}

.banner-scientia {
    background:
        linear-gradient(
            135deg,
            #151515 0%,
            #333333 50%,
            #111111 100%
        );
}

.banner-notizie {
    background:
        linear-gradient(
            135deg,
            #111111 0%,
            #262626 50%,
            #090909 100%
        );
}

.banner-diario {
    background:
        linear-gradient(
            135deg,
            #181818 0%,
            #292929 50%,
            #101010 100%
        );
}

.banner-video {
    background:
        linear-gradient(
            135deg,
            #090909 0%,
            #303030 50%,
            #111111 100%
        );
}


/* =========================
   MOVING TEXT
========================= */

.banner-track {
    position: absolute;

    top: 45px;
    left: 0;

    display: flex;
    align-items: center;

    gap: 30px;

    width: max-content;

    white-space: nowrap;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(35px, 5vw, 70px);

    color: rgba(255,255,255,0.15);

    animation: bannerMove 24s linear infinite;
}

.banner-track.reverse {
    animation: bannerMoveReverse 28s linear infinite;
}

.banner:hover .banner-track {
    animation-play-state: paused;
}

@keyframes bannerMove {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

@keyframes bannerMoveReverse {

    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }

}


/* =========================
   TECHNICAL LINES
========================= */

.technical-lines {
    position: absolute;

    width: 65%;
    height: 65%;

    left: 10%;
    bottom: -25%;

    border: 1px solid rgba(255,255,255,0.15);

    transform: rotate(-12deg);

    pointer-events: none;
}

.technical-lines::before {
    content: "";

    position: absolute;

    width: 100%;
    height: 100%;

    left: 30px;
    top: 30px;

    border: 1px solid rgba(255,255,255,0.1);
}


/* =========================
   BANNER TITLE
========================= */

.banner-title {
    position: absolute;

    left: 5vw;
    bottom: 50px;

    z-index: 5;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(65px, 10vw, 150px);

    line-height: 0.8;

    letter-spacing: -0.05em;

    transition:
        transform 0.5s ease,
        letter-spacing 0.5s ease;
}

.banner-title span {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 0.25em;

    vertical-align: middle;

    margin-left: 15px;
}

.banner:hover .banner-title {
    transform: translateX(20px);
    letter-spacing: -0.03em;
}


/* =========================
   NUMBER
========================= */

.banner-number {
    position: absolute;

    right: 5vw;
    bottom: 45px;

    z-index: 5;

    font-size: 11px;
    letter-spacing: 0.15em;
}


/* =========================
   HOVER
========================= */

.banner-link:hover .banner {
    transform: scale(0.985);
    filter: contrast(1.15);
}

.banner-link:active .banner {
    transform: scale(0.97);
}


/* =========================
   FOOTER
========================= */

.footer {
    padding: 30px 5vw;

    font-size: 11px;
    letter-spacing: 0.1em;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .header {
        height: auto;

        padding: 25px 5vw;

        flex-direction: column;
        align-items: flex-start;

        gap: 20px;
    }

    .navigation {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero {
        min-height: 65vh;
    }

    .hero h1 {
        font-size: 20vw;
    }

    .hero-meta {
        flex-direction: column;
        gap: 10px;
    }

    .feature-label {
        padding: 20px 5vw;
    }

    .banner {
        height: 300px;
    }

    .banner-track {
        top: 35px;

        font-size: 40px;

        gap: 20px;
    }

    .banner-title {
        left: 5vw;
        bottom: 35px;

        font-size: 18vw;
    }

    .banner-number {
        bottom: 30px;
        right: 5vw;
    }

}
/* ==========================================
   TOOLS PAGE
========================================== */

.tool-category {
    width: 100%;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 1px;

    background: #000000;

    border-bottom: 1px solid #000000;
}

.tool-card {
    background: #ffffff;

    min-height: 500px;

    padding: 50px;

    display: flex;
    flex-direction: column;
}

.tool-card > span {
    font-size: 11px;

    letter-spacing: 0.1em;

    margin-bottom: 30px;
}

.tool-card h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(40px, 6vw, 80px);

    font-weight: 400;

    line-height: 0.9;

    margin-bottom: 20px;
}

.tool-card p {
    max-width: 400px;

    font-size: 14px;

    line-height: 1.5;

    margin-bottom: 40px;
}

.formula {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 24px;

    padding: 18px 0;

    margin-bottom: 30px;

    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
}

.tool-card label {
    font-size: 11px;

    letter-spacing: 0.08em;

    margin-bottom: 8px;
}

.tool-card input {
    width: 100%;

    padding: 14px;

    margin-bottom: 20px;

    border: 1px solid #000000;

    background: #ffffff;

    font-size: 16px;

    font-family: Arial, Helvetica, sans-serif;
}

.tool-card input:focus {
    outline: none;

    border: 2px solid #000000;
}

.tool-card button {
    margin-top: 10px;

    padding: 16px;

    border: 1px solid #000000;

    background: #000000;

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.12em;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.tool-card button:hover {
    background: #ffffff;

    color: #000000;
}

.result {
    margin-top: 30px;

    min-height: 40px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 28px;

    border-top: 1px solid #000000;

    padding-top: 15px;
}


/* ==========================================
   TOOLS CATEGORY HEADER
========================================== */

.category-title {
    position: relative;

    min-height: 38vh;

    padding: 8vh 5vw;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    border-bottom: 1px solid #000000;
}

.category-title > span {
    position: absolute;

    top: 8vh;

    left: 5vw;

    font-size: 11px;

    letter-spacing: 0.12em;
}

.category-title h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(55px, 9vw, 130px);

    font-weight: 400;

    line-height: 0.85;

    letter-spacing: -0.04em;
}

.category-title p {
    margin: 30px auto 0;

    max-width: 560px;

    font-size: 14px;

    line-height: 1.6;

    text-align: center;
}


/* ==========================================
   TOOLS MOBILE
========================================== */

@media (max-width: 700px) {

    .category-title {
        min-height: 35vh;

        padding: 9vh 5vw;
    }

    .category-title > span {
        top: 5vh;

        left: 5vw;
    }

    .category-title h2 {
        font-size: 17vw;

        line-height: 0.9;
    }

    .category-title p {
        max-width: 90%;

        margin-top: 25px;

        font-size: 13px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 35px 5vw;

        min-height: 500px;
    }

}

/* ==========================================
   ENGINEERING MAP — CLEAN VERSION
========================================== */

.engineering-map {
    width: 100%;
    padding: 10vh 5vw 12vh;

    background: #f5f5f2;

    border-bottom: 1px solid #000000;
}


/* =========================
   HEADER
========================= */

.engineering-map-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 55px;
}

.engineering-map-header span {
    font-size: 10px;
    letter-spacing: 0.16em;
}

.engineering-map-header h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(55px, 8vw, 110px);
    font-weight: 400;

    line-height: 0.8;
    letter-spacing: -0.05em;
}


/* =========================
   MAP CONTAINER
========================= */

.map-container {
    position: relative;

    width: 100%;
    height: 650px;

    background: #ffffff;

    border: 1px solid #000000;

    overflow: hidden;
}


/* =========================
   TECHNICAL GRID
========================= */

.map-container::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(0,0,0,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0,0,0,0.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    pointer-events: none;
}


/* =========================
   REMOVE OLD AXIS
========================= */

.map-axis {
    display: none;
}


/* =========================
   CONNECTIONS
========================= */

.map-connection {
    position: absolute;

    z-index: 1;

    background: #000000;

    opacity: 0.18;
}


/* vertical connection */

.map-connection.vertical {
    width: 1px;

    height: 70%;

    top: 15%;
    bottom: auto;
}


/* horizontal connection */

.map-connection.horizontal {
    height: 1px;

    width: 70%;

    left: 15%;
    right: auto;
}


/* =========================
   NODES
========================= */

.map-node {
    position: absolute;

    z-index: 3;

    width: 180px;
    min-height: 105px;

    padding: 20px;

    background: rgba(255,255,255,0.96);

    border: 1px solid #000000;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}


/* hover */

.map-node:hover {
    background: #000000;
    color: #ffffff;

    transform: translateY(-7px);

    box-shadow: 10px 10px 0 rgba(0,0,0,0.12);
}


/* =========================
   NODE NUMBER
========================= */

.map-node span {
    display: block;

    margin-bottom: 12px;

    font-size: 9px;
    letter-spacing: 0.15em;

    opacity: 0.6;
}


/* =========================
   NODE TITLE
========================= */

.map-node h3 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 27px;
    font-weight: 400;

    line-height: 0.9;
}


/* =========================
   NODE DESCRIPTION
========================= */

.map-node p {
    margin-top: 12px;

    max-width: 150px;

    font-size: 10px;

    line-height: 1.45;
}


/* =========================
   NODE POSITIONS
========================= */

/* TOP LEFT */

.map-node.mechanics {
    left: 6%;
    top: 12%;
}


/* TOP CENTER */

.map-node.materials {
    left: 50%;
    top: 7%;

    transform: translateX(-50%);
}

.map-node.materials:hover {
    transform: translateX(-50%) translateY(-7px);
}


/* TOP RIGHT */

.map-node.thermo {
    right: 6%;
    top: 12%;
}


/* BOTTOM LEFT */

.map-node.fluids {
    left: 6%;
    bottom: 12%;
}


/* BOTTOM CENTER */

.map-node.energy {
    left: 50%;
    bottom: 7%;

    transform: translateX(-50%);
}

.map-node.energy:hover {
    transform: translateX(-50%) translateY(-7px);
}


/* BOTTOM RIGHT */

.map-node.heat {
    right: 6%;
    bottom: 12%;
}


/* =========================
   CENTER
========================= */

.map-center {
    position: absolute;

    z-index: 5;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 145px;
    height: 145px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: #000000;
    color: #ffffff;

    border-radius: 50%;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 21px;

    line-height: 0.95;

    box-shadow:
        0 0 0 15px #ffffff,
        0 0 0 16px rgba(0,0,0,0.12);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.map-center:hover {
    transform: translate(-50%, -50%) scale(1.06);

    box-shadow:
        0 0 0 15px #ffffff,
        0 0 0 16px #000000;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .engineering-map {
        padding: 8vh 5vw 10vh;
    }


    .engineering-map-header {
        display: block;

        margin-bottom: 35px;
    }


    .engineering-map-header h2 {
        margin-top: 20px;

        font-size: 18vw;
    }


    .map-container {
        height: 820px;

        min-height: 0;
    }


    .map-axis {
        display: none;
    }


    .map-connection {
        display: none;
    }


    .map-center {
        width: 115px;
        height: 115px;

        font-size: 17px;
    }


    .map-node {
        width: 145px;
        min-height: 95px;

        padding: 16px;
    }


    .map-node h3 {
        font-size: 22px;
    }


    .map-node p {
        font-size: 9px;

        max-width: 120px;
    }


    .map-node.mechanics {
        left: 4%;
        top: 7%;
    }


    .map-node.materials {
        left: auto;
        right: 4%;
        top: 7%;

        transform: none;
    }

    .map-node.materials:hover {
        transform: translateY(-6px);
    }


    .map-node.thermo {
        right: 4%;
        top: 29%;
    }


    .map-node.fluids {
        left: 4%;
        bottom: 29%;
    }


    .map-node.energy {
        left: 4%;
        bottom: 7%;

        transform: none;
    }

    .map-node.energy:hover {
        transform: translateY(-6px);
    }


    .map-node.heat {
        right: 4%;
        bottom: 7%;
    }
}
/* ==========================================
   ENGINEERING MAP — FINAL OVERRIDE
========================================== */

.engineering-map {
    width: 100% !important;
    padding: 90px 5vw 110px !important;
    background: #f4f4f1 !important;
    border-bottom: 1px solid #000 !important;
}

.engineering-map-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    margin-bottom: 55px !important;
}

.engineering-map-header span {
    font-size: 10px !important;
    letter-spacing: 0.16em !important;
}

.engineering-map-header h2 {
    margin: 0 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(55px, 8vw, 110px) !important;
    font-weight: 400 !important;
    line-height: 0.8 !important;
    letter-spacing: -0.05em !important;
}


/* MAP */

.map-container {
    position: relative !important;
    width: 100% !important;
    height: 650px !important;
    min-height: 0 !important;

    background: #fff !important;

    border: 1px solid #000 !important;

    overflow: hidden !important;
}


/* GRID */

.map-container::before {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;

    background-image:
        linear-gradient(
            rgba(0,0,0,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0,0,0,0.025) 1px,
            transparent 1px
        ) !important;

    background-size: 60px 60px !important;

    pointer-events: none !important;
}


/* ESKİ AXIS KAPAT */

.map-axis {
    display: none !important;
}


/* CONNECTIONS */

.map-connection {
    display: none !important;
}


/* NODES */

.map-node {
    position: absolute !important;

    width: 180px !important;
    min-height: 105px !important;

    padding: 20px !important;

    background: #fff !important;
    color: #000 !important;

    border: 1px solid #000 !important;

    z-index: 10 !important;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease !important;
}


/* NODE HOVER */

.map-node:hover {
    background: #000 !important;
    color: #fff !important;

    transform: translateY(-6px) !important;

    box-shadow: 10px 10px 0 rgba(0,0,0,0.12) !important;
}


/* NODE TEXT */

.map-node span {
    display: block !important;

    margin-bottom: 12px !important;

    font-size: 9px !important;
    letter-spacing: 0.15em !important;
}

.map-node h3 {
    margin: 0 !important;

    font-family: Georgia, "Times New Roman", serif !important;

    font-size: 27px !important;
    font-weight: 400 !important;

    line-height: 0.9 !important;
}

.map-node p {
    margin-top: 12px !important;

    font-size: 10px !important;
    line-height: 1.45 !important;

    max-width: 150px !important;
}


/* =========================
   NODE POSITIONS
========================= */

.map-node.mechanics {
    left: 7% !important;
    top: 12% !important;
}

.map-node.materials {
    left: 50% !important;
    top: 7% !important;

    transform: translateX(-50%) !important;
}

.map-node.thermo {
    right: 7% !important;
    top: 12% !important;
}

.map-node.fluids {
    left: 7% !important;
    bottom: 12% !important;
}

.map-node.energy {
    left: 50% !important;
    bottom: 7% !important;

    transform: translateX(-50%) !important;
}

.map-node.heat {
    right: 7% !important;
    bottom: 12% !important;
}


/* CENTER */

.map-center {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    transform: translate(-50%, -50%) !important;

    width: 145px !important;
    height: 145px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;

    background: #000 !important;
    color: #fff !important;

    border-radius: 50% !important;

    font-family: Georgia, "Times New Roman", serif !important;

    font-size: 21px !important;
    line-height: 0.95 !important;

    z-index: 20 !important;

    box-shadow:
        0 0 0 14px #fff,
        0 0 0 15px #000 !important;

    transition: transform 0.3s ease !important;
}

.map-center:hover {
    transform: translate(-50%, -50%) scale(1.06) !important;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .engineering-map {
        padding: 70px 5vw 90px !important;
    }

    .engineering-map-header {
        display: block !important;
        margin-bottom: 35px !important;
    }

    .engineering-map-header h2 {
        margin-top: 20px !important;
        font-size: 18vw !important;
    }

    .map-container {
        height: 820px !important;
    }

    .map-node {
        width: 145px !important;
        min-height: 95px !important;
        padding: 16px !important;
    }

    .map-node h3 {
        font-size: 22px !important;
    }

    .map-node p {
        font-size: 9px !important;
    }

    .map-node.mechanics {
        left: 4% !important;
        top: 7% !important;
    }

    .map-node.materials {
        left: auto !important;
        right: 4% !important;
        top: 7% !important;
        transform: none !important;
    }

    .map-node.thermo {
        right: 4% !important;
        top: 29% !important;
    }

    .map-node.fluids {
        left: 4% !important;
        bottom: 29% !important;
    }

    .map-node.energy {
        left: 4% !important;
        bottom: 7% !important;
        transform: none !important;
    }

    .map-node.heat {
        right: 4% !important;
        bottom: 7% !important;
    }

    .map-center {
        width: 115px !important;
        height: 115px !important;
        font-size: 17px !important;
    }
}