/* Reset and Base Styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: georgia, serif;
  color: #333;
  overflow: hidden;
  height: 100vh;
}

/* App Container */
.app {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Sections Container */
.sections-container {
  display: flex;
  width: 300vw;
  height: 100vh;
  transition: transform 0.5s ease-in-out;
  transform: translateX(-100vw);
}

/* Sections */
.section {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
}

/* Hub Section */
.hub-section {
  opacity: 1;
  pointer-events: auto;
  background-color: #fff;
	
}

/* Left and Right Sections */
.left-section, .right-section {
  background-color: white;
  opacity: 1;
  pointer-events: auto;
  text-align: center;

}

.left-section
{
  padding-top: 5%;
}

/* Top and Bottom Sections */
.top-section, .bottom-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  background-color: #f9f9f9;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  padding: 2rem;
  box-sizing: border-box;
  overflow-y: auto;
}

/* Logo */
.logo {
  max-width: 150px;
  box-shadow: inset 0px 0px 6px 4px rgba(0,0,0,0.2);
  margin-bottom: 2rem;
  border-radius: 5px;
padding: 2rem;
}


/* Back Button */
.back-button {
  position: fixed;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 101;
  display: none;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

/* Back Button Positions */
.back-button.right {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.back-button.left {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.back-button.top {
  left: 50%;
  top: 1rem;
  transform: translateX(-50%);
}

.back-button.bottom {
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
}

/* About Page Styles */
.about-content {
  max-width: 800px;
  text-align: center;
}

.about-h2
{
  position: absolute;
  top: 34%;
  left: 2%;
  writing-mode: vertical-rl;
  scale: -1;
}

.about-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.about-text {

  margin-bottom: 2rem;
  line-height: 1.6;
}

.team-member {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 600px;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  padding-right: 5px;
  background-color: #fff9e78c;
  margin-left: auto;
  margin-right: auto;
}

.team-photo {
  width: 150px;
  height: 150px;
  background-color: #ddd;
  margin-right: 1.5rem;
  border-radius: 8px;
  object-fit: cover;
}

.team-info h3 {
  margin-top: 0;
  color: #444;
}

.team-info p {
  margin-bottom: 0.5rem;
  color: #666;
}

/* Contact Section */
.contact-section {
  margin-top: 3rem;
  text-align: center;
}

.contact-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  scale: 0.8;
}

.social-link {
  color: #333;
  text-decoration: none;
  font-size: 1.8rem;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: #0077b6;
}

.social-link i {
  font-size: 1.8rem;
}


.fa-camera:hover {
  color: #E1306C;
}

.fa-f:hover {
  color: #4267B2;
}

.fa-phone:hover {
  color: #25D366;
}

/* Events Section */
.events-section {
  margin-top: 3rem;
  max-width: 600px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.events-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #333;
  text-align: center;
	font-variant-caps: small-caps;
}

.event-list {
  list-style: none;
  padding: 0;
  width: 100%;
}

.event-item {
  
  border-radius: 5px;
  margin-bottom: 1rem;
  overflow: hidden;
  cursor: pointer;
box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  background-color: white;
}

.event-item:hover {
  box-shadow: inset 2px 2px 4px 2px rgba(0,0,0,0.2);
}

.event-summary {
  padding: 0.5rem;
  background-color: #fff9e78c;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-info {
  display: flex;
  align-items: center;
}

.event-date {
  font-weight: bold;
  color: #555;
  margin-right: 1rem;
}

.event-title {
  font-weight: 500;
  color: #333;
}

.toggle-arrow {
  font-size: 1.2rem;
  color: #666;
}

.event-details {
  padding: 0.5rem;
  background-color: white;
  display: none;

}

.event-details.active {
  display: block;
}

.event-description {
  margin-bottom: 0.5rem;
}

.event-location {
  font-style: italic;
  color: #666;
}

/* Top Section Title and Filters */
.top-section h2 {
  margin-top: 2rem;
  font-size: 2.5rem;
  color: #333;
  text-align: center;
}

/* Filter Container */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
}

/* Filter Buttons */
.filter-container button {
  padding: 0.75rem 1.5rem;
  border: 1px solid #ccc;
  border-radius: 25px;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.75rem;
}

.filter-container button:hover {
  background-color: #e7e7e7;
  transform: translateY(-2px);
}

/* Carousel Container */
.carousel-container {
  display: flex;
  position: relative;
  justify-content: center;
  height: auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
  padding: 1rem 0;
}

/* Carousel Items */
.carousel-item {
  max-width: 350px;
  max-height: 425px;
  position: absolute;
  transition: all 0.5s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  cursor: pointer;
	border: 1px solid  #fff9e78c;
}

.carousel-item.expanded {
  min-width: 450px;
  max-height: 600px;
  z-index: 20;
}

.carousel-item .catalog-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  background-color: #f0f0f0;
}

.carousel-item.expanded .catalog-image {
  height: 300px;
}

.carousel-item .catalog-info {
  padding: 1.5rem;
}

.carousel-item.expanded .catalog-info {
  padding: 2rem;
}

.carousel-item .catalog-info h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.carousel-item.expanded .catalog-info h3 {
  font-size: 1.8rem;
}

.carousel-item .catalog-info p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  max-height: 100px;
  overflow: hidden;
}

.carousel-item.expanded .catalog-info p {
  max-height: none;
  overflow: visible;
}



/* Carousel Navigation */
.carousel-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 20;
  border-radius: 5px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
	border: 1px solid  #fff9e78c;
}

.carousel-nav.prev {
  left: 10%;
}

.carousel-nav.next {
  right: 10%;
}

.carousel-nav:hover {
	 box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Catalog Info Styling */
.catalog-type {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
	font-variant-caps: small-caps;
}

.catalog-cost {
  font-weight: bold;
  color: #2a7f66;
  font-size: 1.2rem;
  margin: 0.75rem 0;
}

.catalog-audience, .catalog-soort-tekst {
  font-size: 0.9rem;
  color: #777;
  margin: 0.25rem 0;
}


/* Boek ons! Button */
.boek-button {
  display: block;
  margin: 2rem auto;
  padding: 0.75rem 1.5rem;
  border: 1px solid white;
  border-radius: 5px;
  background-color: #fff9e78c;
  color: black;
  cursor: pointer;
  font-size: 1.5rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 2px 1px 4px 2px rgba(0,0,0,0.2)
}

.boek-button:hover {
  background-color: white;
  box-shadow: inset 2px 1px 4px 2px rgba(0,0,0,0.2);
}

/* Filter Button Container */
.filter-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 2rem;
  gap: 1rem;
}

/* Download Button */
.download-button {
  padding: 0.75rem 1.5rem;
  border: 1px solid  white;
  border-radius: 5px;
  color: black;
  background-color: #fff9e78c;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow:2px 1px 4px 2px rgba(0,0,0,0.2);
}

.download-button:hover {
  background-color: white;
  box-shadow: inset 2px 1px 4px 2px rgba(0,0,0,0.2);
}

/* Filter Rows */
.filter-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 0.5rem auto;
}

/* Filter Labels */
.filter-label {
  font-weight: bold;
  color: #333;
  margin-right: 0.5rem;
  white-space: nowrap;
}

/* Filter Buttons Container */
.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Filter Buttons */
.filter-button {
	padding: 0.75rem 1.5rem;
border: 1px solid  #fff9e78c;
	border-radius: 5px;
	background-color: white;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 1rem;
	box-shadow:2px 1px 4px 2px rgba(0,0,0,0.2);
	
}

.filter-button:hover {
    background-color: #fff9e78c;
  box-shadow: inset 2px 1px 4px 2px rgba(0,0,0,0.2);
}

.filter-button.active {
    background-color: #fff9e78c;
  color: black;
  border-color: #007BFF;
 box-shadow: inset 2px 1px 4px 2px rgba(0,0,0,0.5);
}

/* Filter Button Container */
.filter-button-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem auto;
  width: 100%;
  max-width: 1200px;
}

h2{font-variant-caps: small-caps;}

/* Navigation Arrow Labels */
.nav-arrow-label {
  position: fixed;
  background-color: #fff9e7;
  border-radius: 2px;
  padding: 0.5rem 0.75rem;
  font-size: 1.15rem;
  font-family: 'Georgia', serif;
  box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.2);
  z-index: 99;
  cursor: pointer;
  user-select: none;
  display: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem; /* Increased gap between arrows and text */
  height: 3rem;

}

.nav-arrow-label:hover {
	scale: 1.15;
	transition: 0.2s;
	box-shadow: 2px 2px 4px 3px rgba(0, 0, 0, 0.3);
}

/* Navigation Arrow */
.nav-arrow {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: block;
  margin: 0;
  padding: 0;
}

/* Main navigation labels */
.nav-arrow-label.left {
  left: 1rem;
  top: 40%;
  transform: rotate(-90deg);
  transform-origin: left center;
  box-shadow: -2px 2px 4px 3px rgba(0, 0, 0, 0.2);
}

.nav-arrow-label.left:hover {
	box-shadow: -2px 2px 4px 2px rgba(0, 0, 0, 0.3);
}
.nav-arrow-label.top {
  left: 25%;
  top: 0rem;
  transform: translateX(-50%);
}

.nav-arrow-label.right {
  right: 1rem;
  top: 40%;
  transform: rotate(90deg);
  transform-origin: right center;
}

.nav-arrow-label.bottom {
  left: 75%;
  bottom: 0rem;
  transform: translateX(-50%);
}

/* Return to hub navigation labels */
.nav-arrow-label.return-left {
  right: 1rem;
  top: 40%;
  transform: rotate(90deg);
  transform-origin: right center;
}

.nav-arrow-label.return-top {
  left: 25%;
  bottom: 0rem;
  transform: translateX(-50%);
}

.nav-arrow-label.return-right {
  left: 1rem;
  top: 40%;
  transform: rotate(-90deg);
  transform-origin: left center;
	box-shadow: -2px 2px 4px 2px rgba(0, 0, 0, 0.2);
}

.nav-arrow-label.return-bottom {
  left: 75%;
  top: 0rem;
  transform: translateX(-50%);
}

/* Arrow rotations for main navigation */
.nav-arrow-label.left .nav-arrow:first-child {
  transform: rotate(90deg);
}

.nav-arrow-label.right .nav-arrow:first-child {
  transform: rotate(-90deg);
}

/* Arrow rotations for return navigation */
.nav-arrow-label.return-left .nav-arrow:first-child {
  transform: rotate(90deg);
}

.nav-arrow-label.return-right .nav-arrow:first-child {
  transform: rotate(-90deg);
}

.nav-arrow-label.return-top .nav-arrow:first-child {
  transform: rotate(180deg);
}

.nav-arrow-label.return-bottom .nav-arrow:first-child {
  transform: rotate(180deg);
}

/* Second arrow in each label (mirror of the first) */
.nav-arrow-label.left .nav-arrow:last-child {
  transform: rotate(90deg);
}

.nav-arrow-label.right .nav-arrow:last-child {
  transform: rotate(-90deg);
}

.nav-arrow-label.bottom .nav-arrow:last-child {
  transform: none;
}

.nav-arrow-label.return-left .nav-arrow:last-child {
  transform: rotate(90deg);
}

.nav-arrow-label.return-right .nav-arrow:last-child {
  transform: rotate(-90deg);
}

.nav-arrow-label.return-top .nav-arrow:last-child {
  transform: rotate(180deg);
}

.nav-arrow-label.return-bottom .nav-arrow:last-child {
  transform: rotate(180deg);
}

/* Site Map Styles */
.looking-glass-icon {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.looking-glass-icon:hover {
  transform: scale(1.1);
  background-color: white;
}

.map-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  display: none;
  justify-content: center;
  align-items: center;
}

.map-container {
  position: relative;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  width: 80%;
  max-width: 800px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.map-close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.site-map {
  width: 100%;
  height: auto;
  max-height: 60vh;
}

/* Removed hover transform from map locations */
.map-location {
  cursor: pointer;
}

.map-location-group:hover .map-location {
  fill: #e74c3c; /* Color change on hover, but no movement */
}


/* SCROLLBAR */
.left-section {
  overflow-y: auto;
  scrollbar-gutter: stable;
  direction: rtl; /* This moves the scrollbar to the left side */
}

.left-section::-webkit-scrollbar {
  width: 8px;
  background-color: transparent;
}

.left-section::-webkit-scrollbar-thumb {
  background-color: #fff9e78c;
  border-radius: 4px;
}

.left-section::-webkit-scrollbar-track {
  background-color: transparent;
}

/* For Firefox */
.left-section {
  scrollbar-color: #fff9e78c transparent;
  scrollbar-width: thin;
}

/* Reset direction for content to maintain normal flow */
.about-content, .events-section {
  direction: ltr;
  padding: 1rem;

}

/* catalog-image styling */
.catalog-image {
  position: relative;
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.image-placeholder {
  color: #666;
  font-style: italic;
  text-align: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px dashed #ccc;
}

/* Left Section Fixes */
.sections-container {
  height: 100vh;
  overflow: hidden;
}

.section {
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;

}

.left-section {
  display: flex;
  flex-direction: column;
}

.about-content {
  flex: 1;
  overflow-y: auto;
	overflow-x:hidden;
  padding: 10px;
  box-sizing: border-box;
}

/* Event List Fixes */
.event-list {
  margin-bottom: 20px;
}

.event-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.event-details {
  max-height: 300px;
  overflow-y: auto;
  padding: 10px;
}

/* Hub carousel */
.hub-carousel-container {
  position: relative;
  width: 100%;
	height: 300px;
  max-width: 600px;
  margin: 2rem auto;


  box-sizing: border-box;
}

.hub-carousel {
  display: flex;
  overflow-x: hidden; overflow-y: auto;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  box-shadow: inset 0px 0px 6px 4px rgba(0,0,0,0.1);
  background-color: white;

  position: relative;
}

.hub-carousel-item {
  position: absolute;
  padding: 1.5rem;
  box-sizing: border-box;
  transition: transform 0.5s ease;
	width: 100%;
	left: 0;
  top: 0;
}

.hub-carousel-item .event-date {
  font-weight: bold;

  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.hub-carousel-item .event-title {
  font-weight: 500;

  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.hub-carousel-item .event-description {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.hub-carousel-item .event-location {
  font-style: italic;
  color: #666;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.hub-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
background: white;
  border: none;
  border-radius: 5px;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 2px 2px 4px 2px rgba(0,0,0,0.2);
  transition: all 0.2s;
}

.hub-carousel-nav.prev {
  left: -3rem;
  box-shadow: -2px 2px 4px 2px rgba(0,0,0,0.2);
}

.hub-carousel-nav.next {
  right: -3rem;
}

.hub-carousel-nav:hover {
   box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}