/*!/wp-content/themes/campingvillage-child-theme/style.css*//*
Theme Name: CampingVillage Child theme of campingvillage
Theme URI: 
Description: Child theme of campingvillage theme for the CampingVillage theme
Author: <a href="http://www.nicdarkthemes.com">Nicdark</a>
Author URI: 
Template: campingvillage
Version: 2.9
*/

/* Generated by Orbisius Child Theme Creator (https://orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Wed, 16 Jul 2025 03:45:11 +0000 */ 
/* The plugin now uses the recommended approach for loading the css files.*/


/* Importeer Google Fonts */
/* Open Sans en Roboto zijn gebruikt in de originele slider */


body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif; /* Hoofdletter voor Open Sans */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f0f0;
}

.slider-container {
    position: relative;
    width: 100%; /* Maakt het fullwidth */
    height: 600px; /* Gebruik de hoogte van je originele slider */
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: rgb(73, 82, 79); /* Achtergrondkleur van de wrapper */
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out; /* Vertraging van 1.2s voor een soepele fade */
    display: flex; /* Gebruik flexbox om content te centreren */
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Zorgt ervoor dat afbeeldingen niet buiten de slide komen */
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zorgt ervoor dat de afbeelding de hele ruimte vult zonder vervorming */
    display: block;
}

/* Overlay voor de gradient */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(73, 82, 79, 0.2) 0%, rgba(73, 82, 79, 0.7) 100%); /* Kopieer de gradient */
    z-index: 2; /* Boven de afbeelding */
}

.slide-content {
    position: absolute;
    z-index: 3; /* Boven de overlay */
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    max-width: 90%; /* Zorg ervoor dat content niet te breed wordt op kleine schermen */
}

.slide-content .subtitle {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 2px;
    font-weight: 400;
	color:white;
    margin-bottom: 10px; /* Ruimte tussen subtitle en main title */
}

.slide-content .main-title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 30px; /* Origineel was 30px, maar responsive kan anders zijn */
    line-height: 41px; /* Origineel was 41px */
    letter-spacing: 2px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    margin-top: 0;
    margin-bottom: 20px; /* Ruimte tussen title en description */
}

.slide-content .description {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 20px;
    line-height: 25px;
    letter-spacing: 1px;
    font-weight: 400;
    color: rgb(255, 255, 255);
    margin-bottom: 30px; /* Ruimte tussen description en button */
}

.button {
    display: inline-block;
    padding: 15px 35px;
    background-color: rgb(73, 82, 79); /* Achtergrondkleur van de knop */
    color: rgb(255, 255, 255)!important;
    text-decoration: none;
    border: 2px solid rgb(73, 82, 79); /* Randkleur van de knop */
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 11px;
    line-height: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.button:hover {
    background-color: #e7d8c9; /* Hover achtergrondkleur */
    border-color: #e7d8c9; /* Hover randkleur */
    color: #fff; /* Hover tekstkleur */
}

/* Navigatieknoppen (pijlen) */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 2em;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px; /* Voor ronde knoppen */
    height: 50px; /* Voor ronde knoppen */
}

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

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Paginatie (bolletjes) */
.pagination {
    position: absolute;
    bottom: 35px; /* Komt overeen met yo:35px van de dots */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #fff;
}

/* Responsiviteit */
@media (max-width: 1024px) {
    .slide-content .main-title {
        font-size: 2.5em; /* Iets kleiner voor tablets */
        line-height: 1.2em;
    }
    .slide-content .description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: 500px; /* Pas hoogte aan voor kleinere schermen */
    }
    .slide-content .main-title {
        font-size: 2em; /* Nog kleiner voor mobiel */
        line-height: 1.1em;
    }
    .slide-content .subtitle {
        font-size: 14px;
    }
    .slide-content .description {
        font-size: 1em;
    }
    .button {
        padding: 12px 25px;
        font-size: 10px;
    }
    .nav-button {
        padding: 10px;
        font-size: 1.5em;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 400px; /* Verdere aanpassing voor kleine mobiele schermen */
    }
    .slide-content {
        padding: 15px;
        max-width: 95%;
    }
    .slide-content .main-title {
        font-size: 1.8em;
    }
    .slide-content .description {
        font-size: 0.9em;
        line-height: 1.4em;
    }
    .button {
        font-size: 9px;
        padding: 10px 20px;
    }
    .nav-button {
        display: none; /* Verberg pijlen op zeer kleine schermen als ze te veel ruimte innemen */
    }
    .pagination {
        bottom: 15px;
    }
}