/* ==========================================================================
   KariyerDestek.de - Modern Design System & Base CSS (Light Mode)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Caveat:wght@600&family=JetBrains+Mono:wght@500&display=swap');

:root {
  /* Brand Palette - Clean Modern European Consulting */
  --primary: #0b1e36;             /* Deep German Navy */
  --primary-hover: #132f52;
  --primary-light: #1e3a8a;
  --primary-subtle: #eff6ff;
  
  /* German Flag Accent Accents (Tasteful) */
  --de-black: #0f172a;
  --de-red: #dc2626;              /* Energetic European Red */
  --de-red-light: #fee2e2;
  --de-gold: #d97706;             /* Premium Amber Gold */
  --de-gold-light: #fef3c7;
  --de-gold-dark: #b45309;

  /* Status & Trust */
  --accent-green: #059669;        /* Verified Emerald */
  --accent-green-light: #d1fae5;
  --accent-blue: #2563eb;
  
  /* Light Theme Surface & Text */
  --bg-body: #f8fafc;             /* Crisp Slate/White background */
  --bg-surface: #ffffff;          /* Pure White Cards */
  --bg-surface-secondary: #f1f5f9;/* Soft subtle contrast */
  --bg-surface-tertiary: #e2e8f0;
  
  --text-main: #0f172a;           /* Ultra dark navy for readability */
  --text-muted: #475569;          /* Medium slate */
  --text-light: #94a3b8;          /* Light slate */
  --border-color: #e2e8f0;
  --border-subtle: #edf2f7;
  
  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px 0 rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 20px -4px rgba(11, 30, 54, 0.08);
  --shadow-lg: 0 16px 36px -6px rgba(11, 30, 54, 0.12);
  --shadow-xl: 0 24px 50px -12px rgba(11, 30, 54, 0.16);
  --shadow-gold: 0 10px 25px -3px rgba(217, 119, 6, 0.25);
  --shadow-primary: 0 10px 25px -3px rgba(11, 30, 54, 0.22);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 960px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.top-bar {
  background: var(--primary);
  color: #ffffff;
  padding: 7px 0;
  font-size: 0.8rem;
  font-weight: 500;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-notice .flag-dot {
  display: inline-flex;
  gap: 2px;
  height: 10px;
  align-items: center;
}

.top-bar-notice .flag-dot span {
  width: 4px;
  height: 10px;
  border-radius: 1px;
}
.flag-black { background: #000; }
.flag-red { background: #dc2626; }
.flag-gold { background: #f59e0b; }

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-links a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-fast);
}

.top-bar-links a:hover {
  color: #ffffff;
}

/* Nav */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-svg {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.brand-link:hover .brand-logo-svg {
  transform: rotate(-5deg) scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-title span {
  color: var(--de-red);
}

.brand-sub {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  position: relative;
  transition: all var(--transition-fast);
  background: transparent;
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
}

.nav-link:hover {
  background: var(--primary-subtle);
  color: var(--de-red);
}

.nav-link.active {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(11, 30, 54, 0.15);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

/* Prominent Mobile & Tablet Toggle */
.mobile-toggle {
  display: none;
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(11, 30, 54, 0.2);
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--de-red);
  transform: translateY(-1px);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-item a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.mobile-nav-item a:hover {
  color: var(--de-red);
}

.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  z-index: 1999;
  display: none;
}

.mobile-backdrop.open {
  display: block;
}

/* Common Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-header-left {
  text-align: left;
  margin: 0 0 36px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid #dbeafe;
}

.badge-tag.gold {
  background: var(--de-gold-light);
  color: var(--de-gold-dark);
  border-color: #fde68a;
}

.badge-tag.red {
  background: var(--de-red-light);
  color: var(--de-red);
  border-color: #fecaca;
}

.badge-tag.green {
  background: var(--accent-green-light);
  color: var(--accent-green);
  border-color: #a7f3d0;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.section-title span {
  color: var(--de-red);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-gold {
  background: var(--de-gold);
  color: #ffffff;
  border-color: var(--de-gold);
  box-shadow: var(--shadow-sm);
}

.btn-gold:hover {
  background: #b45309;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-red {
  background: var(--de-red);
  color: #ffffff;
  border-color: var(--de-red);
}

.btn-red:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -3px rgba(220, 38, 38, 0.3);
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border-color);
  color: var(--primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(37, 211, 102, 0.45);
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 80% 20%, #eff6ff 0%, #ffffff 50%, #f8fafc 100%);
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.1rem;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-content h1 span.highlight {
  color: var(--de-red);
  position: relative;
  display: inline-block;
}

.hero-content .hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-features-list li i {
  color: var(--accent-green);
  font-size: 1.15rem;
  background: var(--accent-green-light);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Hero Stats Bar */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Hero Visual & Interactive Cards */
.hero-visual-card {
  position: relative;
}

.hero-main-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--de-gold-light);
  color: var(--de-gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-card-quote {
  font-family: 'Caveat', cursive;
  font-size: 1.95rem;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.hero-quote-avatar {
  width: 46px;
  height: 46px;
  background: var(--primary-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
}

.hero-author-details h4 {
  font-size: 0.95rem;
  color: var(--primary);
}

.hero-author-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Floating Badges */
.floating-chip {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.floating-chip-1 {
  top: -24px;
  right: -20px;
}

.floating-chip-2 {
  bottom: -24px;
  left: -20px;
  animation-delay: 2s;
}

.floating-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.icon-emerald { background: var(--accent-green-light); color: var(--accent-green); }
.icon-blue { background: var(--primary-subtle); color: var(--accent-blue); }

.floating-text h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.floating-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* Trust Bar */
.trust-bar {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.trust-item i {
  font-size: 1.4rem;
  color: var(--de-gold);
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #ffffff;
  padding: 72px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  color: #94a3b8;
  margin: 18px 0 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item i {
  color: var(--de-gold);
  font-size: 1.2rem;
  margin-top: 3px;
}

.footer-contact-item .label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.footer-contact-item a {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #94a3b8;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* Responsive Breakpoints & Mobile Enhancements */
@media (max-width: 1140px) {
  .nav-links {
    gap: 4px;
  }
  .nav-link {
    font-size: 0.88rem;
    padding: 6px 10px;
  }
}

@media (max-width: 1024px) {
  .site-header .nav-links,
  .site-header .nav-cta-group .btn-outline {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .top-bar .top-bar-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .floating-chip {
    position: static;
    margin-top: 14px;
    animation: none;
  }
}

@media (max-width: 640px) {
  /* Header clean layout on phones */
  .site-header .nav-cta-group a.btn {
    display: none;
  }

  .site-header {
    padding: 4px 0;
  }

  /* Cleaner vertical rhythm */
  section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .section-desc {
    font-size: 0.98rem;
  }

  .section-header {
    margin-bottom: 36px;
  }

  /* Hero Section */
  .hero-content h1 {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .hero-desc {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 20px;
  }

  .stat-number {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  /* Trust Bar */
  .trust-bar {
    padding: 18px 0;
  }

  .trust-bar .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    text-align: center;
  }

  .trust-item {
    font-size: 0.85rem;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-sub {
    display: none;
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .hero-main-card {
    padding: 22px 16px;
  }

  .hero-card-quote {
    font-size: 1.55rem;
  }

  .mobile-toggle {
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .mobile-nav-drawer {
    width: 90%;
    max-width: 320px;
    padding: 20px 16px;
  }
}
