@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&family=Manrope:wght@200..800&family=Space+Grotesk:wght@300..700&display=swap');

:root {
  --primary: #B7F5AB;
  --primary-dark: #4e594c;
  --secondary: #3148FC;
  --secondary-dark: #00074D;
  --wit: #ffffff;
  --tertiare: #F2F3FF;
  --seasalt: #F7F7F7;
  --radius: 20px;
}
* {
  box-sizing: border-box;
}
html {
  font-family: "Space Grotesk", sans-serif;
  color: var(--secondary-dark);
  background: var(--seasalt);  
}

body {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

.container-foto-section {
  width: 100%;
  min-height: 60vh;
  background-image: url('/img/simplysense_v2/werkzaamheden.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
}

.container.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.container.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

header {
  position: fixed;
  top: 24px;
  left: 40px;
  right: 40px;
  z-index: 100;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

header .container {
  width: 100%;
  max-width: none;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 80px;
  box-sizing: border-box;
}

.logo img {
  height: clamp(20px, 7vw, 40px);
  width: auto;
}

nav {
  background: var(--tertiare);
  padding: 10px 60px;
  border-radius: 40px;
}

nav ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--secondary-dark);
  text-decoration: none;
  white-space: nowrap;
  // overflow: hidden;
  // text-overflow: ellipsis;
}
.menu-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.menu-btn {
  display: none;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  color: var(--secondary-dark);
  border: none;
  border-radius: 20px;
  padding: 5px 15px;
  background-color: var(--tertiare);
}
section {
  min-height: 100vh;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

.section-header {
  text-align: center;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header h2 {
  margin-bottom: 0px;
}

.pill, .pill-dark {
  width: 150px;
  border-radius: 40px;
  padding: 10px;
  text-align: center;
}

.pill {
  background: var(--wit);
  border: 1px solid var(--secondary-dark);
}

.pill-dark {
  background: var(--secondary-dark);
  border: 1px solid var(--secondary-dark);
  color: var(--wit);
}

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

.section-dark {
  background: var(--tertiare);
}

.hero-section,
.about-section {
  background-image: url('/img/simplysense_v2/Patroon achtergrond licht.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 58px;
  margin: 0 0 12px;
}

.hero-content p {
  font-size: 14px;
  margin: 0 0 20px;
  color: var(--secondary-dark);
}
.image-stack {
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 20px;       
}

.image-stack img {
  width: 100%;
  max-width: 300px; 
  height: auto; 
  border-radius: var(--radius);
}

.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.partner {
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--wit);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-logo {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-title {
  margin-top: 12px;
  font-size: 0.9rem;
  text-align: center;
  color: var(--secondary-dark);
}
.partner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.arrow-down {
    width: 0; 
    height: 0; 
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 45px solid #333; 
    margin: 10px 0;
}
.section-image-lab-nl img{
  width: 100%;
  max-width: 410px;
  border-radius: var(--radius);

}
.section-image,
.hero-image {
  width: 700px;
  height: auto;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  justify-content: center;
  background: none;
  overflow: hidden;
}

.section-image img,
.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: 100%;
  max-height: 100%;
  background: none;
}
.images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.card {
  background: var(--wit);
  border-radius: var(--radius);
  padding: 0 0 16px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

.card-image {
  width: 100%;
  height: 180px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; 
  margin-bottom: 16px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: end;
  padding-top: 60px;
}

.card-grid .card:nth-child(even) {
  min-height: 420px;
  transform: translateY(-40px);

}

.card-grid--offset {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
  margin: 0 auto;
  align-items: end;
  padding-top: 200px; 
}

.card-grid--offset .card:nth-child(1) {
  min-height: 520px;
  transform: translateY(-130px);
}

.card-grid--offset .card:nth-child(2) {
  min-height: 450px; 
}

.card-grid--offset .card:nth-child(3) {
  min-height: 520px;
  transform: translateY(-170px);
  z-index: 10;
}

.card-grid--offset .card-image {
  height: 250px; 
  overflow: visible; 
  position: relative;
}

.card-grid--offset .card-image img {
  width: 100%;      
  height: 115%;     
  object-fit: cover;
  border-radius: var(--radius);
}

.card-grid--offset h3 {
  text-align: left;
  padding: 0 10px;
  margin-top: 40px; 
}
.card-grid--offset p {
  margin-top: 0;
  padding: 0 10px;
  text-align: left;
  text-wrap: wrap;
}
.corner-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  pointer-events: none;
}

.corner-image img {
  width: 100%;
  height: auto;
  display: block;
}

.video-wrapper {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 10;
}

.video-wrapper video {
  width: 80%;
  max-width: 900px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.statement-content, .case-study-content {
  display: flex;
  flex-direction: column;
}

.contact-section {
  background-image: url('/img/simplysense_v2/presentatiefoto.png');
  background-size: cover;
  background-position: center;
}

.contact-container {
  display: flex;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: #00074D;
  border-radius: var(--radius);
  box-sizing: border-box;
}

.contact-content {
  display: flex;
  gap: 32px;
  width: 100%;
}

.card-content {
  flex: 1;
  color: #fff;
}

.contact-card {
  flex: 1;
  background: var(--primary);
  padding: 40px 30px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--secondary-dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #ccc;
  background: #fff;
  color: #000;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

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

.contact-form button {
  background: var(--primary-dark);
  color: #fff;
  width: calc(100% - 70px);
  padding: 5px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: var(--secondary);
}

.btn {
  display: inline-block;
  padding: 12px 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--secondary-dark);
  color: var(--secondary-dark);
  padding: 8px 16px;
  border: 1px solid black;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  width: fit-content; 
  min-width: 0;
  white-space: nowrap;
}

footer {
  background-image: url('/img/simplysense_v2/Patroon achtergrond licht.svg');
  display: flex;
  flex-flow: row wrap;
  flex-direction: row-reverse;
  justify-content: space-evenly;
  align-items: stretch;
  color: var(--secondary-dark);
  padding: 60px 0;
}

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

footer .column {
  padding: 16px 40px;
  width: 180px;
  border-left: 1px solid var(--opaque-white);
}

footer .column:last-child {
  border-left: none;
}

footer .column h2,
footer .column h3 {
  width: 100%;
  display: block;
}

footer .column h2 {
  margin: 32px 0;
}

footer .column h3 {
  margin: 0 0 16px;
}

footer .column h4 {
  margin-bottom: 4px;
  color: var(--secondary-dark-highlight);
}

footer .column p {
  margin: 0 0 4px;
}

footer .column ul {
  padding: 0;
  margin: 0 0 16px 0;
}

footer .column li {
  list-style: none;
  padding: 4px 0;
}

footer .column hr {
  border: 1px solid var(--opaque-white);
}

footer .column.contact {
  width: 210px;
}

footer .column.about {
  flex-grow: 7;
}

footer .column.about .footer-logo {
  padding-bottom: 20px;
}

footer .column.about .footer-logo img {
  height: clamp(40px, 7vw, 80px);
  width: auto;
}

footer .column .more {
  margin-top: 32px;
}

@media (max-width: 1600px) {
  nav {
    position: absolute;
    top: calc(100% + 2px);
    right: 0; 
    left: auto;

    width: 250px;
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 16px;

    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    text-align: center;
  }

  nav.active {
    display: flex;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
  }

  nav a {
    max-width: none;
    overflow: visible;
    padding: 8px 0;
  }

  .menu-btn {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: var(--secondary-dark);
    border: none;
    border-radius: 20px;
    padding: 5px 15px;
    background-color: var(--tertiare);
  }
}

@media (max-width: 1020px) {

  .container.two-column,
  .container.hero {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .container.hero {
    height: 560px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 72px;
  }

  .card-grid .card:nth-child(even),
  .card-grid--offset .card:nth-child(1),
  .card-grid--offset .card:nth-child(3) {
    transform: translateY(0);
  }

  .card {
    width: 80%;
  }

  .contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .card-content,
  .contact-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
  }

  .contact-form button {
    width: 100%;
  }

  .section-dark h2,
  .section-light h2 {
    font-size: 2.5rem;
  }

  .section-dark h3 {
    font-size: 1.5rem;
  }

  .section-light h3 {
    font-size: 1.5rem;
  }

  .section-dark p,
  .section-light p {
    font-size: 1.3rem;
  }

  .pill,
  .pill-dark {
    width: 170px;
    padding: 8px;
    font-size: 1rem;
  }

  .hero-image {
    display: none;
  }

  .hero-content h1 {
    font-size: 53px;
  }

  .hero-content p {
    font-size: 1.3rem;
  }

  .card-image {
    height: 300px;
  }

  .section-image {
    max-width: 95%;
  }

  .section-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 710px) {

  .card {
    width: 100%;
  }

  .partners {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 20px;
    text-align: left;
  }

  footer .column {
    width: 100%;
    margin-bottom: 20px;
    padding: 0;
    border-left: none;
    text-align: left;
    order: 0;
  }

  footer .column.about {
    order: -1;
  }
}