/* -------------------- */
/* Smooth scrolling & Reset */
/* -------------------- */
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

/* -------------------- */
/* Fonts & Body */
/* -------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;500&display=swap');

body { 
  font-family: 'Roboto', sans-serif;
  color: #1d1d1b;
  background-color: #ffffff;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }

/* -------------------- */
/* Header & Navbar */
/* -------------------- */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header img.logo { height: 50px; }
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
nav a {
  font-weight: bold;
  font-size: 1.1rem;
  transition: color .3s;
  color: #1d1d1b;
}
nav a:hover { color: #8f4d31; }

/* Hamburger menu (hidden desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #1d1d1b;
  border-radius: 2px;
  transition: 0.3s;
}

/* -------------------- */
/* Hero Section */
/* -------------------- */
.hero {
  height: 80vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  background: url("logo\ 4.svg") center center / contain no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}








/*.hero {
  height: 80vh;
  background: url('logo.svg') center center / cover no-repeat;
  background-color: #000;
   min-height: 300px; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  color: #ffffff;
  position: relative; */

 

.hero::after {
  content: '';
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.4);
}
.hero .hero-content {
  position: relative;
  max-width: 800px;
  z-index: 2;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.5rem;
  font-weight: 500;
}

/* Fade-in & Slide effect voor hero */
.hero h1, .hero p {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInSlide 1s ease-out forwards;
}
.hero h1 { animation-delay: 0.3s; }
.hero p { animation-delay: 0.8s; }

@keyframes fadeInSlide {
  to { opacity: 1; transform: translateY(0); }
}

/* -------------------- */
/* Diensten Section */
/* -------------------- */
.diensten { padding: 4rem 2rem; background: #f9f9f9; }
.diensten h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
}
.diensten h2 span { color: #8f4d31; } /* tweede woord gekleurd */

.dienst-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.dienst-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s, box-shadow 0.4s;
}
.dienst-card:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 12px 25px rgba(0,0,0,0.15); 
}
.dienst-card img { width: 100%; height: 200px; object-fit: cover; }
.dienst-card .content { padding: 1.5rem; }
.dienst-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: #1d1d1b;
}
.dienst-card p { font-size: 1rem; color: #555; }

/* -------------------- */
/* Projecten Section */
/* -------------------- */
.projecten { padding: 4rem 2rem; }
.projecten h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
}
.projecten h2 span { color: #8f4d31; } /* tweede woord gekleurd */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s, box-shadow 0.4s;
}
.project-item:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 12px 25px rgba(0,0,0,0.15); 
}
.project-item img {
  width:100%; height: 200px; object-fit: cover;
  transition: transform .5s;
}
.project-item:hover img { transform: scale(1.05); }
.project-item .overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.6); color: #ffffff;
  padding: 1rem; text-align: center;
  opacity: 0; transition: opacity .3s;
}
.project-item:hover .overlay { opacity: 1; }

/* -------------------- */
/* Contact Section */
/* -------------------- */
.contact { padding: 4rem 2rem; background: #f9f9f9; }
.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
}
.contact .details {
  max-width: 600px; margin: 0 auto;
  font-size: 1.1rem; line-height: 1.8; text-align: center;
}
.contact .details a { color: #1d1d1b; }
.contact .details a:hover { color: #8f4d31; }

/* -------------------- */
/* Footer */
/* -------------------- */
footer { 
  background: #1d1d1b; color: #ffffff; padding: 2rem; text-align: center; 
}
footer p { margin-bottom: 0.5rem; }
/* Footer brand link met underline animatie */
.footer-brand {
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.footer-brand::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #8f4d31; /* accentkleur */
  transition: width 0.3s ease;
}

.footer-brand:hover {
  color: #8f4d31;
}

.footer-brand:hover::after {
  width: 100%;
}
.footer-brand:hover {
  color: #8f4d31;
  transform: scale(1.05);
}

/* -------------------- */
/* Responsive Styles */
/* -------------------- */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 70px;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    gap: 1rem;
    display: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  }
  nav ul.active { display: flex; }
  .hamburger { display: flex; }
  
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.2rem; }
  h2 { font-size: 2rem; }
}
