/* Delkar Corporate Website Styles */

/* Corporate Color Palette */
:root {
  /* Primary Corporate Colors */
  --primary-blue: #eb2525;
  --bs-primary-rgb: 253, 13, 13;
  --primary-blue-light: #3b82f6;
  --primary-blue-dark: #1d4ed8;

  /* Secondary Colors */
  --secondary-gray: #64748b;
  --secondary-gray-light: #94a3b8;
  --secondary-gray-dark: #475569;

  /* Brand Colors - Soft & Professional */
  --karmot-blue: #0ea5e9;
  --karmot-blue-light: #38bdf8;
  --danismanlik-green: #10b981;
  --danismanlik-green-light: #34d399;
  --elektrik-orange: #f59e0b;
  --elektrik-orange-light: #fbbf24;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-accent: #f1f5f9;

  /* Shadows - Corporate */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  padding-top: 80px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.display-1 {
  font-size: 5rem;
  font-weight: 800;
}
.display-2 {
  font-size: 4.5rem;
  font-weight: 800;
}
.display-3 {
  font-size: 4rem;
  font-weight: 800;
}
.display-4 {
  font-size: 3.5rem;
  font-weight: 800;
}
.display-5 {
  font-size: 3rem;
  font-weight: 700;
}
.display-6 {
  font-size: 2.5rem;
  font-weight: 700;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  padding: var(--space-4) 0;
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-blue) !important;
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--primary-blue-dark) !important;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--text-primary) !important;
  padding: var(--space-3) var(--space-4) !important;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-blue) !important;
  background-color: var(--gray-100);
}

.navbar-toggler {
  border: none;
  padding: var(--space-2);
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Custom toggler icon color */
.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(235, 37, 37, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Hero Section - Enhanced */
.hero-section { 
  position: relative;
  overflow: hidden;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-slide-1 {
  background: linear-gradient(135deg, #dc3545 0%, #f63b3b 50%, #d40606 100%);
}

.hero-slide-2 {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
}

.hero-slide-3 {
  background: linear-gradient(135deg, #dc2626 0%, #f59e0b 50%, #fbbf24 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
 

@keyframes particleFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(10px) rotate(240deg);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  animation: heroContentSlideIn 1s ease-out;
}

@keyframes heroContentSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  animation: badgeGlow 2s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
  from {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }
  to {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  }
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  animation: titleTypewriter 2s ease-out;
}

@keyframes titleTypewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.text-gradient-hero {
  background: linear-gradient(45deg, #fbbf24, #f59e0b, #fbbf24);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: subtitleFadeIn 1.5s ease-out 0.5s both;
}

@keyframes subtitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buttons {
  animation: buttonsFadeIn 1.5s ease-out 1s both;
}

@keyframes buttonsFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-hero {
  padding: 15px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-hero:hover::before {
  left: 100%;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-stats {
  animation: statsFadeIn 1.5s ease-out 1.5s both;
}

@keyframes statsFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Image Animations */
.hero-image {
  position: relative;
  z-index: 2;
  animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.image-container {
  position: relative;
}

.hero-main-image {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.hero-main-image:hover {
  transform: scale(1.05);
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  animation: cardFloat 4s ease-in-out infinite;
}

.card-1 {
  top: 20%;
  right: -10%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 30%;
  left: -15%;
  animation-delay: 1.5s;
}

.card-3 {
  top: 60%;
  right: 10%;
  animation-delay: 3s;
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

/* Tech Showcase */
.tech-showcase {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.tech-circle {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  animation: techOrbit 10s linear infinite;
}

.circle-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.circle-2 {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  animation-delay: 2.5s;
}

.justify-center {
 justify-self:center;   
}

.min-height-36-rem {
 min-height: 36rem   
} 
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
}

.loader-logo {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.spinner {
  width: 100%;
  height: 100%;
  border: 6px solid #e0e0e0;
  border-top: 6px solid #db3434;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
/* WhatsApp sabit buton */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  animation: pulse 2s infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* WhatsApp ikon boyutu */
.whatsapp-icon {
  width: 2.5rem;
  height: 2.5rem;
  filter: brightness(0) invert(1);
}


/* Nabız (pulse) animasyonu */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
