/* ==========================================================================
   Bisikletli Gezgin - Apple Style Design System & Custom Styling
   ========================================================================== */

:root {
  --apple-bg: #fbfbfd;
  --apple-card: rgba(255, 255, 255, 0.85);
  --apple-text: #1d1d1f;
  --apple-subtext: #6e6e73;
  --apple-border: rgba(0, 0, 0, 0.08);
  --apple-border-light: rgba(0, 0, 0, 0.04);
  
  /* Brand Gradient extracted from user's uploaded logo */
  --brand-green: #10b981;
  --brand-cyan: #0f766e;
  --brand-blue: #0f172a;
  --brand-coral: #047857;
  --brand-coral-hover: #065f46;
  --brand-coral-subtle: rgba(4, 120, 87, 0.08);
  --brand-gradient: linear-gradient(135deg, #10b981 0%, #06b6d4 45%, #0066ff 100%);
  --brand-gradient-hover: linear-gradient(135deg, #059669 0%, #0891b2 45%, #0052cc 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.08) 50%, rgba(0, 102, 255, 0.08) 100%);
  --brand-glow: 0 10px 40px -10px rgba(6, 182, 212, 0.35);
  
  --titanium-frame: #d1d5db;
  --titanium-frame-dark: #374151;
}

html {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--apple-bg);
  color: var(--apple-text);
}

body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  position: relative;
  background-color: var(--apple-bg);
}

/* 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;
}

/* Gradient Text */
.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glassmorphism Styles */
.glass-nav {
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--apple-border);
}

.glass-card {
  background-color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 0 20px -5px rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.25);
}

/* Floating Notification Badges */
.glass-badge {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Glowing Ambient Circles */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 10s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ==========================================================================
   Apple iPhone 16 Pro Device Mockup
   ========================================================================== */
.iphone-frame {
  position: relative;
  width: 320px;
  height: 650px;
  background: #0f172a;
  border-radius: 54px;
  box-shadow: 
    0 0 0 3px #94a3b8,
    0 0 0 6px #334155,
    0 25px 60px -15px rgba(0, 0, 0, 0.35),
    0 0 40px 0 rgba(6, 182, 212, 0.15);
  overflow: hidden;
  border: 4px solid #0b0f19;
  margin: 0 auto;
  user-select: none;
}

@media (min-width: 640px) {
  .iphone-frame {
    width: 340px;
    height: 680px;
    border-radius: 56px;
  }
}

@media (min-width: 1024px) {
  .iphone-frame {
    width: 360px;
    height: 720px;
    border-radius: 58px;
  }
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 30px;
  background: #000000;
  border-radius: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.dynamic-island:hover {
  width: 170px;
  height: 34px;
}

/* Screen Container */
.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Action Buttons */
.btn-apple-primary {
  background: #000000;
  color: #ffffff;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-apple-primary:hover {
  background: #1f2937;
  transform: scale(1.02);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
}

.btn-brand-gradient {
  background: #0f172a;
  color: #ffffff;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}
.btn-brand-gradient:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.btn-apple-secondary {
  background: rgba(0, 0, 0, 0.05);
  color: #1d1d1f;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.btn-apple-secondary:hover {
  background: rgba(0, 0, 0, 0.09);
  transform: scale(1.02);
}

/* Carousel */
.carousel-track {
  position: relative;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.5rem 0.5rem;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-item {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Pulsing Indicator */
.pulse-green {
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Modal styling */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Sektör Rehberi Vitrin Kartı Animasyonları */
@keyframes kenburnsSlow {
  0% { transform: scale(1.05) translate(0%, 0%); }
  50% { transform: scale(1.18) translate(-2%, -1.5%); }
  100% { transform: scale(1.05) translate(0%, 0%); }
}

.kenburns-bg {
  animation: kenburnsSlow 24s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes btnShimmer {
  0% { transform: translateX(-150%); }
  100% { transform: translateX(200%); }
}

.shimmer-button {
  position: relative;
  overflow: hidden;
}

.shimmer-button::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: btnShimmer 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* ==========================================================================
   Article & Editorial Rich Text Links (Brand Coral)
   ========================================================================== */
.article-body a,
.prose a {
  color: var(--brand-coral, #ea580c);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(234, 88, 12, 0.4);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: all 0.2s ease-in-out;
  border-radius: 3px;
  padding: 0 2px;
}

.article-body a:hover,
.prose a:hover {
  color: var(--brand-coral-hover, #c2410c);
  text-decoration-color: var(--brand-coral, #ea580c);
  background-color: var(--brand-coral-subtle, rgba(234, 88, 12, 0.08));
}
