@charset "UTF-8";

/* ==========================================================================
   HK YAPI METAL - Modern Light & Brushed Steel Design System
   High Precision Steel, CNC Laser & Metallic Engineering Theme
   ========================================================================== */

:root {
  /* Metallic & Steel Tones */
  --steel-50: #f8fafc;
  --steel-100: #f1f5f9;
  --steel-200: #e2e8f0;
  --steel-300: #cbd5e1;
  --steel-400: #94a3b8;
  --steel-500: #64748b;
  --steel-600: #475569;
  --steel-700: #334155;
  --steel-800: #1e293b;
  --steel-900: #0f172a;
  --steel-950: #020617;

  /* Accent Colors */
  --laser-blue: #0284c7;
  --laser-cyan: #0ea5e9;
  --laser-spark: #ea580c;
  --laser-amber: #d97706;
  --laser-gold: #f59e0b;

  /* Surfaces */
  --bg-body: #f8fafc;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Space Grotesk', sans-serif;
}

/* Base Configuration */
html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--steel-800);
  overflow-x: clip;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(234, 88, 12, 0.03) 0%, transparent 40%),
    linear-gradient(rgba(226, 232, 240, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.6) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  color: var(--steel-900);
}

/* Brushed Steel Metallic Panel */
.steel-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 60%, #f1f5f9 100%);
  border: 1px solid var(--steel-200);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.steel-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 0 15px -3px rgba(2, 132, 199, 0.15);
}

/* Metallic Text Gradients */
.gradient-text-steel {
  background: linear-gradient(135deg, #0f172a 30%, #334155 70%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-laser {
  background: linear-gradient(135deg, #0284c7 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Steel Chrome Badge */
.steel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: var(--steel-800);
  border: 1px solid var(--steel-300);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.steel-badge-blue {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0369a1;
  border: 1px solid #7dd3fc;
}

.steel-badge-orange {
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  color: #c2410c;
  border: 1px solid #fdba74;
}

/* Precision Laser Sweep Animation */
.laser-cut-line {
  position: relative;
  overflow: hidden;
}

.laser-cut-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0284c7, #ea580c, #f59e0b, transparent);
  animation: laserCutSweep 3s infinite linear;
}

@keyframes laserCutSweep {
  0% { left: -100%; opacity: 0; }
  30% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 150%; opacity: 0; }
}

/* Hero Full-Featured Video Slider */
.hero-slider-container {
  position: relative;
  min-height: 580px;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.9);
  background-color: #0b0f19;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Slide Progress Bar */
.slide-progress-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.slide-progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #ea580c;
  transition: width 0.1s linear;
}

.hero-tab-btn {
  transition: all 0.3s ease;
  border: 1px solid var(--steel-200);
}

.hero-tab-btn.active {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.2);
  transform: translateY(-2px);
}

.hero-tab-btn.active .tab-indicator {
  background-color: #ea580c;
  width: 1.5rem;
}

/* Interactive Canvas Cutter */
#laser-canvas {
  width: 100%;
  height: 240px;
  border-radius: 1rem;
  background: #0f172a;
  border: 1px solid #334155;
}

/* Clean Dropzone */
.dropzone-light {
  background-color: #f8fafc;
  border: 2px dashed #cbd5e1;
  transition: all 0.25s ease;
}

.dropzone-light:hover, .dropzone-light.dragover {
  border-color: #0284c7;
  background-color: #f0f9ff;
}

/* ==========================================================================
   Navigation Bar & Responsive Logo System (2 Tık Büyük & Akıcı Scroll)
   ========================================================================== */
#main-navbar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-logo {
  height: 70px;
  max-height: 70px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
}

@media (min-width: 640px) {
  #navbar-container {
    height: 96px;
  }
  .site-logo {
    height: 82px;
    max-height: 82px;
    max-width: 220px;
  }
}

@media (min-width: 1024px) {
  #navbar-container {
    height: 116px;
  }
  .site-logo {
    height: 104px;
    max-height: 104px;
    max-width: 270px;
  }
}

/* Modern Sticky Header (Scrolled State - Logo Küçülme & Menü Sabit) */
.header-scrolled {
  background: rgba(2, 6, 18, 0.98) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.8) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8) !important;
}

@media (max-width: 639px) {
  .header-scrolled #navbar-container {
    height: 56px !important;
  }
  .header-scrolled .site-logo {
    height: 44px !important;
    max-height: 44px !important;
  }
}

@media (min-width: 640px) {
  .header-scrolled #navbar-container {
    height: 64px !important;
  }
  .header-scrolled .site-logo {
    height: 50px !important;
    max-height: 50px !important;
  }
}

@media (min-width: 1024px) {
  .header-scrolled #navbar-container {
    height: 68px !important;
  }
  .header-scrolled .site-logo {
    height: 52px !important;
    max-height: 52px !important;
  }
}

/* Responsive Global Layout Protection - No Horizontal Overflow */
html, body {
  overflow-x: clip !important;
  max-width: 100vw !important;
  width: 100%;
}

img, svg, video {
  max-width: 100%;
}

/* Responsive Video Background Cover (Zero Black Bars at Top or Bottom) */
.video-bg-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
  opacity: 1;
  max-width: none !important;
  width: 180%;
  height: 180%;
  min-width: 100vw;
  min-height: 56.25vw;
}

@media (max-width: 768px) {
  .video-bg-iframe {
    width: 340% !important;
    height: 140% !important;
    min-width: 320% !important;
    min-height: 100% !important;
    max-width: none !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
}

/* ==========================================================================
   Realistic 3D WhatsApp Floating Action Button (SOL KÖŞE)
   ========================================================================== */
.whatsapp-floating-wrapper {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
}

@media (max-width: 640px) {
  .whatsapp-floating-wrapper {
    bottom: 18px;
    left: 18px;
  }
}

/* ==========================================================================
   Scroll-To-Top Button (SAĞ KÖŞE - Turuncu Başa Dön Oku)
   ========================================================================== */
.scroll-to-top-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-to-top-wrapper.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

@media (max-width: 640px) {
  .scroll-to-top-wrapper {
    bottom: 18px;
    right: 18px;
  }
}

.scroll-to-top-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, #ff8833 0%, #ea580c 45%, #c2410c 85%, #9a3412 100%) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 
    inset 0 3px 6px rgba(255, 255, 255, 0.7),
    inset 0 -4px 8px rgba(0, 0, 0, 0.4),
    0 10px 25px rgba(234, 88, 12, 0.6),
    0 4px 12px rgba(0, 0, 0, 0.5) !important;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

@media (max-width: 640px) {
  .scroll-to-top-btn {
    width: 52px;
    height: 52px;
  }
}

.scroll-to-top-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 
    inset 0 3px 8px rgba(255, 255, 255, 0.9),
    inset 0 -4px 8px rgba(0, 0, 0, 0.45),
    0 14px 32px rgba(234, 88, 12, 0.8),
    0 6px 16px rgba(0, 0, 0, 0.6) !important;
}

.scroll-to-top-btn:active {
  transform: translateY(-1px) scale(0.96);
}

/* Top Glass Highlight on Orange Button */
.scroll-to-top-btn::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 10px;
  right: 10px;
  height: 16px;
  border-radius: 50% 50% 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

/* Pure Circular 3D Button - Zero Side Protrusion */
.whatsapp-float-btn {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, #52f88d 0%, #25d366 40%, #1ebe5d 75%, #0f8543 100%) !important;
  box-shadow: 
    inset 0 3px 6px rgba(255, 255, 255, 0.75),
    inset 0 -4px 8px rgba(0, 0, 0, 0.4),
    0 10px 25px rgba(37, 211, 102, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.45) !important;
  border: none !important;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

@media (max-width: 640px) {
  .whatsapp-float-btn {
    width: 54px;
    height: 54px;
  }
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 
    inset 0 3px 8px rgba(255, 255, 255, 0.9),
    inset 0 -4px 8px rgba(0, 0, 0, 0.45),
    0 14px 32px rgba(37, 211, 102, 0.75),
    0 6px 16px rgba(0, 0, 0, 0.55) !important;
}

/* Realistic Glass Arch Reflection */
.whatsapp-float-btn::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 12px;
  right: 12px;
  height: 18px;
  border-radius: 50% 50% 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

@media (max-width: 640px) {
  .whatsapp-float-btn::after {
    left: 10px;
    right: 10px;
    height: 15px;
  }
}

/* Pulse Ripple Wave */
.whatsapp-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: wa-pulse-wave 2.2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes wa-pulse-wave {
  0% {
    transform: scale(0.9);
    opacity: 0.85;
  }
  60% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Green Live Online Dot */
.whatsapp-status-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #22c55e;
  border: 2px solid #ffffff;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.9);
}

