
/* ==============================
   RANEX — Global Reset & Tokens
   ============================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --primary-color:#2c5aa0;
  --secondary-color:#1e3d6f;
  --accent-orange:#ff6b35;
  --light-gray:#f8f9fa;
  --dark-gray:#2c3e50;
  --text-color:#333;
  --border-color:#e9ecef;
}

html,body{
  height:100%;
}

body{
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height:1.6;
  color:var(--text-color);
  background:#fff;
  overflow-x:hidden;
}

/* ==============================
   Layout helpers
   ============================== */
.container{ max-width:1200px; margin:0 auto; padding:0 2rem; }

/* ==============================
   Header / Navigation (Modern)
   ============================== */
/* Header element intentionally neutral to avoid double bars */
header{ background:transparent; position:relative; z-index:1000; }

/* ==== NAVBAR ==== */
.nav{
  position: sticky; top: 0; z-index: 1200;
  background: linear-gradient(135deg,#2c5aa0 0%,#1e3d6f 100%);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  backdrop-filter: saturate(140%) blur(6px);
}
.nav__inner{
  max-width: 1200px; margin: 0 auto;
  padding: 14px 20px; display: flex; align-items: center; gap: 14px;
}
.nav__logo{
  font-weight: 800; font-size: 1.4rem; letter-spacing:.5px;
  text-decoration: none; color: #fff;
  background: linear-gradient(45deg,#fff,#ff6b35);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* Linkler */
.nav__links{
  list-style:none; display:flex; gap:26px; margin-left:auto; align-items:center;
}
.nav__links a{
  color:#fff; text-decoration:none; font-weight:600; position:relative;
  padding:8px 0; display:inline-block;
}
.nav__links a::after{
  content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0;
  background:#ff6b35; transition:width .25s ease;
}
.nav__links a:hover{ color:#ffebe4; }
.nav__links a:hover::after{ width:100%; }

/* CTA */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; border-radius:999px; text-decoration:none; font-weight:700;
}
.btn--whatsapp{
  background:#25D366; color:#fff; box-shadow:0 8px 24px rgba(37,211,102,.35);
}
.btn--whatsapp:hover{ filter:brightness(1.05); }
.nav__cta-desktop{ margin-left:10px; }
.nav__cta-mobile{ display:none; }

/* Hamburger */
.nav__hamburger{
  display:none; margin-left:8px; width:36px; height:36px;
  border:0; background:transparent; cursor:pointer; position:relative; z-index:1300;
}
.nav__hamburger span{
  display:block; width:26px; height:3px; margin:5px auto;
  background:#fff; border-radius:2px; transition:transform .25s, opacity .25s;
}

/* Mobile */
@media (max-width: 900px){
  .nav__links{
    position: fixed; right:16px; top:64px;
    background:#11335f; border-radius:14px; padding:14px;
    display:none; flex-direction:column; gap:12px; min-width:220px;
    box-shadow:0 18px 40px rgba(0,0,0,.35); z-index:1250;
  }
  .nav__links.show{ display:flex !important; }
  .nav__cta-desktop{ display:none; }
  .nav__cta-mobile{ display:block; width:100%; }
  .nav__hamburger{ display:block; margin-left:auto; }
}

/* opsiyonel: scroll’da ekstra gölge */
.sticky-shadow{ box-shadow:0 10px 28px rgba(0,0,0,.18) !important; }


/* ==============================
   Hero
   ============================== */
.hero{
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color:#fff; padding:8rem 2rem 6rem; text-align:center;
  position:relative; overflow:hidden;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="25" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  animation:float 20s ease-in-out infinite;
}
@keyframes float{ 0%,100%{ transform:translateY(0) rotate(0deg);} 50%{ transform:translateY(-20px) rotate(.5deg);} }

.hero-content{ max-width:800px; margin:0 auto; position:relative; z-index:2; }.hero h1{
  font-size:3.5rem; font-weight:800; margin-bottom:1rem;
  color:#fff;                          /* düz renk */
  background:none !important;          /* gradyanı kapat */
  -webkit-background-clip:initial;
  -webkit-text-fill-color:currentColor;
  /* okunurluk (parıltıyı bastıran hafif gölgeler) */
  text-shadow:
    0 1px 0 rgba(0,0,0,.25),
    0 2px 10px rgba(0,0,0,.35),
    0 0 22px rgba(11,16,32,.25);
  animation: slideInUp 1s ease-out;
  position: relative;
}

/* Destekliyorsa çok ince stroke */
@supports (-webkit-text-stroke: 1px white){
  .hero h1{
    -webkit-text-stroke:.4px rgba(0,0,0,.35);
    paint-order: stroke fill;
  }
}

/* Başlık arkasında yumuşak mat bant */
.hero h1::before{
  content:"";
  position:absolute; z-index:-1;
  left:50%; top:50%; transform:translate(-50%,-50%);
  width: clamp(280px, 85%, 900px);
  height: 1.2em;
  border-radius: 20px;
  background:
    radial-gradient(120% 120% at 50% 60%,
      rgba(11,16,32,.45) 0%,
      rgba(11,16,32,.20) 55%,
      rgba(11,16,32,0) 85%);
  filter: blur(8px);
}

@media (max-width:640px){
  .hero h1::before{ width:95%; filter: blur(6px); }
}



@keyframes slideInUp{ from{opacity:0; transform:translateY(30px);} to{opacity:1; transform:translateY(0);} }

.hero p{ font-size:1.3rem; margin-bottom:2rem; opacity:.9; animation:slideInUp 1s ease-out .3s both; }


#heroFireflies{
  position:absolute; inset:0; width:100%; height:100%;
  pointer-events:none; z-index:1; opacity:.6;
  filter:saturate(115%) drop-shadow(0 0 6px rgba(255,107,53,.25));
}
.hero .hero-content{ position:relative; z-index:2; }
@media (prefers-reduced-motion: reduce){ #heroFireflies{ display:none; } }



.cta-button{
  background: linear-gradient(135deg, var(--accent-orange), #e55530);
  color:#fff; padding:1rem 2.5rem; border-radius:50px; font-size:1.1rem; font-weight:600;
  text-decoration:none; display:inline-block; transition:.3s; box-shadow:0 10px 30px rgba(255,107,53,.3);
  margin:.5rem; animation:slideInUp 1s ease-out .6s both;
}/* CTA secondary (mavi) */
.cta-button.secondary{
  background: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-weight: 600;
  transition: .25s;
}
.cta-button.secondary:hover{
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 8px 22px rgba(44,90,160,.35);
  transform: translateY(-2px);
}

.cta-button:hover{ transform:translateY(-3px); box-shadow:0 15px 40px rgba(255,107,53,.4); }
.hero-buttons{ display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; margin-top:1rem; }

    
/* ==============================
   Product Cards (Home)
   ============================== */
.products{ padding:6rem 2rem; background:#fff; }
.products-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap:2rem; margin-top:4rem; }

.product-card{
  position:relative; border-radius:20px; overflow:hidden; height:220px;
  display:flex; align-items:center; justify-content:center; transition:.3s;
  box-shadow:0 10px 30px rgba(0,0,0,.2); background-size:cover; background-position:center; color:#fff;
  opacity: .001; transition: opacity .35s ease;  background-repeat: no-repeat;

}
.product-card .overlay{
  background:rgba(0,0,0,.6); padding:2rem; text-align:center; border-radius:20px; z-index:2;
  width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; transition:.3s;
}
.product-card:hover .overlay{ background:rgba(0,0,0,.5); }
.product-card .product-icon{ font-size:2rem; margin-bottom:.5rem; color:var(--accent-orange); transition:.3s; }
.product-card h3,.product-card p{ transition:.3s; }
.product-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:4px; background:#fff; transform:scaleX(0); transition:transform .3s;
}
.product-card.bg-loaded { opacity: 1; }
.product-card:hover::before{ transform:scaleX(1); }
.product-card:hover{ transform:translateY(-5px); box-shadow:0 20px 50px rgba(0,0,0,.25); }
.product-card:hover .product-icon{ color:#fff; transform:scale(1.1); }
.product-card:hover h3,.product-card:hover p{ color:var(--accent-orange); }
.product-card .cta-link{
  margin-top:1rem; padding:.6rem 1.5rem; background:var(--accent-orange); color:#fff; border-radius:25px;
  text-decoration:none; font-weight:700; transition:.3s;
}
.product-card .cta-link:hover{ background:#fff; color:var(--accent-orange); }

@media (max-width: 640px) {
  .product-card { height: 180px; }
}

/* ==============================
   Footer
   ============================== */
.footer{ background:#0b4682; color:#fff; padding:4rem 2rem 2rem; text-align:center; }
.footer-columns{
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start;
  gap:2rem; max-width:1200px; margin:0 auto; text-align:left;
}
.footer-column{ flex:1 1 22%; }
.footer-column.logo-column{ display:flex; justify-content:flex-start; align-items:center; padding:0; }
.footer-logo{ max-width:100px; height:auto; object-fit:contain; display:block; }
.footer-column h3{ font-size:1.4rem; margin-bottom:1rem; border-bottom:2px solid #fff; display:inline-block; padding-bottom:.3rem; }
.footer-column p, .footer-column a{ font-size:1rem; line-height:1.6; color:#fff; text-decoration:none; }
.footer-buttons{ margin-top:1.5rem; display:flex; flex-direction:column; align-items:flex-start; gap:1rem; }
.footer-buttons a{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem; background:var(--accent-orange); color:#fff;
  padding:.7rem 1.5rem; border-radius:30px; font-weight:700; transition:.3s; text-decoration:none; width:230px;
}
.footer-buttons a:hover{ background:#fff; color:var(--accent-orange); }
.footer-buttons a.whatsapp{ background:#25D366; }
.footer-buttons a.whatsapp:hover{ background:#5ff59c; color:#fff; }
.footer-copy{ margin-top:2rem; font-size:.9rem; opacity:.8; text-align:center; }

@media (max-width:768px){
  .footer{ text-align:center; }
  .footer-columns{ flex-direction:column; align-items:center; text-align:center; }
  .footer-buttons{ align-items:center; }
  .footer-column{ flex:unset; }
  .footer-column.logo-column{ justify-content:center; margin-bottom:1rem; }
}

/* ==============================
   Animations / Utilities
   ============================== */
.fade-in{ opacity:0; transform:translateY(30px); transition:all .6s ease; }
.fade-in.visible{ opacity:1; transform:translateY(0); }

/* ==============================
   Products Page (Grid Blocks)
   ============================== */
.page-header{
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color:#fff; padding:8rem 2rem 4rem; text-align:center; position:relative;
}
.page-header h1{
  font-size:3rem; margin-bottom:1rem;
  background: linear-gradient(45deg,#fff,var(--accent-orange));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.page-header p{ font-size:1.2rem; opacity:.9; max-width:600px; margin:0 auto; }
/* ===== About Hero (Grand) ===== */
.about-hero{
  position:relative; overflow:hidden;
  padding: 4.5rem 0 4rem;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(44,90,160,.20), transparent 60%),
              radial-gradient(1000px 500px at 90% 110%, rgba(255,107,53,.12), transparent 60%),
              linear-gradient(180deg,#f7f9fc 0%, #eef3f9 100%);
}
#aboutGlow{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; opacity:.25; }

.about-hero__inner{
  display:grid; grid-template-columns: 1.2fr .95fr; gap: 2.2rem; align-items:center;
  max-width:1200px; margin:0 auto; padding:0 2rem;
}
@media (max-width: 980px){
  .about-hero__inner{ grid-template-columns:1fr; }
}

.about-hero__title{
  font-size: 2.6rem; line-height:1.1; margin: 0 0 .75rem;
  letter-spacing: .2px; color:#1e3d6f;
}
.about-hero__title span{
  background: linear-gradient(45deg, #2c5aa0, var(--accent-orange));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.about-hero__lead{ font-size: 1.05rem; color:#2c3e50; opacity:.95; }

.about-hero__badges{ display:flex; flex-wrap:wrap; gap:.5rem; margin:1rem 0 1rem; }
.badge{
  display:inline-flex; align-items:center; gap:.45rem;
  background:#fff; color:#183b6b; border:1px solid var(--border-color);
  padding:.55rem .85rem; border-radius:999px; font-weight:700;
  box-shadow: 0 8px 20px rgba(0,0,0,.06); font-size:.95rem;
}
.badge i{ color: var(--primary-color); }

.about-hero__list{ list-style:none; display:grid; gap:.45rem; margin: .75rem 0 1.25rem; }
.about-hero__list i{ color: var(--accent-orange); margin-right:.4rem; }

.about-hero__actions{ display:flex; gap:.6rem; flex-wrap:wrap; }

.about-hero__showcase{ position:relative; }
.showcase-card{
  position:relative; border-radius:22px; overflow:hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.18); transform: translateZ(0);
  background: #0b4682;
}
.showcase-card img{ display:block; width:100%; height:360px; object-fit:cover; opacity:.92; }
.showcase-card__ring{
  position:absolute; inset:auto auto -40px -40px; width:180px; height:180px; border-radius:50%;
  border: 14px solid rgba(255,255,255,.22); filter: blur(.3px);
}
.showcase-card__ring.ring2{
  inset: -40px -40px auto auto; border-color: rgba(255,107,53,.35);
}

.about-hero__stats{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.6rem; margin-top: .9rem;
}
@media (max-width: 520px){
  .about-hero__stats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.stat{
  background:#fff; border:1px solid var(--border-color); border-radius:14px; text-align:center;
  padding:.8rem .6rem; box-shadow:0 12px 30px rgba(0,0,0,.06);
}
.stat__num{ font-weight:800; color:#183b6b; }
.stat__label{ font-size:.9rem; color:#4a5668; }

/* Filtre sekmesi */
/* Filtre sekmesi: SABİT DEĞİL — normal akışta */
.filter-section{
  position: relative;   /* sticky/fixed KAPALI */
  top: auto;
  z-index: 1;
    background: #fff;       /* sayfanın arka plan rengi ile aynı */

  margin: 0;
  padding: 12px 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

/* ortada chip bar görünümü istersen kalsın */
.filter-section .container{
  display: flex;
  justify-content: center;
    background: #fff;       /* sayfanın arka plan rengi ile aynı */

}

.filter-tabs{
  display: inline-flex;
  gap: 8px;
  background: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.filter-tab{
  background:var(--light-gray); color:var(--text-color); padding:.8rem 1.5rem; border:none; border-radius:25px;
  cursor:pointer; transition:.3s; font-weight:500;
}
.filter-tab.active, .filter-tab:hover{ background:var(--primary-color); color:#fff; transform:translateY(-2px); box-shadow:0 5px 15px rgba(44,90,160,.3); }

.products-section{ padding:4rem 2rem; background:var(--light-gray); }
.products-grid.page{ display:grid; grid-template-columns: repeat(auto-fit, minmax(350px,1fr)); gap:2rem; margin-top:2rem; }

.product-category{
  background:#fff; border-radius:20px; overflow:hidden; box-shadow:0 10px 40px rgba(0,0,0,.1);
  transition:.3s; position:relative;
}
.product-category:hover{ transform:translateY(-10px); box-shadow:0 20px 60px rgba(0,0,0,.15); }
.category-header{
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color:#fff; padding:2rem; text-align:center; position:relative; overflow:hidden;
}
.category-header::before{
  content:""; position:absolute; top:-50%; right:-50%; width:100px; height:100px; background:rgba(255,255,255,.1);
  border-radius:50%; transition:.3s;
}
.product-category:hover .category-header::before{ transform:scale(8); }
.category-icon{ font-size:3rem; margin-bottom:1rem; color:var(--accent-orange); position:relative; z-index:2; }
.category-header h3{ font-size:1.5rem; margin-bottom:.5rem; position:relative; z-index:2; }
.category-header p{ opacity:.9; position:relative; z-index:2; }

.product-list{ padding:2rem; }
.product-item{ display:flex; align-items:center; padding:1rem 0; border-bottom:1px solid var(--border-color); transition:.3s; }
.product-item:last-child{ border-bottom:none; }
.product-item:hover{ background:var(--light-gray); margin:0 -1rem; padding-left:1rem; padding-right:1rem; border-radius:10px; }
.product-icon{ font-size:1.5rem; color:var(--primary-color); margin-right:1rem; width:40px; text-align:center; }
.product-info{ flex:1; }
.product-name{ font-weight:600; color:var(--dark-gray); margin-bottom:.3rem; }
.product-desc{ font-size:.9rem; color:#666; }
.inquiry-btn{ background:var(--accent-orange); color:#fff; border:none; padding:.5rem 1rem; border-radius:20px; cursor:pointer; font-size:.9rem; transition:.3s; }
.inquiry-btn:hover{ background:#e55530; transform:scale(1.05); }

/* Modal */
.modal{ display:none; position:fixed; z-index:2000; inset:0; background:rgba(0,0,0,.5); backdrop-filter:blur(5px); }
.modal-content{
  background:#fff; margin:5% auto; padding:2rem; border-radius:20px; width:90%; max-width:600px; position:relative; animation:modalSlideIn .3s ease;
}
@keyframes modalSlideIn{ from{opacity:0; transform:translateY(-30px);} to{opacity:1; transform:translateY(0);} }
.close{ position:absolute; right:1rem; top:1rem; font-size:2rem; cursor:pointer; color:#aaa; transition:.3s; }
.close:hover{ color:var(--accent-orange); }

/* Kart içi CTA */
.cat-cta{
  background: var(--accent-orange);
  color:#fff;
  padding:.45rem 1rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  white-space:nowrap;
  transition:.25s;
  margin-left:auto;
}
.cat-cta:hover{ background:#fff; color:var(--accent-orange); box-shadow:0 6px 20px rgba(255,107,53,.25); }


/* Responsive tweaks */
@media (max-width:768px){
  .page-header h1{ font-size:2.5rem; }
  .products-grid{ grid-template-columns:1fr; }
  .cta-buttons{ flex-direction:column; align-items:center; }
}

.neden-ranex {
  padding: 6rem 2rem;
  background: var(--light-gray);
}

.neden-ranex h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 3rem;
  position: relative;
}

.neden-ranex h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-orange));
  border-radius: 2px;
}

.neden-ranex__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.neden-ranex__cards .card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,.1);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: .3s;
}

.neden-ranex__cards .card::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .6s;
}

.neden-ranex__cards .card:hover::before { left: 100%; }
.neden-ranex__cards .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}

.neden-ranex__cards .card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: .3s;
}

.neden-ranex__cards .card:hover i {
  color: var(--accent-orange);
  transform: scale(1.1);
}

.neden-ranex__cards .card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.neden-ranex__cards .card p {
  color: #666;
  line-height: 1.6;
}

.neden-ranex__cards .card a {
  color: var(--accent-orange);
  font-weight: bold;
  text-decoration: none;
  transition: .3s;
}

.neden-ranex__cards .card a:hover {
  color: var(--primary-color);
}


/* === CTA ALANI ========================================================== */
.cta-pro{
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #123d74 0%, #0b4682 100%);
  border-radius: 24px;
  padding: 3rem 1.5rem;
  margin: 2.5rem auto;
  max-width: 1200px;
  box-shadow: 0 30px 70px rgba(0,0,0,.15);
}

#ctaParticles{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; pointer-events: none;
  z-index: 0;
}

/* İçerik */
.cta-pro__inner{ position: relative; z-index: 1; text-align: center; color: #fff; }
.cta-pro__inner h2{ font-size: 2rem; margin: 0 0 .75rem; }
.cta-pro__inner p{ opacity: .92; margin: 0 0 1.25rem; }

/* Butonlar */
.cta-pro__actions{ display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.cta-pro__btn{
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.3rem; border-radius: 999px;
  text-decoration: none; font-weight: 700; transition: .2s;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.cta-pro__btn--primary{ background: var(--accent-orange, #ff6b35); color: #fff; }
.cta-pro__btn--primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255,107,53,.35); }
.cta-pro__btn--ghost{ background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.25); }
.cta-pro__btn--ghost:hover{ background: rgba(255,255,255,.2); transform: translateY(-2px); }

/* Küçük ekran */
@media (max-width: 600px){
  .cta-pro{ border-radius: 18px; padding: 2.2rem 1.1rem; }
  .cta-pro__inner h2{ font-size: 1.6rem; }
}

/* Hareket azaltmayı tercih edenlere animasyonu gizle */
@media (prefers-reduced-motion: reduce){
  #ctaParticles{ display:none; }
}

.page-header.has-confetti {
  position: relative;
  overflow: hidden; /* taşanı kes */
}

.page-header.has-confetti .container {
  position: relative;
  z-index: 1; /* metin üstte kalsın */
  top: -40px;
}

#headerParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;     /* etkileşimi engelleme */
  opacity: 0.9;             /* çok hafif yumuşatma */
  filter: drop-shadow(0 0 2px rgba(0,0,0,.12));
}

/* Kategori sayfaları için dikey kart */
.cat-card{
  display:flex; flex-direction:column;
  border-radius:16px; overflow:hidden;
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  transition:transform .2s ease;
}
.cat-card:hover{ transform: translateY(-3px); }

.cat-card__img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:311/233;
  object-fit:cover;
}

.cat-card__body{ padding:12px 14px; }
.cat-card__title{ font-size:1rem; font-weight:700; color:#183b6b; margin:2px 0 6px; }
.cat-card__desc{ font-size:.92rem; color:#4a5668; line-height:1.35; }

.products-grid.categories{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:18px;
}

/* === NAV DROPDOWN (ENTEGRE) ============================================ */
.nav__links li{ position: relative; }

/* Ürünler parent linkinde alttaki turuncu çizgiyi kaldır (çakışmasın) */
.has-dropdown > .nav__parent::after{ display:none; }

/* Caret oku */
.nav__links .caret{
  display:inline-block; width:0; height:0; margin-left:8px; vertical-align:middle;
  border-left:6px solid transparent; border-right:6px solid transparent; border-top:6px solid #fff;
  transition: transform .2s ease;
}




/* Alt menü (başta kapalı) */
.nav__links .dropdown{
  list-style:none; margin:0; padding:10px 0;
  position:absolute; top:calc(100% + 10px); left:0; min-width:240px;
  background:#11335f; border-radius:14px; box-shadow:0 18px 40px rgba(0,0,0,.35);
  opacity:0; visibility:hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index:1300;
}
.nav__links .dropdown li{ margin:0; }

/* Dropdown linkleri: senin underline animasyonunu kapatıyoruz */
.nav__links .dropdown a{
  display:block; padding:10px 16px; border-radius:10px;
  color:#fff; text-decoration:none; font-weight:600; white-space:nowrap; position:relative;
}
.nav__links .dropdown a::after{ display:none; }
.nav__links .dropdown a:hover{
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  color:#ffebe4;
}

/* === NAV DROPDOWN (ENTEGRE) ============================================ */
.nav__links li{ position: relative; }
.has-dropdown > .nav__parent::after{ display:none; }

.nav__links .caret{
  display:inline-block; width:0; height:0; margin-left:8px; vertical-align:middle;
  border-left:6px solid transparent; border-right:6px solid transparent; border-top:6px solid #fff;
  transition: transform .2s ease;
}

/* Alt menü */
.nav__links .dropdown{
  list-style:none; margin:0; padding:10px 0;
  position:absolute; top:calc(100% + 10px); left:0; min-width:240px;
  background:#11335f; border-radius:14px; box-shadow:0 18px 40px rgba(0,0,0,.35);
  opacity:0; visibility:hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index:1300;
}
.nav__links .dropdown a{
  display:block; padding:10px 16px; border-radius:10px;
  color:#fff; text-decoration:none; font-weight:600; white-space:nowrap; position:relative;
}
.nav__links .dropdown a::after{ display:none; }
.nav__links .dropdown a:hover{
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  color:#ffebe4;
}

/* Hover ile aç (desktop) */
@media (min-width:901px){
  .has-dropdown:hover > .dropdown{ opacity:1; visibility:visible; transform: translateY(0); }
  .has-dropdown:hover > .nav__parent .caret{ transform: rotate(180deg); }
}

/* Canvas tüm hero’yu kaplasın, içerik üstte kalsın */
.hero{ position: relative; }
#heroFireflies{
  position:absolute; inset:0;
  width:100%; height:100%;
  z-index: 5;             /* içerikten küçük -> arkada */
  pointer-events:none;
  mix-blend-mode: screen;
  opacity:.6;
}
.hero .hero-content{ position:relative; z-index: 2; 
  top: -40px;              /* yukarı kaydırır */
}

/* === RANEX | Mobile responsive hotfix pack ============================== */

/* 1) Küçük ekranlarda genel padding sıklaştır */
@media (max-width:640px){
  .container{ padding: 0 1rem; }
}

/* 2) NAV: Mobil menü paneli taşmasın, alt menüler inline görünsün,
      uzun listeler kaydırılabilsin */
@media (max-width:900px){
  .nav__links{
    position: fixed;
    left: 12px; right: 12px; top: 64px;
    min-width: 0; width: auto;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  /* Dropdown'ı panel içinde akışa al */
  .nav__links .dropdown{
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: transparent; padding: 0;
  }
  .nav__links .dropdown a{ padding:10px 12px; border-radius:10px; }
/* ——— Mobilde Ürünler ok ikonu (caret) ——— */
@media (max-width:900px){
  /* caret'i mobilde göster ve animasyon ekle */
  .nav__links .caret{
    display:inline-block;                 /* override: göster */
    transition: transform .25s ease;
    transform: rotate(0deg);              /* kapalıyken aşağı baksın */
  }

  /* dropdown açıksa yukarı dönsün */
  .has-dropdown.open > .nav__parent .caret{
    transform: rotate(180deg);
  }
}

  /* Dokunmada açılmayı garantiye almak için: linke odaklandığında göster */
  .has-dropdown:focus-within .dropdown{
    opacity: 1; visibility: visible; transform: none;
  }
}

/* 3) Header konfeti offseti: mobilde yukarı kaydırmayı kapat */
@media (max-width:640px){
  .page-header{ padding: 5.5rem 1.2rem 2rem; }
  .page-header h1{ font-size: 2rem; }
  .page-header p{ font-size: 1rem; }
  .page-header.has-confetti .container{ top: 0; } /* << fix */
}

/* 4) Filtre chip bar: taşarsa yatay kaydır; scrollbar’ı gizle */
@media (max-width:740px){
  .filter-tabs{
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
  }
  .filter-tabs::-webkit-scrollbar{ display:none; }
  .filter-tab{ white-space: nowrap; padding: .65rem 1rem; font-size: .95rem; }
}

/* 5) Ürün liste satırları: kolon yap, CTA full genişlik;
      hover’daki negatif marginleri kapat (yatay taşma oluyordu) */
@media (max-width:640px){
  .product-item{
    flex-direction: column; align-items: flex-start;
    gap: .6rem;
  }
  .product-icon{ margin-right: 0; width: auto; }
  .inquiry-btn{ width: 100%; text-align: center; }

  /* Hover animasyonlarını yumuşat / taşmayı engelle */
  .product-item:hover{
    background: var(--light-gray);
    margin: 0; padding-left: 1rem; padding-right: 1rem;
  }
  .product-category:hover{
    transform: none; box-shadow: 0 10px 40px rgba(0,0,0,.1);
  }

  .products-section{ padding: 2rem 1rem; }
  .product-list{ padding: 1.25rem; }
}

/* 6) Grid sayfalar: 1 kolon */
@media (max-width:900px){
  .products-grid.page{ grid-template-columns: 1fr; }
}

/* 7) Küçük cihazlarda chip boyutlarını bir tık daha düşür */
@media (max-width:400px){
  .filter-tabs{ gap: 6px; padding: 8px 10px; }
  .filter-tab{ padding: .55rem .85rem; font-size: .9rem; }
}

/* === Kurumsal tipografi (IBM Plex Sans) === */
.hero .hero-content h1{
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.06;
  color: #fff !important;

  /* gradyanı tamamen kapat */
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;

  /* okunurluk (kurumsal netlik) */
  text-shadow:
    0 1px 0 rgba(0,0,0,.22),
    0 2px 10px rgba(0,0,0,.28);
}

/* aynı yaklaşımı ürün sayfası başlığına da uygula */
.page-header h1{
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.06;
  color:#fff !important;
  background:none !important;
  -webkit-text-fill-color: currentColor !important;
}

@media (max-width: 900px){
  .mobile-only{ display:block; }
  .nav__links{ align-items:center; text-align:center; }
  .nav__links .dropdown{ position:static; display:none; background:transparent; border:0; box-shadow:none; }
  .nav__links .dropdown.show{ display:block; }
  .nav__cta-mobile{ display:flex; justify-content:center; width:100%; }
}
@media (min-width: 901px){
  .mobile-only{ display:none; }
}
