@import url(https://fonts.googleapis.com/css?family=Lato);
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css);

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: 'Open Sans', sans-serif;
  background-color: #ffffff;
  color: #000000;
}

/* HEADER & LOGO */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  color: white;
}

.text-block {
  display: flex;
  flex-direction: column;
}

.text-block p {
  font-size: 1.5rem;
  margin-top: 1rem;
  font-weight: 400;
}

.site-identity h1 {
  font-size: 3em;
  padding: 0;
  margin: 0;
  display: inline-block;
}

.site-identity {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-identity img {
  height: 300px;
  width: auto;
}

.separator {
  width: 3px;
  height: 200px;
  background-color: white;
}

.scroll-down {
  position: absolute;
  bottom: 20px; /* adjust spacing from bottom */
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem; /* size of arrow */
  color: #ffffff; /* arrow color */
  cursor: pointer;
  z-index: 10;
  animation: bounce 2s infinite;
}

.scroll-down a {
  color: inherit;
  text-decoration: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Social Buttons */
.footer-social-icons {
    position: absolute;  /* position relative to nearest positioned ancestor, e.g. footer */
    right: 20px;         /* some space from the right edge */
    top: 50%;            /* vertical center of the footer */
    transform: translateY(-50%);  /* perfect vertical centering */
    background: transparent;
    z-index: 1000;
    width: auto;
}

a {
    text-decoration: none;
    color: #fff;
}
p > a:hover{
    color: #d9d9d9;
    text-decoration:  underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin:  1% 0 1% 0;
}
._12 {
    font-size: 1.2em;
}
._14 {
    font-size: 1.4em;
}
ul {
    padding:0;
    list-style: none;
}
.footer-social-icons {
    width: 350px;
    display:block;
    margin: 0 auto;
}
.social-icon {
    color: #fff;
}
ul.social-icons {
    margin-top: 10px;
}
.social-icons li {
    vertical-align: top;
    display: inline;
    height: 100px;
}
.social-icons a {
    color: #fff;
    text-decoration: none;
}
.fa-facebook {
    padding:10px 14px;
    -o-transition:.5s;
    -ms-transition:.5s;
    -moz-transition:.5s;
    -webkit-transition:.5s;
    transition: .5s;
    background-color: #322f30;
}
.fa-facebook:hover {
    background-color: #3d5b99;
}
.fa-instagram {
    padding:10px 14px;
    -o-transition:.5s;
    -ms-transition:.5s;
    -moz-transition:.5s;
    -webkit-transition:.5s;
    transition: .5s;
    background-color: #322f30;
}
.fa-instagram:hover {
    background-color: #d62976;
}

@media (max-width: 768px) {
  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .footer-logos {
    order: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 20px; /* space below logos */
  }

  .footer-social-icons {
    display: none !important; /* hide social icons on small screens */
  }
}


/* NAVIGATIE */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #d5562b;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
}

nav a {
  color: #e6e6e6;
  text-decoration: none;
  font-variant: small-caps;
  font-weight: 600;
}

.top-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: white;
  background: url('../images/sahara.png') no-repeat center center/cover;
  z-index: 0;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.top-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.banner-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
}

.banner-text {
  color: white;
  text-align: left;
  position: static !important;
  transform: none !important;
  width: auto;
  margin: 0;
}

.banner-text h1 {
  font-size: 3rem;
  margin: 0;
}

.banner-text p {
  font-size: 1.5rem;
}

.banner-text {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  z-index: 10;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

.logo {
  position: static !important;
  transform: none !important;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 350px;
  z-index: 10;
}

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

/* SECTIES */
section {
  padding: 2rem;
  max-width: 1100px;
  margin: auto;
  scroll-margin-top: 100px;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  position: relative;
  text-transform: uppercase;
}

section h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: #d5562b;
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* GALERIJ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* sponsor */
.sponsorsDESK img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; 
}

.sponsors {
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 2rem 1rem;
  text-align: center; 
}

/* KNOPPEN */
.btn {
  display: inline-block;
  background: #d5562b;
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 1rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #a6401f;
}

/* ROUTE */
.route {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.route img {
  width: 100%;
  border-radius: 8px;
}

.route div {
  display: flex;
  flex-direction: column;
}

/*goededoel*/
#goededoel .goededoel-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

#goededoel .goededoel-content .text {
  flex: 1 1 400px;
}

#goededoel .goededoel-content img {
  flex: 0 0 500px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* FOOTER */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
}

footer form {
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer form input,
footer form textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

footer form button {
  background: #d5562b;
  color: white;
  padding: 1rem;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

footer form button:hover {
  background: #a6401f;
}

.footer-logos {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logos img {
  width: 60px;
  height: auto;
  transition: transform 0.2s ease;
}

.footer-logos img:hover {
  transform: scale(1.1);
}

/* FAQ */
#faq {
  padding: 2rem;
  max-width: 1100px;
  margin: auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 1rem 0;
  cursor: pointer;
  color: #d5562b;
  transition: color 0.3s;
}

.faq-question:hover {
  color: #a6401f;
}

.faq-answer {
  display: none;
  padding: 0.5rem 0 1rem 0;
  color: #333;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --- Hamburger menu default hidden --- */
.hamburger-menu {
  display: none;
}

/* --- Mobiele navigatie --- */
.site-navigation {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.desktop-nav {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #d5562b;
  padding: 1rem;
  justify-content: center;
  gap: 2rem;
  z-index: 1000;
  transition: top 0.5s ease;
}

nav.hidden-on-home {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

nav.visible {
  opacity: 1;
  pointer-events: auto;
}

.desktop-nav.hidden-on-home {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.desktop-nav.visible {
  opacity: 1;
  pointer-events: auto;
}

.hamburger-menu,
#mobileNav {
  display: none;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  background-color: #d5562b;
  padding: 1rem;
}

@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
  }

  .hamburger-menu div {
    width: 30px;
    height: 4px;
    background-color: #d5562b;
    margin: 6px 0;
    transition: 0.4s;
  }

  .hamburger-menu.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
  }

  .hamburger-menu.active div:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active div:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
  }

  #mobileNav {
    display: none;
    flex-direction: column;
    background-color: #d5562b;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 1rem;
    z-index: 999;
    text-align: center;
  }

  #mobileNav.active {
    display: flex;
  }

  #mobileNav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  #mobileNav li {
    margin: 1em 0;
  }

  #mobileNav a {
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
  }

  .desktop-nav {
    display: none;
  }
}

@import url('https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css'); 

.grid-container {
  width: min(75rem, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: 2rem;
}

.card {
  --grad: rgb(255, 255, 255), #d5562b;
  padding: 2.5rem;
  background-image: linear-gradient(to bottom left, #e0e4e5, #f2f6f9);
  border-radius: 2rem;
  gap: 1.5rem;
  display: grid;
  grid-template: 'title icon' 'content content' 'bar bar' / 1fr auto;
  font-family: system-ui, sans-serif;
  color: #000000;
  box-shadow: 
    inset -2px 2px hsl(0 0 100% / 1),
    -20px 20px 40px hsl(0 0 0 / .25);
}

.card .title {
  font-size: 1.5rem;
  grid-area: title;
  align-self: end;
  text-transform: uppercase;
  font-weight: 500;
  word-break: break-all;
}

.card .icon {
  grid-area: icon;
  font-size: 3rem;
}

.card .icon > i {
  color: transparent;
  background: linear-gradient(to right, var(--grad));
  background-clip: text;
}

.card .content {
  grid-area: content;
}

.card .content > *:first-child { margin-top: 0rem }
.card .content > *:last-child { margin-bottom: 0rem }

.card::after {
  content: "";
  grid-area: bar;
  height: 2px;
  background-image: linear-gradient(90deg, var(--grad));
}

@media (max-width: 768px) {
  .site-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .separator {
    display: none;
  }

  .site-identity img {
    max-width: 250px;
    height: auto;
    margin-top: -300px;
  }

  .top-banner h1 {
    font-size: 2rem;
  }

  .top-banner p {
    font-size: 1rem;
  }
}

p a {
  color: #ff6600;
  text-decoration: underline;
}
