/*
Theme Name: F5 Teknik Light
Theme URI: https://f5teknik.com
Author: F5 Teknik
Description: F5 Teknik ultra hızlı, mobil uyumlu %100 PageSpeed özel teması.
Version: 8.0.0
Text Domain: f5teknik-light
*/

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

html{scroll-behavior:smooth}

body{
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
  background:#f9fafb !important;
  color:#1e293b !important;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  padding-bottom: 0;
}

img{max-width:100%;height:auto;display:block}
a{color:#3772b7;text-decoration:none;transition:color .2s}
a:hover{color:#1e4b82}

h1,h2,h3,h4,h5,h6{
  font-family:'Outfit','Inter',system-ui,sans-serif !important;
  color:#0f172a !important;
  font-weight:700;
  line-height:1.25;
}

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

/* ========== TOP BAR (DESKTOP ONLY) ========== */
.f5-topbar{
  background:#ffffff !important;
  border-bottom:1px solid #e5e7eb;
  padding:8px 0;
  font-size:13px;
  color:#475569 !important;
}
.f5-topbar .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.f5-topbar-left{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.f5-topbar-left span{display:inline-flex;align-items:center;gap:6px}
.f5-topbar-left i{color:#ed770b}
.f5-topbar-left a{color:#0f172a !important;font-weight:600}

/* ========== HEADER ========== */
.f5-header{
  background:#ffffff !important;
  border-bottom:2px solid #3772b7;
  padding:10px 0;
  position:sticky;
  top:0;
  z-index:999;
  box-shadow:0 1px 6px rgba(0,0,0,.04);
}
.f5-header .container{display:flex;justify-content:space-between;align-items:center;gap:16px}

.f5-logo img{
  height:54px !important;
  max-height:54px !important;
  width:auto !important;
  max-width:260px !important;
  display:block !important;
  object-fit:contain !important;
}

/* NAV DESKTOP */
.f5-nav ul{display:flex;align-items:center;list-style:none;gap:4px;margin:0;padding:0}
.f5-nav ul li{position:relative}
.f5-nav ul li>a{
  display:block;
  padding:8px 14px;
  font-size:15px;
  font-weight:600;
  color:#0f172a !important;
  border-radius:8px;
  transition:background .2s,color .2s;
}
.f5-nav ul li>a:hover{background:#f0f6ff;color:#3772b7 !important}

/* DROPDOWN */
.f5-nav ul li ul.sub-menu{
  display:none;
  position:absolute;
  top:calc(100% + 4px);
  left:0;
  background:#ffffff !important;
  border:1px solid #e5e7eb;
  border-radius:12px;
  box-shadow:0 12px 32px rgba(0,0,0,.08);
  min-width:220px;
  padding:8px;
  flex-direction:column;
  z-index:9999;
}
.f5-nav ul li:hover>ul.sub-menu{display:flex}
.f5-nav ul li ul.sub-menu li>a{
  padding:8px 12px;
  font-size:14px;
  font-weight:500;
  color:#334155 !important;
  border-radius:8px;
}
.f5-nav ul li ul.sub-menu li>a:hover{background:#f0f6ff;color:#3772b7 !important}

/* HEADER BUTTONS */
.f5-header-btns{display:flex;align-items:center;gap:10px;flex-shrink:0}
.f5-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:10px 18px;
  border-radius:10px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  border:none;
  transition:all .2s;
  text-decoration:none !important;
  white-space:nowrap;
}
.f5-btn-outline{background:#fff !important;color:#0f172a !important;border:1px solid #d1d5db !important}
.f5-btn-outline:hover{border-color:#3772b7 !important;color:#3772b7 !important}
.f5-btn-green{background:#16a34a !important;color:#fff !important}
.f5-btn-green:hover{background:#15803d !important}
.f5-btn-blue{background:#3772b7 !important;color:#fff !important}
.f5-btn-blue:hover{background:#1e4b82 !important}

/* MOBILE TOGGLE BUTTON */
.f5-menu-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 20px;
  color: #0f172a;
  cursor: pointer;
}

/* MOBILE OFF-CANVAS DRAWER */
.f5-mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.f5-mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 290px;
  height: 100%;
  background: #ffffff;
  z-index: 99999;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}
.f5-mobile-drawer.open {
  right: 0;
}
.f5-mobile-drawer-overlay.open {
  display: block;
  opacity: 1;
}
.f5-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 12px;
}
.f5-drawer-close {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  color: #0f172a;
  cursor: pointer;
}
.f5-mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.f5-mobile-menu li {
  margin-bottom: 8px;
}
.f5-mobile-menu li a {
  display: block;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a !important;
  border-radius: 8px;
}
.f5-mobile-menu li a:hover {
  background: #f0f6ff;
  color: #3772b7 !important;
}

/* STICKY BOTTOM CONTACT BAR FOR MOBILE */
.f5-mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  padding: 8px 12px;
  z-index: 99997;
}
.f5-mobile-sticky-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 8px;
}
.f5-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  text-align: center;
}
.f5-sticky-call {
  background: #3772b7 !important;
  color: #ffffff !important;
}
.f5-sticky-wa {
  background: #16a34a !important;
  color: #ffffff !important;
}
.f5-sticky-mail {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #e5e7eb;
}

/* ========== HERO SLIDER ========== */
.f5-hero{
  background:#ffffff !important;
  padding:20px 0 0;
}
.f5-slider{
  position:relative;
  width:100%;
  height:400px;
  overflow:hidden;
  border-radius:16px;
  border:1px solid #e5e7eb;
  background:#f9fafb !important;
}
.f5-slide{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  opacity:0 !important;
  pointer-events:none;
  transition:opacity .6s ease;
  display:flex !important;
  align-items:center !important;
  background-size:cover !important;
  background-position:center !important;
}
.f5-slide.active{
  opacity:1 !important;
  pointer-events:auto;
}
.f5-slide-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.88) 45%,rgba(255,255,255,.25) 100%) !important;
}
.f5-slide-body{
  position:relative;
  z-index:5;
  max-width:560px;
  padding:32px 40px;
}
.f5-slide-badge{
  display:inline-block;
  padding:4px 14px;
  background:#f0f6ff !important;
  color:#3772b7 !important;
  border-radius:20px;
  font-size:12px;
  font-weight:700;
  margin-bottom:12px;
  border:1px solid rgba(55,114,183,.15);
}
.f5-slide-title{
  font-size:32px !important;
  font-weight:800 !important;
  color:#0f172a !important;
  margin-bottom:10px;
  line-height:1.25;
}
.f5-slide-desc{
  font-size:15px;
  color:#475569 !important;
  margin-bottom:22px;
  line-height:1.6;
}
.f5-slide-btns{display:flex;gap:10px;flex-wrap:wrap}

/* Slider arrows */
.f5-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:10;
  width:38px;
  height:38px;
  background:#ffffff !important;
  border:1px solid #e5e7eb !important;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:#0f172a !important;
  font-size:14px;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  transition:all .2s;
}
.f5-arrow:hover{background:#3772b7 !important;color:#fff !important;border-color:#3772b7 !important}
.f5-arrow-l{left:12px}
.f5-arrow-r{right:12px}

.f5-dots{
  position:absolute;
  bottom:14px;
  left:50%;
  transform:translateX(-50%);
  z-index:10;
  display:flex;
  gap:6px;
}
.f5-dot{
  width:10px;height:10px;
  border-radius:50%;
  background:rgba(0,0,0,.15);
  cursor:pointer;
  transition:all .25s;
}
.f5-dot.active{
  background:#3772b7 !important;
  width:26px;
  border-radius:5px;
}

/* ========== SEARCH ========== */
.f5-search{
  background:#ffffff !important;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:14px 18px;
  margin-top:20px;
  box-shadow:0 1px 4px rgba(0,0,0,.03);
}
.f5-search form{display:flex;gap:10px}
.f5-search input[type="text"]{
  flex:1;
  padding:11px 16px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  font-size:14px;
  background:#f9fafb !important;
  color:#0f172a;
  outline:none;
}
.f5-search input[type="text"]:focus{border-color:#3772b7;background:#fff !important}

/* ========== BRANDS CAROUSEL STYLES ========== */
.f5-brand-carousel-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}
.f5-brand-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: f5marquee 22s linear infinite;
}
.f5-brand-carousel-wrap:hover .f5-brand-track {
  animation-play-state: paused;
}
.f5-brand-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 80px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
}
.f5-brand-item:hover {
  transform: translateY(-3px);
  border-color: #3772b7;
  box-shadow: 0 8px 24px rgba(55,114,183,0.12);
}
.f5-brand-item img {
  max-height: 44px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block;
}

@keyframes f5marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== SECTIONS ========== */
.f5-section{padding:44px 0;background:#ffffff !important}
.f5-section.alt{background:#f9fafb !important}
.f5-section-title{text-align:center;font-size:26px;margin-bottom:6px;color:#0f172a !important}
.f5-section-sub{text-align:center;color:#475569 !important;font-size:15px;margin-bottom:32px}

/* BANNERS */
.f5-banners{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.f5-banner{
  position:relative;
  border-radius:12px;
  overflow:hidden;
  border:1px solid #e5e7eb;
}
.f5-banner img{width:100%;height:180px;object-fit:cover}
.f5-banner-cap{
  position:absolute;bottom:0;left:0;right:0;
  padding:14px;
  background:linear-gradient(transparent,rgba(15,23,42,.85));
  color:#fff;
}
.f5-banner-cap h4{font-size:16px;color:#fff !important;margin-bottom:2px}
.f5-banner-cap a{color:#fff !important;font-size:13px;font-weight:600}

/* CATEGORIES */
.f5-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.f5-cat{
  background:#ffffff !important;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:all .25s;
}
.f5-cat:hover{transform:translateY(-3px);border-color:#3772b7;box-shadow:0 12px 32px rgba(55,114,183,.1)}
.f5-cat-icon{
  width:46px;height:46px;
  border-radius:12px;
  background:#f0f6ff !important;
  color:#3772b7 !important;
  display:flex;align-items:center;justify-content:center;
  font-size:20px;
  margin-bottom:14px;
}
.f5-cat h3{font-size:17px;margin-bottom:6px;color:#0f172a !important}
.f5-cat p{font-size:13px;color:#475569 !important;margin-bottom:16px}

/* PRODUCTS */
.f5-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
.f5-product{
  background:#ffffff !important;
  border:1px solid #e5e7eb;
  border-radius:12px;
  overflow:hidden;
  transition:all .25s;
  display:flex;
  flex-direction:column;
}
.f5-product:hover{transform:translateY(-3px);border-color:#3772b7;box-shadow:0 12px 32px rgba(55,114,183,.1)}
.f5-product-img{
  height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:#ffffff !important;
  border-bottom:1px solid #e5e7eb;
}
.f5-product-img img{max-height:100%;max-width:100%;object-fit:contain}
.f5-product-info{
  padding:16px;
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.f5-product-info h3{font-size:14px;font-weight:600;margin-bottom:12px;color:#0f172a !important}

/* FOOTER */
.f5-footer{
  background:#ffffff !important;
  border-top:1px solid #e5e7eb;
  padding:48px 0 20px;
  color:#334155 !important;
  font-size:14px;
}
.f5-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:32px;margin-bottom:36px}
.f5-footer-col h4{font-size:15px;color:#0f172a !important;margin-bottom:14px}
.f5-footer-links{list-style:none;padding:0}
.f5-footer-links li{margin-bottom:7px}
.f5-footer-links a{color:#475569 !important;font-size:13px}
.f5-footer-links a:hover{color:#3772b7 !important}
.f5-footer-bottom{
  border-top:1px solid #e5e7eb;
  padding-top:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#64748b !important;
  font-size:13px;
}

/* ========== RESPONSIVE & MOBILE STICKY CONTACT BAR ========== */
@media(max-width:768px){
  body {
    padding-bottom: 60px !important; /* Space for sticky bottom bar */
  }
  .f5-topbar {
    display: none !important; /* Hide topbar on mobile */
  }
  .f5-nav, .f5-header-btns {
    display: none !important; /* Hide desktop nav and header buttons */
  }
  .f5-menu-toggle {
    display: block !important; /* Show hamburger button */
  }
  .f5-mobile-sticky-bar {
    display: block !important; /* Show sticky bottom contact bar */
  }
  .f5-logo img {
    height: 44px !important;
    max-height: 44px !important;
  }
  .f5-footer-grid {
    grid-template-columns: 1fr;
  }
  .f5-banners {
    grid-template-columns: 1fr;
  }
  .f5-slider {
    height: 300px;
  }
  .f5-slide-title {
    font-size: 22px !important;
  }
  .f5-search form {
    flex-direction: column;
  }
  .f5-single-product-grid {
    grid-template-columns: 1fr !important;
    padding: 20px !important;
  }
}


.f5-banner {
  display: block !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  cursor: pointer !important;
}
.f5-banner:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(55, 114, 183, 0.15) !important;
}


.f5-cat {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}
.f5-cat:hover {
  transform: translateY(-4px) !important;
  border-color: #3772b7 !important;
  box-shadow: 0 12px 30px rgba(55, 114, 183, 0.15) !important;
}
