/* =========================================================
   CME. Curaçao – Hoofd CSS bestand
   ========================================================= */

/* =====================
   BASISSTIJLEN
===================== */
body {
  font-family: "Open Sans", sans-serif;
  color: #111;
  margin: 0;
  padding: 0;
}

a {
  color: #111;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #FFD700;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin: 0;
}

/* =====================
   HEADER – Glas Effect
===================== */
.header {
  background: rgba(255, 255, 255, 0.08); /* lichter glas */
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 15px 0;
}
.header.scrolled {
  background: rgba(0, 0, 0, 0.45);
}
/* Donkere header op witte pagina's */
body:not(.index-page) .header {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(15px) saturate(160%);
  -webkit-backdrop-filter: blur(15px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.logo-c {
  color: #FFD700;
  font-weight: 700;
}

.logo-dot {
  color: #FFD700;
}

.header .sitename {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
}

.navmenu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.navmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}

.navmenu a {
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  transition: 0.3s;
}

.navmenu a:hover,
.navmenu a.active {
  color: #FFD700;
}

.mobile-nav-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navmenu ul {
  position: absolute;
  top: 65px;
  right: 15px;
  background: rgba(0, 0, 0, 0.45); /* half transparant zwart */
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: none;
  transition: all 0.3s ease;
}

  .navmenu ul.active {
    display: flex;
  }

  .navmenu li {
    margin: 10px 0;
  }

  .navmenu a {
    color: #fff;
    font-size: 16px;
  }
}

/* =====================
   HERO SLIDER – Luxe, responsive en scherp
===================== */
#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

#hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
  filter: brightness(1) contrast(1.1);
}

#hero img.active {
  opacity: 1;
  z-index: 2;
}

/* Donkere overlay */
body.index-page #hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 3;
}

/* Tekst */
#hero .info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 4;
}

/* Gouden "Welkom bij" */
#hero .info h2 {
  color: #FFD700;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

#hero .info .company-name {
  display: inline-block;
  color: #fff;
  font-size: 2.6rem;
  font-weight: 900;
  position: relative;
}

/* decoratieve lijn, niet tegen de tekst geplakt */
#hero .info .company-name::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background: #FFD700;
  margin: 14px auto 0; /* ruimte tussen tekst en lijn */
  border-radius: 2px;
  opacity: 0.95;
}

/* Tekst */
#hero .info p {
  margin-top: 15px;
  color: #f2f2f2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

/* Knop */
#hero .btn-get-started {
  margin-top: 30px;
  padding: 12px 35px;
  font-size: 1rem;
  color: #fff;
  border: 1px solid rgba(255, 215, 0, 0.6);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}
#hero .btn-get-started:hover {
  background: rgba(255, 215, 0, 0.25);
  border-color: #FFD700;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.5);
}

/* 📱 Mobiel: foto uitgezoomd binnen kader en donkerder overlay */
@media (max-width: 768px) {
  #hero img {
    object-fit: cover; /* vult hele hero zonder zwarte randen */
    object-position: center center;
    height: 100vh;
  }

  #hero::after {
    background: rgba(0, 0, 0, 0.82); /* iets donkerder overlay */
  }

  #hero .info h2 {
    font-size: 1.3rem;
  }

  #hero .info .company-name {
    font-size: 1.9rem;
  }
}

/* 💻 Desktop: bedrijfsnaam op één regel */
@media (min-width: 992px) {
  #hero .info h2 {
    display: block;
  }
  #hero .info .company-name {
    display: inline-block;
    white-space: nowrap;
  }
}


/* ======= Hero tekst – mobiel vloeiender, breder en met sequentiële fade-in ======= */
@media (max-width: 768px) {

  /* één keyframe voor alles */
  @keyframes heroFadeUp {
    0% { opacity: 0; transform: translateY(18px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  /* 1) Gouden "Welkom bij" komt als eerste */
  body.index-page #hero .info h2 {
    color: var(--gold);
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(18px);
    animation: heroFadeUp 0.9s ease forwards 0.2s;
  }

  /* 2) Bedrijfsnaam komt erna */
  body.index-page #hero .info .company-name {
    font-size: 1.9rem;
    opacity: 0;
    transform: translateY(18px);
    animation: heroFadeUp 0.9s ease forwards 0.45s;
  }

  /* 3) Beschrijving – vloeiend, breder en los van knop */
  body.index-page #hero .info p {
    line-height: 1.8;
    font-size: 1rem;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    margin: 14px auto 22px;  /* extra ruimte boven knop */
    max-width: 600px;        /* ✅ breder → minder regels */
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);

    opacity: 0;
    transform: translateY(14px);
    animation: heroFadeUp 1.1s ease forwards 0.75s;
  }

  /* 4) Knop – netjes los en in lijn */
  body.index-page #hero .btn-get-started {
    margin-top: 6px;
    opacity: 0;
    transform: translateY(12px);
    animation: heroFadeUp 0.9s ease forwards 1s;
  }

  /* Kleine padding voor balans */
  body.index-page #hero .info {
    padding: 0 10px;
  }
}
/* =====================
   SECTIES
===================== */
.section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-weight: 700;
  color: #111;
}

.section-header p {
  color: #555;
}

/* =====================
   DIENSTEN GRID
===================== */
.services-grid .icon-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.4s ease;
  backdrop-filter: blur(6px);
}

.services-grid .icon-box:hover {
  border-color: #FFD700;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.services-grid .icon i {
  font-size: 36px;
  color: #FFD700;
}

.services-grid h4 {
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 10px;
}

.services-grid p {
  color: #666; /* donkergrijs voor goede leesbaarheid */
  font-size: 15px;
  line-height: 1.6;
}
.services-grid .icon-box h4 {
  font-size: 16px;
  word-break: break-word; /* breekt lange woorden */
  text-align: center;
}
/* ======= Diensten-hokjes altijd even hoog ======= */
.services-grid .icon-box {
  min-height: 250px; /* pas aan indien nodig */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* ======= Dienstenpagina – gebruik dezelfde stijl als index ======= */
/* ======= Dienstenpagina – gebruik dezelfde stijl als index ======= */
.services-page #services {
  background: #fff;
  color: #111;
}

.services-page #services .service-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.4s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.services-page #services .service-item:hover {
  border-color: #FFD700;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.services-page #services h4 {
  font-weight: 600;
  color: #111;
}

.services-page #services p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}
/* ======= Diensten Hero – titel centreren & groter ======= */
.services-page .about-hero .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 90vh; /* hero vult bijna heel scherm */
  padding-top: 0;
}

.services-page .about-hero .content h2 {
  font-size: 2.8rem;       /* iets groter dan vorige (ongeveer +2 maten) */
  font-weight: 900;        /* extra dik voor premium look */
  color: var(--gold);      /* goudgeel, consistent met huisstijl */
  letter-spacing: 0.6px;
  margin-bottom: 0.6rem;
  text-transform: none;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.35); /* subtiele glans */
}

/* Desktop: perfect centreren */
@media (min-width: 992px) {
  .services-page .about-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }
  .services-page .about-hero .content {
    min-height: auto;
    padding-top: 0;
  }
}

/* Subtitels zoals “Bouw & Constructie” behouden huidige maat */
.services-page h4 {
  font-size: 1.4rem; /* als voorbeeld, lager dan Diensten */
  font-weight: 600;
}

/* ======= Diensten Hero – Mobiel goud & groter ======= */
@media (max-width: 768px) {
  .services-page .about-hero .content h2 {
    font-size: 2.2rem;          /* iets groter dan standaard mobiel */
    font-weight: 800;           /* stevig dik */
    color: var(--gold);         /* goudgeel consistent met desktop */
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3); /* subtiele glans */
  }
}

/* ======= Dienstenpagina – tekstkleur fix ======= */
.services-page #services h2,
.services-page #services h4,
.services-page #services p,
.services-page #services .text-light,
.services-page #services .text-white {
  color: #111 !important;
}
/* =====================
   PROJECT PREVIEW – Compact luxe
===================== */
#project-preview {
  background: #fff;
  padding: 60px 0;
}

#project-preview .project-card {
  background: #fff;
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 14px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 700px; /* iets compacter */
  margin: 0 auto;
  transition: all 0.4s ease;
}

#project-preview .project-card:hover {
  border-color: #FFD700;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

#project-preview .project-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#project-preview .project-card:hover .project-img img {
  transform: scale(1.03);
}

#project-preview .project-content {
  padding: 25px 30px;
  color: #111;
  text-align: left;
}

#project-preview .project-content h3 {
  color: #111;
  font-weight: 700;
  margin-bottom: 15px;
}

#project-preview .project-content p {
  color: #444;
  line-height: 1.6;
}

/* Knop – zelfde stijl als Hero, maar met zwarte tekst */
#project-preview .btn-get-started {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 35px;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  border: 1px solid rgba(255, 215, 0, 0.6);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

#project-preview .btn-get-started:hover {
  background: rgba(255, 215, 0, 0.25);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.4);
  transform: scale(1.05);
}
/* =====================
   FOOTER
===================== */
.footer {
  background: url("../img/footer-bg.jpg") center center / cover no-repeat;
  color: #fff;
  padding: 80px 0 20px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72); /* donkere overlay */
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer .sitename {
  font-family: "Poppins", sans-serif; /* zelfde font als header */
  font-size: 24px;
  font-weight: 900; /* echte bold, ondersteund door Poppins */
  color: #fff;
  letter-spacing: 0.4px;
  text-transform: none;
  text-shadow:
    0 0 5px rgba(255, 215, 0, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.5); /* subtiel diepte-effect */
}

.footer .logo-c,
.footer .logo-dot {
  font-weight: 900 !important; /* gelijk aan header */
  color: #FFD700;
}

/* Titels van kolommen */
.footer .footer-links h4 {
  font-size: 16px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 15px;
}

/* Links in de footer */
.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 6px 0;
  position: relative;
  color: #fff;
}

.footer .footer-links ul li::before {
  content: "›";
  color: #FFD700;
  font-weight: bold;
  margin-right: 8px;
}

.footer .footer-links a {
  color: #fff;
  font-size: 14px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer .footer-links a:hover {
  color: #FFD700;
  text-decoration: underline;
}
.footer a {
  color: #fff !important;
  text-decoration: none;
}

.footer a:hover {
  color: #FFD700 !important;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .footer {
    background-position: center center;
    background-size: cover; /* vult hele footer */
    background-repeat: no-repeat;
    padding: 120px 0 70px;
  }

  .footer::before {
    background: rgba(0, 0, 0, 0.78); /* donkerder overlay */
  }
}
@media (max-width: 768px) {
  .footer::before {
    background: rgba(0, 0, 0, 0.82); /* iets dieper zwart voor luxe look */
  }
}
/* =====================
   ABOUT HERO – overlay + flexibele foto (responsive zonder inzoomen)
===================== */
.about-hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* Achtergrond + overlay */
.about-hero .hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.about-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.79); /* overlay */
  z-index: 2;
}

.about-hero .hero-bg .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1) contrast(1.1);
}

/* Tekst */
.about-hero .content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: calc(110px + 2rem) 24px 3rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.65);
}

.about-hero .content h2 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.about-hero .content h1 {
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1.2;
}

.about-hero .content p {
  color: #f5f5f5;
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 1rem;
}

/* 📱 Mobiel: automatisch iets uitgezoomd zodat alles zichtbaar blijft */
@media (max-width: 768px) {
  .about-hero {
    min-height: 100vh;
  }

  .about-hero .hero-bg .hero-image {
    object-fit: cover;
    object-position: center center;
    transform: scale(1.05); /* subtiel uitgezoomd voor balans */
  }

  .about-hero .content h1 {
    font-size: 1.9rem;
  }
}
/* ======= About - Tekst zonder foto ======= */
.about-section {
  padding: 100px 0;
  background: #fff;
  color: #111;
}

.about-section .container {
  max-width: 900px;
}

.about-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
}

.about-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #444;
}
/* ======= Contact Boxes - Glasstijl ======= */
.contact-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(15px) saturate(160%);
  -webkit-backdrop-filter: blur(15px) saturate(160%);
  transition: all 0.3s ease;
}

.contact-box:hover {
  border-color: #FFD700;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

/* ======= Project1 – uniforme thumbnails ======= */
.project-gallery .thumb {
  border: 2px solid #FFD700;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  background: #000; /* voorkomt witte flits bij laden */
}

.project-gallery .thumb img {
  display: block;
  width: 100%;
  height: 220px;           /* gelijke hoogte op mobiel/tablet */
  object-fit: cover;       /* netjes gecropt */
}

/* iets groter op desktop */
@media (min-width: 992px) {
  .project-gallery .thumb img {
    height: 260px;         /* maak groter als je wilt (bv. 280px) */
  }
}
/* ======= Blog preview naast project preview ======= */
#preview-section .project-card {
  height: 100%;
}

@media (max-width: 991px) {
  #preview-section .project-card {
    margin-bottom: 20px;
  }
}
/* ======= Luxe Project & Blog Cards ======= */
#preview-section .project-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px) saturate(140%);
  transition: all 0.4s ease;
  overflow: hidden;
}

#preview-section .project-card:hover {
  transform: translateY(-5px);
  border-color: #FFD700;
  box-shadow: 0 0 25px rgba(255,215,0,0.3);
}

#preview-section .project-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

#preview-section .project-card:hover .project-img img {
  transform: scale(1.05);
}

#preview-section .project-content {
  padding: 24px 28px;
  color: #111;
  background: rgba(255,255,255,0.9);
}

#preview-section .project-content h3 {
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
}

#preview-section .project-content p {
  color: #333;
  margin-bottom: 20px;
}

#preview-section .btn-get-started {
  display: inline-block;
  color: #000;
  font-weight: 600;
  border: 1px solid rgba(255,215,0,0.6);
  border-radius: 8px;
  padding: 10px 28px;
  background: rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}

#preview-section .btn-get-started:hover {
  background: rgba(255,215,0,0.25);
  border-color: #FFD700;
  box-shadow: 0 0 15px rgba(255,215,0,0.4);
}

/* ======= Luxe Blog Card – glas, goud, hover ======= */
.luxe-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  overflow: hidden;
  transition: all 0.4s ease;
}
.luxe-card:hover {
  transform: translateY(-5px);
  border-color: #FFD700;
  box-shadow: 0 0 25px rgba(255,215,0,0.3);
}

.luxe-card .project-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.luxe-card:hover .project-img img {
  transform: scale(1.05);
}

.luxe-card .project-content {
  background: rgba(255,255,255,0.9);
  padding: 24px 30px;
  color: #111;
}

/* Glazen gouden knop */
.btn-glass-gold {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  border: 1px solid rgba(255,215,0,0.6);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-glass-gold:hover {
  background: rgba(255,215,0,0.25);
  border-color: #FFD700;
  box-shadow: 0 0 18px rgba(255,215,0,0.4);
}

/* ======= Blogfoto's – uniforme hoogte + halve overlay ======= */
.blog-photo-wrap {
  position: relative;
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
}

.blog-photo-wrap img {
  display: block;
  width: 100%;
  height: 320px;      /* zelfde hoogte voor alle blogfoto's */
  object-fit: cover;  /* mooi gecropt, geen vervorming */
  object-position: center;
}

/* overlay ~ helft van de hero (0.41 ipv 0.82) */
.blog-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.41);
}

/* ======= Consistente goudkleur ======= */
:root {
  --gold: #FFD700;
}
.text-warning, .text-gold {
  color: var(--gold) !important;
}
/* ======= Fix: achtergrondkleur voor index-pagina secties ======= */
body.index-page main {
  background: #fff;
  color: #111;
}
