/* style.css - Ultimate Icy Developer Theme for erensahbaz.be */

:root {
  --bg-color: #f0f4f8;        /* Ijskoud grijsblauw */
  --nav-bg: rgba(255, 255, 255, 0.8); /* Frosted glass effect */
  --text-main: #1a2a3a;       /* Diep arctisch blauw voor tekst */
  --text-sub: #546e7a;        /* Koel grijs voor details */
  --accent-blue: #00d4ff;     /* Neon ijsblauw voor glow/hover */
  --border-light: rgba(200, 220, 230, 0.5); /* Doorschijnende lijnen */
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  background: radial-gradient(circle at top right, #ffffff 0%, #f0f4f8 100%);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh; /* Zorgt dat de achtergrond altijd het hele scherm vult */
}

/* --- Lay-out Containers --- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navigatie (Frosted Glass) --- */
.navbar {
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

nav ul li a:hover {
  color: var(--accent-blue);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5); /* Icy glow */
}

/* --- Hero Section --- */
.hero {
  padding: 100px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1a2a3a 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* Verloop in de letters */
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-sub);
  max-width: 600px;
  margin: 0 auto 30px;
}

/* --- Globale Knoppen (Pill Shape) --- */
.btn {
  background: #ffffff;
  color: var(--text-main);
  padding: 12px 30px;
  border-radius: 50px; /* Ronde, moderne vorm */
  border: 1px solid var(--border-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); /* Blauwe gloed bij muis-erover */
  transform: translateY(-2px);
}

/* --- Services Grid & Cards --- */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
}

.card {
  background: rgba(255, 255, 255, 0.6); /* Doorschijnend wit */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 35px;
  width: 320px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--accent-blue);
  box-shadow: 0 15px 45px rgba(0, 212, 255, 0.1);
}

.card h3 {
  color: var(--text-main);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.card p {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Extra Secties (Process) --- */
.process-note {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  margin: 60px auto;
  padding: 40px;
  max-width: 800px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--card-shadow);
  text-align: center;
}

.process-note h2 {
  margin-bottom: 15px;
  color: var(--text-main);
}

/* --- Call To Action (CTA) --- */
.cta-section {
  padding: 50px 20px;
  text-align: center;
  margin-bottom: 20px;
}

.cta-section h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.cta-section p {
  font-size: 1rem;
  color: var(--text-sub);
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer-bar {
  padding: 25px 20px;
  text-align: center;
  background: transparent; /* Geen hard wit blok meer, vloeit over in de achtergrond */
  border-top: 1px solid var(--border-light);
  color: var(--text-sub);
  font-size: 0.85rem;
}

.footer-bar p {
  margin-bottom: 5px;
}

.footer-bar a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bar a:hover {
  color: var(--text-main);
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}
/* --- Animations --- */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  animation: fadeSlideUp 0.8s ease-out forwards;
}

.hero p {
  opacity: 0; /* Start onzichtbaar */
  animation: fadeSlideUp 0.8s ease-out 0.3s forwards; /* Wacht 0.3s voor een mooi cascade-effect */
}
/* --- Dark Mode Toggle Button --- */
.theme-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s;
}

.theme-toggle:hover {
  transform: scale(1.2);
}

/* --- Dark Mode (Arctic Night) Variables --- */
body.dark-mode {
  --bg-color: #0b1120;        /* Heel diep donkerblauw/zwart */
  --nav-bg: rgba(11, 17, 32, 0.85); 
  --text-main: #f8fafc;       /* Witte tekst */
  --text-sub: #94a3b8;        /* Lichtgrijs */
  --border-light: rgba(255, 255, 255, 0.1); /* Donkerdere lijnen */
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); /* Zwaardere schaduw */
}

/* Aanpassingen voor specifieke elementen in Dark Mode */
body.dark-mode {
  background: radial-gradient(circle at top right, #1e293b 0%, #0b1120 100%);
}

body.dark-mode .card,
body.dark-mode .process-note {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .btn {
  background: var(--text-main);
  color: #0b1120;
}

body.dark-mode .btn:hover {
  background: var(--accent-blue);
  color: #ffffff;
}
/* --- Custom Icy Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color); 
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.3); /* Bevroren blauwe balk */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue); /* Licht op als je hem vastpakt */
}

/* --- Accessibility (Trend 7) --- */
/* Zorgt voor een duidelijke, stijlvolle focus-ring voor toetsenbordgebruikers */
a:focus-visible, 
button:focus-visible, 
.btn:focus-visible {
  outline: 2px dashed var(--accent-blue);
  outline-offset: 4px;
  border-radius: 4px;
}