/* main.css - Hoofd CSS bestand */

:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --text-color: #333;
    --light-text: #777;
    --background-color: #f9f9f9;
    --header-bg: #aaa;
    --link-color: #aaa;
    --header-color:#fff;
    --menutext-color:#fff;
    --footer-bg: #2c3e50;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Arial', sans-serif;
    --font-size-base: 16px;
    --max-width: 1200px;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition-speed: 500ms; /* Default waarde */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}
a {
     color: var(--link-color);
}
table  tr:nth-child(2n+1) {  /* Oneven rijen */
    background-color: #f2f2f2;
}
table tr:nth-child(2n) {    /* Even rijen */
    background-color: #ffffff;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.header {
    background-color: var(--secondary-color);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.search {
    display: flex;
    justify-content: right;
    width: 100%;
    max-width: var(--max-width);
}
.site-header {
    background-color: var(--header-color);
    margin-top: 0px;
}
.site-footer {
    background-color: var(--header-color);
    margin-top: 0px;
}
.logocontainer {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
  display: flex;
  gap: 10px;
}
.logo {
    margin-top: 0px;
    padding-bottom: 0px;
    padding-left: 30px;
    min-width: 400px;
}
.logo img {
    max-height: 90px;
}
.toptext {
    color: #FFFFFF;
    float: right;
    width: 700px;
    min-width: 700px;
}
@media (max-width: 768px) {
.toptext {
  display: none;
}
}

.main-navigation {
    background-color: var(--primary-color);
}
.btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
    margin: 5px;
}
.btn-3d {
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 0 #606060;
    transition: all 0.1s ease;
    position: relative;
    top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-3d:hover {
    top: 2px;
    box-shadow: 0 2px 0 var(--primary-color);
}

.btn-3d:active {
    top: 4px;
    box-shadow: 0 0 0 var(--primary-color);
}

.menu {
    list-style: none;
    display: flex;
}

.menu li {
    position: relative;
}
.menu li:hover {
    background-color: var(--secondary-color);
}

ul.menu li a {
    color: var(--menutext-color);
    text-decoration: none;
    padding: 15px 20px;
    display: block;
}
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    min-width: 240px;
    display: none;
    z-index: 1000;
}

.menu li:hover .submenu {
    display: block;
}

.main-content {
 /*   padding: 30px 0; */
}

.page-content {
    background-color: white;
    padding: 0px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.page-content img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
.article-block {
    flex: 1;
    min-width: 300px;
    margin: 20px auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    max-width: 100%;
}

.article-block h2 {
    margin-top: 0;
    font-size: 1.8em;
    color: #333;
}
.footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 30px 0;
    margin-top: 30px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap; /* Zorgt dat ze onder elkaar gaan bij kleinere schermen */
  justify-content: space-between; /* Verdeelt ruimte tussen de elementen */
  gap: 20px; /* Ruimte tussen de divs */
  padding:30px;
  border-radius: var(--border-radius);
 /* box-shadow: var(--box-shadow); */
}
.footer-page {
  flex: 1; /* Laat ze gelijk groeien */
  margin-left: 20px;
  min-width: 300px; /* Minimale breedte voordat ze onder elkaar gaan */
}

.language-switcher {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    justify-content: flex-end;
}

.language-switcher a {
    color: var(--text-color);
color: white;
    text-decoration: none;
}

.language-switcher a.active {
    font-weight: bold;
}

.banner-slider-container {
    aspect-ratio: 6 / 1; /* breedte/hoogte verhouding */
    max-height: 400px; /* maximale hoogte */
    min-height: 200px; /* minimale hoogte */
    overflow: hidden;
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.5s ease;
}

.banner-slider .slide.active {
    opacity: 1;
    z-index: 2;
}

.banner-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide effect */
/* Specifieke stijlen voor fade effect */
.banner-slider[data-effect="fade"] .slide {
    transition: opacity 0.5s ease;
}

.banner-slider[data-effect="fade"] .slide.active {
    opacity: 1;
}

/* Slide effect specifiek */
.banner-slider[data-effect="slide"] .slide {
    transform: translateX(100%);
}

.banner-slider[data-effect="slide"] .slide.active {
    transform: translateX(0);
}

.banner-slider[data-effect="slide"] .slide.prev {
    transform: translateX(-100%);
}

/* Navigatie knoppen zichtbaarheid */
.banner-slider-container:hover .banner-slider-nav button {
    opacity: 1;
}

/* Navigatie pijlen */
.banner-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.banner-slider-nav button {
    pointer-events: all;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 60px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.banner-slider-container:hover .banner-slider-nav button {
    opacity: 1;
}

.banner-slider-nav button:hover {
    background: rgba(0,0,0,0.8);
}

.banner-slider-nav button:first-child {
    border-radius: 0 5px 5px 0;
}

.banner-slider-nav button:last-child {
    border-radius: 5px 0 0 5px;
}


/* Indicatoren */
.banner-slider-indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}

.banner-slider-indicators span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    margin: 0 5px;
    cursor: pointer;
}

.banner-slider-indicators span.active {
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.news-item {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.news-item h3 {
    margin-bottom: 10px;
}

.news-item time {
    color: var(--light-text);
    font-size: 0.9em;
}

.news-author {
    font-style: italic;
    margin: 1px 0;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}
/* Fotoalbum stijlen */
.fotoalbum-container {
    margin: 2rem 0;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.photo-item:hover {
    transform: scale(1.03);
}

.photo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.photo-caption {
    padding: 0.5rem;
    margin: 0;
    font-size: 0.9rem;
    background: #f5f5f5;
}
  #go-up-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: none;
    outline: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  }
  
  #go-up-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  }

  .arrow-up {
    width: 20px;
    height: 20px;
    border-left: 3px solid white;
    border-top: 3px solid white;
    transform: rotate(45deg);
    margin-top: 5px;
  }
/* Showroom stijlen */
.showroom-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.occasions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.occasion-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.occasion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.occasion-image {
    height: 200px;
    overflow: hidden;
}

.occasion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.occasion-card:hover .occasion-image img {
    transform: scale(1.05);
}

.no-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #666;
}

.occasion-details {
    padding: 15px;
}

.occasion-details h2 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.occasion-details h2 a {
    color: inherit;
    text-decoration: none;
}

.specs {
    margin-bottom: 15px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin: 5px;
    font-size: 0.9rem;
}

.spec-label {
    font-weight: bold;
    margin: 5px;
}
.spec-value {
    margin: 5px;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    border-radius: 4px; /* Zachte randen */
    gap: 0px;
    margin-top: 5px;
    background: #f3f3f3;
}
.specs-grid > * {
    border: 1px;
    background: white; /* Vul cellen met witte achtergrond */
    padding: 12px;
}

/* Occasion detail stijlen */
.occasion-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.occasion-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.occasion-meta .price {
    font-weight: bold;
    color: #d32f2f;
    font-size: 0.9rem;
}

.occasion-gallery {
    margin-bottom: 30px;
}

.main-image {
    margin-bottom: 10px;
}

.main-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 100px;
    height: 75px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail:hover {
    border-color: #0073aa;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.occasion-specs {
    margin-bottom: 30px;
}

.occasion-options {
    margin-bottom: 30px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.occasion-contact {
    margin-top: 40px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 5px;
    text-align: center;
}
.search-results {
    max-width: 800px;
    margin: 20px auto;
padding: 30px;
}

.search-result {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.search-result h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.highlight {
    background-color: #fffde7;
    font-weight: bold;
    padding: 0 2px;
}

.no-results {
    text-align: center;
    padding: 40px;
    font-size: 1.2em;
    color: #666;
}
