/* style.css */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #0a0a0a;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
}

h2 {
  text-align: center;
  }
  
h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  text-align: center;
  }

.cta {
  text-align: center;
  text-transform: uppercase;
  font-weight:700;
}

/* Buttons */
button {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  margin: 0.5rem;
}

.cta-buttons {
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom:  4rem;
}

/* Primary Button */
button.primary,
a.primary {
  background: #e60073;
  color: #fff !important;
  text-transform: uppercase;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  font-family: inherit;
  transition: background 0.25s, color 0.25s, transform 0.15s, box-shadow 0.25s;
  display: inline-block;
  text-decoration: none !important;
  border-radius: 5px;
}

button.primary:hover,
a.primary:hover,
button.primary:focus-visible,
a.primary:focus-visible {
  background: #fff;
  color: #e60073 !important;
  box-shadow: 0 6px 16px rgba(230, 0, 115, 0.25);
  transform: translateY(-2px);
  outline: none;
  text-decoration: none !important;
}

button.primary:active,
a.primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(230, 0, 115, 0.15);
}

/* Outline Button */
button.outline,
a.outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid #fff;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  font-family: inherit;
  transition: background 0.25s, color 0.25s, transform 0.15s, box-shadow 0.25s;
  display: inline-block;
  text-decoration: none !important;
  border-radius: 4px;
  cursor: pointer;
}

button.outline:hover,
a.outline:hover,
button.outline:focus-visible,
a.outline:focus-visible {
  background: #fff;
  color: #0a0a0a !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  outline: none;
  text-decoration: none !important;
  border: 2px solid #fff;
}

button.outline:active,
a.outline:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.hide-navbar {
  top: -100px !important;
  opacity: 0;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  gap: 2rem;
}

.nav-left, .nav-right {
  display: flex;
  gap: 1rem;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
}

.nav-left a, .nav-right a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav-left a:hover, .nav-right a:hover {
  color: #e60073;
  transition: color 0.3s ease;
}

.nav-center {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  text-align: center;
  padding: 0 1rem;
}

.logo {
  max-height: 60px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  margin-left: auto;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #fff;
}

.hamburger span {
  color: #fff;
  font-size: 0.8rem;
  margin-top: 4px;
}

.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  background-color: #222;
  padding: 1rem;
  z-index: 2000;
}

.mobile-menu.active {
  display: flex;
  border-top: 1px solid #444;
}

.mobile-menu a {
  padding: 1rem 0;
  border-bottom: 1px solid #333;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: #e60073;
}

.hero {
  background: url('../img/hero-schuimparty.jpg') no-repeat center center/cover;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
}

section {
  padding: 4rem 2rem;
}

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

.service, .box, .post, .amusement {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
}

.service img, .box img, .post img, .amusement img, .responsive-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.amusement button {
  margin-top: 1rem;
}

/* About Section */

.about-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.about-image {
  flex: 1 1 45%;
  text-align: center;
}

.about-image img {
  max-height: 600px;
  height: auto;
  width: auto;
  max-width: 100%;
  object-fit: contain; /* geen afsnijding */ 
  border-radius: 10px;
}

.about-text {
  flex: 1 1 45%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}

/* Event types */
.eventtypes h2 {
  margin-bottom: 2rem;
}

.eventtypes .box h3 {
  margin-top: 1rem;
}

/* Highlight */
.highlight img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin: 1rem 0;
}

/* Fairground Amusement */
.amusement-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

/* Agenda */
.agenda blockquote {
  background: #1a1a1a;
  margin: 1rem 0;
  padding: 1rem;
  border-left: 5px solid #e60073;
}

/* Footer */
.footer {
  background: #111;
  padding: 2rem;
  text-align: center;
}

.copyright {
  background: #0a0a0a;
  color: #fff;
  font-size: small;
  padding: 1.5rem;
  text-align: center;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-left, .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
  }
  .about-grid {
    flex-direction: column;
    gap: 2rem;
  }
  
  .about-image, .about-text {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  
  .about-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 80vh; /* NIEUW: schaalt binnen het scherm */
  object-fit: contain;
  border-radius: 10px;
}
  
   .about-text {
    text-align: center;
    align-items: center;
  }
  
  .highlight img {
    height: 300px;
    object-fit: cover;
    object-position: center;
  }
  
  .footer .info a {
    color: #fff;
    text-decoration: none;
  }
  
  .footer .info a:hover {
  color: #e60073;
  text-decoration: none;
}
}
