/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; background: #fff; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===========================
   ERİŞİLEBİLİRLİK — Skip Link
   (Google Core Web Vitals & A11y)
   =========================== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 9999;
    background: var(--primary, #0a5c99);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    font-size: .95rem;
    transition: top .2s;
    text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Focus görünürlüğü (erişilebilirlik) */
:focus-visible {
    outline: 3px solid var(--accent, #1a8fe3);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Lazy-load görseller için yer tutucu */
img[loading="lazy"] { background: #f0f4f8; }

/* ===========================
   VARIABLES
   =========================== */
:root {
    --primary:   #0a5c99;
    --primary-dark: #063d6b;
    --accent:    #1a8fe3;
    --accent-bright: #00d9ff;
    --teal:      #06b6d4;
    --light-bg:  #f4f7fa;
    --border:    #e0e0e0;
    --text:      #333;
    --text-light:#666;
    --white:     #fff;
    --radius:    8px;
    --shadow:    0 4px 20px rgba(0,0,0,.08);
    --shadow-colored: 0 8px 32px rgba(10, 92, 153, 0.15);
    --shadow-lg: 0 12px 48px rgba(10, 92, 153, 0.18);
    --transition: .25s ease;
    --transition-smooth: .35s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #0a5c99 0%, #1a8fe3 100%);
    --gradient-accent: linear-gradient(135deg, #1a8fe3 0%, #00d9ff 100%);
    --gradient-dark: linear-gradient(135deg, #063d6b 0%, #0a5c99 100%);
}

/* ===========================
   CONTAINER
   =========================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===========================
   HEADER
   =========================== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(10, 92, 153, 0.08);
    border-bottom: 1px solid rgba(10, 92, 153, 0.05);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 48px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.logo-text { font-size: 1.2rem; font-weight: 700; color: var(--primary); white-space: nowrap; }

/* ===========================
   NAV — Temel
   =========================== */
.main-nav ul { display: flex; gap: 2px; align-items: center; }
.main-nav li { position: relative; }
.main-nav .nav-link {
    display: flex; align-items: center; gap: 6px;
    padding: 9px 14px; border-radius: var(--radius);
    font-weight: 500; font-size: .93rem; color: var(--text);
    white-space: nowrap;
    position: relative;
    transition: background var(--transition), color var(--transition);
}
.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-smooth);
}
.main-nav .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { background: var(--primary); color: var(--white); }
.main-nav .nav-link .fa:not(.nav-arrow) { font-size: .85rem; }
.nav-arrow { font-size: .6rem; transition: transform var(--transition); margin-left: 2px; }
.has-dropdown:hover .nav-arrow,
.has-dropdown.open .nav-arrow,
.has-mega:hover .nav-arrow,
.has-mega.open .nav-arrow { transform: rotate(180deg); }

/* ===========================
   DROPDOWN MENU
   =========================== */
.has-dropdown > .dropdown-menu {
    position: absolute; top: calc(100% + 6px); left: 0;
    min-width: 230px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 35px rgba(0,0,0,.14);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    padding: 6px 0;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
    z-index: 300;
}
.has-dropdown:hover > .dropdown-menu,
.has-dropdown.open > .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.has-dropdown > .dropdown-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 18px; font-size: .88rem; color: var(--text);
    transition: background var(--transition), color var(--transition);
}
.has-dropdown > .dropdown-menu a:hover { background: var(--light-bg); color: var(--primary); padding-left: 24px; }
.has-dropdown > .dropdown-menu a .fa { width: 16px; color: var(--accent); font-size: .8rem; flex-shrink: 0; }

/* ===========================
   MEGA MENU
   =========================== */
/* .has-mega öğesi position:static kalır →
   .mega-menu, .site-header'a göre konumlanır (full-width) */
.has-mega { position: static !important; }

.mega-menu {
    position: absolute; top: 70px; left: 0; right: 0; width: 100%;
    background: var(--white);
    box-shadow: 0 15px 45px rgba(0,0,0,.15);
    border-top: 3px solid var(--primary);
    opacity: 0; visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
    z-index: 300;
}
.has-mega:hover > .mega-menu,
.has-mega.open > .mega-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.mega-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: grid; grid-template-columns: 1fr;
}

/* Sol bölüm — Sütun bazlı kategoriler */
.mega-categories {
    padding: 24px 20px 20px 0;
    border-right: none;
    display: flex; flex-direction: column;
}

/* Her kök kategori = 1 sütun, max 5 sütun yan yana */
.mega-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-bottom: 18px;
}
.mega-column {
    min-width: 0;
    padding: 0 20px 0 0;
    border-right: 1px solid var(--border);
}
/* Sütun 1 pozisyonundaki her eleman (1., 6., 11. …): sol padding sıfır */
.mega-column:nth-child(5n+1) {
    padding-left: 0;
}
/* Sütun 2-5 pozisyonundaki elemanlar: sol padding ekle */
.mega-column:not(:nth-child(5n+1)) {
    padding-left: 20px;
}
/* Sütun 5 pozisyonundaki her eleman (5., 10., 15. …) ve son eleman: border/padding kaldır */
.mega-column:last-child,
.mega-column:nth-child(5n) {
    border-right: none;
    padding-right: 0;
}

/* Kök kategori başlığı — hover ile alt menü tetikleyici */
.mega-col-header {
    display: flex; align-items: center; gap: 7px;
    font-weight: 700; font-size: .84rem;
    color: var(--primary-dark);
    padding: 8px 10px;
    border-radius: 7px;
    transition: background var(--transition), color var(--transition);
    overflow-wrap: break-word;
    cursor: pointer;
}
.mega-col-header .fa { font-size: .8rem; color: var(--primary); flex-shrink: 0; }
/* Sağda chevron oku */
.mega-col-header::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    font-size: .6rem; margin-left: auto; flex-shrink: 0;
    opacity: .35; transition: transform .25s ease, opacity .2s;
}
.mega-column.mc-open .mega-col-header {
    background: var(--light-bg);
    color: var(--primary);
}
.mega-column.mc-open .mega-col-header::after {
    transform: rotate(90deg); opacity: 1;
}
.mega-col-header:hover { color: var(--accent); }

/* Seviye 1 çocuklar — JS ile .mc-open class yönetimi */
.mega-menu .mega-col-list {
    list-style: none; padding: 0; margin: 4px 0 0; display: block; gap: unset;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .3s ease, opacity .2s ease;
}
.mega-column.mc-open .mega-col-list {
    max-height: 500px; opacity: 1;
}
.mega-menu .mega-col-list > li { display: block; }
.mega-col-list > li > a {
    display: flex; align-items: flex-start; gap: 6px;
    padding: 5px 8px; border-radius: 5px;
    font-size: .85rem; color: var(--text);
    transition: background var(--transition), color var(--transition);
    overflow-wrap: break-word;
}
.mega-col-list > li > a .fa { font-size: .6rem; color: var(--accent); flex-shrink: 0; }
.mega-col-list > li > a:hover { background: var(--light-bg); color: var(--primary); }
/* L1 öğesi: alt kategorisi varsa küçük ok göster */
.mega-col-list > li:has(.mega-col-sublist) > a::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    font-size: .5rem; margin-left: auto; flex-shrink: 0;
    opacity: .3; transition: transform .2s, opacity .2s;
}
.mega-col-list > li:has(.mega-col-sublist).li-open > a::after {
    transform: rotate(90deg); opacity: .8;
}

/* Seviye 2 torunlar — JS ile .li-open class yönetimi */
.mega-menu .mega-col-sublist {
    list-style: none; padding: 0; margin: 0 0 0 14px; display: block; gap: unset;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .25s ease, opacity .2s ease;
}
.mega-col-list > li.li-open > .mega-col-sublist {
    max-height: 300px; opacity: 1;
}
.mega-menu .mega-col-sublist > li { display: block; }
.mega-col-sublist > li > a {
    display: flex; align-items: flex-start; gap: 6px;
    padding: 4px 8px; border-radius: 5px;
    font-size: .8rem; color: var(--text-light);
    transition: background var(--transition), color var(--transition);
    overflow-wrap: break-word;
}
.mega-col-sublist > li > a .fa { font-size: .55rem; color: #aaa; flex-shrink: 0; }
.mega-col-sublist > li > a:hover { background: var(--light-bg); color: var(--primary); }
.mega-all-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px; border-radius: 20px;
    background: var(--primary); color: var(--white) !important;
    font-size: .83rem; font-weight: 600;
    transition: background var(--transition), transform .2s;
}
.mega-all-link:hover { background: var(--primary-dark); transform: translateX(3px); }

/* Sağ sütun — CTA */
.mega-cta { padding: 28px 0 28px 40px; display: flex; align-items: stretch; }
.mega-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: 12px; padding: 28px 24px; text-align: center;
    color: var(--white); width: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.mega-icon { font-size: 2.4rem; opacity: .85; }
.mega-banner h4 { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.mega-banner p { font-size: .82rem; opacity: .8; }
.mega-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--white); color: var(--primary);
    padding: 9px 18px; border-radius: 20px; font-weight: 700; font-size: .82rem;
    margin-top: 4px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.mega-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 15px; }
.lang-switcher { display: flex; align-items: center; gap: 4px; font-size: .85rem; }
.lang-switcher a { padding: 4px 10px; border-radius: 6px; font-weight: 600; color: var(--text-light); display: inline-flex; align-items: center; gap: 5px; text-decoration: none; transition: all .2s; border: 1px solid transparent; }
.lang-switcher a:hover { background: rgba(10,92,153,.08); border-color: rgba(10,92,153,.15); }
.lang-switcher a.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.lang-flag { width: 1.3em; height: 1em; border-radius: 2px; display: inline-block; vertical-align: middle; box-shadow: 0 0 1px rgba(0,0,0,.2); }

/* Mobile Toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--primary); border-radius: 2px; transition: all var(--transition); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO SLIDER
   =========================== */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    min-height: 640px;
}
.hero-slides { position: relative; width: 100%; min-height: 640px; }
.hero-slide {
    position: absolute; inset: 0;
    display: flex;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    flex-direction: column; justify-content: flex-end; align-items: center;
    opacity: 0;
    z-index: 0;
    transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(4,28,60,.75) 0%, rgba(10,92,153,.45) 40%, rgba(6,182,212,.15) 100%);
}
.hero-content {
    position: relative; z-index: 1;
    max-width: 740px;
    margin: 0 20px 52px;
    padding: 34px 44px 36px;
    color: var(--white);
    text-align: center;
    background: rgba(4, 22, 50, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(26, 143, 227, 0.25);
    border-top: 3px solid var(--accent-bright);
    border-radius: 14px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.1), 0 0 40px rgba(26, 143, 227, 0.15);
    animation: heroGlow 4s ease-in-out infinite;
}
@keyframes heroGlow {
    0%, 100% { box-shadow: 0 12px 48px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.1), 0 0 40px rgba(26, 143, 227, 0.15); }
    50% { box-shadow: 0 12px 48px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.1), 0 0 50px rgba(26, 143, 227, 0.25); }
}
.hero-content h1 {
    font-size: 2.8rem; font-weight: 800; margin-bottom: 12px; line-height: 1.2;
    text-shadow: 0 4px 16px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}
.hero-content p { font-size: 1.15rem; margin-bottom: 26px; opacity: .92; line-height: 1.5; }
.btn {
    display: inline-block; padding: 12px 32px;
    border-radius: var(--radius); font-weight: 700; font-size: .95rem;
    transition: all var(--transition-smooth); cursor: pointer; border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left var(--transition-smooth);
    z-index: -1;
}
.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 143, 227, 0.3);
}
.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(26, 143, 227, 0.5), 0 0 20px rgba(26, 143, 227, 0.3);
    transform: translateY(-2px);
}
.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    position: relative;
    background: transparent;
}
.btn-outline::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: -1;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Slider Controls */
.slider-controls { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: all var(--transition-smooth); }
.slider-dot.active { background: var(--white); width: 28px; border-radius: 6px; }
.slider-prev, .slider-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.2); border: none; color: var(--white);
    width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
    font-size: 1.1rem; transition: background var(--transition); z-index: 10;
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-prev:hover, .slider-next:hover { background: rgba(255,255,255,.4); }

/* ===========================
   SECTION TITLES
   =========================== */
.section { padding: 70px 0; }
.section-alt { background: var(--light-bg); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
    font-size: 2rem; font-weight: 800; margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown .6s ease;
}
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-header h2::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: var(--gradient-accent);
    margin: 12px auto 0;
    border-radius: 2px;
    animation: scaleInWidth .6s ease .2s both;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleInWidth {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ===========================
   CARDS (Products & Blog)
   =========================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition);
    display: flex; flex-direction: column;
    border-top: 3px solid transparent;
    border-image: var(--gradient-accent) 1;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(26, 143, 227, 0.2);
}
.card-img {
    aspect-ratio: 4/3; overflow: hidden; background: #f8f9fa; display: flex; align-items: center; justify-content: center; padding: 24px 28px;
    position: relative;
}
.card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 143, 227, 0) 0%, rgba(26, 143, 227, 0.15) 100%);
    opacity: 0;
    transition: opacity var(--transition);
}
.card:hover .card-img::after { opacity: 1; }
.card-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform var(--transition-smooth); position: relative; z-index: 1; }
.card:hover .card-img img { transform: scale(1.08); }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-category {
    font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 10px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding: 4px 8px;
    background-color: rgba(26, 143, 227, 0.1);
    border-radius: 4px;
    width: fit-content;
}
.card-title {
    font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; color: var(--primary-dark);
    transition: color var(--transition);
}
.card:hover .card-title { color: var(--accent); }
.card-text { font-size: .9rem; color: var(--text-light); flex: 1; margin-bottom: 16px; }
.card-link {
    color: var(--accent); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 5px;
    transition: all var(--transition);
}
.card-link:hover { color: var(--primary); transform: translateX(3px); }

/* ===========================
   PRODUCT DETAIL
   =========================== */
.product-detail { padding: 50px 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-gallery .main-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.product-gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-gallery .thumb {
    width: 80px; height: 60px; object-fit: cover; border-radius: 6px;
    border: 2px solid var(--border); cursor: pointer; transition: border-color var(--transition);
}
.product-gallery .thumb.active { border-color: var(--accent); }
.product-info h1 { font-size: 1.5rem; color: var(--primary-dark); margin-bottom: 12px; }
.product-info .category-badge {
    display: inline-block; background: var(--light-bg); color: var(--accent);
    font-size: .8rem; font-weight: 600; padding: 4px 12px;
    border-radius: 20px; margin-bottom: 16px;
}
.product-info p { color: var(--text-light); margin-bottom: 20px; }
.product-tabs { margin-top: 48px; }
.tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.tab-btn {
    display: flex; align-items: center; gap: 7px;
    padding: 11px 22px; background: none; border: none; cursor: pointer;
    font-weight: 600; font-size: .92rem; color: var(--text-light);
    border-bottom: 3px solid transparent; margin-bottom: -2px;
    transition: all var(--transition);
}
.tab-btn .fa { font-size: .8rem; }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Badge: spec sayısı */
.spec-tab-count {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--primary); color: #fff;
    font-size: .7rem; font-weight: 700;
    min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: 10px; line-height: 1;
}

/* ===========================
   SPEC CARDS (Teknik Özellikler)
   =========================== */
.spec-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}
.spec-card {
    display: flex; align-items: flex-start; gap: 14px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.spec-card:hover {
    box-shadow: 0 6px 20px rgba(10,92,153,.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}
.spec-card-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1rem;
}
.spec-card-body {
    display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
.spec-card-key {
    font-size: .74rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .8px; color: var(--text-light);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.spec-card-value {
    font-size: 1rem; font-weight: 700; color: var(--primary-dark);
    line-height: 1.2;
}

/* ===========================
   ABOUT
   =========================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-content h2 { font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 16px; }
.about-content p { color: var(--text-light); margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.stat { text-align: center; background: var(--light-bg); padding: 20px; border-radius: var(--radius); }
.stat-number {
    font-size: 2.4rem; font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: .85rem; color: var(--text-light); font-weight: 500; }

/* ===========================
   CONTACT
   =========================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form .form-group { margin-bottom: 18px; }
.contact-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; }
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
    border-radius: var(--radius); font-size: .95rem; font-family: inherit;
    transition: all var(--transition-smooth);
    background: rgba(255, 255, 255, 0.95);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 143, 227, 0.1), 0 4px 12px rgba(26, 143, 227, 0.15);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .form-group label { color: var(--text); }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-weight: 500; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.contact-info h3 { font-size: 1.3rem; color: var(--primary-dark); margin-bottom: 20px; font-weight: 700; }
.contact-info .contact-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; color: var(--text-light); transition: transform var(--transition); }
.contact-info .contact-list li:hover { transform: translateX(4px); }
.contact-info .contact-list i { color: var(--accent); margin-top: 4px; font-size: 1.1rem; }
.map-wrapper {
    margin-top: 24px; border-radius: var(--radius); overflow: hidden;
    border: 2px solid transparent;
    border-image: var(--gradient-accent) 1;
    box-shadow: 0 8px 24px rgba(26, 143, 227, 0.15);
}
.map-wrapper iframe { display: block; width: 100%; height: 220px; border: none; }

/* ===========================
   BLOG
   =========================== */
.blog-meta {
    display: flex; gap: 14px; font-size: .82rem; color: var(--text-light); margin-bottom: 12px; flex-wrap: wrap;
    position: relative;
}
.blog-meta i { color: var(--accent); }
.blog-detail-img {
    border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; max-height: 420px;
    position: relative;
    box-shadow: 0 12px 40px rgba(10, 92, 153, 0.15);
    border: 2px solid transparent;
    border-image: var(--gradient-accent) 1;
}
.blog-detail-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 143, 227, 0.1) 0%, rgba(26, 143, 227, 0) 100%);
}
.blog-detail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-detail-img:hover img { transform: scale(1.03); }
.blog-body {
    font-size: 1.05rem; line-height: 1.85; color: var(--text);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Inline style override — simgenet.net'ten gelen içerik inline font/color taşıyor */
.blog-body span, .blog-body p, .blog-body li, .blog-body strong, .blog-body em, .blog-body a {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: inherit !important;
    color: inherit !important;
}
.blog-body h2, .blog-body h3, .blog-body h4 {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    color: var(--primary-dark) !important;
    margin: 32px 0 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(10,92,153,.15);
    font-weight: 800;
    line-height: 1.35;
}
.blog-body h2 { font-size: 1.65rem !important; margin-top: 40px; }
.blog-body h3 { font-size: 1.35rem !important; border-bottom-width: 2px; margin-top: 32px; }
.blog-body h4 { font-size: 1.15rem !important; border-bottom: none; color: var(--accent) !important; margin-top: 24px; }
.blog-body h2 span, .blog-body h3 span, .blog-body h4 span {
    color: inherit !important;
    font-size: inherit !important;
}
.blog-body strong { font-weight: 700; color: var(--primary-dark) !important; }
.blog-body a {
    color: var(--accent) !important;
    transition: all var(--transition) !important;
    font-weight: 600;
}
.blog-body a:hover {
    color: var(--primary) !important;
    text-decoration: underline !important;
}
.blog-body p { margin-bottom: 16px; }
.blog-body ul, .blog-body ol { margin: 0 0 18px 28px; }
.blog-body ul { list-style: disc; }
.blog-body ol { list-style: decimal; }
.blog-body li { margin-bottom: 6px; padding-left: 4px; }
.blog-body li::marker { color: var(--primary); }
.blog-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; }
.blog-body table th { background: var(--primary); color: #fff; padding: 10px 14px; text-align: left; font-weight: 600; }
.blog-body table td { padding: 10px 14px; border-bottom: 1px solid #e5e7eb; }
.blog-body table tr:nth-child(even) td { background: #f8f9fa; }

/* ===========================
   PAGE HEADER
   =========================== */
.page-header {
    background: var(--gradient-dark);
    padding: 80px 0; color: var(--white); text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(26, 143, 227, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.page-header h1 {
    font-size: 2.6rem; margin-bottom: 12px; font-weight: 800;
    position: relative; z-index: 1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.breadcrumb {
    display: flex; justify-content: center; gap: 8px; font-size: .9rem; opacity: .9;
    position: relative; z-index: 1;
}
.breadcrumb a {
    opacity: .75;
    transition: opacity var(--transition);
}
.breadcrumb a:hover { opacity: 1; }

/* ===========================
   PAGE CONTENT (sayfa.php genel içerik stili)
   =========================== */
.page-content { font-size: 1rem; line-height: 1.85; color: #444; }
.page-content h2 { color: var(--primary-dark); font-size: 1.55rem; margin: 32px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.page-content h3 { color: var(--primary-dark); font-size: 1.2rem; margin: 24px 0 10px; }
.page-content h4 { color: var(--primary); font-size: 1.05rem; margin: 18px 0 8px; }
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin: 0 0 18px 24px; }
.page-content ul li, .page-content ol li { margin-bottom: 6px; line-height: 1.7; }
.page-content strong { color: #333; }
.page-content hr { border: none; border-top: 2px solid var(--accent); margin: 8px 0 24px; opacity: .5; }
.page-content table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: .92rem; }
.page-content table th { background: var(--primary-dark); color: var(--white); padding: 10px 14px; text-align: left; font-weight: 600; }
.page-content table td { padding: 9px 14px; border-bottom: 1px solid #e8e8e8; }
.page-content table tr:nth-child(even) td { background: #f8f9fb; }
.page-content table tr:hover td { background: #eef4fa; }

/* PDF Embed */
.pdf-embed-wrapper { margin: 24px 0; }
.pdf-embed-wrapper h4 { color: var(--primary-dark); font-size: 1.05rem; margin: 0 0 8px; }
.pdf-embed-wrapper iframe,
.pdf-embed-wrapper embed { width: 100%; height: 600px; border: 1px solid #dde3ea; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.pdf-embed-wrapper .pdf-download { display: inline-block; margin-top: 6px; font-size: .85rem; color: var(--primary); }
.pdf-embed-wrapper .pdf-download:hover { text-decoration: underline; }

/* ===========================
   FILTER BAR (eski — geriye dönük uyumluluk)
   =========================== */
.filter-bar { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.filter-btn {
    padding: 8px 18px; border-radius: 20px; border: 1px solid var(--border);
    background: var(--white); cursor: pointer; font-size: .88rem; transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ===========================
   PRODUCTS LAYOUT — Sol Sidebar + Sağ Grid
   =========================== */
.products-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}

/* Sidebar */
.category-sidebar { position: sticky; top: 88px; }
.sidebar-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.sidebar-title {
    font-size: .8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--text-light);
    padding: 12px 16px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 8px; margin: 0;
}
.sidebar-title .fa { color: var(--accent); }

/* Kategori ağacı */
.filter-tree { list-style: none; padding: 8px 0; margin: 0; }
.filter-tree-item { }
.filter-tree-item > a {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 16px; font-size: .88rem; color: var(--text);
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
}
.filter-tree-item > a:hover { background: var(--light-bg); color: var(--primary); }
.filter-tree-item.active > a {
    background: var(--primary); color: var(--white); font-weight: 600;
}
.filter-tree-item.active > a .cat-indent-icon { color: var(--white); }
.filter-tree-item.has-active > a { color: var(--primary); font-weight: 600; }
.cat-indent-icon { font-size: .7rem; color: var(--accent); flex-shrink: 0; }

/* Alt kategori listesi (girintili) */
.filter-subtree { list-style: none; padding: 0; margin: 0; display: none; }
.filter-subtree.open { display: block; }
.filter-subtree .filter-tree-item > a {
    padding-left: 32px; font-size: .84rem; color: var(--text-light);
    border-left: 2px solid var(--border); margin-left: 16px;
}
.filter-subtree .filter-tree-item.active > a {
    background: #e8f4ff; color: var(--primary); border-left-color: var(--primary);
}
/* 3. seviye */
.filter-subtree .filter-subtree .filter-tree-item > a {
    padding-left: 48px; margin-left: 16px;
}

/* Sidebar arama */
.sidebar-search-input {
    flex: 1; padding: 8px 10px;
    border: 1px solid var(--border); border-radius: 6px; font-size: .85rem;
}
.sidebar-search-input:focus { border-color: var(--accent); outline: none; }
.sidebar-search-btn { padding: 8px 12px; }

/* Teknik Özellik Filtresi */
.spec-filter-group { border-bottom: 1px solid var(--border); }
.spec-filter-group:last-child { border-bottom: none; }
.spec-filter-toggle {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 16px; cursor: pointer; font-size: .85rem; font-weight: 600;
    color: var(--text); transition: background var(--transition); user-select: none;
}
.spec-filter-toggle:hover { background: var(--light-bg); }
.spec-filter-toggle .fa-chevron-down {
    font-size: .7rem; color: var(--text-light);
    transition: transform var(--transition);
}
.spec-filter-group.open .spec-filter-toggle .fa-chevron-down { transform: rotate(180deg); }
.spec-filter-options { display: none; padding: 4px 0 8px; }
.spec-filter-group.open .spec-filter-options { display: block; }
.spec-filter-option {
    display: flex; align-items: center; gap: 6px;
    padding: 5px 16px; font-size: .84rem; color: var(--text);
    cursor: pointer; transition: background var(--transition);
}
.spec-filter-option:hover { background: var(--light-bg); }
.spec-filter-option input[type="checkbox"] { accent-color: var(--accent); cursor: pointer; flex-shrink: 0; }
.spec-filter-label { flex: 1; }
.spec-filter-count { font-size: .76rem; color: var(--text-light); white-space: nowrap; }
.spec-filter-clear { padding: 8px 16px; }
.spec-filter-clear a {
    font-size: .8rem; color: var(--accent); display: inline-flex;
    align-items: center; gap: 5px; text-decoration: none;
}
.spec-filter-clear a:hover { text-decoration: underline; }
.spec-filter-clear-link {
    font-size: .8rem; color: var(--accent); display: inline-flex;
    align-items: center; gap: 5px; text-decoration: none;
}
.spec-filter-clear-link:hover { text-decoration: underline; }
.spec-filter-actions {
    display: flex; align-items: center; gap: 10px; padding: 10px 16px;
}
.spec-filter-actions .btn-filter-submit { flex: 1; justify-content: center; }

/* Üst Detaylı Arama Paneli */
.spec-filter-top-panel {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 20px; overflow: hidden;
}
.spec-filter-top-header {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--light-bg);
}
.spec-filter-top-header h3 {
    font-size: .92rem; font-weight: 700; color: var(--primary-dark); margin: 0; flex: 1;
}
.spec-filter-top-header h3 i { color: var(--accent); margin-right: 6px; }
.spec-filter-top-header .btn-sm { padding: 5px 14px; font-size: .82rem; }
.spec-filter-top .spec-filter-groups-horizontal {
    display: flex; flex-wrap: wrap; gap: 0;
}
.spec-filter-top .spec-filter-groups-horizontal .spec-filter-group {
    flex: 0 0 auto; min-width: 180px; border-bottom: none; border-right: 1px solid var(--border);
}
.spec-filter-top .spec-filter-groups-horizontal .spec-filter-group:last-child { border-right: none; }
.spec-filter-top .spec-filter-form .spec-filter-actions { display: none; }

/* Kategori Hızlı Seçim Chip Butonları */
.spec-filter-cat-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 12px 16px; border-bottom: 1px solid var(--border);
}
.spec-cat-chip {
    display: inline-block; padding: 6px 16px;
    border: 2px solid var(--primary); border-radius: 20px;
    font-size: .82rem; font-weight: 600; color: var(--primary);
    background: #fff; cursor: pointer; transition: all .2s;
    text-decoration: none;
}
.spec-cat-chip:hover { background: var(--primary); color: #fff; }
.spec-cat-chip.active {
    background: var(--primary); color: #fff;
    box-shadow: 0 2px 8px rgba(10,92,153,.25);
}
.spec-filter-hint {
    padding: 16px; color: var(--text-light); font-size: .85rem;
    text-align: center;
}
.spec-filter-hint i { margin-right: 6px; color: var(--accent); }

/* Sidebar filter form actions */
.spec-filter-sidebar .spec-filter-actions {
    padding: 10px 16px;
}

/* Ürünler başlığı */
.products-header { margin-bottom: 20px; }
.products-section-title { font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.products-count { font-size: .85rem; color: var(--text-light); margin: 0; }
.products-empty {
    text-align: center; padding: 60px 20px; color: var(--text-light);
}
.products-empty .fa { font-size: 3rem; display: block; margin-bottom: 16px; }
.products-empty p { margin-bottom: 16px; }

/* ===========================
   PAGINATION
   =========================== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius); border: 1px solid var(--border); font-weight: 500;
    transition: all var(--transition);
}
.pagination a:hover, .pagination .current { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: var(--gradient-dark);
    color: rgba(255,255,255,.85); padding: 70px 0 0; margin-top: 0;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(26, 143, 227, 0.5) 50%, transparent 100%);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px;
    position: relative; z-index: 1;
}
.footer-col .logo-text { color: var(--white); font-size: 1.2rem; font-weight: 800; }
.footer-col img { filter: brightness(0) invert(1); height: 40px; }
.footer-desc { font-size: .88rem; margin-top: 14px; opacity: .8; line-height: 1.7; }
.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--white); text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    font-size: .88rem; opacity: .75;
    transition: all var(--transition);
    position: relative;
}
.footer-col ul a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-bright);
    transition: width var(--transition);
}
.footer-col ul a:hover { opacity: 1; }
.footer-col ul a:hover::after { width: 100%; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: .88rem; }
.contact-list i { opacity: .75; margin-top: 4px; }
.contact-list a { opacity: .75; transition: opacity var(--transition); }
.contact-list a:hover { opacity: 1; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(26, 143, 227, 0.2);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition-smooth);
    font-size: 1rem;
    color: var(--white);
}
.social-links a:hover {
    background: var(--accent);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 143, 227, 0.4);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0; text-align: center; font-size: .85rem; opacity: .6;
}

/* ===========================
   ADMIN
   =========================== */
.admin-body { background: #f0f2f5; min-height: 100vh; }
.admin-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; width: 240px;
    background: var(--primary-dark); color: var(--white); overflow-y: auto; z-index: 100;
}
.admin-sidebar .sidebar-logo { padding: 20px; font-size: 1.1rem; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-sidebar ul { padding: 10px 0; }
.admin-sidebar li a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 20px; color: rgba(255,255,255,.8); font-size: .92rem;
    transition: background var(--transition), color var(--transition);
}
.admin-sidebar li a:hover, .admin-sidebar li a.active { background: rgba(255,255,255,.1); color: var(--white); }
.admin-sidebar li a i { width: 18px; text-align: center; }
.admin-main { margin-left: 240px; padding: 30px; }
.admin-topbar {
    background: var(--white); padding: 14px 24px; border-radius: var(--radius);
    box-shadow: var(--shadow); margin-bottom: 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.admin-topbar h1 { font-size: 1.3rem; color: var(--primary-dark); }
.admin-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 24px; }
.admin-card h2 { font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.stat-card {
    background: var(--white); padding: 24px 28px; border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(26, 143, 227, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all var(--transition);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-colored);
    border-left-color: var(--accent-bright);
}
.stat-card:hover::before {
    top: -25%;
    right: -25%;
}
.stat-card .number {
    font-size: 2.2rem; font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-card .label { font-size: .85rem; color: var(--text-light); font-weight: 500; }

/* Admin Table */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: var(--light-bg); padding: 12px 14px; text-align: left; font-weight: 600; font-size: .85rem; color: var(--text-light); text-transform: uppercase; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: .92rem; vertical-align: middle; }
.admin-table tr:hover td { background: var(--light-bg); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: .78rem; font-weight: 600; }
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-danger  { background: #f8d7da; color: #721c24; }

/* Admin Form */
.admin-form .form-group { margin-bottom: 18px; }
.admin-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; color: var(--text); }
.admin-form input[type=text],
.admin-form input[type=email],
.admin-form input[type=password],
.admin-form input[type=number],
.admin-form select,
.admin-form textarea {
    width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
    border-radius: var(--radius); font-size: .92rem; font-family: inherit;
    transition: all var(--transition-smooth);
    background: #fafbfc;
}
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 143, 227, 0.1);
}
.admin-form textarea { min-height: 160px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.btn-sm {
    padding: 6px 14px; font-size: .82rem;
    transition: all var(--transition-smooth);
}
.btn-danger {
    background: #dc3545; color: var(--white); border-color: #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
    transition: all var(--transition-smooth);
}
.btn-danger:hover {
    background: #c82333;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    transform: translateY(-2px);
}
.btn-success {
    background: #28a745; color: var(--white); border-color: #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
    transition: all var(--transition-smooth);
}
.btn-success:hover {
    background: #218838;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    transform: translateY(-2px);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .products-layout { grid-template-columns: 210px 1fr; gap: 18px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    /* --- Mobile Nav --- */
    .main-nav {
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        background: var(--white); box-shadow: 0 10px 25px rgba(0,0,0,.12);
        z-index: 999; max-height: calc(100vh - 70px); overflow-y: auto;
    }
    .main-nav.open { display: block; }
    .main-nav > ul { flex-direction: column; gap: 0; padding: 8px 0 16px; }
    .main-nav li { position: static; width: 100%; }

    .main-nav .nav-link {
        border-radius: 0; padding: 13px 20px;
        justify-content: space-between;
        border-bottom: 1px solid var(--border);
    }
    .main-nav .nav-link .fa:not(.nav-arrow) { display: none; }

    /* Mobile dropdown — accordion */
    .has-dropdown > .dropdown-menu,
    .mega-menu {
        position: static !important; opacity: 1; visibility: visible;
        transform: none; box-shadow: none; border: none; border-top: none;
        background: var(--light-bg); display: none; padding: 0;
        top: auto; left: auto; right: auto; width: 100%;
    }
    .has-dropdown.open > .dropdown-menu,
    .has-mega.open > .mega-menu { display: block; }
    .has-dropdown > .dropdown-menu a {
        padding: 11px 20px 11px 36px; border-bottom: 1px solid rgba(0,0,0,.05); font-size: .88rem;
    }
    .has-dropdown > .dropdown-menu a:hover { padding-left: 40px; }

    /* Mobile mega menu — sütunlar dikey dizilir */
    .mega-inner { grid-template-columns: 1fr; padding: 0; }
    .mega-categories { padding: 0; border-right: none; }
    .mega-columns {
        display: flex !important; flex-direction: column !important;
        gap: 0; margin-bottom: 0;
    }
    .mega-column {
        border-right: none; border-bottom: 1px solid var(--border);
        padding: 0 !important; margin: 0; min-width: 0;
    }
    .mega-column:last-child { border-bottom: none; }
    .mega-col-header {
        padding: 11px 20px; margin: 0; border-bottom: none;
        border-bottom: 1px solid rgba(0,0,0,.06);
        background: rgba(10,92,153,.05);
    }
    /* Mobilde alt kategori listeleri — accordion (tıkla → aç/kapat) */
    .mega-menu .mega-col-list {
        max-height: 0; overflow: hidden; opacity: 0;
        transition: max-height .3s ease, opacity .2s ease;
    }
    .mega-column.mc-open .mega-col-list {
        max-height: 2000px !important; overflow: visible !important;
        opacity: 1 !important;
    }
    .mega-menu .mega-col-sublist {
        max-height: none; overflow: visible;
        opacity: 1; display: block;
    }
    /* Mobilde mega-col-header üzerinde tıklanabilir ok göster */
    .mega-col-header::after {
        content: '›' !important; font-size: 1rem; transition: transform .2s;
    }
    .mega-column.mc-open .mega-col-header::after {
        transform: rotate(90deg) !important;
    }
    .mega-col-list > li > a {
        padding: 9px 20px 9px 36px; border-radius: 0;
        border-bottom: 1px solid rgba(0,0,0,.04);
    }
    .mega-col-sublist > li > a {
        padding: 8px 20px 8px 52px; border-radius: 0;
        border-bottom: 1px solid rgba(0,0,0,.03);
    }
    .mega-all-link { margin: 10px 20px; display: inline-flex; }
    .mega-cta { display: none; }

    .products-layout { grid-template-columns: 1fr; }
    .category-sidebar { position: static; }
    .filter-subtree { display: block; } /* Always show on mobile */
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid, .product-detail-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 1.9rem; }
    .hero { min-height: 520px; }
    .hero-slides { min-height: 520px; }
    .hero-slide { min-height: 520px; }
    .hero-content { padding: 26px 28px 28px; margin: 0 16px 40px; }
    .admin-sidebar { transform: translateX(-100%); transition: transform var(--transition); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; padding: 20px 15px; }
}

@media (max-width: 480px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat-cards { grid-template-columns: 1fr 1fr; }
    .section { padding: 45px 0; }
    .hero { min-height: 420px; }
    .hero-slides { min-height: 420px; }
    .hero-slide { min-height: 420px; }
    .hero-content { padding: 20px 20px 22px; margin: 0 12px 32px; }
    .hero-content h1 { font-size: 1.45rem; }
}

/* ═══════════════════════════════════════════════════════
   HOMEPAGE — Dinamik Bölümler
═══════════════════════════════════════════════════════ */

/* Stats Strip */
.stats-strip { background: var(--primary-dark); padding: 30px 0; }
.stats-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.strip-stat {
    text-align: center;
    color: #fff;
    padding: 10px 20px;
    border-right: 1px solid rgba(255,255,255,.12);
}
.strip-stat:last-child { border-right: none; }
.strip-num  { font-size: 2.4rem; font-weight: 800; color: #5cc8ff; line-height: 1; display: inline; }
.strip-plus { font-size: 2rem;   font-weight: 800; color: #5cc8ff; }
.strip-stat-label { font-size: .76rem; opacity: .72; margin-top: 6px; text-transform: uppercase; letter-spacing: .5px; }

/* Category Cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 36px 20px 28px; background: #fff;
    border-radius: var(--radius); border: 1.5px solid var(--border);
    text-decoration: none; color: var(--text); position: relative; overflow: hidden;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow);
}
.cat-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0); transition: transform .3s ease;
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.cat-icon {
    width: 72px; height: 72px;
    background: var(--gradient-accent);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    transition: all var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(26, 143, 227, 0.3);
}
.cat-card:hover .cat-icon {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(26, 143, 227, 0.4);
}
.cat-icon i { font-size: 1.8rem; color: #fff; }
.cat-name { font-weight: 700; font-size: 1rem; color: var(--primary-dark); line-height: 1.35; }
.cat-arrow {
    font-size: 1rem; color: var(--accent); margin-top: 14px;
    opacity: 0; transform: translateY(4px); transition: all var(--transition);
    font-weight: 600;
}
.cat-card:hover .cat-arrow { opacity: 1; transform: translateY(0); }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-box {
    padding: 32px 28px; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.feature-box::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(26, 143, 227, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transition: all var(--transition);
}
.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.feature-box:hover::before {
    bottom: -25px;
    right: -25px;
}
.feature-icon {
    width: 56px; height: 56px;
    background: var(--gradient-accent);
    border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(26, 143, 227, 0.25);
}
.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(26, 143, 227, 0.35);
}
.feature-icon i { font-size: 1.5rem; color: #fff; }
.feature-title { font-weight: 700; font-size: 1.05rem; color: var(--primary-dark); margin-bottom: 10px; transition: color var(--transition); }
.feature-box:hover .feature-title { color: var(--accent); }
.feature-desc { font-size: .88rem; color: var(--text-light); line-height: 1.7; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%); padding: 72px 0; text-align: center; color: #fff; }
.cta-banner h2 { font-size: 2rem; margin-bottom: 12px; font-weight: 800; }
.cta-banner p { opacity: .85; margin-bottom: 36px; font-size: 1.05rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.btn-white { background: #fff; color: var(--primary-dark); border: 2px solid #fff; font-weight: 700; transition: background var(--transition), color var(--transition); }
.btn-white:hover { background: transparent; color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); font-weight: 600; transition: background var(--transition), border-color var(--transition); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Blog date badge */
.card-img { position: relative; }
.blog-date-badge {
    position: absolute; bottom: 10px; left: 10px;
    background: var(--primary-dark); color: #fff;
    font-size: .71rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; z-index: 1;
}

/* Responsive — homepage additions */
@media (max-width: 900px) {
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .strip-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); padding: 14px 20px; }
    .strip-stat:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 600px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .cta-banner h2 { font-size: 1.5rem; }
    .strip-num { font-size: 2rem; }
    .strip-plus { font-size: 1.6rem; }
}

/* ── Product Documents Tab ──────────────────────────────────────────────── */
.doc-list { display: flex; flex-direction: column; gap: 8px; }
.prod-doc-row {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px; border-radius: 10px;
    border: 1px solid var(--border, #e5e9f0);
    background: #fff; text-decoration: none; color: #222;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.prod-doc-row:hover {
    border-color: var(--accent, #1a8fe3);
    background: #f0f7ff;
    box-shadow: 0 3px 12px rgba(10,92,153,.08);
}
.prod-doc-icon { font-size: 2rem; width: 38px; text-align: center; flex-shrink: 0; }
.prod-doc-icon .fa-file-pdf    { color: #e74c3c; }
.prod-doc-icon .fa-file-word   { color: #2b5797; }
.prod-doc-icon .fa-file-excel  { color: #1e7145; }
.prod-doc-icon .fa-file-archive{ color: #e67e22; }
.prod-doc-icon .fa-file-image  { color: #9b59b6; }
.prod-doc-icon .fa-file-alt    { color: #7f8c8d; }
.prod-doc-info { flex: 1; min-width: 0; }
.prod-doc-name {
    display: block; font-weight: 600; font-size: .9rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prod-doc-meta { display: block; font-size: .75rem; color: #888; margin-top: 3px; }
.prod-doc-type {
    display: inline-block; background: #e8f4ff; color: #0a5c99;
    padding: 1px 8px; border-radius: 20px; font-size: .7rem; font-weight: 600; margin-right: 4px;
}
.prod-doc-dl {
    flex-shrink: 0; font-size: .78rem; font-weight: 600;
    color: var(--accent, #1a8fe3);
    display: flex; align-items: center; gap: 5px;
    padding: 6px 14px; border: 1px solid var(--accent, #1a8fe3);
    border-radius: 20px; transition: .2s;
}
.prod-doc-row:hover .prod-doc-dl {
    background: var(--accent, #1a8fe3); color: #fff;
}
