/* 
    NEMEKS KURUTMA - www.nemeksgroup.com
*/

:root {
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --soft-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
  --brand-glow: 0 0 20px rgba(14, 165, 233, 0.3);
  --nemeks-primary: #0891b2;
  --nemeks-secondary: #06b6d4;
}

/* SMOOTH SCROLLING & SELECTION */
html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--nemeks-primary);
  color: white;
}

/* CUSTOM SCROLLBAR - ULTRA PREMIUM */
.custom-scrollbar::-webkit-scrollbar,
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track,
::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--nemeks-primary), var(--nemeks-secondary));
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--nemeks-secondary), var(--nemeks-primary));
}

/* GLASSMORPHISM UTILITIES */
.glass-nav {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--soft-shadow);
}

/* ULTRA PREMIUM CARD HOVER EFFECTS */
.service-card-pro {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.service-card-pro:hover::before {
  left: 100%;
}

.service-card-pro:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.25);
}

/* PREMIUM ANIMATIONS */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes softPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(14, 165, 233, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
  }
}

.btn-pulse {
  animation: softPulse 2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.6);
  }
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-in-up {
  animation: slideInUp 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce-slow {
  animation: bounce-slow 3s ease-in-out infinite;
}

/* WHATSAPP FLOATING BUTTON - PREMIUM */
.whatsapp-float {
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  animation: none;
  transform: scale(1.15) rotate(5deg);
}

/* TYPOGRAPHY NUANCES */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.prose p {
  line-height: 1.8;
  color: #475569;
}

/* FORM ELEMENTS - SOFT INPUTS */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
  border: 1px solid #e2e8f0 !important;
  background-color: #f8fafc !important;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

input:focus,
textarea:focus,
select:focus {
  background-color: #ffffff !important;
  border-color: var(--nemeks-primary) !important;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1) !important;
  outline: none;
  transform: translateY(-2px);
}

/* BUTTONS - PREMIUM STYLE */
.btn-primary {
  background: linear-gradient(135deg, var(--nemeks-primary) 0%, var(--nemeks-secondary) 100%);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* HERO SECTION - DYNAMIC PATTERN */
.hero-pattern {
  background-image: 
    radial-gradient(circle at 25px 25px, rgba(14, 165, 233, 0.05) 2%, transparent 0%),
    radial-gradient(circle at 75px 75px, rgba(6, 182, 212, 0.05) 2%, transparent 0%);
  background-size: 100px 100px;
  animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}

/* MOBILE MENU TRANSITION */
#mobileMenu {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ACCORDION ANIMATION */
details>summary {
  list-style: none;
}

details>summary::-webkit-details-marker {
  display: none;
}

details[open] {
  animation: fadeIn 0.3s ease-out;
}

/* CARD STACKING EFFECT */
.card-stack {
  position: relative;
}

.card-stack::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 8px;
  right: 8px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), transparent);
  border-radius: 1rem;
  z-index: -1;
}

/* GRADIENT TEXT */
.gradient-text {
  background: linear-gradient(135deg, var(--nemeks-primary), var(--nemeks-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* LOADING SKELETON */
@keyframes skeleton-loading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
}

/* PREMIUM SHADOWS */
.shadow-premium {
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.05),
    0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.shadow-premium-lg {
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 20px 25px -5px rgba(0, 0, 0, 0.05),
    0 35px 50px -12px rgba(14, 165, 233, 0.15);
}

/* HOVER LIFT EFFECT */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.2);
}

/* SMOOTH REVEAL ON SCROLL */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  animation: revealUp 0.8s ease-out;
}

/* PREMIUM BORDER GRADIENT */
.border-gradient {
  border: 2px solid transparent;
  background: 
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--nemeks-primary), var(--nemeks-secondary)) border-box;
}

/* PREMIUM BADGE */
.badge-premium {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.3);
}