/* Sophie Basseleur — styles.css */
/* MENU LINKS moeten GEEN globaal zwart/bold overnemen */
.center-nav a {
  color: #888 !important;
  font-weight: normal !important;
  text-decoration: none !important;
}

.center-nav a.active {
  color: #444 !important;
  font-weight: normal !important;
  text-decoration: underline !important;
}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #444;          /* iets zachter dan zwart */
  background: #fff;
  line-height: 1.6;
}

h1 {
  font-weight: 700;
  color: #444;
}

/* ===== HEADER ===== */
.top-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0 40px;
}

.logo-wrapper {
  margin-bottom: 22px;
}

.logo-img {
  width: 240px;
  height: auto;
  display: block;
}

/* ===== NAV MENU ===== */
.center-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.center-nav a {
  text-decoration: none;
  color: #888;          /* lichtgrijs menu */
  transition: color 0.2s ease;
}

.center-nav a:hover {
  color: #666;          /* iets donkerder */
}

/* Actieve pagina */
.center-nav a.active {
  color: #444;          /* donkerder maar niet zwart */
  pointer-events: none;
}

/* ===== HERO VERWIJDERD ===== */
.hero {
  display: none;
}

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
}

.item img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

/* ===== CATEGORY TAGS ===== */
.item-cats {
  margin-top: 8px;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: #888;
}

/* losse tags */
.item-cat-tag {
  color: #888;          /* zelfde grijs als menu */
  cursor: pointer;
  text-decoration: none !important; /* GEEN underline */
  padding: 0;
  margin: 0;
}

.item-cat-tag:hover {
  color: #666;          /* donkerder bij hover */
}

/* Komma's automatisch */
.item-cat-tag::after {
  content: ",";
}

.item-cat-tag:last-child::after {
  content: "";
}

/* ===== FILTER MENU ===== */
.filters {
  max-width: 1200px;
  margin: 20px auto 10px;
  padding: 0 40px;
  display: none;                /* standaard verborgen */
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.filters.show {
  display: flex;
}

.filter-btn {
  border: none;
  background: transparent;
  font-size: 14px;
  padding: 6px 10px;
  cursor: pointer;
  color: #888;
  opacity: 0.6;
}

.filter-btn:hover {
  opacity: 1;
  color: #666;
}

.filter-btn.active {
  opacity: 1;
  color: #444;
  text-decoration: underline;
}

/* verborgen items bij filter */
.item.hidden {
  display: none;
}

/* ===== CONTACTPAGE ===== */

.contact-page {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 40px;
}

/* bovenste blok: verticale foto + tekst */
.contact-top {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 48px;
}

/* foto ongeveer even hoog als tekstblok */
.contact-photo-vertical {
  flex: 0 0 40%;
}

.contact-photo-vertical img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* tekst iets smaller, links uitgelijnd maar geheel gecentreerd in pagina */
.contact-text {
  flex: 0 0 50%;
  min-width: 260px;
  font-size: 15px;
}

.contact-name {
  font-size: 15px;      /* zelfde grootte als tekst */
  font-weight: 400;
  margin-bottom: 12px;
}

.contact-text p {
  margin-bottom: 12px;
}

.contact-instagram a {
  color: #888;
  text-decoration: underline;
}

.contact-instagram a:hover {
  color: #666;
}

/* formulier + horizontale foto naast elkaar */
.contact-lower {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: flex-start; 
  margin: 40px 0;
}

.contact-form-wrapper {
  flex: 1 1 50%;
}

.contact-form {
  max-width: 100%;
  width: 100%;
  margin: 0;
  background: transparent;
  padding: 0;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-row label {
  font-size: 14px;
  margin-bottom: 4px;
  color: #555;
}

.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 8px 10px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  background: #fff;
  color: #444;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #999;
}

.contact-submit {
  border: none;
  background: #888;
  color: #fff;
  padding: 9px 18px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 999px;
}

.contact-submit:hover {
  background: #666;
}

.contact-photo-horizontal {
  flex: 1 1 50%;
}

.contact-photo-horizontal img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* onderaan links-blok (laat je zoals eerder) */
.contact-links {
  margin-top: 32px;
  font-size: 14px;
}

.contact-links-title {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}

.contact-links ul {
  list-style: none;
}

.contact-links li {
  margin-bottom: 4px;
}

.contact-links a {
  color: #888;
  text-decoration: underline;
}

.contact-links a:hover {
  color: #666;
}

/* mobiel: stapel formulier + foto onder elkaar */
@media (max-width: 700px) {
  .contact-lower {
    flex-direction: column;
  }
}


/* responsive: stapel foto + tekst onder elkaar op small screens */
@media (max-width: 700px) {
  .contact-top {
    flex-direction: column;
  }

  .contact-photo-vertical {
    flex: 0 0 auto;
  }

  .contact-photo-vertical img {
    max-height: none;
  }

  .contact-text {
    flex: 0 0 auto;
  }
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 60px 0;
  opacity: 0.6;
  font-size: 13px;
}

/* Geen underline op de klikbare items in het grid */
.item,
.item:visited,
.item:hover,
.item:active {
  text-decoration: none;
  color: inherit;
}


@media (max-width: 700px) {

  /* verticale foto kleiner */
  .contact-photo-vertical img {
    max-height: 400px;    /* kleiner dan desktop */
    width: 100%;
    object-fit: cover;
  }

  /* tekst ook mooi onder elkaar */
  .contact-top {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  /* contactformulier schermvullend */
  .contact-lower {
    flex-direction: column;
    gap: 24px;
  }

  .contact-form-wrapper,
  .contact-form {
    width: 100%;
    max-width: none;
    padding: 0 0;          /* geen padding links/rechts */
    margin: 0;             /* geen margins */
  }

  .form-row input,
  .form-row textarea {
    width: 100%;           /* echt volledig breed */
  }

  /* horizontale foto onder het formulier */
  .contact-photo-horizontal img {
    margin-top: 8px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* ===== PROJECT PAGE ===== */

.project-page {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 40px;
}

/* bovenste blok: links beeld, rechts tekst */
.project-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.project-main-image {
  flex: 0 0 45%;
}

.project-main-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.project-text {
  flex: 1;
  min-width: 260px;
  font-size: 15px;
  color: #444;
}

.project-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-text p {
  margin-bottom: 12px;
}

.project-meta {
  font-size: 13px;
  color: #777;
}

/* ===== PROJECT FULLWIDTH IMAGES ===== */
.project-gallery-grid {
  display: block;
}

.project-gallery-item {
  margin-bottom: 20px;
}

.project-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* mobiel: stapel main image en tekst onder elkaar */
@media (max-width: 700px) {
  .project-top {
    flex-direction: column;
  }

  .project-main-image,
  .project-text {
    flex: 0 0 auto;
  }
}


.field-error {
  border-color: #c44 !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field-label-image {
  height: 30px;
  width: auto;   /* dit houdt ze mooi in verhouding */
  display: block;
  margin: 0 0 4px 0; /* geen auto-centering */
}

.button-image {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  margin-top: 12px;
}

.button-image img {
width: auto; 
  display: block;
  opacity: 0.9;
}

.button-image:hover img {
  opacity: 1;
}


.field-label-image,
.button-image img {
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  display: inline-block !important;
  object-fit: contain !important;
}

.form-row {
  text-align: left !important;
}

/* forceer labels en knop-beeld links en niet gecentreerd */
.contact-form {
  text-align: left !important;
}

.form-row {
  text-align: left !important;
}

.field-label-image {
  display: block !important;
  margin: 0 0 4px 0 !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: 30px !important;
  object-fit: contain !important;
}

.button-image img {
  display: block !important;
  margin: 0 0 4px 0 !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: 30px !important;
  object-fit: contain !important;
}

/* ===== FIX ALL LINKS TO BLACK + BOLD, EVEN ON SAFARI iOS ===== */

a {
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

/* visited links */
a:visited {
  color: #000;
}

/* when tapping on iOS (prevent blue flash) */
a:active,
a:focus {
  color: #000;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* also remove iOS link underline inside <img> */
img {
  border: none;
}


/* label-afbeeldingen, input-images, verstuurknop-beeld: links uitlijnen */
.field-label-image,
.button-image img {
  align-self: flex-start !important;
}

.project-title {
  font-weight: 700;
}

.project-title .subtitle-light {
  font-weight: 400;
}