/* ===== NDT LEVEL - Ana Stil Dosyası ===== */

:root {
    --blue: #3557e8;
    --primary-color: #0b2046;
    --text-color: #555555;
    --heading-color: #111111;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --font-primary: 'Manrope', sans-serif;
    --font-heading: 'Titillium Web', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===========================
   PAGE HEADER (Sticky Wrapper)
   =========================== */
.page-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
}

/* ===========================
   TOP BAR
   =========================== */
.top-bar {
    background: #E9ECFB;
    border-bottom: 1px solid #d1d6f0;
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 52px;
    gap: 20px;
}

/* ===========================
   HEADER + ALT ÇİZGİ + PİK
   =========================== */
.site-header {
    background: var(--white);
    overflow: visible;
    padding-bottom: 25px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    position: relative;
    overflow: visible;
    z-index: 2;
}



/* Nav'ın absolute konumlanması logo ile çakışmasın diye logo genişliğini koruyoruz */
.logo {
    position: relative;
    z-index: 1;
}

.logo img {
    height: 58px;
    display: block;
}

/* Header yüklenme çizgisi */
.header-line-wrapper {
    position: relative;
    overflow: visible;
    margin-top: -4px;
}

.header-line {
    width: 100%;
    height: 3px;
    background: var(--blue);
    transform-origin: left;
    animation: headerLineGrow 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes headerLineGrow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* ===========================
   NAV
   =========================== */
.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    height: 100%;
    overflow: visible;
}

/* Animasyon sırasında açılır menüyü gizleyen beyaz örtü */
.main-nav::before {
    content: '';
    position: absolute;
    bottom: -25px;
    left: -50vw;
    width: 200vw;
    height: 25px;
    background: var(--white);
    z-index: 501;
    pointer-events: none;
}

.main-nav ul {
    display: flex;
    gap: 25px;
    height: 100%;
    overflow: visible;
}

.main-nav li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    overflow: visible;
}

.main-nav a {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: color 0.3s ease, transform 0.3s ease;
    height: 100%;
    gap: 4px;
}

.main-nav a .caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
}

/* Pik (ECG QRS kompleksi: Q dip → R tepe → S dip) */
.main-nav li::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    opacity: 0;
    width: 80px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='40' viewBox='0 0 80 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20' y='21' width='40' height='19' fill='%23ffffff'/%3E%3Cpath d='M0 23.5 L28 23.5 L35 5.5 L46 33.5 L54 23.5 L80 23.5' stroke='%233557e8' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom center;
    transform-origin: 50% 23.5px;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    z-index: 502;
}

/* Hover ve active: yazıyı yukarı kaldır + pik göster */
.main-nav li:hover > a,
.main-nav li.active-parent > a,
.main-nav li:has(> a.active) > a {
    color: var(--blue);
    transform: translateY(-3px);
}

/* Sayfa ilk yüklendiğinde pik çıkana kadar metin normal görünsün */
.main-nav li.active-parent.peak-pending > a,
.main-nav li.peak-pending:has(> a.active) > a {
    color: var(--text-color);
    transform: none;
}

.main-nav li:hover > a .caret,
.main-nav li.active-parent > a .caret,
.main-nav li:has(> a.active) > a .caret {
    border-top-color: var(--blue);
}

@keyframes peakPopUp {
    0%   { transform: translateX(-50%) scaleY(0); opacity: 0; }
    100% { transform: translateX(-50%) scaleY(1); opacity: 1; }
}

.main-nav li:hover::after {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    animation: none;
}

.main-nav li.active-parent::after,
.main-nav li:has(> a.active)::after {
    animation: peakPopUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s both;
}

/* Dropdown menü açıkken caret döner */
.has-dropdown:hover > a .caret {
    transform: rotate(180deg);
    border-top-color: var(--blue);
}

/* ===========================
   DROPDOWN MENU
   =========================== */
.has-dropdown {
    position: relative;
}

/* Köprü görevi görerek menü ile buton arasındaki boşlukta kapanmayı engeller */
.has-dropdown::before {
    content: '';
    position: absolute;
    bottom: -35px;
    left: 0;
    width: 100%;
    height: 35px;
    background: transparent;
    z-index: 500;
}

.main-nav ul.dropdown-menu {
    position: absolute;
    top: calc(100% + 25px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-25px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    z-index: 500;
    padding: 8px 0;
    flex-direction: column;
    display: flex;
    height: auto;
    margin-top: 0;
}



.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    height: auto;
    display: block;
    overflow: visible;
}

.dropdown-menu li::after {
    display: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    height: auto;
    white-space: nowrap;
    transform: none !important;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
    background: #f0f4ff;
    color: var(--blue);
    transform: none !important;
}

/* ===========================
   TOP-BAR / HEADER SHARED
   =========================== */
.lang-switch a {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
}

.lang-switch a.active {
    color: var(--blue);
}

.btn-outline {
    border: 2px solid var(--blue);
    color: var(--blue);
    padding: 8px 22px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

/* ====================
   HERO SECTION
   ==================== */
.hero-slider {
    position: relative;
    height: 720px;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.85);
    z-index: 1;
}

.hero-split-layout {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 60px;
}

/* Sağ slider bölümü */
.hero-slider-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    flex-shrink: 0;
    width: 870px;
    height: 540px;
    transform: translateX(20%);
}

.hero-slider-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    z-index: 10;
    flex-shrink: 0;
    width: 100%;
}

.hero-slide-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.hero-slide-dot.active,
.hero-slide-dot:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: scale(1.15);
}

.hero-slides-container {
    width: 100%;
    flex: 1;
    position: relative;
}

.hero-slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-item.active {
    opacity: 1;
}

.hero-slide-item img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    border-radius: 12px;
}

.hero-slide-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(53, 87, 232, 0.15);
    border: 2px dashed rgba(53, 87, 232, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

/* Sol içerik */
.hero-content-left {
    flex: 1;
    text-align: left;
    max-width: 480px;
}

.hero-content-left .slide-title {
    font-size: 58px;
    color: var(--white);
    line-height: 1.15;
    margin: 0 0 20px 0;
    font-weight: 800;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.3);
}

/* İletişim Butonu */
.hero-contact-wrapper {
    display: inline-flex;
    align-items: stretch;
    height: 52px;
    cursor: pointer;
    text-decoration: none;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 35px;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid var(--blue);
    position: relative;
    z-index: 2;
}

.hero-contact-wrapper:hover .btn-hero {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right-color: transparent;
}

.hero-contact-info {
    display: inline-flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.85);
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    max-width: 0;
    padding: 0;
    opacity: 0;
    transition: max-width 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border: 2px solid transparent;
    border-left: none;
    z-index: 1;
}

.hero-contact-wrapper:hover .hero-contact-info {
    max-width: 400px;
    padding: 0 25px 0 20px;
    opacity: 1;
    border-color: var(--white);
}

/* ==============================
   ANİMASYONLU ÇİZGİ SİSTEMİ
   ============================== */
.scroll-anim-horizontal {
    width: 150px;
    height: 3px;
    background: var(--blue);
    margin-top: 15px;
    transform: scaleX(0);
    transform-origin: left;
}

.about-images-container {
    position: relative;
    padding: 40px;
}

.path-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.about-images {
    position: relative;
    z-index: 1;
}

/* ======================
   ABOUT SECTION
   ====================== */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 450px;
}

.img-wrapper {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-img {
    width: 80%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 1;
}

.second-img {
    width: 50%;
    height: 50%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 10px solid var(--white);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title {
    margin-bottom: 40px;
}

.section-title .tagline,
.tagline {
    display: block;
    color: var(--blue);
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 10px !important;
}

.section-title h1,
.section-title h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}

.section-title .scroll-anim-horizontal {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.custom-icon-list {
    margin-top: 30px;
}

.custom-icon-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 16px;
    color: var(--heading-color);
}

.custom-icon-list i {
    color: var(--blue);
    font-size: 18px;
}

/* ===========================
   SERVİS KARTLARI (UT, MT...)
   =========================== */
.services-counter-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.services-counter-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-bottom-color: var(--blue);
}

.service-content {
    padding: 20px 10px;
}

.service-card h3 {
    margin: 0;
    font-size: 24px;
    color: var(--blue);
}

.service-card p {
    font-size: 12px;
    margin-top: 5px;
    color: var(--text-color);
}

.service-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   GALERİ BÖLÜMÜ
   =========================== */
.gallery-section {
    padding: 80px 0;
}

.gallery-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-section .scroll-anim-horizontal {
    margin: 0 auto;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: flex-start;
}

.gallery-item {
    flex: none;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.2s;
}

.gallery-item:hover {
    opacity: 0.85;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    display: block;
    border-radius: 4px;
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 8px;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.gallery-lightbox-close:hover {
    opacity: 1;
}

/* ===============
   PDF KARTLARI
   =============== */
.pdf-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 40px auto 0;
    padding: 20px 0;
}

.pdf-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--white);
    border: 1px solid #e1e4e8;
    width: 170px;
    height: 170px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    padding: 15px;
    line-height: 1.4;
}

.pdf-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(53, 87, 232, 0.12);
    color: var(--blue);
}

.pdf-card i {
    font-size: 38px;
    color: #e53935;
    flex-shrink: 0;
}

/* ===============
   FOOTER
   =============== */
.site-footer {
    background: #090a18;
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 30px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 8px;
}

.footer-widget-left  { width: 40%; }
.footer-widget-right { width: 40%; }

.footer-logo {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    display: inline-block;
}

.footer-logo .ndt   { color: #ffffff; }
.footer-logo .level { color: var(--blue); }

.footer-widget-left p,
.footer-widget-left li,
.footer-widget-right p,
.footer-widget-right li {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-widget-left p { font-weight: 600; }

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.footer-widget-right h4 {
    color: var(--blue);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-contact-list { margin-top: 20px; }

.footer-contact-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.footer-contact-list i {
    color: var(--blue);
    margin-top: 4px;
}

.footer-widget-left a,
.footer-widget-right a {
    color: #ffffff !important;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 2px;
}

.footer-widget-left a:hover,
.footer-widget-right a:hover {
    color: var(--blue) !important;
    text-decoration-color: var(--blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #a0a0a0;
    font-size: 12px;
}

/* ==============================
   İÇ SAYFALAR ORTAK YAPI
   ============================== */
.page-content-bg {
    background-color: var(--bg-light);
    min-height: calc(100vh - 138px);
}

/* Dikey mavi çizgi (hakkımızda vb.) */
.scroll-anim-vertical {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--blue);
    transform-origin: top;
    transform: scaleY(0);
    z-index: 0;
    transition: transform 0.1s linear;
}

.text-mask {
    position: relative;
    z-index: 2;
    background-color: var(--bg-light);
    display: inline-block;
    padding: 20px 30px;
}

/* Hakkımızda Sayfası */
.about-page-linear-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 0;
    position: relative;
    text-align: center;
}

.linear-header h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: 10px;
    letter-spacing: -1px;
}

.linear-content-body { margin-bottom: 20px; }

.linear-content-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.mission-vision-wrapper {
    display: flex;
    flex-direction: column;
}

.mission-block h3,
.vision-block h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.mission-block p,
.vision-block p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* L çizgisi path container */
.path-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ==============================
   HİZMETLER SAYFASI
   ============================== */
.hizmetler-layout {
    display: grid;
    grid-template-columns: 1.6fr 2fr;
    gap: 60px;
    align-items: start;
    padding: 80px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.hizmetler-image-block {
    margin-left: -160px;
    width: calc(100% + 160px);
}

.hizmetler-image-block img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}

.hizmetler-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 14px;
}

.hizmetler-content h1 {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hizmetler-content .intro-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 30px;
}

.hizmetler-list {
    list-style: none;
    padding: 0;
}

.hizmetler-list > li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.6;
}

.hizmetler-list > li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 900;
}

.hizmetler-list .sub-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 16px;
}

.hizmetler-list .sub-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.5;
}

.hizmetler-list .sub-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--blue);
}

/* ==============================
   EĞİTİM SAYFASI
   ============================== */
.egitim-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 0;
}

.egitim-layout h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.egitim-layout .intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 40px;
}

.egitim-image-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    margin-top: 50px;
    justify-content: center;
}

.egitim-image-grid .img-placeholder {
    flex: 0 0 420px;
    aspect-ratio: 4 / 3;
    background: var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 13px;
    overflow: hidden;
}

.egitim-image-grid .img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==============================
   DOKÜMANLAR SAYFASI
   ============================== */
.dokumanlar-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 0;
    text-align: center;
}

.dokumanlar-layout h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ==============================
   BASİT SAYFA DÜZENİ (Kalite Politikası, Üst Yönetim vb.)
   ============================== */
.simple-page-section {
    padding: 80px 0 100px;
    text-align: center;
}

.simple-page-header {
    margin-bottom: 50px;
}

.simple-page-header .tagline {
    display: block;
    margin-bottom: 10px;
}

.simple-page-header h1 {
    margin-bottom: 15px;
}

.pdf-grid-centered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

/* ==============================
   BELGELENDİRME ALT SAYFALAR
   ============================== */
.belgelendirme-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 0;
    text-align: center;
}

.belgelendirme-layout h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.belgelendirme-layout .intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 700px;
    margin: 20px auto 40px;
}

.empty-page-notice {
    margin-top: 60px;
    color: #aaa;
    font-size: 15px;
    font-style: italic;
}

/* ==============================
   İÇ SAYFA BAŞLIK (Küçük Banner)
   ============================== */
.page-hero-banner {
    background: var(--primary-color);
    padding: 50px 0;
    text-align: center;
}

.page-hero-banner h1 {
    color: var(--white);
    font-size: 42px;
    margin: 0;
}

.page-hero-banner .tagline {
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

/* ====================
   İLETİŞİM SAYFASI
   ==================== */
.contact-split-layout {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.contact-split-layout .container {
    gap: 50px;
    align-items: center;
}

.contact-left-col {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
}

.contact-left-col .linear-header {
    background: transparent;
    display: inline-block;
    padding: 0 20px 0 0;
    margin-bottom: 40px;
    z-index: 10;
    position: relative;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
    margin-left: 70px;
    margin-right: 70px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item .icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.contact-item .item-text h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 800;
}

.contact-item .item-text p,
.contact-item .item-text a {
    margin: 0;
    color: var(--text-color);
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
}

.contact-item .item-text a:hover { color: var(--blue); }

.contact-form-wrapper {
    margin-top: 50px;
    margin-left: 70px;
    margin-right: 70px;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.contact-form-wrapper h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 22px;
    color: var(--primary-color);
    text-align: center;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.contact-form .form-row .form-group { flex: 1; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--heading-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(53, 87, 232, 0.1);
    background: var(--white);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-submit:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 15px;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-danger {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.contact-map-content {
    flex: 1;
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.map-wrapper {
    flex: 1;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.contact-svg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===============
   RESPONSIVE
   =============== */

/* Hamburger — her zaman tanımlı, küçük ekranda göster */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
    flex-shrink: 0;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--heading-color);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 1100px: slider taşmasını önle ── */
@media (max-width: 1100px) {
    .hero-slider-panel {
        transform: none;
        width: 520px;
        height: 420px;
    }
}

/* ── 991px: tablet ── */
@media (max-width: 991px) {
    .about-grid { grid-template-columns: 1fr; }

    .services-counter-grid { grid-template-columns: repeat(3, 1fr); }

    .hero-split-layout {
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        padding-top: 24px;
    }
    .hero-slider-panel {
        width: 100%;
        height: 300px;
        transform: none;
    }
    .hero-content-left { text-align: center; }
    .hero-content-left .slide-title { font-size: 40px; }
    .hero-contact-wrapper { display: none; }

    .hizmetler-layout { grid-template-columns: 1fr; }
    .hizmetler-image-block { margin-left: 0; width: 100%; }

    .cert-section { flex-direction: column; }
    .cert-section.reverse { flex-direction: column; }
    .cert-image, .path-container { display: none; }

    .contact-split-layout .container {
        flex-direction: column !important;
        gap: 30px !important;
    }
    .map-wrapper { height: 280px; }
}

/* ── 991px: tablet + mobil — hamburger ── */
@media (max-width: 991px) {

    /* Hamburger */
    .mobile-menu-btn { display: flex; position: relative; z-index: 1001; }
    .logo { z-index: 1001; }

    /* Nav — tam ekran overlay */
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        z-index: 1000;
        overflow-y: auto;
        padding: 170px 0 40px;
        transform: none;
    }
    .main-nav.mobile-open { display: block; }
    .main-nav > ul {
        flex-direction: column;
        padding: 8px 0;
        gap: 0;
        height: auto;
    }
    .main-nav li > a {
        padding: 14px 28px;
        display: flex;
        justify-content: space-between;
        font-size: 16px;
        transform: none !important;
        color: var(--text-color) !important;
        border-bottom: 1px solid var(--border-color);
    }
    .main-nav li::after { display: none; }
    .main-nav::before { display: none; }
    .has-dropdown::before { display: none; }

    /* Mobil dropdown */
    .main-nav ul.dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: var(--bg-light);
        display: none;
        min-width: auto;
        padding: 4px 0;
    }
    .main-nav .has-dropdown.dropdown-open > ul.dropdown-menu { display: flex; }
    .main-nav ul.dropdown-menu li a {
        padding: 12px 28px 12px 44px;
        font-size: 14px;
        border-bottom: 1px solid var(--border-color);
    }

    /* Mobil slider section */
    .mobile-slider-section {
        display: block;
        background: var(--white);
        padding: 20px 20px 28px;
    }
    .mobile-slider-section .hero-slider-panel {
        width: 100% !important;
        height: 380px !important;
        transform: none !important;
    }
    .mobile-slider-section .hero-slide-dot {
        background: var(--bg-light);
        border: 2px solid var(--border-color);
        color: var(--text-color);
    }
    .mobile-slider-section .hero-slide-dot.active,
    .mobile-slider-section .hero-slide-dot:hover {
        background: var(--blue);
        border-color: var(--blue);
        color: var(--white);
    }
    .mobile-slider-section .hero-slide-placeholder {
        color: var(--blue);
    }
}

/* ── 768px: mobil ── */
@media (max-width: 768px) {

    /* Hero — slider taşındığında yeterli yükseklik */
    .hero-slider { height: auto; min-height: 340px; }
    .hero-split-layout { padding-top: 50px; padding-bottom: 50px; }
    .hero-content-left .slide-title { font-size: 30px; }
    .hero-slider-nav { gap: 8px; }
    .hero-slide-dot { width: 30px; height: 30px; font-size: 12px; }

    /* Sertifika sorgulama formu */
    .cert-search-form { flex-direction: column; }
    .cert-search-form input,
    .cert-search-form .btn-submit { width: 100%; flex: none; }

    /* Grid */
    .services-counter-grid { grid-template-columns: repeat(2, 1fr); }

    /* PDF */
    .pdf-card { width: 130px; height: 130px; font-size: 11px; }
    .pdf-grid { gap: 12px; }
    .pdf-grid-centered { gap: 12px; }

    /* Egitim görseller */
    .egitim-image-grid { flex-wrap: wrap; justify-content: center; }
    .egitim-image-grid .img-placeholder { flex: 0 0 calc(100% - 20px); aspect-ratio: 4/3; }

    /* Bölüm boşlukları */
    .about-section,
    .services-counter-section,
    .gallery-section { padding: 50px 0; }
    .simple-page-section { padding: 50px 0 60px; }

    /* Footer */
    .footer-inner { flex-direction: column; gap: 30px; padding: 30px; }
    .footer-widget-left, .footer-widget-right { width: 100%; }
}

/* ── 480px: küçük telefon ── */
@media (max-width: 480px) {
    .hero-content-left .slide-title { font-size: 26px; }
    .hero-slider-panel { height: 280px !important; }
    .services-counter-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title h1, .section-title h2 { font-size: 24px; }
    .pdf-card { width: 110px; height: 110px; font-size: 10px; }
    .container { padding-left: 16px; padding-right: 16px; }
}

/* ===============
   SERTİFİKA SORGULAMA SAYFASI
   =============== */
.cert-page-container {
    padding-top: 60px;
    padding-bottom: 60px;
}
.cert-header {
    text-align: center;
    margin-bottom: 40px;
}
.cert-header .tagline {
    margin-bottom: 5px;
    display: block;
}
.cert-header h1 {
    margin-top: 0;
}
.cert-search-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}
.cert-search-box p {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
}
.cert-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}
.cert-search-form input {
    flex: 1 1 200px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 16px;
    box-sizing: border-box;
    width: 100%;
}
.cert-search-form button {
    padding: 15px 30px;
    width: auto;
    flex: 1 1 120px;
    margin-top: 0;
    box-sizing: border-box;
}
.cert-results-box {
    max-width: 900px;
    margin: 50px auto 0;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}
.cert-results-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--blue);
    padding-bottom: 15px;
    margin-top: 0;
    margin-bottom: 25px;
}
.cert-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.cert-table th {
    padding: 15px;
    font-weight: 700;
    color: var(--heading-color);
}
.cert-table td {
    padding: 15px;
    font-weight: 600;
    color: var(--primary-color);
}
.cert-table .date-col {
    color: var(--text-color);
    font-size: 14px;
    font-weight: normal;
}
.cert-table .actions-col {
    text-align: right;
    white-space: nowrap;
}
.cert-table .btn-outline, .cert-table .btn-submit {
    padding: 8px 15px;
    font-size: 12px;
    display: inline-block;
    width: auto;
    margin-top: 0;
}

@media (max-width: 991px) {
    /* Eski inline stilleri (önbellekte kalmışsa) ezmek için */
    form:has(input[name="tc_kimlik"]) {
        flex-direction: column !important;
        gap: 12px !important;
    }
    input[name="tc_kimlik"], button[name="search_cert"] {
        width: 100% !important;
        flex: none !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .cert-page-container {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    .cert-search-box {
        padding: 20px !important;
        margin-left: 15px;
        margin-right: 15px;
    }
    .cert-search-form {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .cert-search-form input, .cert-search-form button {
        width: 100% !important;
        flex: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .cert-results-box {
        padding: 20px !important;
        margin: 30px 15px 0 !important;
    }
    .cert-table th, .cert-table td {
        padding: 10px;
        font-size: 14px;
    }
    .cert-table .actions-col {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    .cert-table .btn-outline, .cert-table .btn-submit {
        width: 100%;
        text-align: center;
        margin-right: 0 !important;
    }
}

