/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange: #E8862A;
  --orange-dark: #D4771F;
  --beige: #F5EDE3;
  --beige-light: #FAF6F1;
  --dark: #333333;
  --gray: #666666;
  --gray-light: #F5F5F5;
  --white: #FFFFFF;
  --font-main: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER / NAV ===== */
.header {
  background: var(--beige);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo img {
  height: 70px;
  width: auto;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-text .all {
  color: var(--dark);
}

.logo-text .four {
  color: var(--orange);
}

.logo-text .services {
  color: var(--dark);
}

.logo-text .bv {
  font-size: 0.7em;
  color: var(--dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--orange);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' \25BE';
  font-size: 0.8em;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 4px;
  min-width: 180px;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--beige-light);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--beige);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 16px;
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    background: transparent;
    padding-left: 20px;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }
}

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  height: 80vh;
  min-height: 400px;
  max-height: 700px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide .hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-overlay h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--dark);
  margin-bottom: 30px;
  text-shadow: 0 2px 20px rgba(255,255,255,0.5);
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-dot.active {
  background: var(--dark);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 3rem;
  color: var(--dark);
  cursor: pointer;
  padding: 10px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.hero-arrow:hover {
  opacity: 1;
}

.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

@media (max-width: 768px) {
  .hero {
    height: 60vh;
    min-height: 300px;
  }
  .hero-arrow { display: none; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  border: none;
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: #555;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-orange:hover {
  background: var(--orange-dark);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-lg {
  padding: 18px 50px;
  font-size: 0.9rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 60px 0;
}

.section-gray {
  background: var(--gray-light);
}

.section-beige {
  background: var(--beige);
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--gray);
  margin: 15px auto 0;
  opacity: 0.3;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--gray);
  max-width: 700px;
  margin: 20px auto 40px;
}

/* ===== WELCOME SECTION ===== */
.welcome {
  text-align: center;
  padding: 60px 20px;
}

.welcome h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}

.welcome p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.8;
}

/* ===== PROJECTS BANNER ===== */
.projects-banner {
  position: relative;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.projects-banner .banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-banner .banner-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

.projects-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
}

@media (max-width: 768px) {
  .projects-banner {
    height: 200px;
  }
  .projects-banner .banner-overlay {
    flex-direction: column;
    gap: 20px;
  }
}

/* ===== IMAGE GALLERY ===== */
.gallery {
  padding: 40px 0;
}

.gallery-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 15px;
}

.gallery-main img,
.gallery-main .placeholder-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.gallery-thumbs img,
.gallery-thumbs .placeholder-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.gallery-thumbs img:hover,
.gallery-thumbs .placeholder-img:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .gallery-main {
    grid-template-columns: 1fr;
  }
}

/* ===== CURIOUS SECTION ===== */
.curious {
  text-align: center;
  background: var(--gray-light);
  padding: 60px 20px;
}

.curious h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 15px;
}

.curious p {
  color: var(--gray);
  margin-bottom: 30px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-grid h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 20px;
}

.contact-intro {
  color: var(--gray);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-attachment {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--orange);
}

.form-submit {
  width: 100%;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--gray);
  text-align: center;
  margin-top: 15px;
}

.form-privacy a {
  color: var(--orange);
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.contact-info p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 5px;
}

.contact-info a {
  color: var(--orange);
}

.contact-info .info-label {
  font-weight: 600;
  color: var(--dark);
}

.opening-hours {
  margin-top: 25px;
}

.opening-hours h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.opening-hours table {
  width: 100%;
  font-size: 0.95rem;
  color: var(--gray);
}

.opening-hours td {
  padding: 3px 10px 3px 0;
}

.opening-hours .today {
  color: var(--orange);
  font-weight: 600;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===== INSTAGRAM SECTION ===== */
.instagram-section {
  text-align: center;
  padding: 60px 20px;
  background: var(--gray-light);
}

.instagram-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.instagram-section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--gray);
  margin: 15px auto 0;
  opacity: 0.3;
}

.instagram-icon {
  display: inline-block;
  margin-top: 30px;
  width: 50px;
  height: 50px;
  border: 2px solid #E1306C;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E1306C;
  font-size: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  transition: background 0.3s, color 0.3s;
}

.instagram-icon:hover {
  background: #E1306C;
  color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--beige);
  padding: 25px 0;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-social a {
  color: var(--dark);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--orange);
}

.footer-credit {
  font-size: 0.85rem;
  color: var(--gray);
}

@media (max-width: 768px) {
  .footer .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* ===== CTA BANNER ===== */
.cta-banner {
  text-align: center;
  padding: 50px 20px;
}

.cta-banner h2 {
  font-size: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 25px;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--white);
  padding: 50px 20px 30px;
  text-align: center;
}

/* ===== ABOUT PAGE ===== */
.about-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-content h3 {
  text-align: center;
  font-size: 1.3rem;
  margin: 40px 0 15px;
}

.about-content p {
  text-align: center;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 15px;
}

/* ===== WERKZAAMHEDEN PAGE ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.service-card h3 {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.service-card .placeholder-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin-bottom: 20px;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin-bottom: 20px;
}

.service-card ul {
  list-style: disc;
  padding-left: 20px;
}

.service-card li {
  color: var(--gray);
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.services-note {
  text-align: center;
  color: var(--gray);
  max-width: 700px;
  margin: 40px auto 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===== PROJECTEN PAGE ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.project-card {
  text-align: center;
}

.project-card h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.project-card .placeholder-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 15px;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ===== PROJECT DETAIL PAGE ===== */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.project-gallery img,
.project-gallery .placeholder-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

@media (max-width: 768px) {
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }
}

/* ===== VACATURES PAGE ===== */
.vacancies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.vacancy-card {
  text-align: center;
}

.vacancy-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.vacancy-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .vacancies-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===== PLACEHOLDER IMAGES ===== */
.placeholder-img {
  background: linear-gradient(135deg, #e0d5c8 0%, #c9bfb3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a7e72;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  padding: 10px;
}

/* ===== CONTACT PAGE SPECIFIC ===== */
.contact-page .contact-grid {
  padding-top: 20px;
}

.contact-page .contact-info-block {
  margin-bottom: 10px;
}

/* ===== SVG LOGO PLACEHOLDER ===== */
.logo-placeholder {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-placeholder svg {
  height: 60px;
  width: auto;
}

@media (max-width: 768px) {
  .logo-placeholder svg {
    height: 45px;
  }
}
