/* navigatie balk */
/* Dit blok maakt een horizontale navigatiebalk met logo en menu-items. Flexbox zorgt voor uitlijning en spacing, achtergrond en schaduw zorgen voor stijl. */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.navbar {
  width: 100%;
  max-width: 100%;
  background-color: #cfcccc;      
  padding: 20px 0px; 
  align-items: center;
  display: flex;  
  font-size: 20px;
  justify-content: space-between;
  margin: 0px;
  box-shadow: 0 4px 15px black;
}

.navbar .logo {
  display: block; 
  margin: 0px;
  padding: 0px;
  padding-left: 20px;
  height: 70px;
  width: 70px;
}

.navbar ul {
  list-style: none;            
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.navbar li {
  margin: 0px;  
  margin-right: 10px;         
}

.navbar a {
  color: white;
  text-decoration: none;       
  font-weight: bold;
}

.navbar a:hover {
  color: #23231f;              
}

/*Home page titel*/
/* Stijlt de hoofdtitel op de homepage: kleur, lettertype en centreren */
.indexKoptekst {
  font-style: oblique;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: red;
  text-align: center;
  font-size: larger;
}

/* Image with text HOME */
/* Plaatst een afbeelding en tekst naast elkaar met ruimte ertussen */
.ImageTextHome {
  padding-top: 60px;
  display: flex;
  align-items: top;
  position: relative;
  justify-content: center;
  gap: 50px;
}

.ImageTextHome img {
  width: 550px;
}

.TextHome {
  max-width: 400px;
}

/* Image with text Lunch */
/* Bevat secties met afbeelding en tekst, soms afbeelding rechts of links */
.ImageTextLunch_1 {
  padding-top: 60px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  position: relative;
  justify-content: center;
  padding-left: 50px;
}

.ImageTextLunch_1 img {
  width: 550px;
  max-height: 550px;
}

.TextLunch_1 {
  max-width: 400px;
  max-height: 400px;
}

.ImageTextLunch_2 {
  padding-top: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  justify-content: center;
  padding-right:130px;
  gap: 50px;
}

.ImageTextLunch_2 img {
  width: 500px;
}

.TextLunch_2 {
  max-width: 400px;
  max-height: 400px;
}

/*tabel Lunch/Diner in Gennep*/
/* Tabel met lunch/diner opties: schaduw, afgeronde hoeken, borders en gecentreerd */
.eten-gennep {
  margin: 50px auto;
  text-align: center;
}

.eten-gennep h2 {
  color: #23231f;
  margin-bottom: 20px;
}

.eten-tabel {
  width: 90%;
  max-width: 900px;
  border-collapse: collapse;
  margin: 0 auto;
  font-size: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.eten-tabel th,
.eten-tabel td {
  border: 1px solid #ddd;
  padding: 12px 15px;
}

.eten-tabel th {
  background-color: #cfcccc;
  color: #23231f;
  font-weight: bold;
}

/*lunch suggestie*/
/* Knop om lunchsuggesties te genereren en weer te geven onder de knop */
.lunch-suggestie {
  text-align: center;
  margin: 40px auto;
}

#suggestieBtn {
  padding: 12px 20px;
  font-size: 1rem;
  background-color: #cfcccc;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}

#suggestieBtn:hover {
  background-color: #bfbfbf;
}

#lunchResult {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #23231f;
}

/* ImageText Places Of Interest */
/* Sectie met afbeelding en tekst over interessante plaatsen */
.ImageTextPlaces {
  padding-top: 60px;
  display: flex;
  flex-direction: row-reverse;
  align-items: top;
  position: relative;
  justify-content: center;
  background-color: rgb(240, 240, 239);
  z-index: -1;
  gap: 50px;
}

.ImageTextPlaces img {
  width: 550px;
  height: 400px;
  margin-bottom: 50px;
}

.TextPlaces {
  max-width: 400px;
}

/* Places of interest 3 plaatjes plus beschrijving */
/* Grid layout met 3 activiteiten en tekst */
.Image3TextPlaces {
  text-align: center;
  padding: 20px;
}

.Image3TextPlaces h1 {
  margin-bottom: 30px;
}

.Activiteit-Grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.Activiteit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.Activiteit img {
  width: 100%;
  height: 200px;
  max-width: 250px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.Activiteit h2 {
  margin: 10px 0 5px;
}

.Activiteit p {
  color: #555;
}

/* SlideShow main page */
/* Automatische slideshow met fade-effect */
.slideshow {
  position: relative;
  max-width: 900px;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin: 0 auto;
  display: block;
  padding-top: 90px;
  margin-bottom: 50px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fadeEffect 12s infinite;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeEffect {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; }
  100% { opacity: 0; }
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }

/* titel sportpagina */
/* Centraal uitlijnen van koptekst sportpagina */
.KopSport {
  text-align: center;
  margin-top: 40px;
}

/* grid afbeeldingen text - sportmogelijkheden */
/* Layout van sportmogelijkheden: afbeelding + tekst */
.Sportmogelijkheden {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  align-items: center;
}

.Sport {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 15px;
  align-items: center;
  background-color: #cfcccc;
}

.Sport img {
  width: 100%;
  display: block;
}

.SportText {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: flex-start;
  max-width: 400px;
}

.SportText h2 {
  text-align: center;
}

/* quotes op sportmogelijkheden */
/* Balk met quotes inclusief knoppen */
.quote-bar {
  width: 100%;
  background-color: #cfcccc;
  padding: 40px 20px;
  text-align: center;
  border-bottom: 3px solid #2b3034;
  border-top: 3px solid #2b3034;
  box-sizing: border-box;
  margin-top: 30px;
  margin-bottom: 30px;
}

.quote-text {
  font-size: 1.4rem;
  font-style: italic;
  color: #333;
  margin-bottom: 10px;
}

.quote-author {
  font-size: 1rem;
  color: #555;
  font-weight: bold;
}

.quote-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.quote-btn {
  border-radius: 8px;
  width: 5%;
  color: black;
  background-color: white;
}

/*ICT Bedrijven kop tekst*/
/* Titel van ICT bedrijven sectie */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.ICTbedrijvenH1 {
  text-align: center;
}

/*ICT Bedrijven onder tekst van kop*/
/* Introductie tekst centreren */
.intro p {
  text-align: center;
  font-size: 1.1em;
  line-height: 1.6;
}

/*secties van Bedrijven*/
/* Bedrijven getoond als kaarten met afbeelding, titel en beschrijving */
.bedrijven {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 30px;
}

.bedrijf {
  width: 280px;
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.bedrijf img {
  width: 100%;
  border-radius: 10px;
  max-width: 200px;
  max-height: 2000px;
}

.bedrijf h2 {
  margin-top: 10px;
}

.bedrijf p {
  color: #555;
  font-size: 0.95em;
}

/*footer*/
/* Eenvoudige footer met achtergrondkleur en tekst gecentreerd */
footer {
  background-color: #cfcccc;
  padding: 20px;      
  text-align: center;
  opacity: 60%;
  margin-top: auto;
}
