/* Custom styles for the Hygiene Barrier site */
:root{
  --glass-bg: rgba(255,255,255,0.06);
}

.noise-overlay{
  position:absolute; inset:0; pointer-events:none;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="2" stitchTiles="stitch"/></filter><rect width="120" height="120" filter="url(%23n)" opacity="0.06"/></svg>');
}

.nav-link{ color: rgba(255,255,255,0.8); transition: color .2s ease; position: relative; }
.nav-link:hover{ color: #fff; }
.nav-link.active{ color:#fff; }
.nav-link.active::after{ content:""; position:absolute; left:0; right:0; bottom:-10px; height:2px; background: linear-gradient(90deg,#0ea5e9,#22d3ee); border-radius:2px; }
.mobile-link{ display:block; padding: .5rem; border-radius:.5rem; color: rgba(255,255,255,0.8); transition: all .2s ease; }
.mobile-link:hover{ color:#fff; background: rgba(255,255,255,0.05); }
.mobile-link.active{ color:#fff; background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.12); }
.btn-primary{ display:inline-flex; align-items:center; gap:.5rem; padding:.5rem 1rem; border-radius:.75rem; background: linear-gradient(90deg,#0ea5e9,#22d3ee); color:#0f172a; font-weight:600; box-shadow: 0 10px 25px -10px rgba(14,165,233,0.5); transition: filter .2s ease; }
.btn-primary:hover{ filter: brightness(1.1); }
.btn-secondary{ display:inline-flex; align-items:center; gap:.5rem; padding:.5rem 1rem; border-radius:.75rem; background: rgba(255,255,255,0.1); color:#fff; border:1px solid rgba(255,255,255,0.15); transition: background .2s ease; }
.btn-secondary:hover{ background: rgba(255,255,255,0.15); }
.btn-link{ color:#7dd3fc; transition: color .2s ease; }
.btn-link:hover{ color:#fff; }

.glass-card{ border-radius:1rem; background: var(--glass-bg); border:1px solid rgba(255,255,255,0.1); box-shadow: 0 30px 60px -15px rgba(0,0,0,0.6); }
/* Form inputs */
.input-modern, .textarea-modern{
  width: 100%;
  padding: .65rem .9rem;
  border-radius: .75rem;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.input-modern option{ color:#0f172a; background:#ffffff; }
.input-modern optgroup{ color:#0f172a; background:#ffffff; }
.input-modern:disabled{ opacity:.6; cursor:not-allowed; }
.input-modern::placeholder, .textarea-modern::placeholder{ color: rgba(255,255,255,0.5); }
.input-modern:focus, .textarea-modern:focus{
  border-color: rgba(56,189,248,0.6);
  box-shadow: 0 0 0 4px rgba(56,189,248,0.18);
  background: rgba(255,255,255,0.08);
}
.textarea-modern{ min-height: 9rem; resize: vertical; }
/* Hero media card should not show the subtle border */
.hero-media{ border: none; box-shadow: 0 30px 60px -15px rgba(0,0,0,0.6); }
.section-title{ font-size: clamp(1.5rem, 2vw + 1rem, 2rem); font-weight:800; }
.section-sub{ color: rgba(255,255,255,0.7); margin-top:.25rem; }

/* Centered page hero heading (e.g., Products) */
.hero-kicker{ display:inline-block; padding:.25rem .6rem; font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; color:#7dd3fc; background: rgba(125,211,252,0.08); border:1px solid rgba(125,211,252,0.2); border-radius:.5rem; }
.title-hero{ text-align:center; font-size: clamp(2rem, 3.5vw + 1rem, 3rem); font-weight:800; line-height:1.1; margin-top:.6rem; letter-spacing:-0.02em; position:relative; }
.title-hero::after{ content:""; display:block; width:96px; height:4px; margin:12px auto 0; border-radius:9999px; background: linear-gradient(90deg,#0ea5e9,#22d3ee); box-shadow: 0 0 0 3px rgba(14,165,233,0.15), 0 6px 22px rgba(34,211,238,0.35); }
.subtitle-center{ text-align:center; color: rgba(255,255,255,0.7); margin-top:.5rem; max-width: 52ch; margin-left:auto; margin-right:auto; }

/* Header logo: turnstile walking man animation */
.logo-anim-host{ position: relative; display:inline-block; }
.turnstile-anim{ position:absolute; top:50%; left:100%; margin-left:112px; transform: translateY(-50%); width: 240px; height: 84px; pointer-events:none; overflow:visible; z-index: 5; }
.turnstile-anim svg{ width:100%; height:100%; overflow:visible; }
@media (max-width: 768px){ .turnstile-anim{ display:none; } }

/* Stickman articulated animations */
@keyframes walkAcross{
  0% { transform: translate(140px,0); }
  45% { transform: translate(0,0); }
  100% { transform: translate(-140px,0); }
}
@keyframes dirtyVisible{ 0%,40%{opacity:1} 50%,100%{opacity:0} }
@keyframes cleanVisible{ 0%,50%{opacity:0} 60%,100%{opacity:1} }
@keyframes hipSway{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(1.2px); } }
@keyframes shoulderSway{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-1.2px); } }
/* 12-frame walk cycle based on reference images */
@keyframes thighLeftWalk { 
  0%   { transform: rotate(25deg); }    /* Frame 1: Left leg forward */
  8.33%{ transform: rotate(15deg); }    /* Frame 2: Mid swing */
  16.67%{ transform: rotate(-5deg); }   /* Frame 3: Contact */
  25%  { transform: rotate(-15deg); }   /* Frame 4: Passing */
  33.33%{ transform: rotate(-25deg); }  /* Frame 5: Back swing */
  41.67%{ transform: rotate(-20deg); }  /* Frame 6: Lift */
  50%  { transform: rotate(-10deg); }   /* Frame 7: Mid lift */
  58.33%{ transform: rotate(5deg); }    /* Frame 8: Forward swing */
  66.67%{ transform: rotate(15deg); }   /* Frame 9: High swing */
  75%  { transform: rotate(20deg); }    /* Frame 10: Pre-contact */
  83.33%{ transform: rotate(25deg); }   /* Frame 11: Contact prep */
  91.67%{ transform: rotate(25deg); }   /* Frame 12: Ready */
  100% { transform: rotate(25deg); }    /* Back to Frame 1 */
}
@keyframes thighRightWalk { 
  0%   { transform: rotate(-25deg); }   /* Frame 1: Right leg back */
  8.33%{ transform: rotate(-20deg); }   /* Frame 2: Lift start */
  16.67%{ transform: rotate(-10deg); }  /* Frame 3: Mid lift */
  25%  { transform: rotate(5deg); }     /* Frame 4: Forward swing */
  33.33%{ transform: rotate(15deg); }   /* Frame 5: High swing */
  41.67%{ transform: rotate(20deg); }   /* Frame 6: Pre-contact */
  50%  { transform: rotate(25deg); }    /* Frame 7: Contact */
  58.33%{ transform: rotate(15deg); }   /* Frame 8: Mid swing */
  66.67%{ transform: rotate(-5deg); }   /* Frame 9: Passing */
  75%  { transform: rotate(-15deg); }   /* Frame 10: Back swing */
  83.33%{ transform: rotate(-25deg); }  /* Frame 11: Back position */
  91.67%{ transform: rotate(-25deg); }  /* Frame 12: Hold */
  100% { transform: rotate(-25deg); }   /* Back to Frame 1 */
}
@keyframes shinLeftWalk { 
  0%   { transform: rotate(-10deg); }   /* Frame 1: Straight */
  8.33%{ transform: rotate(-5deg); }    /* Frame 2: Slight bend */
  16.67%{ transform: rotate(15deg); }   /* Frame 3: Contact bend */
  25%  { transform: rotate(25deg); }    /* Frame 4: Max bend */
  33.33%{ transform: rotate(20deg); }   /* Frame 5: Reduce */
  41.67%{ transform: rotate(10deg); }   /* Frame 6: Lift bend */
  50%  { transform: rotate(-5deg); }    /* Frame 7: Swing */
  58.33%{ transform: rotate(-15deg); }  /* Frame 8: Extension */
  66.67%{ transform: rotate(-20deg); }  /* Frame 9: Max extension */
  75%  { transform: rotate(-15deg); }   /* Frame 10: Prepare */
  83.33%{ transform: rotate(-10deg); }  /* Frame 11: Ready */
  91.67%{ transform: rotate(-10deg); }  /* Frame 12: Hold */
  100% { transform: rotate(-10deg); }   /* Back to Frame 1 */
}
@keyframes shinRightWalk { 
  0%   { transform: rotate(20deg); }    /* Frame 1: Back bend */
  8.33%{ transform: rotate(10deg); }    /* Frame 2: Lift bend */
  16.67%{ transform: rotate(-5deg); }   /* Frame 3: Swing */
  25%  { transform: rotate(-15deg); }   /* Frame 4: Extension */
  33.33%{ transform: rotate(-20deg); }  /* Frame 5: Max extension */
  41.67%{ transform: rotate(-15deg); }  /* Frame 6: Prepare */
  50%  { transform: rotate(-10deg); }   /* Frame 7: Contact */
  58.33%{ transform: rotate(-5deg); }   /* Frame 8: Slight bend */
  66.67%{ transform: rotate(15deg); }   /* Frame 9: Contact bend */
  75%  { transform: rotate(25deg); }    /* Frame 10: Max bend */
  83.33%{ transform: rotate(20deg); }   /* Frame 11: Reduce */
  91.67%{ transform: rotate(20deg); }   /* Frame 12: Hold */
  100% { transform: rotate(20deg); }    /* Back to Frame 1 */
}
/* Arms - opposite to legs */
@keyframes upperArmLeftWalk { 
  0%   { transform: rotate(-20deg); }   /* Frame 1: Left arm back */
  8.33%{ transform: rotate(-15deg); }   /* Frame 2: Swing start */
  16.67%{ transform: rotate(-5deg); }   /* Frame 3: Mid swing */
  25%  { transform: rotate(5deg); }     /* Frame 4: Forward */
  33.33%{ transform: rotate(15deg); }   /* Frame 5: Max forward */
  41.67%{ transform: rotate(20deg); }   /* Frame 6: Peak */
  50%  { transform: rotate(15deg); }    /* Frame 7: Return */
  58.33%{ transform: rotate(5deg); }    /* Frame 8: Mid return */
  66.67%{ transform: rotate(-5deg); }   /* Frame 9: Back swing */
  75%  { transform: rotate(-15deg); }   /* Frame 10: More back */
  83.33%{ transform: rotate(-20deg); }  /* Frame 11: Max back */
  91.67%{ transform: rotate(-20deg); }  /* Frame 12: Hold */
  100% { transform: rotate(-20deg); }   /* Back to Frame 1 */
}
@keyframes upperArmRightWalk { 
  0%   { transform: rotate(20deg); }    /* Frame 1: Right arm forward */
  8.33%{ transform: rotate(15deg); }    /* Frame 2: Return start */
  16.67%{ transform: rotate(5deg); }    /* Frame 3: Mid return */
  25%  { transform: rotate(-5deg); }    /* Frame 4: Back swing */
  33.33%{ transform: rotate(-15deg); }  /* Frame 5: More back */
  41.67%{ transform: rotate(-20deg); }  /* Frame 6: Max back */
  50%  { transform: rotate(-15deg); }   /* Frame 7: Swing start */
  58.33%{ transform: rotate(-5deg); }   /* Frame 8: Mid swing */
  66.67%{ transform: rotate(5deg); }    /* Frame 9: Forward */
  75%  { transform: rotate(15deg); }    /* Frame 10: Max forward */
  83.33%{ transform: rotate(20deg); }   /* Frame 11: Peak */
  91.67%{ transform: rotate(20deg); }   /* Frame 12: Hold */
  100% { transform: rotate(20deg); }    /* Back to Frame 1 */
}
@keyframes forearmLeftWalk { 
  0%   { transform: rotate(5deg); }     /* Frame 1: Slight bend */
  8.33%{ transform: rotate(0deg); }     /* Frame 2: Straight */
  16.67%{ transform: rotate(-5deg); }   /* Frame 3: Back bend */
  25%  { transform: rotate(-10deg); }   /* Frame 4: More bend */
  33.33%{ transform: rotate(-8deg); }   /* Frame 5: Reduce */
  41.67%{ transform: rotate(-5deg); }   /* Frame 6: Less bend */
  50%  { transform: rotate(0deg); }     /* Frame 7: Straight */
  58.33%{ transform: rotate(3deg); }    /* Frame 8: Slight forward */
  66.67%{ transform: rotate(5deg); }    /* Frame 9: Forward bend */
  75%  { transform: rotate(7deg); }     /* Frame 10: Max bend */
  83.33%{ transform: rotate(5deg); }    /* Frame 11: Reduce */
  91.67%{ transform: rotate(5deg); }    /* Frame 12: Hold */
  100% { transform: rotate(5deg); }     /* Back to Frame 1 */
}
@keyframes forearmRightWalk { 
  0%   { transform: rotate(-8deg); }    /* Frame 1: Back bend */
  8.33%{ transform: rotate(-5deg); }    /* Frame 2: Less bend */
  16.67%{ transform: rotate(0deg); }    /* Frame 3: Straight */
  25%  { transform: rotate(3deg); }     /* Frame 4: Slight forward */
  33.33%{ transform: rotate(5deg); }    /* Frame 5: Forward bend */
  41.67%{ transform: rotate(7deg); }    /* Frame 6: Max bend */
  50%  { transform: rotate(5deg); }     /* Frame 7: Reduce */
  58.33%{ transform: rotate(0deg); }    /* Frame 8: Straight */
  66.67%{ transform: rotate(-5deg); }   /* Frame 9: Back bend */
  75%  { transform: rotate(-10deg); }   /* Frame 10: More bend */
  83.33%{ transform: rotate(-8deg); }   /* Frame 11: Reduce */
  91.67%{ transform: rotate(-8deg); }   /* Frame 12: Hold */
  100% { transform: rotate(-8deg); }    /* Back to Frame 1 */
}

/* Beautiful walking animation */
@keyframes walkLeftArm {
  0%   { transform: rotate(-20deg); }
  50%  { transform: rotate(20deg); }
  100% { transform: rotate(-20deg); }
}
@keyframes walkRightArm {
  0%   { transform: rotate(20deg); }
  50%  { transform: rotate(-20deg); }
  100% { transform: rotate(20deg); }
}
@keyframes walkLeftLeg {
  0%   { transform: rotate(25deg); }
  50%  { transform: rotate(-25deg); }
  100% { transform: rotate(25deg); }
}
@keyframes walkRightLeg {
  0%   { transform: rotate(-25deg); }
  50%  { transform: rotate(25deg); }
  100% { transform: rotate(-25deg); }
}
@keyframes walkLeftLowerArm {
  0%   { transform: rotate(10deg); }
  50%  { transform: rotate(-10deg); }
  100% { transform: rotate(10deg); }
}
@keyframes walkRightLowerArm {
  0%   { transform: rotate(-10deg); }
  50%  { transform: rotate(10deg); }
  100% { transform: rotate(-10deg); }
}
@keyframes walkLeftLowerLeg {
  0%   { transform: rotate(-15deg); }
  50%  { transform: rotate(15deg); }
  100% { transform: rotate(-15deg); }
}
@keyframes walkRightLowerLeg {
  0%   { transform: rotate(15deg); }
  50%  { transform: rotate(-15deg); }
  100% { transform: rotate(15deg); }
}

.walker{ transform-origin:center; animation: walkAcross 5.5s linear infinite; }
.actor-scale{ transform-origin:center; transform: scale(1.22); }

/* Professional walk animations */
@keyframes professionalWalkLeftArm {
  0%   { transform: rotate(30deg) translateY(0px); }
  25%  { transform: rotate(10deg) translateY(-1px); }
  50%  { transform: rotate(-30deg) translateY(0px); }
  75%  { transform: rotate(-10deg) translateY(1px); }
  100% { transform: rotate(30deg) translateY(0px); }
}
@keyframes professionalWalkRightArm {
  0%   { transform: rotate(-30deg) translateY(0px); }
  25%  { transform: rotate(-10deg) translateY(1px); }
  50%  { transform: rotate(30deg) translateY(0px); }
  75%  { transform: rotate(10deg) translateY(-1px); }
  100% { transform: rotate(-30deg) translateY(0px); }
}
@keyframes professionalWalkLeftLeg {
  0%   { transform: rotate(35deg) translateX(0px); }
  25%  { transform: rotate(5deg) translateX(-0.5px); }
  50%  { transform: rotate(-35deg) translateX(0px); }
  75%  { transform: rotate(-5deg) translateX(0.5px); }
  100% { transform: rotate(35deg) translateX(0px); }
}
@keyframes professionalWalkRightLeg {
  0%   { transform: rotate(-35deg) translateX(0px); }
  25%  { transform: rotate(-5deg) translateX(0.5px); }
  50%  { transform: rotate(35deg) translateX(0px); }
  75%  { transform: rotate(5deg) translateX(-0.5px); }
  100% { transform: rotate(-35deg) translateX(0px); }
}
@keyframes professionalWalkTorso {
  0%   { transform: translateY(0px) rotate(2deg); }
  25%  { transform: translateY(-1px) rotate(0deg); }
  50%  { transform: translateY(0px) rotate(-2deg); }
  75%  { transform: translateY(1px) rotate(0deg); }
  100% { transform: translateY(0px) rotate(2deg); }
}
@keyframes handSwing {
  0%   { transform: rotate(-10deg); }
  25%  { transform: rotate(5deg); }
  50%  { transform: rotate(10deg); }
  75%  { transform: rotate(-5deg); }
  100% { transform: rotate(-10deg); }
}
@keyframes footStep {
  0%   { transform: rotate(0deg) translateY(0px); }
  25%  { transform: rotate(-5deg) translateY(-1px); }
  50%  { transform: rotate(0deg) translateY(0px); }
  75%  { transform: rotate(5deg) translateY(1px); }
  100% { transform: rotate(0deg) translateY(0px); }
}

/* GIF walking animation */
.walker.gif-walk {
  animation: walkAcross 4s linear infinite;
}
.walker.gif-walk .walking-gif {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  mix-blend-mode: multiply;
}

/* Language selector styling */
.language-selector select {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.language-selector select option {
  background-color: #1e293b;
  color: white;
  padding: 8px;
}

/* Hide Google Translate elements */
.goog-te-banner-frame,
.goog-te-gadget,
.goog-te-combo,
#google_translate_element {
  display: none !important;
}

/* Remove Google Translate top bar */
body {
  top: 0 !important;
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body.goog-te-banner-frame {
  top: 0 !important;
}



/* Complex walk animations (backup) */
.walker .hip{ animation: hipSway 0.9s ease-in-out infinite; }
.walker .shoulder{ animation: shoulderSway 0.9s ease-in-out infinite; }
.walker .thigh.l{ transform-origin: 0 0; animation: thighLeftWalk 1.2s linear infinite; }
.walker .thigh.r{ transform-origin: 0 0; animation: thighRightWalk 1.2s linear infinite; }
.walker .shin.l{ transform-origin: 0 0; animation: shinLeftWalk 1.2s linear infinite; }
.walker .shin.r{ transform-origin: 0 0; animation: shinRightWalk 1.2s linear infinite; }
.walker .uarm.l{ transform-origin: 0 0; animation: upperArmLeftWalk 1.2s linear infinite; }
.walker .uarm.r{ transform-origin: 0 0; animation: upperArmRightWalk 1.2s linear infinite; }
.walker .farm.l{ transform-origin: 0 0; animation: forearmLeftWalk 1.2s linear infinite; }
.walker .farm.r{ transform-origin: 0 0; animation: forearmRightWalk 1.2s linear infinite; }
.walker.dirty{ filter: saturate(0.7) sepia(0.6) hue-rotate(320deg) brightness(0.9); animation-name: walkAcross, dirtyVisible; animation-duration: 5.5s, 5.5s; animation-timing-function: linear, linear; animation-iteration-count: infinite, infinite; }
.walker.clean{ filter: saturate(1.1) brightness(1.1); animation-name: walkAcross, cleanVisible; animation-duration: 5.5s, 5.5s; animation-timing-function: linear, linear; animation-iteration-count: infinite, infinite; }

/* Gate arms spin around logo area to mimic a turnstile */
@keyframes gateStep{
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.gate{ transform-box: fill-box; transform-origin: 0px 4px; }
.gate-rotor{ transform-box: fill-box; transform-origin: 0 0; }
.gate-arm{ stroke: rgba(255,255,255,0.8); stroke-width: 2; stroke-linecap: round; }
.gate-post{ stroke: rgba(255,255,255,0.5); stroke-width: 3; }
.gate-glow{ filter: drop-shadow(0 0 6px rgba(56,189,248,0.35)); }

/* Make sure logo appears above for turnstile feel */
header a[href$="index.html"], header .site-logo{ position: relative; z-index: 1; }

.product-card{ position:relative; display:block; border-radius:1rem; overflow:hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; border:1px solid rgba(148,163,184,0.18); background: linear-gradient(180deg, rgba(2,6,23,0.6), rgba(15,23,42,0.6)); box-shadow: 0 20px 50px -20px rgba(2,132,199,0.25); }
.product-card:hover{ transform: translateY(-4px); box-shadow: 0 30px 70px -25px rgba(56,189,248,0.35); border-color: rgba(148,163,184,0.28); }
/* Dekoratif parıltı */
.product-card::before{ content:""; position:absolute; inset:-40% -40% auto auto; width:220px; height:220px; background: radial-gradient(closest-side, rgba(34,211,238,0.18), transparent 70%); filter: blur(12px); transform: translate(40px,-40px) rotate(15deg); pointer-events:none; }
.product-card:hover::before{ background: radial-gradient(closest-side, rgba(56,189,248,0.24), transparent 70%); }
/* Resim alanı - kalan alanı kapla */
.product-card .product-thumb{ 
  display:grid; 
  place-items:center; 
  padding: 12px; 
  background:
    radial-gradient(80% 80% at 20% 20%, rgba(14,165,233,0.20), transparent 60%),
    radial-gradient(70% 70% at 85% 25%, rgba(99,102,241,0.18), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,0.85), rgba(15,23,42,0.85));
  position: relative; 
}
.product-card .product-thumb::after{ content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), inset 0 -30px 60px rgba(0,0,0,0.25); }
.hero-media img{ 
  width: 220%; 
  height: 220%; 
  object-fit: contain !important; 
  object-position: center !important; 
  display: block; 
  border-radius: 0.75rem;
  transform: scale(1.0);
}
.product-card:hover .product-thumb img{ transform: scale(1.06); filter: drop-shadow(0 6px 20px rgba(0,0,0,0.3)); }
.product-card h3{ font-size:1.125rem; font-weight:700; }
.product-card p{ color: rgba(255,255,255,0.7); font-size:.9rem; margin-top:.25rem; }
.product-card .p-5{ padding:1.25rem; }

/* Equalize product card heights: fixed body min-height */
.card-body-fixed{ min-height: 180px; height: 180px; }

/* Line clamp utilities (no Tailwind plugin) */
.line-clamp-2{ display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.line-clamp-3{ display:-webkit-box; -webkit-line-clamp:3; line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* Product card text area styling */
.product-card .p-4{ background:
  linear-gradient(180deg, rgba(2,6,23,0.2), rgba(2,6,23,0.45));
  border-top:1px solid rgba(255,255,255,0.06);
  border-radius: 0 0 1rem 1rem; }

.stat{ text-align:center; background: rgba(255,255,255,0.05); border-radius:.75rem; padding:.75rem; border:1px solid rgba(255,255,255,0.1); }
.stat-value{ font-size:1.125rem; font-weight:800; }
.stat-label{ font-size:.75rem; color: rgba(255,255,255,0.6); }

.avatar{ width:2.25rem; height:2.25rem; border-radius:9999px; border:2px solid #0f172a; background-image: linear-gradient(135deg,#67e8f9,#22d3ee); }

.floating-badge{ position:absolute; right:-10px; bottom:-10px; transform:translateY(0); animation:float 6s ease-in-out infinite; display:inline-flex; align-items:center; gap:.5rem; padding:.5rem .75rem; border-radius:.75rem; background: rgba(52,211,153,0.2); color:#d1fae5; border:1px solid rgba(110,231,183,0.3); }
@keyframes float{ 0%,100%{ transform:translateY(0)} 50%{ transform:translateY(-8px)} }

.site-logo {
  height: 28px; /* layout kutusu küçük kalsın */
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  -webkit-user-select: none;
  user-select: none;
  transform-origin: left center;
  transform: scale(1.8); /* görsel büyüt, layout değişmesin */
  will-change: transform;
}
@media (min-width: 768px) { /* md */
  .site-logo { transform: scale(2.1); }
}

/* Swiper - references style */
.swiper{ padding: 6px 4px 20px; }
.ref-card{ height: 7rem; border-radius:.75rem; background: rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); display:grid; place-items:center; color: rgba(255,255,255,0.7); font-size:.9rem; letter-spacing:.06em; }

/* References logos: square background, centered logo */
.ref-logo{
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 1 / 1; /* kare */
  height: auto; /* grid hücresine göre ölçeklenir */
  padding: 12px;
  border-radius: .75rem;
  overflow: hidden; /* taşmayı engelle */
  background: #ffffff; /* beyaz arkaplan */
  border: none;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: inset 0 0 0 1px rgba(2,6,23,0.05);
}
.ref-logo::before{
  /* Neon kenar animasyonu */
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px; /* çerçeve kalınlığı */
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    #22d3ee, #60a5fa, #a78bfa, #22d3ee
  );
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  will-change: transform, filter;
  animation: spin 8s linear infinite, neonHue 18s linear infinite;
  pointer-events: none;
}
.ref-logo::after{
  /* Yumuşak dış parıltı */
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  box-shadow: 0 0 30px rgba(34,211,238,0.35), 0 0 48px rgba(96,165,250,0.28);
  pointer-events: none;
}
.ref-logo:hover{ transform: translateY(-2px); box-shadow: 0 10px 28px rgba(2,6,23,0.35); }
.ref-logo img{
  width: 82%;
  height: 82%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 8px rgba(0,0,0,0.25));
}

@keyframes spin{ to { transform: rotate(360deg); } }
@keyframes neonHue{ to { filter: hue-rotate(360deg); } }

/* Kayarak parlayan modern "sheen" efekti */
.ref-logo .sheen{
  content: "";
  position: absolute;
  top: -10%; left: -20%;
  width: 140%; height: 120%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-60%) rotate(20deg);
  animation: sheen 3.5s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes sheen{
  0% { transform: translateX(-60%) rotate(20deg); }
  100% { transform: translateX(60%) rotate(20deg); }
}

/* CTA */
.cta{ display:flex; flex-direction:column; gap:1.5rem; align-items:center; justify-content:space-between; padding:1.5rem; border-radius:1rem; background: linear-gradient(135deg, rgba(14,165,233,.1), rgba(34,211,238,.1), rgba(52,211,153,.1)); border:1px solid rgba(255,255,255,0.1); }
@media (min-width: 768px){ .cta{ flex-direction:row; } }

/* Utilities */
.container-narrow{ max-width: 980px; margin-left:auto; margin-right:auto; }

/* Responsive tweaks */
@media (max-width: 420px){
  .section-title{ font-size: 1.5rem; }
}

/* Hero floating orbs (glowing dots/blobs) */
.hero-orbs{ position:absolute; inset:0; pointer-events:none; z-index:-5; overflow:hidden; }
.hero-orbs .orb{
  position:absolute;
  left: var(--x);
  top:  var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 9999px;
  background:
    radial-gradient(closest-side, hsla(var(--h,200), 95%, 65%, var(--a,.55)), transparent 70%),
    radial-gradient(closest-side at 30% 30%, hsla(var(--h,200), 95%, 75%, calc(var(--a,.55) * .9)), transparent 60%);
  filter: blur(1px) saturate(120%);
  box-shadow:
    0 10px 30px rgba(14,165,233,.25),
    0 0 80px rgba(34,211,238,.18) inset;
  animation: orb-move var(--d,14s) ease-in-out infinite alternate,
             orb-pulse 6s ease-in-out infinite;
  transform: translate3d(0,0,0);
  will-change: transform, opacity;
  opacity: .9;
}

@keyframes orb-move{
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(var(--dx,60px), var(--dy,-60px)) scale(1.05); }
  100% { transform: translate(calc(var(--dx,60px) * .2), calc(var(--dy,-60px) * .2)) scale(1.02); }
}
@keyframes orb-pulse{
  0%,100%{ filter: blur(1px) saturate(120%); opacity:.9; }
  50%    { filter: blur(2px) saturate(140%); opacity:1; }
}

/* Floating Action Buttons */
.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  transform: translateZ(0);
  backdrop-filter: blur(10px);
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

@media (prefers-reduced-motion: reduce){
  .hero-orbs .orb{ animation: none; }
}

/* Product Card Fixes */
.product-card {
  height: 380px !important;
  display: flex;
  flex-direction: column;
}

.product-card .product-thumb {
  height: 250px !important;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.product-card .product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.product-card .p-5 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card .product-category {
  font-size: 12px;
  font-weight: 500;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
  margin-top: 8px;
  display: inline-block;
}

/* Product Detail Page Footer Fix - Stronger approach */
body.product-detail-page {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-x: hidden !important;
}

body.product-detail-page main {
  flex: 1 !important;
  min-height: 80vh !important;
}

body.product-detail-page footer {
  position: relative !important;
  bottom: 0 !important;
  width: 100% !important;
  flex-shrink: 0 !important;
  z-index: 10 !important;
}

/* Ensure content area has minimum height */
body.product-detail-page #detail {
  min-height: 60vh !important;
}

/* Responsive */
@media (max-width: 768px) {
  .floating-btn {
    width: 40px;
    height: 40px;
  }
  
  .floating-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .product-card {
    height: 340px !important;
  }
  
  .product-card .product-thumb {
    height: 200px !important;
  }
}
