/*
Theme Name: Luijendijk Hoveniers
Theme URI: https://example.com/
Author: Berendsen Development
Author URI: https://example.com/
Description: Conversie van statische pagina naar WordPress-thema met Tailwind CDN, Alpine.js en Swiper.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: luijendijk
*/

/* Extra util classes / overrides */
:root{
  --brand-cream:#FFFBF0;
  --brand-green:#5e7063;
  --brand-green-light:#b9db15;
  --brand-orange:#ff9a3f;
  --brand-gray-dark:#1F2937;
  --brand-gray-medium:#4B5563;
  --brand-gray-light:#E5E7EB;
  --brand-gray:#3b3b3b;
}

#zwemmen{
    --brand-cream: #FFFBF0;
    --brand-green: #5e7063;
    --brand-green-light: #b9db15;
    --brand-orange: #68beda;
    --brand-gray-dark: #1F2937;
    --brand-gray-medium: #4B5563;
    --brand-gray-light: #E5E7EB;
    --brand-gray: #3b3b3b;
}

#zwemmen .gradient-text{
    background: linear-gradient(to right, #055975, #aacfdb);
    /* brand-green to brand-green-light */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

#zwemmen .bg-brand-orange{
    background-color: #68beda;
}

#zwemmen .text-brand-orange{
    color: #68beda;
}

.gradient-text{
  background: linear-gradient(90deg, var(--brand-green) 0%, var(--brand-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.nav-link-hover{ position: relative; }
.nav-link-hover::after{
  content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0;
  background: var(--brand-orange); transition: width .25s ease;
}
.nav-link-hover:hover::after{ width:100%; }

.contactBar ul{ display:flex; gap:1rem; }
.minimal-icon{ display:inline-block; }

.heroSlide{ background-size: cover; background-position: center; }
.img_cutoff img{ object-fit: cover; height:100%; }

/* Scroll animations */
.observe-me{ opacity:0; transform: translateY(12px); transition: all .6s ease; }
.observe-me.appear{ opacity:1; transform:none; }
.slide-up{} .slide-left{} .slide-right{} .fade-in{}

/* Mobile menu helper */
#mobileMenu.show{ transform: translateX(0); }

/* WordPress core alignment helpers */
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #FFFBF0;
    /* brand-cream */
    color: #1F2937;
    /* brand-gray-dark */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
}

.observe-me {
    opacity: 0;
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.observe-me.slide-up {
    transform: translateY(40px);
}

.observe-me.slide-left {
    transform: translateX(-40px);
}

.observe-me.slide-right {
    transform: translateX(40px);
}

.observe-me.delay-100 {
    transition-delay: 0.1s;
}

.observe-me.delay-200 {
    transition-delay: 0.2s;
}

.observe-me.delay-300 {
    transition-delay: 0.3s;
}

.observe-me.delay-400 {
    transition-delay: 0.4s;
}

.observe-me.delay-500 {
    transition-delay: 0.5s;
}

.observe-me.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

nav a {
    font-weight: 500;
	font-size:14px;
}

.nav-sticky {
    background-color: rgba(255, 251, 240, 0.9);
    /* brand-cream with opacity */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.nav-link-hover {
    position: relative;
}

.nav-link-hover::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #F97316;
    /* brand-orange */
    transition: width 0.3s ease-in-out;
}

.nav-link-hover:hover::after,
.nav-link-hover.active::after {
    width: 100%;
}

.gradient-text {
    background: linear-gradient(to right, #365314, #b9db15);
    /* brand-green to brand-green-light */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}


.gradient-text-zwemmen {
    background: linear-gradient(to right, #055975, #aacfdb);
    /* brand-green to brand-green-light */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.minimal-icon {
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    stroke-width: 1.5;
    vertical-align: middle;
}

/* Custom scrollbar for a more subtle look - Webkit only */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FFFBF0;
    /* brand-cream */
}

::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    /* brand-gray-light */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D1D5DB;
    /* gray-300 */
}

#heroSlider .heroSlide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    background-color: rgb(255 251 240 / 55%) !important;
}

@media screen and (min-width: 768px) {
    .img_cutoff {
        clip-path: polygon(60% 0, 100% 0, 100% 100%, 10% 100%);
    }
}


.img_cutoff img {
    object-fit: cover;
    min-height: -webkit-fill-available;
    max-height: 300px;
}

.partners img {
    max-width: 70px;
}

.contactBar {
    background-color: #fff;
    /* brand-cream */
    color: #1F2937;
    /* brand-gray-dark */
    padding: 15px 0;
}

.contactBar img {
    width: 15px;
    height: 15px;
    vertical-align: middle;
    display: inline-block;
}

.mobContactBar img {
    width: 15px;
    height: 15px;
    vertical-align: middle;
    display: inline-block;
}

.group:hover .group-hover\:block {
    display: block;
}

@media screen and (max-width: 768px) {
    .logo_luijendijk {
        max-width: 200px !important;
    }
}


/* ------ Dropdown menu styles ------ */
.menu-item.has-children > a { }
@media (min-width: 1024px){
  nav .menu-item.has-children { position: relative; }
  nav .menu-item.has-children > .submenu { display: none; }
  nav .menu-item.has-children:hover > .submenu { display: block; }
}
@media (max-width: 1023.98px){
  #mobileMenu .menu-item.has-children > .submenu { display: none; padding-left: .5rem; }
  #mobileMenu .menu-item.has-children.open > .submenu { display: block; }
  #mobileMenu .menu-item.has-children > a::after { content: "▾"; margin-left: .35rem; font-size: .9em; }
}

.submenu{
    padding: 10px 20px;
}

/* Contact form styles */
/* --- Contact Form 7 styling (matcht je Tailwind-ontwerp) --- */
.wpcf7 form p { margin-bottom: 1.25rem; }

.wpcf7-form label {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  color: var(--brand-green);
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

.wpcf7-form .input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--brand-gray-light);
  border-radius: 0.5rem;
  font-size: 1rem;
  color: var(--brand-gray-dark);
  background-color: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.wpcf7-form .input-field:focus {
  border-color: var(--brand-orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,154,63,0.15);
}

/* Submit-knop */
.wpcf7-form .btn-brand {
  background-color: var(--brand-orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  cursor: pointer;
  transition: background-color .3s ease, transform .3s ease;
}
.wpcf7-form .btn-brand:hover {
  background-color: #f37f10;
  transform: scale(1.05);
}

/* Foutmeldingen / bevestiging */
.wpcf7-response-output {
  margin-top: 1rem;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
}
.wpcf7-form.sent .wpcf7-response-output {
  border-color: var(--brand-green);
  color: var(--brand-green);
  background: #ecf9ec;
}
.wpcf7-form.invalid .wpcf7-response-output {
  border-color: #dc2626;
  color: #dc2626;
  background: #fef2f2;
}

/* Swiper pijlen iets ruimer klikken */
.acfGallerySwiper .swiper-button-prev,
.acfGallerySwiper .swiper-button-next {
  color: var(--brand-green);
  width: 44px; height: 44px;
}
.acfGalleryThumbs .swiper-slide { cursor: pointer; opacity: .85; }
.acfGalleryThumbs .swiper-slide-thumb-active { opacity: 1; }
