/*
Theme Name: Bobs Bnb
Theme URI: https://bobsbnb.be
Author: wcreate BV
Author URI: https://wcreate.be
Description: Basisthema voor wcreate BV projecten
Version: 1.0
Text Domain: wcreatebasis
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
*/

/* HOME */

.grecaptcha-badge{
	visibility: hidden;
}

.hero--bg {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zorgt ervoor dat de afbeelding het hele blok vult */
    transform: scale(1.1); /* Begin iets ingezoomd */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Begin transparant */
    pointer-events: none;
}

.h--container {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    left: 50%;
}

.hero-subtitle {
    font-size: var(--font-size);
    margin-bottom: 0.5rem;
}

.feature--container {
    padding: 20px;
    background-color: var(--color-gray-100);
    border-radius: 10px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* SECTIONS */

.mb--5 {
    margin-bottom: 5%;
}

.pb--5 {
    padding-bottom: 5%;
}

/* FEATURE ICONS */

.feature--icon--back {
    position: relative;
    background-color: #fff;
    display: inline-block;
    border-radius: 60px;
    width: 60px;
    height: 60px;
}

.feature--icon--back svg {
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
}

/* AMENITIES */

.amenities-grid .f--c {
    margin-bottom: 2rem;
}

.amenity-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.feature--container2 {
    padding: 20px;
    background-color: var(--color-gray-100);
    border-radius: 10px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fc--img {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
}

.fc--img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

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

.fc--content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
}

.i--mobile{
    display: none;
}

/* TESTIMONIALS */

.testimonial-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.testimonials-grid .f--c {
    margin-bottom: 1rem;
}

.review-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 1rem;
}

.review-stars svg {
    width: 20px;
    height: 20px;
}

/* CONTACT FORM */

.contact-form {
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: var(--font-size);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
}

.contact-info {
    padding: 0 0 1rem 0;
}

.contact-info p {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

/* LOCATION */

.location-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    vertical-align: middle;
}

.location-icon--back {
    position: relative;
    background-color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.location-icon--back svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.location-features p {
    margin-bottom: 0.8rem;
    font-size: var(--font-size);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.map-placeholder iframe {
    border-radius: 8px;
}

/* LIJNTEKENINGEN */

.bg--background--v1 img{
    position: absolute;
    opacity: 0.1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg--background--v2 img{
    position: absolute;
    opacity: 0.05;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SLIDER */

.slider--section {
    position: relative;
    overflow: hidden;
}

.slider--wrapper {
    margin-left: var(--spacing-x);
    overflow: hidden;
}

.slider--track {
    display: flex;
    gap: 20px;
    will-change: transform;
}

.slider--slide {
    flex-shrink: 0;
    width: auto;
    height: 800px;
    border-radius: 10px;
    overflow: hidden;
}

.slider--slide img {
    width: auto;
    height: 100%;
    max-width: 100vw;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.slider--controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slider--btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: none;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider--btn:hover {
    background-color: var(--color-secondary);
    transform: scale(1.1);
}

.slider--btn svg {
    width: 24px;
    height: 24px;
}

/* SIMPLE PAGE (COOKIE/DISCLAIMER) */

.simple-page-header {
    background-color: var(--color-primary);
    padding: 80px 0 60px;
    margin-bottom: 60px;
}

.simple-page-title {
    color: white;
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
}

.simple-page-content {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.simple-page-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.simple-page-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.simple-page-content ul,
.simple-page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.simple-page-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* VERTICAL CENTER */

.v--c {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 2;
}

/* WPFORMS CONTACT BUTTON */

.knop--contact {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    font-size: var(--font-size) !important;
    text-transform: uppercase !important;
    padding: 10px 15px 10px 25px !important;
    border-radius: 60px !important;
    text-decoration: none !important;
    letter-spacing: 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    border: 2px solid var(--color-primary) !important;
    cursor: pointer !important;
    transition: 0.5s ease !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    height: auto !important;
}

.knop--contact:hover {
    background: var(--color-white) !important;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary) !important;
    transition: 0.5s ease !important;
}

.knop--contact:active,
.knop--contact:focus {
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
    position: relative !important;
}

div.wpforms-container-full .knop--contact:focus:after,
.wp-core-ui div.wpforms-container-full .knop--contact:focus:after {
    content: '' !important;
    position: relative !important;
    border: none !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 40px !important;
    height: 40px !important;
    background: white !important;
    border-radius: 50% !important;
    display: inline-block !important;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='11' viewBox='0 0 11 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.5 5.16667H9.83333M9.83333 5.16667L5.16667 0.5M9.83333 5.16667L5.16667 9.83333' stroke='%237a9b7f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 11px 11px !important;
}

.knop--contact::after {
    content: '' !important;
    width: 40px !important;
    height: 40px !important;
    background: white !important;
    border-radius: 50% !important;
    display: inline-block !important;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='11' viewBox='0 0 11 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.5 5.16667H9.83333M9.83333 5.16667L5.16667 0.5M9.83333 5.16667L5.16667 9.83333' stroke='%237a9b7f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 11px 11px !important;
    transition: 0.5s ease !important;
}

.knop--contact:hover::after {
    background: var(--color-primary) !important;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='11' viewBox='0 0 11 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.5 5.16667H9.83333M9.83333 5.16667L5.16667 0.5M9.83333 5.16667L5.16667 9.83333' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 11px 11px !important;
}

/* RESPONSIVE */

@media only screen and (max-width: 811px) {
	
	.h--container {
		width: 90%;
	}
	
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-features {
        font-size: 0.9rem;
    }

    .feature-icon,
    .amenity-icon {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .amenities-grid .f--c {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .feature--container{
        margin-bottom: 2rem;
    }

    .slider--wrapper {
        margin-right: var(--spacing-x);
    }

    .slider--slide {
        width: auto;
        height: auto;
        max-height: 200px;
    }

    .slider--slide img {
        width: 100%;
        height: auto;
        max-height: 200px;
        border-radius: 10px;
        max-width: 100%;
    }

    .slider--btn {
        width: 50px;
        height: 50px;
    }

    .slider--btn svg {
        width: 20px;
        height: 20px;
    }

    .i--mobile{
        display: block;
        margin-top: 2rem;
    }

    .i--notmobile{
        display: none;
    }    
	
	.w--m--container{
		display: block;
		max-width: var(--container-width);
		margin-left: auto;
		margin-right: auto;
		padding-left: var(--spacing-x);
		padding-right: var(--spacing-x);
	}
	
	.knop--contact{
		font-size: 0.9rem !important;
	}
}