/* ===========================================================
   HARE MEDIKAL — MASTER CSS (general, index-free)
   =========================================================== */

/* ------------------------------
   0) Temel Değişkenler & Reset
------------------------------ */
:root{
  --primary-blue:#0077b6;
  --light-blue:#90e0ef;
  --white:#ffffff;
  --dark-blue:#023e8a;
  --gray:#f8f9fa;

  /* Header/Ticker boyutları ve güvenli boşluk */
  --ticker-h: 0px;           /* ticker global kapalı */
  --header-h: 56px;
  --safe-gap: 12px;
  --header-mask-bg: rgba(10,14,18,.55);
}

/* === Cinzel değişken font (logo metni için) === */
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; min-height:100%; }
body{
  font-family:'Segoe UI',Arial,sans-serif;
  background:var(--gray);
  color:var(--dark-blue);

  /* Ticker kapalıyken içerik ofseti: sadece header + güvenli boşluk */
  padding-top: calc(var(--header-h) + var(--safe-gap));
}

/* Global üst maske: ticker yokken direkt header altında */
body::before{
  content:"";
  position:fixed; left:0; right:0; top:0;
  height: calc(var(--header-h) + var(--safe-gap));
  z-index:950; pointer-events:none;
  background: linear-gradient(to bottom, var(--header-mask-bg) 0%, rgba(10,14,18,0) 100%);
}

/* Container */
.container{
  width:90%;
  max-width:1200px;
  margin:0 auto;
}

/* ------------------------------
   1) HEADER — Glass + Mobil Menü
------------------------------ */
.link-reset{ text-decoration:none; color:inherit; }

.glass-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:transparent;
  border-bottom:0;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.glass-header.scrolled{
  background:transparent;
  border-bottom:0;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

.header-rail{ display:flex; align-items:center; gap:18px; padding:8px 0; }

/* >>> LOGO: metin tabanlı (Cinzel) */
.logo{ display:inline-flex; align-items:center; }
.logo .brand-text{
  font-family:"CinzelVar", serif;
  font-weight:700;                       /* biraz kalın */
  font-size:clamp(20px, 2.2vw, 28px);
  letter-spacing:.3px;
  line-height:1;
  color:#000;                            /* talep edilen: siyah */
  padding:4px 0;
  white-space:nowrap;
}

.center-nav{ flex:1; display:flex; justify-content:center; }
.nav-glass{
  display:inline-flex; padding:6px 10px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.45);
  border-radius:14px;
  box-shadow: inset 0 8px 24px rgba(0,0,0,.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.center-nav ul{ display:flex; gap:26px; margin:0; padding:0; list-style:none; }
.center-nav a{
  position:relative; display:inline-block; padding:8px 14px; border-radius:12px;
  color:#fff; text-decoration:none; font-weight:600; letter-spacing:.2px; opacity:.95;
  transition:background .2s ease, color .2s ease, opacity .2s ease;
}
.center-nav a:hover, .center-nav a:focus-visible{
  background:rgba(255,255,255,.26); color:#0b223a; opacity:1;
}
.center-nav a.is-active{
  background:rgba(255,255,255,.36); color:#0b223a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}

.header-actions{ display:flex; align-items:center; }
.btn-cta{
  display:inline-flex; align-items:center; gap:10px;
  background:#fff; color:#0b223a; font-weight:800;
  padding:8px 14px 8px 16px; border:0; cursor:pointer;
  border-radius:12px; position:relative;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  transition: transform .12s ease, box-shadow .2s ease;
}
.btn-cta::before{
  content:""; position:absolute; left:-11px; top:50%; transform:translateY(-50%);
  width:22px; height:22px; background:#fff;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%, 0 50%);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.10));
  border-radius:8px;
}
.btn-cta:hover{ transform: translateY(-1px); box-shadow:0 14px 30px rgba(0,0,0,.16); }

/* Hamburger (yalnızca mobilde görünür) */
.nav-toggle{ display:none; border:0; background:transparent; cursor:pointer; padding:8px; margin-left:auto; }
.nav-toggle .bar{ display:block; width:26px; height:3px; margin:5px 0; background:#fff; transition:transform .25s ease, opacity .25s ease; }

/* Mobil açılır menü (varsayılan gizli) */
.mobile-nav{ display:none; }


/* ------------------------------
   2) TOP TICKER — GLOBAL KAPALI
------------------------------ */
.top-ticker{ display:none !important; }

/* ------------------------------
   4) HERO (genel — index dışı sayfalar)
------------------------------ */
.hero{
  background:linear-gradient(to right,var(--primary-blue),var(--light-blue));
  color:var(--white); text-align:center; padding:80px 20px;
}
.hero h1{ font-size:38px; margin:0 0 10px; }
.hero p{ font-size:16px; max-width:700px; margin:0 auto 20px; }

/* ------------------------------
   5) Services / Featured / Blog / CTA
------------------------------ */
.grid{ display: grid; gap: 20px; }
.grid-4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }

.services .service-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:20px; margin-top:30px;
}
.service-card{
  background:var(--white); border-radius:10px; padding:20px; text-align:center;
  box-shadow:0 2px 8px rgba(0,0,0,.05); transition:transform .2s ease;
}
.service-card img{ width:64px; height:64px; margin-bottom:10px; }
.service-card:hover{ transform:translateY(-5px); }

.featured-products .product-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:20px; margin-top:30px;
}
.product-card{
  background:var(--white); border-radius:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
  text-align:center; padding:20px; transition:transform .2s ease;
}
.product-card img{
  width:100%; height:160px; object-fit:cover; border-radius:8px; margin-bottom:15px;
}
.product-card h3{ margin:10px 0 5px; color:var(--primary-blue); }
.product-card p{ font-size:14px; color:#555; }
.product-card:hover{ transform:translateY(-5px); }

/* (Eski) Ana sayfa blog kartları */
.home-blog .blog-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px; margin-top:30px;
}
.blog-card{
  background:var(--white); border-radius:10px; overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,.05);
  display:flex; flex-direction:column;
  transition:transform .2s ease, box-shadow .3s ease;
}
.blog-card img{ width:100%; height:180px; object-fit:cover; }
.blog-content{ padding:20px; display:flex; flex-direction:column; flex-grow:1; }
.blog-content h3{ color:var(--primary-blue); font-size:18px; margin:0 0 10px; }
.blog-content p{ color:#555; font-size:14px; flex-grow:1; }
.read-more{
  display:inline-block; margin-top:15px; background:var(--primary-blue);
  color:var(--white); text-decoration:none; padding:8px 15px; border-radius:25px;
  font-size:13px; transition:background .3s ease;
}
.read-more:hover{ background:var(--dark-blue); }
.blog-card:hover{ transform:translateY(-5px); box-shadow:0 6px 16px rgba(0,0,0,.1); }

.cta{
  background:var(--primary-blue); color:var(--white);
  text-align:center; padding:50px 20px;
}
.cta h2{ margin:0 0 10px; }
.cta p{ font-size:16px; margin:0 0 20px; }
.cta .btn-primary{ background:var(--white); color:var(--primary-blue); }
.cta .btn-primary:hover{ background:var(--light-blue); }

/* Metin renkleri */
.product-card__title a, .blog-card__title a{ color: var(--dark-blue); text-decoration: none; }
.product-card__excerpt, .blog-card__excerpt{ color: #3d4a57; }

/* ------------------------------
   6) Products (liste sayfası)
------------------------------ */
.products-hero{
  position: relative;
  padding: 30px 0;
  color:#fff;
  text-align:center;
  overflow:hidden;

  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(900px 380px at 110% -20%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(90deg,var(--primary-blue),var(--light-blue));
}
.products-hero .container{
  position:relative;
  z-index:1;
  display:grid;
  gap:10px;
  justify-items:center;
}
.products-hero h1{
  margin:0;
  font-size:42px;
  line-height:1.1;
  letter-spacing:.3px;
  text-shadow:0 2px 8px rgba(0,0,0,.12);
}
.products-hero p{
  margin:0;
  max-width:760px;
  font-size:17px;
  opacity:.97;
}

/* dekoratif lekeler */
.products-hero::before,
.products-hero::after{
  content:"";
  position:absolute;
  width:520px; height:520px;
  border-radius:50%;
  filter: blur(40px);
  opacity:.22;
  pointer-events:none;
}
.products-hero::before{
  left:-180px; top:-220px;
  background: radial-gradient(closest-side, #ffffff, rgba(255,255,255,0));
}
.products-hero::after{
  right:-200px; top:-160px;
  background: radial-gradient(closest-side, #caf0f8, rgba(202,240,248,0));
}

/* altta yumuşak bir ışık şeridi */
.products-hero{ box-shadow: inset 0 -80px 140px -60px rgba(0,0,0,.18); }

/* mobil */
@media (max-width:640px){
  .products-hero{ padding:58px 0; }
  .products-hero h1{ font-size:32px; }
  .products-hero p{ font-size:15px; }
}

.products-layout{ display:grid; grid-template-columns:280px 1fr; gap:22px; margin-top:22px; }
.filters{ position:sticky; top:86px; height:max-content; }
.filter-card{ background:#fff; border-radius:12px; padding:16px; box-shadow:0 6px 18px rgba(0,0,0,.06); margin-bottom:14px; }
.filter-card h3{ margin:0 0 10px; font-size:16px; color:var(--primary-blue); }
.chk{ display:flex; align-items:center; gap:10px; margin:8px 0; font-size:14px; }
.chk input{ width:16px; height:16px; }
.price-row{ display:flex; align-items:center; gap:8px; }
.price-row input{ width:100%; padding:10px 12px; border:1px solid #e5eef4; border-radius:10px; outline:none; }

.btn-filter{ margin-top:10px; width:100%; padding:10px; border-radius:10px; border:0; background:var(--primary-blue); color:#fff; font-weight:700; cursor:pointer; }
.btn-filter:hover{ background:var(--dark-blue); }
.dash{ opacity:.5; }

.chip-group{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ padding:8px 12px; background:#eef6ff; color:var(--primary-blue); border-radius:999px; border:1px solid #d9ecff; cursor:pointer; font-size:13px; transition:.15s ease; }
.chip.active{ background:var(--primary-blue); color:#fff; border-color:var(--primary-blue); }

.switch{ display:inline-flex; align-items:center; gap:8px; }
.switch input{ display:none; }
.switch span{
  position:relative; width:42px; height:24px; background:#e7eff7; border-radius:999px; display:inline-block; transition:.2s;
}
.switch span:after{
  content:""; position:absolute; top:3px; left:3px; width:18px; height:18px; background:#fff; border-radius:50%; box-shadow:0 2px 6px rgba(0,0,0,.15); transition:.2s;
}
.switch input:checked + span{ background:var(--primary-blue); }
.switch input:checked + span:after{ left:21px; }

/* Toolbar */
.toolbar{
  background:#fff; border-radius:12px; padding:12px; box-shadow:0 6px 18px rgba(0,0,0,.06);
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px;
}
.searchbox{ display:flex; align-items:center; gap:8px; background:#f3f8fd; padding:10px 12px; border-radius:10px; min-width:260px; flex:1; }
.searchbox input{ border:0; outline:none; background:transparent; width:100%; font-size:14px; color:#245; }
.sortbox{ display:flex; align-items:center; gap:8px; }
.sortbox select{ padding:10px 12px; border:1px solid #e5eef4; border-radius:10px; background:#fff; outline:none; }

.product-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:16px; }
.product-card{ background:#fff; border-radius:14px; box-shadow:0 8px 20px rgba(0,0,0,.06); padding:12px; position:relative; display:flex; flex-direction:column; gap:8px; transition:transform .15s ease, box-shadow .2s ease; }
.product-card:hover{ transform: translateY(-4px); box-shadow:0 12px 28px rgba(0,0,0,.08); }
.pimg{ width:100%; aspect-ratio: 4/3; border-radius:10px; overflow:hidden; background:#f4f8fc; }
.pimg img{ width:100%; height:100%; object-fit:cover; display:block; }
.product-card h3{ margin:6px 2px 0; font-size:16px; color:var(--dark-blue); min-height:42px; }

.price{ display:flex; align-items:center; gap:8px; }
.price .cur{ color:var(--primary-blue); font-weight:800; }
.price .old{ color:#9aa; text-decoration:line-through; font-size:13px; }

.meta{ color:#6c7c8c; font-size:13px; display:flex; align-items:center; gap:6px; }
.meta .tag{ background:#eef6ff; color:var(--primary-blue); padding:3px 8px; border-radius:999px; font-size:12px; }
.meta .dot{ opacity:.4; }
.stock.in{ color:#19a24b; }
.stock.out{ color:#c03a2b; }

.actions{ display:flex; align-items:center; gap:8px; margin-top:auto; }
.btn-sm{ padding:8px 12px; border-radius:10px; font-size:13px; }
.btn-ghost{ background:#f2f6fb; color:var(--dark-blue); border:1px solid #e5eef4; cursor:pointer; }
.btn-ghost:hover{ background:#eaf2fb; }
.btn-primary.btn-sm{ text-decoration:none; }
.btn-primary.disabled{ opacity:.6; pointer-events:none; }

.badge{ position:absolute; top:10px; left:10px; padding:6px 10px; font-size:12px; border-radius:999px; color:#fff; font-weight:700; box-shadow:0 8px 16px rgba(0,0,0,.08); }
.badge-new{ background:linear-gradient(135deg,#00c2ff,#0077b6); }
.badge-sale{ background:linear-gradient(135deg,#ff7f50,#ff3b3b); }

.pagination{ display:flex; gap:8px; justify-content:center; margin:18px 0 8px; }
.pagination .page{ padding:8px 12px; background:#fff; border:1px solid #e5eef4; color:#245; text-decoration:none; border-radius:10px; }
.pagination .page:hover{ background:#f2f6fb; }
.pagination .page.active{ background:var(--primary-blue); color:#fff; border-color:var(--primary-blue); }

/* ------------------------------
   7) Ürün Modal + Skeleton
------------------------------ */
.modal{ position:fixed; inset:0; display:none; z-index:9999; }
.modal.show{ display:block; }
.modal-backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.45); }
.modal-dialog{ position:relative; margin:4vh auto; max-width:980px; background:#fff; border-radius:16px; box-shadow:0 20px 60px rgba(0,0,0,.25); overflow:hidden; }
.modal-close{ position:absolute; top:8px; right:12px; width:36px; height:36px; border-radius:50%; border:0; background:#f3f7fb; cursor:pointer; font-size:20px; line-height:1; }
.modal-body{ display:grid; grid-template-columns:1.1fr 1fr; gap:18px; padding:18px; }
.modal-image{ width:100%; aspect-ratio: 4/3; border-radius:12px; overflow:hidden; background:#f5f8fc; }
.modal-image img{ width:100%; height:100%; object-fit:cover; }
.thumbs{ display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }
.thumbs button{ width:70px; height:70px; border-radius:10px; overflow:hidden; border:2px solid transparent; padding:0; background:#fff; cursor:pointer; }
.thumbs button.active{ border-color: var(--primary-blue); }
.thumbs img{ width:100%; height:100%; object-fit:cover; display:block; }
.modal-right h3{ margin:6px 0 10px; color:var(--dark-blue); }
.mod-price{ display:flex; gap:10px; align-items:center; margin-bottom:6px; }
.mod-price #modCur{ color:var(--primary-blue); font-weight:800; font-size:18px; }
.mod-price #modOld{ color:#9aa; text-decoration:line-through; font-size:14px; }
.mod-meta{ color:#6c7c8c; font-size:13px; display:flex; gap:6px; align-items:center; margin-bottom:12px; }
.m-tag{ background:#eef6ff; color:var(--primary-blue); padding:3px 8px; border-radius:999px; }
.m-dot{ opacity:.4; }
.mod-desc{ color:#425; margin:8px 0 8px; }
.mod-specs{ margin:0; padding-left:16px; color:#334; }
.mod-specs li{ margin:2px 0; }
.mod-actions{ margin-top:14px; }

.skel-card{ background:#fff; border-radius:14px; padding:12px; box-shadow:0 8px 20px rgba(0,0,0,.06); }
.skel-img{ width:100%; aspect-ratio:4/3; border-radius:10px; background:linear-gradient(90deg,#f0f4f9,#e9f1f9,#f0f4f9); background-size:200% 100%; animation:sh 1.2s infinite linear; }
.skel-line{ height:12px; margin-top:10px; border-radius:6px; background:linear-gradient(90deg,#eef3f9,#e6eef8,#eef3f9); background-size:200% 100%; animation:sh 1.2s infinite linear; }
@keyframes sh{ 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* Ürün modal: fiyat satırındaki KDV rozeti */
.mod-price .vat{
  margin-left: 8px;
  padding: 4px 8px;
  font-size: 13px;
  line-height: 1;
  border-radius: 999px;
  background: #eef6ff;
  color: #2a5270;
  white-space: nowrap;
}

/* ------------------------------
   8) CONTACT (sayfa & panel)
------------------------------ */
body.page-iletisim{
  background: url('img/contactbackground.webp') center/cover fixed no-repeat;
}
.page-iletisim .contact-hero,
.page-iletisim .contact-hero::before,
.page-iletisim .contact-hero::after{ background:none !important; }
.page-iletisim .contact-hero .contact-overlay{ display:none !important; }
body.page-iletisim::before{ display:none !important; }

.contact-hero{
  position: relative; color: #fff;
  margin-top: calc(-1 * (var(--header-h) + var(--safe-gap)));
  padding: calc(60px + var(--header-h) + var(--safe-gap)) 0 80px;
}
.contact-hero-inner { position: relative; z-index: 1; }

.info-cards{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:18px; margin-bottom:30px;
}
.info-card{
  background:#fff; color: var(--dark-blue);
  border-radius:16px; padding:18px; text-align:center;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.info-card h4{ margin: 10px 0 6px; color: var(--primary-blue); }
.info-card p{ margin:0; line-height:1.4; }
.info-card a{ color: var(--primary-blue); text-decoration:none; }
.info-icon{ width:40px; height:40px; object-fit:contain; display:inline-block; filter: drop-shadow(0 2px 6px rgba(0,0,0,.08)); }

.contact-grid{ display:grid; gap:28px; grid-template-columns: 1.1fr 1fr; }
.contact-form-card{
  background:#fff; color: var(--dark-blue);
  border-radius: 16px; padding:22px; box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.contact-form label{ font-size:13px; opacity:.9; }
.contact-form input, .contact-form textarea{
  width:100%; margin:8px 0 14px; padding:12px 14px; border:1px solid #e5eef4; border-radius:12px; outline:none; background:#fff; font-family:inherit; transition: border .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus{
  border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(0,119,182,.12);
}
.btn-full{ width:100%; }
.btn-outline{
  display:inline-block; text-align:center; border:2px solid var(--primary-blue); color:var(--primary-blue);
  padding:10px 14px; border-radius:12px; text-decoration:none; font-weight:700; transition: background .2s ease, color .2s ease, transform .1s ease;
}
.btn-outline:hover{ background: var(--primary-blue); color:#fff; transform: translateY(-1px); }

.contact-text h2{ color:#fff; margin:0 0 12px; }
.contact-text p{ color:#eef7ff; max-width:520px; }

.socials{ margin-top:16px; display:flex; gap:12px; }
.social{
  width:38px; height:38px; border-radius:10px; background:#fff; color:var(--primary-blue);
  display:flex; align-items:center; justify-content:center; box-shadow:0 8px 20px rgba(0,0,0,.08);
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.social:hover{ transform: translateY(-3px); background: var(--light-blue); color:#fff; }
.social-img{ width:22px; height:22px; object-fit:contain; display:block; }

.alert{ padding:10px 12px; border-radius:10px; margin-bottom:12px; font-size:14px; }
.alert.success{ background:#e8f7ef; color:#1b7b3a; border:1px solid #b8e4c7; }
.alert.error{ background:#fdecea; color:#a33a32; border:1px solid #f5c2be; }

.map-card{
  background:#fff; color:var(--dark-blue); border-radius:16px; padding:16px; box-shadow:0 10px 30px rgba(0,0,0,.08);
  display:flex; flex-direction:column; gap:12px; height:100%;
}
.map-embed{ position:relative; width:100%; padding-top:62%; border-radius:12px; overflow:hidden; }
.map-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

.contact-panel{
  position: fixed; top:0; right:-420px; width:100%; max-width:420px; height:100%;
  background:#fff; box-shadow:-4px 0 20px rgba(0,0,0,.25); z-index:2000;
  display:flex; flex-direction:column; transition:right .4s ease;
}
body.panel-open .contact-panel{ right:0; }
.contact-panel-header{
  display:flex; justify-content:space-between; align-items:center;
  background:var(--primary-blue); color:#fff; padding:14px 18px;
}
.contact-panel-header h3{ margin:0; font-size:18px; }
.contact-panel-close{
  background:transparent; border:none; font-size:26px; color:#fff; cursor:pointer; line-height:1;
}
.contact-panel-body{ padding:20px; overflow-y:auto; flex:1; }
.contact-panel-body label{ display:block; margin:10px 0 4px; font-size:13px; color:var(--dark-blue); }
.contact-panel-body input, .contact-panel-body textarea{
  width:100%; padding:10px 12px; border-radius:8px; border:1px solid #ddd; font-family:inherit; font-size:14px; outline:none; transition:border .2s ease;
}
.contact-panel-body input:focus, .contact-panel-body textarea:focus{ border-color: var(--primary-blue); }

/* Bize Ulaşın paneli için overlay */
.panel-overlay{
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 1995; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.panel-overlay.show{ opacity: 1; pointer-events: auto; }

/* ------------------------------
   9) FOOTER
------------------------------ */
.site-footer{
  background:#0d0f12; color:#ffffff; padding:22px 0 14px; margin-top:32px; position:relative; z-index:2;
}
.footer-container{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px; }
.footer-logo{ height:40px; margin-bottom:10px; }
.footer-links ul{ list-style:none; padding:0; margin:0; }
.footer-links a{ color:#ffffff; text-decoration:none; transition:color .3s ease; }
.footer-links a:hover{ color:#90e0ef; }
.footer-contact a{ color:#ffffff; text-decoration:none; }
.footer-bottom{ text-align:center; padding-top:12px; border-top:1px solid rgba(255,255,255,.12); font-size:14px; color:#cfd6de; }

/* ------------------------------
   10) Küçük Yardımcılar & Responsive
------------------------------ */
.reveal-left  { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }
.reveal-up    { opacity: 0; transform: translateY(30px); }
.reveal-visible{ opacity:1 !important; transform:none !important; transition: opacity .6s ease, transform .6s ease; }

.product-card__title a, .blog-card__title a{ color: var(--dark-blue); text-decoration: none; }
.product-card__excerpt, .blog-card__excerpt{ color: #3d4a57; }

[id]{ scroll-margin-top: calc(var(--header-h) + 8px); }


@media (max-width:1100px){ .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:992px){
  .center-nav{ display:none; }
  .header-actions{ display:none; }
  .nav-toggle{ display:inline-block; }

  .mobile-nav{
    display:block;
    position:absolute; top:100%; left:0; right:0;
    background:rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom:1px solid var(--light-blue);
    transform:translateY(-10px);
    opacity:0; visibility:hidden;
    transition:opacity .2s ease, transform .2s ease, visibility .2s;
    box-shadow:0 10px 20px rgba(0,0,0,.06);
    z-index:999;
  }
  .mobile-nav ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
  .mobile-nav ul li a{ display:block; padding:14px 20px; color:#0b223a; text-decoration:none; border-top:1px solid #eef5f9; }
  .mobile-nav.open{ transform:translateY(0); opacity:1; visibility:visible; }

  .nav-toggle.active .bar:nth-child(1){ transform:translateY(8px) rotate(45deg); }
  .nav-toggle.active .bar:nth-child(2){ opacity:0; }
  .nav-toggle.active .bar:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

  .products-layout{ grid-template-columns:1fr; }
}
@media (max-width:920px){
  .contact-grid{ grid-template-columns:1fr; }
  .map-card{ order:2; }
}
@media (max-width:640px){ .grid-4{ grid-template-columns:1fr; } }
@media (max-width:480px){
  /* ticker zaten 0; sadece min boyut ayarları */
}

/* =========================================================
   BLOG DETAY (yazi.php) — layout + responsive + medya
   ========================================================= */

.post-crumb{ font-size:14px; margin-bottom:8px; }
.post-title{ margin:6px 0 0; }
.post-date{ color:#6c7c8c; font-size:14px; margin:6px 0 12px; }

/* Grid düzeni (desktop/tablet) */
.post-detail{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap:20px;
  align-items:start;
}

/* Görsel kutusu */
.post-detail .pimg{
  width:100%;
  aspect-ratio: 4 / 5;
  border-radius:16px;
  overflow:hidden;
  background:linear-gradient(135deg,#0ea5e9,#93c5fd);
}
.post-detail .pimg img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  max-width:100%;
}

/* Gövde */
.post-body{
  color:#23303d;
  line-height:1.7;
  font-size:16px;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.post-body .post-excerpt{ color:#3d4a57; font-size:16px; }
.post-body img,
.post-body video,
.post-body iframe{
  max-width:100% !important;
  height:auto !important;
}
.post-body table{
  width:100%;
  display:block;
  overflow-x:auto;
}
.post-body pre,
.post-body code{
  white-space:pre-wrap;
}

/* Mobil / dar ekran: tek sütun, METİN foto ALTINDA */
@media (max-width: 900px){
  .post-detail{
    grid-template-columns: 1fr !important;
  }
  .post-detail > .pimg{ order:1; }
  .post-detail > .post-body{ order:2; }

  .post-detail .pimg{
    aspect-ratio: 16 / 9;
    max-width: 640px;
    margin: 0 auto 12px;
  }
  .post-body{ font-size:15px; line-height:1.65; }
}



/* =========================================================
   PATCH 1 — Ürün Modalı "Teklif İste" butonu (urunler.php)
   Hedef: Sadece modal içindeki birincil butonu güzelleştir.
   ========================================================= */
#productModal .btn-primary,
#productModal a.btn-primary,
#productModal #askQuote {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #44b0f0 0%, #2b92e1 100%);
  box-shadow: 0 10px 22px rgba(20,80,140,.22);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.1;
}
#productModal .btn-primary:hover,
#productModal a.btn-primary:hover,
#productModal #askQuote:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(20,80,140,.27);
  filter: saturate(1.04);
}
#productModal .btn-primary:active,
#productModal a.btn-primary:active,
#productModal #askQuote:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(20,80,140,.18);
}

/* =========================================================
   PATCH 2 — İletişim sayfası "Gönder" butonu (iletisim.php)
   Hedef: Form submit butonu kaybolmasın + aynı görünüm.
   (Form id/class ne olursa olsun hedefliyoruz)
   ========================================================= */
.page-iletisim .contact-form button[type="submit"],
.page-iletisim .contact-form input[type="submit"],
.page-iletisim #contactForm button[type="submit"],
.page-iletisim #contactForm input[type="submit"]{
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .2px;
  color: #fff;
  background: linear-gradient(180deg, #44b0f0 0%, #2b92e1 100%);
  box-shadow: 0 12px 24px rgba(20,80,140,.25);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease, opacity .2s ease;
}
.page-iletisim .contact-form button[type="submit"]:hover,
.page-iletisim .contact-form input[type="submit"]:hover,
.page-iletisim #contactForm button[type="submit"]:hover,
.page-iletisim #contactForm input[type="submit"]:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(20,80,140,.28);
  filter: saturate(1.05);
}
.page-iletisim .contact-form button[type="submit"]:active,
.page-iletisim #contactForm button[type="submit"]:active{
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(20,80,140,.22);
}
.page-iletisim .contact-form button[type="submit"][disabled],
.page-iletisim #contactForm button[type="submit"][disabled]{
  opacity: .6; cursor: not-allowed;
}



.info-icon { width: 28px; height: 28px; display:inline-block; }
.social-img { width: 24px; height: 24px; display:block; }


/* ---- Header nav ortalama fix ---- */
.glass-header .header-rail{
  position: relative;
  display: flex;
  align-items: center;
}

/* Nav'ı her zaman tam ortaya sabitle */
.glass-header .center-nav{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Listeyi yatay hizala (gerekiyorsa) */
.glass-header .center-nav .nav-glass ul{
  display: flex;
  align-items: center;
  gap: 20px; /* istersen arttır/azalt */
  margin: 0; padding: 0; list-style: none;
}

/* Sağ taraf boş olsa bile layout bozulmasın */
.glass-header .header-actions{ min-width: 1px; }


/* Footer metin logo */
.footer-logo-text{
  display:inline-block;
  color:#fff;
  font-family:"CinzelVar", ui-serif, Georgia, "Times New Roman", serif;
  font-weight:700;
  font-size:22px;
  letter-spacing:.3px;
  text-decoration:none;
}
.footer-logo-text:hover{ opacity:.9; }


/* ===== Blog Page – Safe Defaults (scoped) ===== */
.hero[data-hero="page"] {
  padding: clamp(48px, 8vw, 96px) 0 32px;
  background: var(--bg, #f7f9fc);
}
.hero[data-hero="page"] h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
}
.hero[data-hero="page"] .lead {
  color: var(--muted, #5b6b7a);
  margin: 0;
}

.blog-toolbar {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.blog-search {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border, #e5e8ee);
  border-radius: 12px;
  background: #fff;
}
.blog-search input[type="search"] {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}
.blog-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-sort select {
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--border, #e5e8ee);
  background: #fff;
}

/* === Blog hero title/lead center fix === */
.hero[data-hero="page"] h1,
.hero[data-hero="page"] .lead{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


/* Grid */
.blog-list {
  padding: 28px 0 60px;
  background: #fff;
}
.blog-list .post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) {
  .blog-list .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .blog-list .post-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Card */
.blog-list .post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border, #e5e8ee);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.blog-list .post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

/* Image area with fixed ratio */
.blog-list .post-card .pimg {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f0f3f7;
  overflow: hidden;
}
.blog-list .post-card .pimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body */
.blog-list .post-card .pbody {
  padding: 14px 14px 16px;
}
.blog-list .post-card .pdate {
  font-size: 12px;
  color: var(--muted, #6b7280);
  margin-bottom: 6px;
}
.blog-list .post-card .ptitle {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
}
.blog-list .post-card .ptitle a { color: var(--ink, #0b223a); text-decoration: none; }
.blog-list .post-card .ptitle a:hover { text-decoration: underline; }

.blog-list .post-card .pexcerpt {
  margin: 0 0 12px;
  color: var(--muted, #4b5563);
  font-size: 14px;
  line-height: 1.55;
}

/* Actions */
.blog-list .post-card .pactions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-list .post-card .btn-read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--primary, #2563eb);
  color: #fff;
  background: var(--primary, #2563eb);
  text-decoration: none;
  font-size: 14px;
}
.blog-list .post-card .btn-read:hover {
  box-shadow: 0 6px 16px rgba(37,99,235,.25);
}

/* Empty card (placeholder) */
.blog-list .post-card.empty .pimg {
  background: linear-gradient(180deg, #f3f6fb, #eef2f8);
}
.blog-list .post-card.empty .pbody h3 {
  margin: 0 0 4px;
}

/* BLOG: Hero alanını mavi yap (sadece blog.php'yi etkiler) */
.hero[data-hero="page"]:has(.blog-toolbar){
  background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
  color: #fff;
}

/* Başlık ve lead beyaz tonda */
.hero[data-hero="page"]:has(.blog-toolbar) h1{
  color:#fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.hero[data-hero="page"]:has(.blog-toolbar) .lead{
  color: rgba(255,255,255,.92);
}

/* Toolbar'ı şerit yerine şeffaf bırak, içindeki kutular beyaz kalsın */
.hero[data-hero="page"]:has(.blog-toolbar) .blog-toolbar{
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.hero[data-hero="page"]:has(.blog-toolbar) .blog-search,
.hero[data-hero="page"]:has(.blog-toolbar) .blog-sort select{
  background: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.hero[data-hero="page"]:has(.blog-toolbar) .blog-search svg{ color:#0b61b3; }


/* ========== TICKER — NET & KONTROLLÜ ========== */
/* AYARLAR: sadece buradaki değerleri değiştir yeter */
:root{
  --ticker-size:   85px;             /* YAZI BOYUTU */
  --ticker-strip:   40px;             /* ŞERİT KALINLIĞI (üst/alt padding) */
  --ticker-gap:    140px;             /* ÖĞELER ARASI BOŞLUK */
  --ticker-speed:   70s;              /* AKIŞ HIZI (büyük = daha yavaş) */

  --ticker-bg:   #eaf4ff;             /* ŞERİT ARKA PLAN */
  --ticker-fill: #0a66c2;             /* HOVER DOLGU RENGİ */
  --ticker-stroke: rgba(2,62,138,.9); /* DIŞ HAT (stroke) RENGİ */
  --ticker-stroke-w: 1.5px;           /* DIŞ HAT KALINLIĞI */
  --ticker-sep-opacity: .45;          /* “+” ayırıcı opaklığı */
}

/* Şerit */
.pbmit-marquee-section{
  width:100%;
  overflow:hidden;
  position:relative;
  background: var(--ticker-bg);
  padding: var(--ticker-strip) 0;
  border-top:1px solid rgba(0,0,0,.06);
  border-bottom:1px solid rgba(0,0,0,.06);
}

/* Hat: sonsuz akış (hover’da durdurma YOK) */
.pbmit-marquee-track{
  display:inline-flex;
  align-items:center;
  gap: var(--ticker-gap);
  white-space:nowrap;
  animation: hm-marquee var(--ticker-speed) linear infinite;
  will-change: transform;
}
@keyframes hm-marquee{
  0%   { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-50%,0,0); } /* 2x kopya olduğu için -50% */
}

/* “+” ayırıcı */
.pbmit-marquee-slide{
  display:inline-flex; align-items:center; position:relative;
}
.pbmit-marquee-slide::before{
  content:'+';
  opacity: var(--ticker-sep-opacity);
  line-height:1; font-weight:700;
  font-size: calc(var(--ticker-size) * .9);
  margin-right: calc(var(--ticker-gap) / 2);
}

/* Başlık: stroke + HOVER’da soldan→sağa dolgu */
.pbmit-element-title{
  position:relative;
  margin:0; line-height:1; letter-spacing:.5px;

  font-size: var(--ticker-size);
  color: transparent;                                /* metni şeffaf tut */
  -webkit-text-stroke: var(--ticker-stroke-w) var(--ticker-stroke);

  /* Dolgu animasyonu (background-clip) */
  background-image: linear-gradient(var(--ticker-fill), var(--ticker-fill));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;                          /* başlangıç 0% */
  background-clip: text;                             /* standart */
  -webkit-background-clip: text;                     /* webkit */
  -webkit-text-fill-color: transparent;              /* safari */
  transition: background-size .9s cubic-bezier(.22,.8,.2,1);
}
.pbmit-tag-wrapper a{ text-decoration:none; color:inherit; }

/* Yumuşak arka katman */
.pbmit-element-title::before{
  content: attr(data-text);
  position:absolute; inset:0;
  color: color-mix(in srgb, var(--ticker-stroke) 25%, transparent);
  -webkit-text-stroke: 0;
  transform: translateY(1px);
  pointer-events: none;
}

/* Hover: dolgu %100’e açılır → soldan sağa boyanır */
.pbmit-marquee-slide:hover .pbmit-element-title{
  background-size: 100% 100%;
}

/* (İsteğe bağlı) Basit responsive ölçekleme */
@media (max-width: 992px){
  :root{
    --ticker-size: 72px;
    --ticker-strip: 36px;
    --ticker-gap: 72px;
  }
}
@media (max-width: 600px){
  :root{
    --ticker-size: 44px;
    --ticker-strip: 24px;
    --ticker-gap: 40px;
  }
}

