/* 
 * Akyol Global Forklift Hizmetleri
 * Industrial Design System Stylesheet
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* Base Styles */
html, body {
  background: #f5f4ef; /* bone color */
  color: #303841;      /* ink color */
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.font-display {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-stretch: 90%;
}

/* Subtle hatch pattern for industrial sections */
.hatch {
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 9px);
}
.hatch-dark {
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 9px);
}

/* Yellow caution stripe */
.stripe-y {
  background-image: repeating-linear-gradient(135deg, #debc0d 0 14px, #303841 14px 28px);
}

/* Industrial eyebrow tag / underline */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #303841;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: #debc0d;
  display: inline-block;
}
.eyebrow-light {
  color: rgba(255,255,255,.7);
}
.eyebrow-light::before {
  background: #debc0d;
}

/* Square industrial buttons (no radius) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.4rem;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all .25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1.5px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: all 0.5s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn-primary {
  background: #debc0d;
  color: #1b1f25;
}
.btn-primary:hover {
  background: #f1cd14;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(222,188,13,0.3);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover {
  border-color: #debc0d;
  color: #debc0d;
  background: rgba(222,188,13,0.05);
}
.btn-dark {
  background: #303841;
  color: #fff;
}
.btn-dark:hover {
  background: #1b1f25;
  transform: translateY(-1px);
}

/* Header Navigation slide underlines */
header nav a {
  position: relative;
  transition: color 0.25s ease;
}
header nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: #debc0d;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
header nav a:hover::after,
header nav a.text-accent::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Section number badge */
.secnum {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .18em;
  color: #a8900a;
}

/* Card hover */
.svc-card {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 0 0 rgba(48,56,65,0);
}
.svc-card:hover {
  transform: translateY(-5px);
  border-color: #debc0d;
  box-shadow: 0 16px 32px -12px rgba(48,56,65,0.15);
}
.svc-card .svc-arrow {
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.svc-card:hover .svc-arrow {
  background: #debc0d;
  color: #1b1f25;
  transform: translateX(4px);
}
.svc-card:hover i {
  animation: icon-wiggle 0.5s ease-in-out;
}

/* Wiggle animation for inner card icons */
@keyframes icon-wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-12deg); }
  75% { transform: rotate(12deg); }
}

/* Image zoom container styles */
.img-zoom-container {
  overflow: hidden;
  position: relative;
}
.img-zoom-container img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-zoom-container:hover img {
  transform: scale(1.06);
}


/* Marquee for trust bar */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  animation: marquee 38s linear infinite;
}

/* Custom scrollbar inside sidepanels */
.sidepanel::-webkit-scrollbar {
  width: 8px;
}
.sidepanel::-webkit-scrollbar-thumb {
  background: #303841;
}

/* WhatsApp Floating Widget (Industrial styling) */
.whatsapp-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #25d366;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  animation: pulse-green 2s infinite;
}

.whatsapp-floating:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
