﻿/* --- TİPOGRAFİ & BAŞLIKLAR --- */
h1 {
    font-size: 26px;
    color: #1a202c;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

h2 {
    font-weight: 700;
    font-size: 20px;
    color: #2d3748;
    letter-spacing: -0.3px;
}

h3 {
    font-weight: 600;
    font-size: 18px;
    color: #c53030;
}

.lineheight12 {
    line-height: 1.2;
}

.padding5 {
    padding: 5px;
}

.padding10 {
    padding: 10px;
}

.alignleft {
    text-align: left;
}

.alignright {
    text-align: right;
}

.border3 {
    border-spacing: 3px;
    border-collapse: collapse;
    border-width: 1px;
    border-style: solid;
    border-color: #e2e8f0;
}

.gridName {
    min-height: 96px;
    overflow: hidden;
    display: block;
}

.center {
    text-align: center;
}

.floatleft {
    float: left;
}

.boxshadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.boxradius {
    border-radius: 6px;
}

.newsImage {
    height: 250px;
    border-width: 0px;
    float: left;
    margin-right: 12px;
    border-radius: 6px;
}

.spot {
    line-height: 1.7;
    color: #4a5568;
}

.gridimage {
    height: 150px;
    width: auto;
    border-width: 0px;
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
}

/* --- LOGO ALANI --- */
.logotext {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 38px;
    color: #e53e3e;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    letter-spacing: -1px;
    transition: color 0.2s ease;
}

    .logotext:hover {
        color: #c53030;
    }

.logotext25 {
    font-size: 24px;
    color: #e53e3e;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    letter-spacing: -0.5px;
}

    .logotext25:hover {
        color: #c53030;
    }

/* --- ANA MENÜ --- */
.mainmenu {
    background: #1a365d;
    vertical-align: middle;
    width: 100%;
    border-bottom: 2px solid #2b6cb0;
}

.mainmenuitem {
    float: left;
    padding: 12px 18px;
    text-align: center;
    align-items: center;
    display: flex;
}

.mainnmenulink {
    font-size: 14px;
    color: #edf2f7;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

    .mainnmenulink:hover {
        color: #ecc94b;
    }

/* --- ALT MENÜ --- */
.submenu {
    background-color: #f7fafc;
    border-bottom: 1px solid #edf2f7;
}

.submenuItem {
    float: left;
    width: 25%;
    text-align: left;
}

.submenulink {
    color: #2b6cb0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .submenulink:hover {
        color: #e53e3e;
    }

/* --- LİNKLER & BUTONLAR --- */
.link18 {
    font-size: 18px;
    color: #2b6cb0;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
}

    .link18:hover {
        color: #e53e3e;
        text-decoration: underline;
    }

.bottom-cookies {
    background-color: #2d3748;
    color: #edf2f7;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.newsbody {
    word-wrap: break-word;
    margin-top: 10px;
    color: #2d3748;
    line-height: 1.7;
}

.GridSpot {
    font-size: 15px;
    color: #4a5568;
    text-decoration: none;
    line-height: 1.5;
}

    .GridSpot:hover {
        text-decoration: underline;
    }

.GridTitle {
    font-size: 19px;
    color: #1a202c;
    font-weight: 700;
    text-decoration: none;
    display: block;
    overflow: hidden;
    width: 100%;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 1.35;
    margin-top: 8px;
    letter-spacing: -0.3px;
    transition: color 0.2s ease;
}

    .GridTitle:hover {
        color: #e53e3e;
        text-decoration: none;
    }

.Link20 {
    font-size: 20px;
    color: #2b6cb0;
    font-weight: 700;
    text-decoration: none;
    display: block;
}

    .Link20:hover {
        color: #e53e3e;
        text-decoration: underline;
    }

.LinkList20 {
    font-size: 20px;
    color: #1a202c;
    font-weight: 700;
    text-decoration: none;
}

    .LinkList20:hover {
        color: #e53e3e;
        text-decoration: underline;
    }

.LinkList16 {
    font-size: 16px;
    color: #2d3748;
    font-weight: 600;
    text-decoration: none;
}

    .LinkList16:hover {
        color: #e53e3e;
        text-decoration: underline;
    }

.button16 {
    border: none;
    border-radius: 4px;
    color: white;
    background-color: #e53e3e;
    height: 44px;
    width: 140px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .button16:hover {
        background-color: #c53030;
    }

/* --- FOOTER --- */
.footercorporatemenu {
    background-color: #f7fafc;
    width: 100%;
    line-height: 2;
    border-top: 1px solid #e2e8f0;
}

.footermenu {
    background-color: #ffffff;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    overflow: auto;
    border-top: solid #e2e8f0 1px;
    line-height: 1;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

.footerlink {
    font-size: 14px;
    color: #4a5568;
    line-height: 22px;
    text-decoration: none;
    font-weight: normal;
    transition: color 0.2s ease;
}

    .footerlink:hover {
        color: #e53e3e;
        text-decoration: none;
    }

a {
    color: #2b6cb0;
    text-decoration: none;
    transition: color 0.2s ease;
}

    a:hover {
        color: #e53e3e;
    }

.links-container a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    color: #2d3748;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #edf2f7;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease-in-out;
}

    .links-container a:hover,
    .links-container a:active {
        background-color: #f8fafd;
        color: #e53e3e;
        border-color: #e2e8f0;
        transform: translateX(3px);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    }

    .links-container a::after {
        content: "›";
        font-size: 18px;
        color: #a0aec0;
        transition: color 0.2s;
    }

    .links-container a:hover::after {
        color: #e53e3e;
    }
.entity-container {
    max-width: 960px;
    margin: 20px auto;
    font-family: inherit;
}

.entity-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 15px;
}

.entity-title {
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
}

.entity-description {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
}

.entity-spec-section {
    margin-top: 30px;
}

.entity-spec-title {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
}

/* Genel Karşılaştırma / Özellik Tablosu */
.entity-spec-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

    .entity-spec-table th {
        background-color: #f9fafb;
        color: #374151;
        font-weight: 600;
        font-size: 14px;
        text-align: left;
        padding: 12px 16px;
        border-bottom: 1px solid #e5e7eb;
    }

    .entity-spec-table td {
        padding: 11px 16px;
        border-bottom: 1px solid #f3f4f6;
        font-size: 14px;
        color: #374151;
    }

    .entity-spec-table tr:nth-child(even) {
        background-color: #fafbfc;
    }

    .entity-spec-table tr:hover {
        background-color: #f3f4f6;
    }

.entity-spec-name {
    font-weight: 500;
}

.entity-spec-value {
    text-align: right;
    font-weight: 600;
    color: #111827;
}

.entity-spec-unit {
    color: #6b7280;
    font-size: 13px;
    font-weight: normal;
    margin-left: 4px;
}
.compare-container {
    max-width: 1100px;
    margin: 25px auto;
    padding: 0 15px;
    font-family: inherit;
}

.compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.compare-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

/* Ekleme Alanı */
.add-entity-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .add-entity-box select {
        padding: 8px 12px;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        font-size: 14px;
    }

.btn-add {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

    .btn-add:hover {
        background: #1d4ed8;
    }

/* Matris Tablo */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

    .compare-table th, .compare-table td {
        padding: 12px 16px;
        border-bottom: 1px solid #e2e8f0;
        font-size: 14px;
        text-align: center;
    }

    /* Sol Özellik Sütunu */
    .compare-table .col-feature {
        text-align: left;
        font-weight: 600;
        color: #334155;
        background: #f8fafc;
        width: 220px;
        border-right: 1px solid #e2e8f0;
        position: sticky;
        left: 0;
        z-index: 1;
    }

/* Ürün Başlık Hücreleri */
.product-head {
    vertical-align: top;
    background: #fff;
    width: 200px;
    border-right: 1px solid #f1f5f9;
}

.product-img {
    max-height: 80px;
    max-width: 80px;
    object-fit: contain;
    margin-bottom: 8px;
}

.product-name {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    font-size: 15px;
}

.btn-remove {
    display: inline-block;
    color: #ef4444;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid #fee2e2;
    padding: 2px 8px;
    border-radius: 4px;
    background: #fef2f2;
    margin-top: 4px;
}

    .btn-remove:hover {
        background: #fee2e2;
    }

/* Değer Hücreleri */
.compare-table tr:hover td {
    background-color: #fbfcfe;
}

.val-unit {
    font-size: 11px;
    color: #64748b;
    margin-left: 2px;
}

/* ==========================================================================
   BÖLÜM 1: MASAÜSTÜ (1025px ve Üzeri)
   ========================================================================== */
@media screen and (min-width: 1025px) {
    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        font-size: 15px;
        line-height: 1.6;
        color: #2d3748;
        background-color: #f7fafc;
    }

    .pagebody {
        width: 1200px;
        border-spacing: 0;
        border-collapse: collapse;
        border-width: 1px;
        border-style: solid;
        border-color: #e2e8f0;
        overflow: auto;
        margin: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        background-color: #ffffff;
    }

    .IsMobileView {
        display: none;
    }

    .IsDesktopView {
        display: normal;
    }

    .pagewidth {
        width: 1200px;
        overflow: auto;
        margin: auto;
    }

    .pageLine {
        width: 100%;
        border-width: 0px;
        border-spacing: 0;
        overflow: auto;
        margin: auto;
        box-sizing: border-box;
        padding: 10px;
    }

    .contentleft {
        float: left;
        width: 85%;
    }

    .contentright {
        float: left;
        width: 15%;
        text-align: right;
    }

    .newsGrid {
        overflow-x: hidden;
        overflow-y: hidden;
        margin: auto;
        text-align: left;
        line-height: 1.5;
    }

    .newsGridItem {
        width: 97%;
        height: 160px;
        min-height: 160px;
        margin: 10px;
        padding: 8px 8px 8px 8px;
        display: inline-block;
        overflow: hidden;
        background-color: #ffffff;
        border: 1px solid #edf2f7;
        border-radius: 6px;
        line-height: 1.5;
    }

    .newsdetail {
        width: 75%;
        overflow: auto;
        margin: auto;
        height: 100%;
        min-width: 400px;
    }

    .textbox {
        width: 60%;
        min-width: 200px;
        font-size: 16px;
        border: 1px solid #cbd5e0;
        border-radius: 4px;
        vertical-align: top;
        display: inline;
        background-color: white;
        padding: 10px;
        outline: none;
    }

    .footerbox {
        width: 18%;
        height: 175px;
        text-align: center;
        margin: 10px;
        float: left;
        min-width: 175px;
        line-height: 1.8;
        background-color: #ffffff;
        border-color: #edf2f7;
    }

    .searchbox {
        width: 60%;
        min-width: 200px;
        font-size: 16px;
        border: 1px solid #cbd5e0;
        border-radius: 4px;
        font-weight: 500;
        vertical-align: top;
        display: inline;
        color: #2d3748;
        background-color: white;
        padding: 8px 12px;
        outline: none;
    }

    .searchButton {
        margin-left: 10px;
        margin-right: 10px;
        border: none;
        border-radius: 4px;
        background-color: #e53e3e;
        color: white;
        font-weight: 600;
        padding: 8px 20px;
        cursor: pointer;
    }
}


/* ==========================================================================
   BÖLÜM 2: TABLET (769px - 1024px)
   ========================================================================== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        font-size: 15px;
        line-height: 1.5;
        background-color: #f7fafc;
        color: #2d3748;
    }

    .pagebody {
        width: 90%;
        min-width: 600px;
        max-width: 1200px;
        border-spacing: 0;
        border-collapse: collapse;
        border-width: 1px;
        border-style: solid;
        border-color: #e2e8f0;
        overflow: auto;
        margin: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        background-color: #ffffff;
    }

    .IsMobileView {
        display: none;
    }

    .IsDesktopView {
        display: normal;
    }

    .pagewidth {
        width: 90%;
        min-width: 600px;
        max-width: 1200px;
        overflow: auto;
        margin: auto;
    }

    .pageLine {
        width: 100%;
        border-width: 0px;
        border-spacing: 0;
        overflow: auto;
        margin: auto;
        box-sizing: border-box;
        padding: 10px;
    }

    .contentleft {
        float: left;
        width: 85%;
    }

    .contentright {
        float: left;
        width: 15%;
        text-align: right;
    }

    .newsGrid {
        margin: auto;
        text-align: left;
        line-height: 1.5;
    }

    .newsGridItem {
        width: 99%;
        height: 160px;
        min-height: 160px;
        margin: 5px;
        display: inline-block;
        overflow: hidden;
        background-color: #ffffff;
        border: 1px solid #edf2f7;
        border-radius: 6px;
    }

    .newsdetail {
        width: 75%;
        overflow: auto;
        margin: auto;
        height: 100%;
        min-width: 400px;
    }

    .textbox {
        width: 60%;
        min-width: 200px;
        font-size: 16px;
        border: 1px solid #cbd5e0;
        border-radius: 4px;
        vertical-align: top;
        display: inline;
        background-color: white;
        padding: 10px;
        outline: none;
    }

    .footerbox {
        width: 18%;
        height: 175px;
        text-align: center;
        margin: 10px;
        float: left;
        min-width: 175px;
        line-height: 1.7;
        background-color: #ffffff;
        border-color: #edf2f7;
    }

    .gridimage {
        float: none;
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto 15px auto;
        border-radius: 6px;
    }

    .searchbox {
        width: 60%;
        min-width: 200px;
        font-size: 16px;
        border: 1px solid #cbd5e0;
        border-radius: 4px;
        font-weight: 500;
        vertical-align: top;
        display: inline;
        color: #2d3748;
        background-color: white;
        padding: 8px 12px;
        outline: none;
    }

    .searchButton {
        margin-left: 10px;
        margin-right: 10px;
        border: none;
        border-radius: 4px;
        background-color: #e53e3e;
        color: white;
        font-weight: 600;
        padding: 8px 20px;
        cursor: pointer;
    }
}


/* ==========================================================================
   BÖLÜM 3: MOBİL (768px ve Altı)
   ========================================================================== */
@media only screen and (max-width: 768px) {

    .IsMobileView {
        display: normal;
    }

    .IsDesktopView {
        display: none;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        font-size: 15px;
        line-height: 1.5;
        text-align: center;
        margin: 0px;
        color: #2d3748;
        background-color: #ffffff;
    }

    .pagebody {
        width: 100%;
        max-width: 600px;
        border-spacing: 0;
        overflow: auto;
        margin: auto;
        background-color: #ffffff;
    }

    .pagewidth {
        width: 100%;
        max-width: 600px;
        overflow: auto;
        margin: auto;
    }

    .pageLine {
        width: 100%;
        border-width: 0px;
        border-spacing: 0;
        overflow: auto;
        margin: auto;
        box-sizing: border-box;
    }

    .contentleft {
        float: left;
        width: 100%;
    }

    .contentright {
        float: left;
        width: 0%;
        text-align: right;
    }

    .newsGrid {
        margin: auto;
        text-align: left;
        line-height: 1.5;
    }

    .newsGridItem {
        height: auto !important;
        min-height: unset !important;
        margin-bottom: 24px !important;
        border-bottom: 1px solid #edf2f7 !important;
        background-color: transparent;
    }

        .newsGridItem > div:nth-child(2) {
            display: block !important;
            clear: both !important;
            width: 100% !important;
            height: auto !important;
        }

    .newsdetail {
        width: 100%;
        overflow: auto;
        margin: auto;
        text-align: center;
    }

    .textbox {
        width: 60%;
        min-width: 200px;
        font-size: 16px;
        border: 1px solid #cbd5e0;
        border-radius: 4px;
        vertical-align: top;
        display: inline;
        background-color: white;
        padding: 10px;
        outline: none;
    }

    .footerbox {
        width: 94%;
        height: 175px;
        text-align: center;
        margin: 10px;
        float: left;
        line-height: 1.7;
        background-color: #ffffff;
        border-color: #edf2f7;
    }

    .footermenu-box {
        background-color: white;
        float: left;
        width: 20%;
        text-align: center;
        overflow: auto;
        height: 100%;
        padding-bottom: 4px;
        padding-top: 6px;
        white-space: nowrap;
        letter-spacing: -0.5px;
        color: #4a5568;
    }

    .gridimage {
        float: none !important;
        display: block !important;
        width: 99% !important;
        height: auto !important;
        margin: 0 auto 12px auto !important;
        border-radius: 6px;
    }

    .searchbox {
        width: 70%;
        min-width: 180px;
        font-size: 15px;
        border: 1px solid #cbd5e0;
        border-radius: 4px;
        font-weight: 500;
        vertical-align: top;
        display: inline;
        color: #2d3748;
        background-color: white;
        padding: 8px 10px;
        outline: none;
    }

    .searchButton {
        width: 22%;
        border: none;
        border-radius: 4px;
        background-color: #e53e3e;
        color: white;
        font-weight: 600;
        padding: 8px 0;
        cursor: pointer;
    }

    .entity-container {
        padding: 0 15px;
        margin: 15px auto;
    }

    .entity-title {
        font-size: 20px;
    }

    .entity-description {
        font-size: 14px;
    }

    .entity-spec-title {
        font-size: 16px;
    }

    .entity-spec-table th,
    .entity-spec-table td {
        padding: 8px 10px;
        font-size: 13px;
    }

    .entity-spec-unit {
        display: inline-block;
        font-size: 11px;
    }
}
