/* ===== Yıldız Barkod ortak stil (menü, mobil uyum, alt bilgi) ===== */
.site-header .nav-menu { display: flex; align-items: center; justify-content: flex-end; flex: 1; gap: 4px; flex-wrap: wrap; }
.site-header .nav-toggle { display: none; }
.site-header .brand a { margin-left: 0; }
img { max-width: 100%; height: auto; }
#slider img, .detail-gallery-container img { height: 100%; }

/* --- Alt bilgi --- */
.site-footer { background: #1c2b36; color: #e2e8f0; padding: 40px 0 0; margin-top: 0; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.6; }
.site-footer .sf-container { width: 90%; max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 16px; }
.site-footer p { margin: 0 0 8px; color: #cbd5e1; }
.site-footer a { color: #29B9E5; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .sf-bottom { text-align: center; padding: 16px; margin-top: 25px; border-top: 1px solid rgba(255,255,255,.1); color: #94a3b8; font-size: 13px; }

/* --- Tablet / telefon --- */
@media (max-width: 900px) {
    body { padding-top: 0 !important; }
    header.site-header { position: sticky !important; top: 0; padding: 10px 16px !important; }
    header.site-header .logo, header.site-header.shrink .logo, header.site-header.scrolled .logo { height: 54px !important; }
    .site-header .nav { flex-wrap: wrap; }
    .site-header .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; cursor: pointer; padding: 0 10px; }
    .site-header .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }
    .site-header .nav-menu { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-top: 10px; max-height: calc(100vh - 90px); overflow-y: auto; }
    .site-header.menu-open .nav-menu { display: flex; }
    .site-header .dropdown { display: block; width: 100%; border-top: 1px solid rgba(255,255,255,.12); }
    .site-header .dropbtn { display: block; margin: 0 !important; padding: 12px 6px !important; color: #fff !important; }
    .site-header .dropbtn::after { display: none; }
    .site-header .dropdown-content { position: static !important; box-shadow: none !important; min-width: 0 !important; max-height: 0; }
    .site-header .dropdown:hover .dropdown-content { max-height: 0; }
    .site-header .dropdown.open .dropdown-content { max-height: 800px !important; }
    .site-header .dropdown-content li a { margin: 0 !important; padding: 10px 18px !important; }

    .hero-grid, .grid3, .grid4, .footer-grid, .fb-grid, .contact-grid, .product-detail-wrapper { grid-template-columns: 1fr !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .fb-contact-actions { justify-content: flex-start !important; }
    .site-footer .sf-container { grid-template-columns: 1fr; }
    table { display: block; overflow-x: auto; }
}
@media (max-width: 600px) {
    .hero h1 { font-size: 28px !important; }
    #slider { height: 240px !important; }
    .stats-grid h2 { font-size: 30px !important; }
}
header.site-header { box-sizing: border-box; max-width: 100%; }

/* =====================================================================
   YENİ ÜST MENÜ (mega menü) — tüm sayfalarda ortak
   ===================================================================== */
#main-header.yb-header { background: linear-gradient(180deg, #1c2b36 0%, #182530 100%) !important; box-shadow: 0 4px 24px rgba(0,0,0,.18); font-family: 'Segoe UI', Arial, Helvetica, sans-serif; }
#main-header .yb-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
#main-header .brand a { display: inline-block; margin: 0 !important; padding: 0 !important; background: none !important; }
#main-header .brand a::after { display: none !important; }
#main-header .logo { border-radius: 6px; transition: height .25s ease; }
#main-header .yb-toggle { display: none; }

#main-header .yb-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: flex-end; }
#main-header .yb-dd { position: relative; }
#main-header .yb-link { display: inline-flex; align-items: center; gap: 7px; margin: 0 !important; padding: 12px 15px !important; border-radius: 10px; color: #e8eef3 !important; font-size: 15.5px !important; font-weight: 600 !important; letter-spacing: .2px; text-decoration: none !important; background: transparent !important; position: relative; transition: background .2s, color .2s; }
#main-header .yb-link::after { content: ''; position: absolute; left: 15px; right: 15px; bottom: 6px; height: 2px; border-radius: 2px; background: #29B9E5; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
#main-header .yb-link:hover, #main-header .yb-dd.open > .yb-link, #main-header .yb-has:hover > .yb-link { color: #fff !important; background: rgba(255,255,255,.07) !important; }
#main-header .yb-link:hover::after, #main-header .yb-link.is-active::after, #main-header .yb-has:hover > .yb-link::after { transform: scaleX(1); }
#main-header .yb-link.is-active { color: #fff !important; }
#main-header .yb-chev { font-size: 11px; opacity: .75; transition: transform .25s ease; }
#main-header .yb-has:hover .yb-chev, #main-header .yb-dd.open .yb-chev { transform: rotate(180deg); }

#main-header .yb-panel { position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px); background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(15,23,42,.28), 0 0 0 1px rgba(15,23,42,.05); padding: 14px; opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 3000; text-align: left; }
#main-header .yb-panel::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
#main-header .yb-panel::after { content: ''; position: absolute; top: -6px; left: 50%; width: 14px; height: 14px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
#main-header .yb-has:hover > .yb-panel, #main-header .yb-dd.open > .yb-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
#main-header .yb-panel-urun { width: 620px; }
#main-header .yb-panel-cozum { width: 760px; left: 0; transform: translate(-30%, 8px); }
#main-header .yb-has:hover > .yb-panel-cozum, #main-header .yb-dd.open > .yb-panel-cozum { transform: translate(-30%, 0); }
#main-header .yb-panel-cozum::after { left: 30%; }
#main-header .yb-panel-sm { width: 300px; }
#main-header .yb-grid { display: grid; grid-template-columns: 1fr; gap: 4px; }
#main-header .yb-grid-2 { grid-template-columns: 1fr 1fr; }
#main-header .yb-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
#main-header .yb-item { display: flex; align-items: center; gap: 12px; margin: 0 !important; padding: 11px 12px !important; border-radius: 12px; color: #1c2b36 !important; text-decoration: none !important; background: transparent !important; transition: background .15s, transform .15s; font-size: 14px !important; }
#main-header .yb-item::after { display: none !important; }
#main-header .yb-item:hover { background: #f0f9fd !important; transform: translateX(2px); }
#main-header .yb-ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: #e6f6fc; color: #0ea5d8; display: flex; align-items: center; justify-content: center; font-size: 17px; transition: background .15s, color .15s; }
#main-header .yb-item:hover .yb-ic { background: #29B9E5; color: #fff; }
#main-header .yb-item-sm .yb-ic { flex-basis: 34px; width: 34px; height: 34px; font-size: 15px; }
#main-header .yb-tx { display: flex; flex-direction: column; line-height: 1.3; }
#main-header .yb-tx b { font-size: 14.5px; font-weight: 700; color: #1c2b36; }
#main-header .yb-tx small { font-size: 12.5px; color: #64748b; margin-top: 2px; font-weight: 400; }
#main-header .yb-item-sm .yb-tx b { font-size: 13.5px; font-weight: 600; }
#main-header .yb-panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 4px 2px; padding: 12px 14px; border-radius: 12px; background: #f8fafc; font-size: 13px; color: #475569; }
#main-header .yb-panel-foot i { color: #29B9E5; margin-right: 4px; }
#main-header .yb-panel-foot a { margin: 0 !important; padding: 0 !important; color: #0369a1 !important; font-weight: 700; text-decoration: none !important; white-space: nowrap; font-size: 13px !important; background: none !important; }
#main-header .yb-panel-foot a::after { display: none !important; }
#main-header .yb-panel-foot a i { color: #0369a1; margin: 0 0 0 4px; transition: transform .15s; }
#main-header .yb-panel-foot a:hover i { transform: translateX(3px); }

#main-header .yb-phone { margin: 0 4px 0 10px !important; padding: 8px 10px !important; color: #cfe3ee !important; font-size: 14px !important; font-weight: 600; text-decoration: none !important; white-space: nowrap; background: none !important; }
#main-header .yb-phone i { color: #29B9E5; margin-right: 4px; }
#main-header .yb-phone:hover { color: #fff !important; }
#main-header .yb-phone::after, #main-header .yb-cta::after { display: none !important; }
#main-header .yb-cta { margin: 0 0 0 6px !important; padding: 11px 20px !important; border-radius: 999px; background: linear-gradient(135deg, #29B9E5, #0ea5d8) !important; color: #fff !important; font-weight: 700; font-size: 15px !important; text-decoration: none !important; white-space: nowrap; box-shadow: 0 6px 18px rgba(41,185,229,.35); transition: transform .15s, box-shadow .15s; }
#main-header .yb-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(41,185,229,.45); }
#main-header .yb-cta i { margin-right: 6px; }

@media (max-width: 1250px) { #main-header .yb-phone { display: none; } }
@media (max-width: 1080px) and (min-width: 901px) {
    #main-header .yb-link { padding: 10px 10px !important; font-size: 14.5px !important; }
    #main-header .yb-cta { padding: 10px 14px !important; }
    #main-header .yb-panel-cozum { width: 640px; }
    #main-header .yb-grid-3 { grid-template-columns: 1fr 1fr; }
}

/* --- Mobil menü --- */
@media (max-width: 900px) {
    #main-header .yb-bar { flex-wrap: wrap; gap: 0; }
    #main-header .yb-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; margin-left: auto; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.25); border-radius: 12px; cursor: pointer; padding: 0 11px; }
    #main-header .yb-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
    #main-header.menu-open .yb-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    #main-header.menu-open .yb-toggle span:nth-child(2) { opacity: 0; }
    #main-header.menu-open .yb-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    #main-header .yb-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 2px; margin-top: 12px; padding: 8px; border-radius: 14px; background: rgba(255,255,255,.04); max-height: calc(100vh - 110px); overflow-y: auto; }
    #main-header.menu-open .yb-nav { display: flex; }
    #main-header .yb-link { display: flex; justify-content: space-between; width: 100%; padding: 14px 12px !important; font-size: 16px !important; }
    #main-header .yb-link::after { display: none; }
    #main-header .yb-panel, #main-header .yb-panel-cozum { position: static; width: auto; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; display: none; margin: 4px 0 8px; padding: 8px; border-radius: 12px; }
    #main-header .yb-panel::after, #main-header .yb-panel::before { display: none; }
    #main-header .yb-has:hover > .yb-panel { display: none; }
    #main-header .yb-dd.open > .yb-panel { display: block; }
    #main-header .yb-grid-2, #main-header .yb-grid-3 { grid-template-columns: 1fr; }
    #main-header .yb-panel-foot { flex-direction: column; align-items: flex-start; }
    #main-header .yb-phone { display: block; margin: 6px 0 0 !important; padding: 12px !important; text-align: center; }
    #main-header .yb-cta { display: block; margin: 6px 0 4px !important; text-align: center; padding: 14px !important; }
}

/* Kompakt üst bölüm */
#main-header.yb-header { padding: 10px 0 !important; height: auto !important; min-height: 0 !important; }
#main-header .logo { height: 64px !important; width: auto !important; }
#main-header.scrolled .logo, #main-header.shrink .logo { height: 52px !important; }
@media (max-width: 900px) { #main-header .logo { height: 50px !important; } #main-header.yb-header { padding: 8px 14px !important; } }
#main-header .logo { margin: 0 !important; display: block; }
#main-header .yb-bar { padding-top: 0 !important; padding-bottom: 0 !important; }
