/* Base */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  padding-top: var(--navbar-height);
}

:root {
  --navbar-height: 50px;
}

/* Navbar */

/* NAVBAR BASE */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--navbar-height);
  background: #111;
  color: white;
  padding: 10px 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 0 15px;
}

/* LOGO */
.logo a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
}

/* NAV LINKS (DESKTOP DEFAULT) */
.nav-links {
  display: flex;
  gap: 15px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

.logo {
  display: flex;
  align-items: center;   /* vertically align text with logo */
  gap: 5px;             /* space between logo and text */
}

.logo img {
  height: 40px;   /* adjust to fit your navbar */
  width: auto;
  display: block;
}

/* HAMBURGER (hidden on desktop) */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}

/* DESKTOP: push language selector to the right */
.lang-item {
  margin-left: auto;
}

.lang-item select {
  padding: 5px;
}

/* MOBILE STYLES */
@media (max-width: 768px) {

  :root {
    --navbar-height: 120px;
  }

  .menu-toggle {
    display: block;
  }

  /* Stack layout a bit cleaner */
  .nav-container {
    flex-wrap: wrap;
  }

  .nav-links {
    position: fixed;
    top: 60px; /* adjust if your navbar height differs */
    left: 0;
    width: 100%;
    background: #111;

    flex-direction: column;
    align-items: center;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.active {
    max-height: 400px; /* enough space for all items */
  }

  .nav-links li {
    padding: 12px 0;
  }

  /* Optional: move or hide language switcher */
  #langSwitcher {
    margin-left: auto;
  }

  .lang-item {
    margin-left: 0;     /* reset desktop behavior */
    margin-top: 10px;
  }

  .lang-item select {
     padding: 5px;
  }

}

/* Prevent content hiding under navbar */
body {
  padding-top: 60px;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Cards (generic) */
.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
}

/* Images */
img {
  width: 100%;
  border-radius: 10px;
}

/* Work section */

.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.work-item img {
  display: block;
  transition: transform 0.4s ease;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 1rem;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-item:hover img {
  transform: scale(1.05);
}

.work-item:hover .overlay {
  opacity: 1;
}


#about {
  text-align: center;
}

#about .card {
  max-width: 800px;
  margin: 0 auto;
}

.about-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-intro {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #555;
}

.about-highlights {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.about-item {
  background: #f5f5f5;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  max-width: 250px;
}

/* Hero section (HOME) */
#home {
  position: relative;
  background: url("images/hero.jpg") center/cover no-repeat;
  color: white;

  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 20px; /* space for navbar */
}

/* Overlay */
#home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.3)
  );
}

/* Hero card (separate from normal cards!) */
.hero-card {
  position: relative;
  z-index: 1;

  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(5px);

  max-width: 600px;

  animation: fadeUp 0.8s ease forwards;
}

#home h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

#home p {
  font-size: 1.2rem;
}

/* Button */
.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 18px;
<!-- background: white;
  color: #2a5298;   -->
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  min-width: 140px;
}

.btn-logo {
  height: 180px;   /* adjust as needed */
  width: auto;
  display: block;
}

/* Contact Button */
#contact {
  text-align: center;
}

/* Center whole contact section */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-item {
  margin: 0;
}

/* Button row */
.contact-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* allows mobile stacking */
  margin: 15px 0;
}

/* Base button already exists (.btn), so we only customize colors */

/* Email button (RED) */
.email-btn {
  background: #e63946;
  color: white;
}

.email-btn:hover {
  background: #c92f3a;
}

/* WhatsApp */
.whatsapp-btn {
  background: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}

/* LinkedIn */
.linkedin-btn {
  background: #0A66C2;
  color: white;
}

.linkedin-btn:hover {
  background: #0953a0;
}


/* Section title */
.section-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

/* Grid spacing */
.services-grid {
  gap: 25px;
}

/* Card styling upgrade */
.service-card {
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Typography */
.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Footer */
.footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
}

.footer-container p {
  max-width: 1100px;
  margin: auto;
  font-size: 14px;
}

.footer-container .company {
  font-weight: 600;
}

.footer-container .kvk {
  font-size: 12px;
  color: #bbb;
}

.footer-container .btw {
  font-size: 12px;
  color: #bbb;
}

.footer-container p span + span::before {
    content: " - ";
    margin: 0 4px;
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 600px) {
  #home {
    align-items: flex-start;
    padding-top: 100px;
  }

  #home h1 {
    font-size: 1.8rem;
  }

  #home p {
    font-size: 1rem;
  }

  .hero-card {
    padding: 20px;
  }
}
