/* ==========================================================================
   WEBCINIZ.COM - Ultra-Refined High-End Typography & Luxury Button System
   Plus Jakarta Sans (Unified Premium Typography System)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --primary-blue: #2563eb;
  --primary-blue-glow: rgba(37, 99, 235, 0.4);
  --dark-bg: #070a12;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #070a12;
  color: #0f172a;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Luxury Display Typography for Headings */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.025em;
}

/* ==========================================================================
   HEADLINE SHINING / GLOW ANIMATION (NO CLIPPING FOR j, g, ç, y)
   ========================================================================== */

@keyframes textLightSweep {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(56, 189, 248, 0.75)) drop-shadow(0 0 40px rgba(37, 99, 235, 0.45));
  }
}

/* Glowing shimmering effect on 'Markanızı Dijitalde' with anti-clipping padding */
.headline-glow-shimmer {
  display: inline-block !important;
  vertical-align: middle;
  padding-top: 0.12em !important;
  padding-bottom: 0.35em !important;
  margin-bottom: -0.35em !important;
  padding-right: 0.08em;
  background: linear-gradient(
    90deg, 
    #38bdf8 0%, 
    #60a5fa 20%, 
    #ffffff 50%, 
    #38bdf8 80%, 
    #2563eb 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textLightSweep 4s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
}

/* Elegant metallic light sheen passing across white letters with anti-clipping padding */
.headline-sheen {
  display: inline-block !important;
  vertical-align: middle;
  padding-top: 0.12em !important;
  padding-bottom: 0.35em !important;
  margin-bottom: -0.35em !important;
  padding-right: 0.08em;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 35%,
    #93c5fd 50%,
    #ffffff 65%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textLightSweep 6s ease-in-out infinite;
}

/* Dedicated Anti-Clipping Blue Gradient Headline for Services Section */
.headline-gradient-blue {
  background: linear-gradient(90deg, #2563eb 0%, #4f46e5 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block !important;
  vertical-align: middle;
  padding-top: 0.12em !important;
  padding-bottom: 0.35em !important;
  margin-bottom: -0.35em !important;
  padding-right: 0.08em;
  overflow: visible !important;
}

/* ==========================================================================
   LUXURY SERVICES CARDS (Bento & Modern Card Aesthetics)
   ========================================================================== */

.service-card-luxury {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 30px 26px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2563eb, #38bdf8, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-luxury:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.12), 0 0 1px 1px rgba(37, 99, 235, 0.15);
}

.service-card-luxury:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.service-card-luxury:hover .service-icon-box {
  transform: scale(1.08) rotate(3deg);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #070a12;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Nav Active Indicator */
.nav-active {
  position: relative;
  color: #ffffff !important;
}
.nav-active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: #3b82f6;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.9);
}

/* Hero Ambient Lighting */
.hero-glow-radial {
  position: absolute;
  top: 5%;
  right: 10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.35) 0%, rgba(37, 99, 235, 0.15) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   WORLD-CLASS LUXURY BUTTONS (Framer / Linear / Apple Style)
   ========================================================================== */

.btn-blue-pill {
  position: relative;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  border-radius: 9999px;
  padding: 13px 30px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 
    0 10px 25px -4px rgba(37, 99, 235, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
  cursor: pointer;
  overflow: hidden;
}
.btn-blue-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}
.btn-blue-pill:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 16px 35px -6px rgba(37, 99, 235, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 1px 0 rgba(255, 255, 255, 0.45) inset;
}
.btn-blue-pill:hover::after {
  left: 100%;
}
.btn-blue-pill:active {
  transform: translateY(0) scale(0.99);
}

.btn-dark-pill {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  border-radius: 9999px;
  padding: 13px 30px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
}
.btn-dark-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-dark-pill:active {
  transform: translateY(0) scale(0.99);
}

.btn-whatsapp-pill {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-radius: 9999px;
  padding: 13px 28px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 
    0 8px 20px -4px rgba(16, 185, 129, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-whatsapp-pill:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 28px -4px rgba(16, 185, 129, 0.65);
}

/* ==========================================================================
   PHOTO-REALISTIC 3D PERSPECTIVE MACBOOK & IPHONE SHOWCASE
   ========================================================================== */
.showcase-stage {
  position: relative;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  perspective: 1400px;
}

.macbook-isometric {
  position: relative;
  transform: rotateY(-10deg) rotateX(6deg) rotateZ(1deg);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.showcase-stage:hover .macbook-isometric {
  transform: rotateY(-6deg) rotateX(3deg) rotateZ(0.5deg);
}

.macbook-lid {
  position: relative;
  background: #14171f;
  border: 10px solid #1a1e29;
  border-top-width: 9px;
  border-bottom-width: 14px;
  border-radius: 16px 16px 4px 4px;
  box-shadow: 
    0 30px 70px -10px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(37, 99, 235, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.macbook-webcam {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: #0b0d13;
  border-radius: 50%;
  z-index: 30;
  box-shadow: inset 0 0 1px #38bdf8;
}

.macbook-screen {
  position: relative;
  width: 100%;
  height: 330px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.macbook-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: -20%;
  width: 60%;
  height: 100%;
  background: linear-gradient(75deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 60%, transparent 100%);
  pointer-events: none;
  transform: skewX(-20deg);
}

.macbook-keyboard-base {
  position: relative;
  height: 14px;
  width: 106%;
  left: -3%;
  background: linear-gradient(180deg, #2b303c 0%, #171a22 60%, #0d0f14 100%);
  border-radius: 0 0 20px 20px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.95),
    0 5px 15px rgba(0, 0, 0, 0.8),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.macbook-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #090b0f;
  border-radius: 0 0 6px 6px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.8);
}

.iphone-mockup {
  position: absolute;
  right: -15px;
  bottom: -25px;
  width: 165px;
  height: 330px;
  background: #0b0d14;
  border: 7px solid #1f2430;
  border-radius: 32px;
  box-shadow: 
    0 25px 60px -10px rgba(0, 0, 0, 0.95),
    0 0 25px rgba(37, 99, 235, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  z-index: 25;
  transform: rotateZ(-2deg) translateY(0);
  transition: transform 0.4s ease;
}
.showcase-stage:hover .iphone-mockup {
  transform: rotateZ(0deg) translateY(-8px);
}

.iphone-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 12px;
  background: #000000;
  border-radius: 10px;
  z-index: 35;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.iphone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.ground-shadow {
  position: absolute;
  bottom: -35px;
  left: 5%;
  right: 5%;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 45%, transparent 75%);
  filter: blur(10px);
  z-index: 0;
}

/* Browser Window Header */
.browser-header {
  background: #1e293b;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dot-red { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.dot-yellow { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; }
.dot-green { width: 8px; height: 8px; border-radius: 50%; background: #10b981; }

.portfolio-item {
  transition: all 0.3s ease;
}
.portfolio-item:hover {
  transform: translateY(-5px);
}

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  animation: pulseWa 3s infinite;
}
@keyframes pulseWa {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Mobile Sticky Bar */
.mobile-sticky-bottom {
  display: none;
}
@media (max-width: 768px) {
  .mobile-sticky-bottom {
    display: flex;
  }
}
