/* Son tasarım dokunuşları: ferah tipografi ve stok kullanım alanı görselleri. */
.hero h1 {
  font-size: clamp(2.5rem, 5.15vw, 5.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  word-spacing: 0.06em;
}

.application-card {
  background-size: cover;
  background-position: center;
}

.application-card::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.12));
  opacity: 1;
}

.application-card:nth-child(1) { background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1200&q=85'); }
.application-card:nth-child(2) { background-image: url('https://images.unsplash.com/photo-1519315901367-f34ff9154487?auto=format&fit=crop&w=900&q=85'); }
.application-card:nth-child(3) { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=85'); }
.application-card:nth-child(4) { background-image: url('https://images.unsplash.com/photo-1565793298595-6a879b1d9492?auto=format&fit=crop&w=900&q=85'); }
.application-card:nth-child(5) { background-image: url('https://images.unsplash.com/photo-1531058020387-3be344556be6?auto=format&fit=crop&w=1200&q=85'); }
.application-card:nth-child(6) { background-image: url('https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=900&q=85'); }
.application-card:nth-child(7) { background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=85'); }
.application-card:nth-child(8) { background-image: url('https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=900&q=85'); }

@media (max-width: 520px) {
  .hero h1 { letter-spacing: -0.025em; }
}

/* Header controls */
.site-header { justify-content: flex-start; }
.site-header .main-nav { margin-left: auto; }
.site-header .header-contact { margin-left: clamp(18px, 2.5vw, 38px); }
.language-toggle { margin-left: 18px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: 800 .62rem/1 var(--font-body); letter-spacing: .08em; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.language-toggle:hover, .language-toggle.is-english { border-color: var(--red); color: var(--red); background: rgba(227,6,19,.08); }
.language-toggle i { margin: 0 3px; color: #888; font-style: normal; }
.detail-controls { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.detail-controls .language-toggle { margin-left: 0; }
@media (max-width: 850px) { .site-header .language-toggle { margin-left: auto; } .site-header .main-nav.open { margin-left: 0; } }

/* Hero product: subtle 3D presentation */
.hero-product { perspective: 1000px; }
.hero-product img {
  transform-style: preserve-3d;
  transform-origin: 50% 55%;
  filter: drop-shadow(-20px 28px 24px rgba(0, 0, 0, .48));
  animation: none;
}

/* The duplicate silhouette creates a visible, canister-like body depth. */
.hero-product::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("images/pilot100-bidon.png") center / contain no-repeat;
  filter: brightness(.34) contrast(1.2) saturate(.6);
  transform: translateX(28px) translateY(7px) scale(.99);
  opacity: .88;
}

.hero-product img { z-index: 2; }

.hero-product.visible {
  animation: none;
  transform-style: preserve-3d;
}

@keyframes pilot-can-rotate {
  0%, 100% { transform: perspective(1000px) translateY(0) rotateY(-25deg) rotateX(4deg) scale(1.06); }
  50% { transform: perspective(1000px) translateY(-24px) rotateY(25deg) rotateX(-4deg) scale(1.12); }
}

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

/* Give the can more visual presence in the hero composition. */
.hero-product {
  width: min(32vw, 465px);
  right: 6%;
  bottom: 10%;
}

@media (max-width: 850px) {
  .hero-product { width: min(49vw, 330px); right: 2%; }
}
/* Header logo */
.brand-logo { display: block; width: clamp(140px, 12vw, 190px); line-height: 0; }
.brand-logo img { display: block; width: 100%; height: auto; }

/* Restore the original hero canister presentation. */
.hero-product {
  perspective: none;
  width: min(25vw, 355px);
  right: 10%;
  bottom: 8%;
}
.hero-product::before { display: none; }
.hero-product img { filter: none; transform: none; }

@media (max-width: 850px) {
  .hero-product { width: 230px; right: 6%; bottom: 5%; }
}

@media (max-width: 520px) {
  .hero-product { width: 190px; right: -2%; }
}

/* Hero product image supplied for the homepage. */
.hero-product {
  width: min(22vw, 320px);
  min-height: 0;
  top: 34%;
  bottom: auto;
}
.hero-product img {
  position: relative;
  opacity: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.product-fallback { display: none; }

@media (max-width: 850px) {
  .hero-product { width: min(42vw, 280px); top: 25%; bottom: auto; }
}

@media (max-width: 520px) {
  .hero-product { width: 190px; top: auto; bottom: 5%; }
}

/* Header-logo reload transition */
.reload-spray {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(5, 5, 5, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s, background .22s;
}
.reload-spray.is-active { opacity: 1; background: rgba(5, 5, 5, .94); }
.spray-gun { position: absolute; left: -230px; top: 42%; width: 220px; height: 94px; transform: rotate(-11deg); }
.spray-gun::before { content: ""; position: absolute; right: 0; top: 20px; width: 146px; height: 48px; border-radius: 14px 5px 5px 14px; background: linear-gradient(180deg, #df2630, #8e0710); box-shadow: inset 0 5px 8px #ff7177, 0 10px 25px #000; }
.spray-gun::after { content: ""; position: absolute; right: -19px; top: 32px; width: 30px; height: 24px; border-radius: 2px; background: #c8c8c8; box-shadow: inset 0 0 0 5px #666; }
.spray-gun i { position: absolute; left: 44px; top: 51px; width: 36px; height: 72px; border: 13px solid #b40c17; border-top: 0; border-radius: 0 0 15px 15px; transform: skewX(-14deg); }
.spray-gun b { position: absolute; left: 8px; top: 25px; width: 50px; height: 34px; border-radius: 12px; background: #242424; box-shadow: inset 0 4px 3px #555; }
.spray-gun span { position: absolute; right: 18px; top: 8px; width: 38px; height: 20px; border-radius: 10px; background: #f0f0f0; }
.spray-stream { position: absolute; left: calc(16% + 235px); top: calc(42% + 44px); width: 0; height: 270px; transform: translateY(-50%); transform-origin: left center; clip-path: polygon(0 48%, 0 52%, 100% 100%, 100% 0); background: linear-gradient(90deg, rgba(235, 14, 29, .9), rgba(238, 35, 47, .62) 58%, rgba(238, 35, 47, .08)); filter: blur(3px); }
.spray-drops { position: absolute; left: calc(16% + 235px); top: calc(42% - 90px); width: 72%; height: 300px; opacity: 0; }
.spray-drops i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #e30613; box-shadow: 0 0 13px #e30613; }
.spray-drops i:nth-child(1) { left: 7%; top: 44%; }.spray-drops i:nth-child(2) { left: 25%; top: 18%; width: 6px; height: 6px; }.spray-drops i:nth-child(3) { left: 43%; top: 66%; width: 12px; height: 12px; }.spray-drops i:nth-child(4) { left: 61%; top: 11%; }.spray-drops i:nth-child(5) { left: 78%; top: 57%; width: 5px; height: 5px; }.spray-drops i:nth-child(6) { left: 93%; top: 31%; width: 7px; height: 7px; }
.reload-spray p { position: absolute; bottom: 18%; margin: 0; color: #fff; font: 800 .67rem/1 var(--font-display); letter-spacing: .24em; opacity: 0; }
.reload-spray.is-active .spray-gun { animation: spray-gun-enter .7s cubic-bezier(.2,.8,.2,1) forwards; }
.reload-spray.is-active .spray-stream { animation: spray-stream 1.15s .58s cubic-bezier(.15,.7,.2,1) forwards; }
.reload-spray.is-active .spray-drops { animation: spray-drops .8s .83s ease-out forwards; }
.reload-spray.is-active p { animation: spray-copy .3s 1.25s forwards; }
@keyframes spray-gun-enter { to { left: 16%; } }
@keyframes spray-stream { to { width: 76vw; } }
@keyframes spray-drops { to { opacity: 1; transform: translateX(12vw); } }
@keyframes spray-copy { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .reload-spray.is-active .spray-gun, .reload-spray.is-active .spray-stream, .reload-spray.is-active .spray-drops, .reload-spray.is-active p { animation: none; } }
