/* =========================================================
   GENEL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f4f5f6;
    color: #192b3b;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.site-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0,0,0,.05);
}


/* =========================================================
   ÜST HEADER
   ========================================================= */

.top-header {
    display: grid;
    grid-template-columns: 180px 1fr 220px;
    align-items: center;
    gap: 20px;
    min-height: 150px;
    padding: 15px 20px;
}

.brand-left img {
    width: 115px;
}

.brand-right {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.brand-right img {
    width: 155px;
}

.brand-center {
    text-align: center;
}

.brand-center p {
    margin: 0;
    color: #0872c8;
    font-size: 18px;
    line-height: 1.4;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
}

.language-switch {
    position: absolute;
    right: 0;
    bottom: -4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.language-switch a {
    text-decoration: none;
    color: #0a68b0;
    font-weight: 700;
}


/* =========================================================
   ANA MENÜ
   ========================================================= */

.main-nav {
    position: relative;
    z-index: 2000;
    border-top: 1px solid #e2e5e8;
    border-bottom: 1px solid #d7dce0;
    background: linear-gradient(#fbfbfb,#eceeef);
}

.mobile-menu-button {
    display: none;
    width: 100%;
    padding: 13px 16px;
    border: 0;
    background: #082f50;
    color: #fff;
    font-size: 26px;
    text-align: left;
    cursor: pointer;
}

.main-menu {
    display: grid;
    grid-template-columns: repeat(11, minmax(0,1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu > li {
    position: relative;
    border-right: 1px solid #d9dde0;
    align-self: start;
}

.main-menu > li:last-child {
    border-right: 0;
}

.main-menu > li > a {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 7px 5px;
    color: #0c2439;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
}

.main-menu > li > a:hover,
.main-menu > li > a.active {
    color: #087ce1;
    background: #fff;
}


/* =========================================================
   KURUMSAL DROPDOWN
   ========================================================= */

.main-menu > li.menu-corporate {
    position: relative;
}

.main-menu > li.menu-corporate .corporate-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    display: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #cfd6dc;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    z-index: 99999;
}

.main-menu > li.menu-corporate:hover .corporate-dropdown {
    display: block;
}

.main-menu > li.menu-corporate .corporate-dropdown > a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 11px 14px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #d7dce0;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    white-space: normal;
}

.main-menu > li.menu-corporate .corporate-dropdown > a:last-child {
    border-bottom: 0;
}

.main-menu > li.menu-corporate .corporate-dropdown > a:hover {
    background: #eef6fd;
    color: #087ce1;
}

.main-menu > li.menu-corporate .corporate-dropdown small {
    display: block;
    margin-top: 3px;
    color: #777;
    font-size: 9px;
    font-weight: 600;
}


/* =========================================================
   SERTİFİKA MEGA MENÜ
   ========================================================= */

.cert-mega {
    position: absolute;
    left: -280px;
    top: 100%;
    display: none;
    grid-template-columns: 360px 330px 350px;
    width: 1040px;
    background: #fff;
    border: 1px solid #d6dde3;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.menu-certificates:hover .cert-mega {
    display: grid;
}

.cert-column {
    min-height: 460px;
    border-right: 1px solid #dde3e8;
}

.cert-column:last-child {
    border-right: 0;
}

.cert-column-title {
    padding: 13px 16px;
    background: #082f50;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
}

.cert-level1,
.cert-level2 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #e5e8eb;
    background: #fff;
    color: #0c263d;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.cert-level1:hover,
.cert-level1.active,
.cert-level2:hover,
.cert-level2.active {
    background: #eaf4fd;
    color: #087ce1;
}

.cert-groups,
.cert-files {
    display: none;
}

.cert-groups.active,
.cert-files.active {
    display: block;
}

.cert-files a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    border-bottom: 1px solid #e7eaed;
    color: #12314c;
    font-size: 13px;
    text-decoration: none;
}

.cert-files a:hover {
    background: #f3f8fc;
    color: #087ce1;
}

.pdf-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 22px;
    border-radius: 4px;
    background: #e31e2f;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   SLIDER
   ========================================================= */

.hero-slider {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #111;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .65s ease;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.06),
        rgba(0,0,0,.01) 45%,
        rgba(0,0,0,.20)
    );
}

.slider-controls {
    position: absolute;
    right: 24px;
    bottom: 16px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slider-dot {
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    cursor: pointer;
}

.slider-dot.active {
    background: #087ce1;
}


/* =========================================================
   HAKKIMIZDA + HABERLER
   ========================================================= */

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 55px;
    padding: 35px 22px 25px;
}

.section-heading {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d8dde1;
    color: #0872c8;
    font-size: 14px;
    font-weight: 500;
}

.about-content {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 24px;
}

.about-visual img {
    width: 100%;
}

.about-copy p {
    margin: 0 0 13px;
    color: #536575;
    font-size: 13px;
    line-height: 1.55;
}

.news-item {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f2;
    text-decoration: none;
}

.news-item strong {
    display: block;
    margin-bottom: 5px;
    color: #e31e2f;
    font-size: 12px;
}

.news-item span {
    color: #7a868f;
    font-size: 11px;
}


/* =========================================================
   ÜRÜNLER
   ========================================================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px 45px;
    padding: 25px 22px 40px;
}

.product-card {
    position: relative;
    min-height: 230px;
    padding: 20px;
    background: #fafafa;
    border: 1px solid #edf0f2;
    text-decoration: none;
    transition: .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(8,47,80,.09);
    border-color: #bfd8eb;
}

.product-card h3 {
    min-height: 36px;
    margin: 0 0 16px;
    color: #0872c8;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.product-card img {
    width: 100%;
    height: 115px;
    object-fit: contain;
    background: #fff;
}

.detail-link {
    display: block;
    margin-top: 14px;
    text-align: right;
    color: #7b858c;
    font-size: 11px;
}

.iso-card {
    display: flex;
    min-height: 230px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.iso-card strong {
    color: #d8b325;
    font-size: 82px;
    line-height: .9;
}

.iso-card span {
    max-width: 210px;
    margin-top: 10px;
    color: #bd9b1c;
    font-size: 12px;
    line-height: 1.4;
}


/* =========================================================
   ALT LİNKLER
   ========================================================= */

.bottom-links {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin: 20px 10px 10px;
    border: 1px solid #e0e4e7;
    background: #fafafa;
}

.bottom-links a {
    display: flex;
    min-height: 95px;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-right: 1px solid #e0e4e7;
    color: #69757e;
    text-decoration: none;
}

.bottom-links a:last-child {
    border-right: 0;
}

.bottom-icon {
    display: inline-flex;
    min-width: 44px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    color: #087ce1;
    font-size: 20px;
    font-weight: 800;
}

.bottom-links strong {
    font-size: 13px;
    font-weight: 500;
}


/* =========================================================
   KURUMSAL SAYFASI
   ========================================================= */

.corporate-page {
    padding: 30px 20px 60px;
    background: #fff;
}

.corporate-page-grid {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* KURUMSAL SOL MENÜ */

.corporate-sidebar {
    align-self: start;
    width: 100%;
}

.corporate-sidebar-title {
    padding: 7px 10px;
    margin-bottom: 10px;
    border: 1px solid #d5d5d5;
    background: #f7f7f7;
    color: #0872c8;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.corporate-side-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    border: 0;
    background: transparent;
}

.corporate-side-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 5px 7px;
    border: 1px solid #d4d4d4;
    background: #f7f7f7;
    color: #69737b;
    font-size: 12px;
    line-height: 1.3;
    text-decoration: none;
}

.corporate-side-menu a:hover,
.corporate-side-menu a.active {
    color: #0872c8;
    background: #fff;
}

.corporate-side-menu a > span {
    display: block;
    width: auto;
    height: auto;
    flex: none;
    background: none;
    border-radius: 0;
    color: #1697e3;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
}

/* KURUMSAL SAĞ TARAF */

.corporate-content {
    position: relative;
    width: 100%;
    min-width: 0;
    padding-top: 115px;
}

/* KABLO */

.corporate-cable-decoration {
    position: absolute;
    top: 0;
    left: 50%;
    width: 170px;
    height: 150px;
    transform: translateX(-50%);
    overflow: hidden;
    z-index: 5;
}

.corporate-cable-decoration img {
    display: block;
    width: 170px;
    height: 150px;
    object-fit: cover;
    object-position: center top;
    margin: 0;
    padding: 0;
}
/* ANA KUTU */
.corporate-content-box {
    position: relative;
    width: 100%;
    min-width: 0;
    padding: 55px 18px 20px;
    background: #fff;
    border: 3px solid #bdb9b7;
    border-radius: 11px;
    box-shadow: none;
    z-index: 1;
}


/* Kablonun geçtiği yerde üst çizgiyi gizle */
.corporate-content-box::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 174px;
    height: 8px;
    transform: translateX(-50%);
    background: #fff;
    z-index: 2;
}

.corporate-content-box::after {
    display: none !important;
    content: none !important;
}

.corporate-content-box h1 {
    margin: 0 0 25px;
    color: #0068d9;
    font-size: 18px;
    font-weight: 700;
}

.corporate-content-box p {
    margin: 0 0 18px;
    color: #000;
    font-size: 12px;
    line-height: 1.35;
}

/* TABLET */

@media (max-width: 1000px) {
    .site-shell {
        max-width: none;
    }

    .top-header {
        grid-template-columns: 130px 1fr 170px;
        min-height: 120px;
    }

    .brand-left img {
        width: 90px;
    }

    .brand-right img {
        width: 125px;
    }

    .brand-center p {
        font-size: 15px;
    }

    .main-menu {
        grid-template-columns: repeat(6,1fr);
    }

    .cert-mega {
        left: -300px;
        width: 940px;
        grid-template-columns: 330px 300px 310px;
    }

    .hero-slider {
        height: 220px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

@media (max-width: 950px) {
    .corporate-page-grid {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 15px;
    }

    .corporate-content {
        width: 100%;
        min-width: 0;
        padding-top: 110px;
    }

    .corporate-cable-decoration {
        width: 160px;
        height: 142px;
    }

    .corporate-cable-decoration img {
        width: 160px;
        height: 142px;
    }

    .corporate-content-box {
        width: 100%;
        min-width: 0;
        padding: 48px 16px 20px;
    }

    .corporate-content-box::before {
        width: 160px;
    }
}

/* TELEFON */

@media (max-width: 700px) {
    body {
        background: #fff;
    }

    .top-header {
        grid-template-columns: 80px 1fr 100px;
        gap: 8px;
        min-height: 90px;
        padding: 10px;
    }

    .brand-left img {
        width: 65px;
    }

    .brand-right img {
        width: 85px;
    }

    .brand-center p {
        font-size: 11px;
        line-height: 1.25;
    }

      .brand-right {
        position: relative;
    }

    .language-switch {
        display: flex !important;
        position: absolute;
        top: 2px;
        right: 4px;
        z-index: 9999;
        gap: 5px;
        font-size: 12px;
    }

    .mobile-menu-button {
        display: block;
    }

    .main-menu {
        display: none;
        grid-template-columns: 1fr;
    }

    .main-menu.open {
        display: grid;
    }

    .main-menu > li {
        border-right: 0;
        border-bottom: 1px solid #d9dde0;
    }

    .main-menu > li > a {
        justify-content: flex-start;
        min-height: 46px;
        padding: 12px 15px;
        font-size: 13px;
    }

    .main-menu > li.menu-corporate .corporate-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border-left: 0;
        border-right: 0;
    }

    .main-menu > li.menu-corporate:hover .corporate-dropdown {
        display: none;
    }

    .main-menu > li.menu-corporate.corporate-open .corporate-dropdown {
        display: block;
    }

    .menu-certificates:hover .cert-mega {
        display: none;
    }

    .menu-certificates.cert-open .cert-mega {
        display: block;
    }

    .cert-mega {
        position: static;
        width: 100%;
        border: 0;
        box-shadow: none;
        background: #f6f8fa;
    }

    .cert-column {
        min-height: 0;
        border-right: 0;
    }

    .cert-column-title {
        margin-top: 2px;
    }

    .cert-level1,
    .cert-level2,
    .cert-files a {
        padding-left: 20px;
    }

    .hero-slider {
        height: 180px;
    }

    .slide {
        background-position: center center;
    }

    .slider-controls {
        right: 14px;
        bottom: 12px;
    }

    .slider-dot {
        width: 14px;
        height: 14px;
    }

    .info-grid {
        padding: 25px 14px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-visual {
        max-width: 220px;
        margin: 0 auto;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .product-card {
        min-height: 210px;
    }

    .bottom-links {
        grid-template-columns: 1fr;
    }

    .bottom-links a {
        border-right: 0;
        border-bottom: 1px solid #e0e4e7;
    }

    .bottom-links a:last-child {
        border-bottom: 0;
    }

    .corporate-page {
        padding: 20px 12px 40px;
    }

    .corporate-page-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .corporate-content {
        width: 100%;
        min-width: 0;
        padding-top: 105px;
    }

    .corporate-cable-decoration {
        width: 150px;
        height: 135px;
    }

    .corporate-cable-decoration img {
        width: 150px;
        height: 135px;
    }

    .corporate-content-box {
        width: 100%;
        min-width: 0;
        padding: 45px 16px 18px;
    }

    .corporate-content-box::before {
        width: 150px;
    }

    .corporate-content-box h1 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .corporate-content-box p {
        font-size: 13px;
        line-height: 1.5;
    }
}
/* =========================================================
   ORGANİZASYON PERSONEL DETAY MODAL
   ========================================================= */

.org-person-modal {
    position: fixed;
    inset: 0;

    display: none;

    align-items: flex-start;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, .78);

    overflow-y: auto;

    z-index: 999999;
}

.org-person-modal.active {
    display: flex;
}


/* BEYAZ ANA PENCERE */

.org-person-modal-box {
    position: relative;

    width: 96%;
    max-width: 1450px;
    min-height: 780px;

    margin: 0 auto;

    padding: 22px 150px 60px;

    background: #fff;

    border-radius: 7px;

    box-shadow: 0 25px 80px rgba(0,0,0,.30);

    text-align: center;
}


/* KAPAT */

.org-person-close {
    position: absolute;

    top: 10px;
    right: 15px;

    width: 42px;
    height: 42px;

    border: 0;

    background: transparent;

    color: #333;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;
}


/* FOTOĞRAF */

.org-person-photo-wrap {
    width: 145px;
    height: 175px;

    margin: 0 auto 18px;

    padding: 8px;

    background: #f3f3f3;
}

.org-person-photo-wrap img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* İSİM */

.org-person-modal-box h2 {
    margin: 0 0 3px;

    color: #000;

    font-size: 18px;
    font-weight: 700;
}


/* ÜNVAN */

.org-person-title {
    margin-bottom: 20px;

    color: #000;

    font-size: 14px;
}


/* AÇIKLAMA */

.org-person-description {
    max-width: 1150px;

    margin: 0 auto;

    color: #000;

    font-size: 13px;
    line-height: 1.45;

    text-align: left;
}


/* TABLET */

@media (max-width: 950px) {

    .org-person-modal-box {
        width: 96%;
        min-height: 650px;

        padding: 25px 45px 50px;
    }

    .org-person-description {
        font-size: 13px;
    }
}


/* TELEFON */

@media (max-width: 700px) {

    .org-person-modal {
        padding: 8px;
    }

    .org-person-modal-box {
        width: 100%;
        min-height: calc(100vh - 16px);

        padding: 45px 20px 35px;

        border-radius: 5px;
    }

    .org-person-photo-wrap {
        width: 120px;
        height: 150px;
    }

    .org-person-modal-box h2 {
        font-size: 18px;
    }

    .org-person-description {
        font-size: 13px;
        line-height: 1.5;
    }
}
/* =========================================================
   SERTİFİKA MENÜSÜ - EKRANA SIĞDIR / İÇERİDE KAYDIR
   ========================================================= */

.cert-mega {
    max-height: calc(100vh - 145px);
    overflow: hidden;
}

/* 3 sütun da ekran yüksekliğini aşmasın */
.cert-column {
    max-height: calc(100vh - 145px);
}

/* Ürün grupları ve PDF sütunları kendi içinde kayabilsin */
.cert-column-2,
.cert-column-3 {
    overflow-y: auto;
    overflow-x: hidden;
}

/* Başlıklar yukarıda sabit kalsın */
.cert-column-title {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #0c3555;
}

/* Scrollbar biraz ince olsun */
.cert-column-2::-webkit-scrollbar,
.cert-column-3::-webkit-scrollbar {
    width: 7px;
}

.cert-column-2::-webkit-scrollbar-thumb,
.cert-column-3::-webkit-scrollbar-thumb {
    background: #aeb8c0;
    border-radius: 5px;
}
/* =========================================================
   MOBİL TR / EN DÜZELTME
   ========================================================= */
@media (max-width: 700px) {
    .brand-right {
        position: relative !important;
        overflow: visible !important;
        padding-top: 25px !important;
    }

    .language-switch {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        z-index: 999999 !important;
        gap: 5px !important;
        color: #0872c8 !important;
    }

    .language-switch a {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #0872c8 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }

    .language-switch span {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}
.rated-voltage-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.rated-voltage-table th,
.rated-voltage-table td {
    border: 1px solid #ddd;
    padding: 5px;
    text-align: center;
}

.rated-voltage-table th {
    background: #f2f2f2;
    font-weight: bold;
}
.current-capacity-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.current-capacity-table th,
.current-capacity-table td {
    border: 1px solid #ddd;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
}

.current-capacity-table th {
    background: #f2f2f2;
    font-weight: bold;
}
.core-colour-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.core-colour-table th,
.core-colour-table td {
    border: 1px solid #ddd;
    padding: 6px 8px;
    text-align: center;
    vertical-align: middle;
}

.core-colour-table th {
    background: #f2f2f2;
    font-weight: bold;
    height: 50px;
}

.core-colour-table th:first-child,
.core-colour-table td:first-child {
    width: 120px;
}


/* =========================================================
   MOBİL SERTİFİKA MENÜSÜ - TÜM SATIRLARI GÖSTER
   ========================================================= */
@media (max-width: 700px) {
    .cert-mega {
        max-height: none !important;
        overflow: visible !important;
        height: auto !important;
    }

    .cert-column,
    .cert-column-1,
    .cert-column-2,
    .cert-column-3 {
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
    }

    .cert-groups.active,
    .cert-files.active {
        display: block !important;
        max-height: none !important;
        overflow: visible !important;
    }
}
@media (max-width: 700px) {
    .menu-certificates.cert-open {
        margin-bottom: 30px !important;
    }
}
