/* KombiSatinal.com - Modern Custom Styles & Animations */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --primary: #0b192c;
  --primary-light: #1e3a8a;
  --secondary: #2563eb;
  --accent-orange: #ea580c;
  --accent-orange-hover: #c2410c;
  --whatsapp: #22c55e;
  --whatsapp-hover: #16a34a;
  --surface: #f8fafc;
  --border: #e2e8f0;
}

html, body {
  overflow-x: clip;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Glassmorphism utility */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-dark {
  background: rgba(11, 25, 44, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Card hover animation */
.product-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -10px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
}

/* Pulse animation for floating WhatsApp */
@keyframes softPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4), 0 10px 25px -5px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(34, 197, 94, 0), 0 10px 25px -5px rgba(34, 197, 94, 0.4);
  }
}

.whatsapp-pulse {
  animation: softPulse 2.5s infinite;
}

/* Badge glow */
.badge-glow {
  box-shadow: 0 2px 8px -1px rgba(37, 99, 235, 0.25);
}

/* Line clamp utilities */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Smooth Accordion */
.accordion-content {
  transition: max-height 0.3s ease-out, opacity 0.2s ease;
  overflow: hidden;
}

/* Animated Flowing RGB Effect (Kayarlı RGB Efekti) */
@keyframes rgbFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.rgb-flow-text {
  background: linear-gradient(
    90deg,
    #ff2a54 0%,
    #ff7a00 15%,
    #ffd000 30%,
    #00e676 45%,
    #00d2ff 60%,
    #7928ca 75%,
    #ff0080 90%,
    #ff2a54 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: rgbFlow 4.5s linear infinite;
  display: inline-block;
  will-change: background-position;
  filter: drop-shadow(0 2px 14px rgba(0, 210, 255, 0.25));
}

/* ==========================================================================
   UNIVERSAL GRADIENT BUTTON SYSTEM
   ========================================================================== */

/* 1. Orange Gradient Buttons (Primary CTA) */
a.bg-brand-orange,
button.bg-brand-orange,
a.bg-orange-600,
button.bg-orange-600,
.btn-gradient-orange {
  background: linear-gradient(135deg, #ff7a18 0%, #ea580c 50%, #c2410c 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: none !important;
}

a.bg-brand-orange:hover,
button.bg-brand-orange:hover,
a.bg-orange-600:hover,
button.bg-orange-600:hover,
.btn-gradient-orange:hover {
  background: linear-gradient(135deg, #ff9238 0%, #f97316 50%, #ea580c 100%) !important;
  box-shadow: 0 6px 22px rgba(234, 88, 12, 0.5) !important;
  transform: translateY(-2px);
}

a.bg-brand-orange:active,
button.bg-brand-orange:active,
.btn-gradient-orange:active {
  transform: translateY(0px) scale(0.98);
}

/* 2. Green / WhatsApp Gradient Buttons */
a.bg-brand-green,
button.bg-brand-green,
a.bg-emerald-600,
button.bg-emerald-600,
#floating-whatsapp-btn,
.btn-gradient-green {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 50%, #15803d 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: none !important;
}

a.bg-brand-green:hover,
button.bg-brand-green:hover,
a.bg-emerald-600:hover,
button.bg-emerald-600:hover,
#floating-whatsapp-btn:hover,
.btn-gradient-green:hover {
  background: linear-gradient(135deg, #34e077 0%, #22c55e 50%, #16a34a 100%) !important;
  box-shadow: 0 6px 22px rgba(34, 197, 94, 0.5) !important;
  transform: translateY(-2px);
}

a.bg-brand-green:active,
button.bg-brand-green:active,
.btn-gradient-green:active {
  transform: translateY(0px) scale(0.98);
}

/* 3. Deep Navy Gradient Buttons */
a.bg-brand-navy,
button.bg-brand-navy,
.btn-gradient-navy {
  background: linear-gradient(135deg, #0b192c 0%, #132b4f 50%, #1e3a8a 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.38) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

a.bg-brand-navy:hover,
button.bg-brand-navy:hover,
.btn-gradient-navy:hover {
  background: linear-gradient(135deg, #132b4f 0%, #1e3a8a 50%, #2563eb 100%) !important;
  box-shadow: 0 6px 22px rgba(30, 58, 138, 0.48) !important;
  transform: translateY(-2px);
}

a.bg-brand-navy:active,
button.bg-brand-navy:active,
.btn-gradient-navy:active {
  transform: translateY(0px) scale(0.98);
}

/* 4. Electric Blue Gradient Buttons */
a.bg-brand-blue,
button.bg-brand-blue,
a.bg-blue-600,
button.bg-blue-600,
.btn-gradient-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

a.bg-brand-blue:hover,
button.bg-brand-blue:hover,
a.bg-blue-600:hover,
button.bg-blue-600:hover,
.btn-gradient-blue:hover {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%) !important;
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.5) !important;
  transform: translateY(-2px);
}

a.bg-brand-blue:active,
button.bg-brand-blue:active,
.btn-gradient-blue:active {
  transform: translateY(0px) scale(0.98);
}

/* 5. Header Action Soft Blue Gradient (e.g. İstanbul Montaj Randevusu) */
a.bg-blue-50 {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%) !important;
  border: 1px solid #bfdbfe !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
a.bg-blue-50:hover {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22) !important;
  transform: translateY(-1.5px);
}

/* 6. Dark Slate Button Gradient (e.g. Hero Live Video button) */
a.bg-slate-800,
button.bg-slate-800 {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3) !important;
  transition: all 0.25s ease !important;
}
a.bg-slate-800:hover,
button.bg-slate-800:hover {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%) !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.45) !important;
  transform: translateY(-1.5px);
}

/* 7. Secondary Pearlescent Light Gradient Buttons (e.g. White button CTAs) */
a.btn-gradient-light,
a.bg-white.border.border-slate-300,
a.bg-white.hover\:bg-slate-100 {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%) !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
  transition: all 0.25s ease !important;
}
a.btn-gradient-light:hover,
a.bg-white.border.border-slate-300:hover,
a.bg-white.hover\:bg-slate-100:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12) !important;
  transform: translateY(-1px);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar,
.scrollbar-none::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar,
.scrollbar-none {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Mobile only: prevent horizontal scrolling without breaking position:sticky */
@media (max-width: 1023px) {
  html, body {
    max-width: 100vw;
    overflow-x: clip;
  }
  body {
    padding-bottom: 5.5rem;
  }
}

/* Off-canvas mobile menu drawer: prevent viewport blowout when closed */
#mobile-menu-drawer.translate-x-full {
  visibility: hidden;
  pointer-events: none;
}
