/*!
Theme Name: Athleta Grou
Theme URI: https://athletagrou.nl
Author: Niek Houkes
Author URI: https://scoredigital.nl
Description: Maatwerk WordPress website voor Athleta Grou
Version: 17.6.26
/*

/****************** LENIS SMOOTH SCROLL ****************/
html.lenis, html.lenis body {
   height: auto;
}
 
.lenis.lenis-smooth {
   scroll-behavior: auto !important;
}
 
.lenis.lenis-smooth [data-lenis-prevent] {
   overscroll-behavior: contain;
}
 
.lenis.lenis-stopped {
   overflow: hidden;
}
 
.lenis.lenis-smooth iframe {
   pointer-events: none;
}

/****** ALGEMEEN *******/
html, body {
  overflow-x: hidden;
}

@media (min-width: 992px){
  .container {
    width: 80%;
  }
}

body {
	-webkit-font-smoothing: antialiased;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'ubuntu-bold', sans-serif!important;
  -webkit-font-smoothing: antialiased;
  color: #3a3a3c;
}

p, a, span, ul, li, .gform-body {
	font-family: 'ubuntu-regular', sans-serif!important;
	-webkit-font-smoothing: antialiased;
}

h1 {
  font-size: 3em;
  line-height: 1.1;
  font-weight: 600;
}

h2 {
  font-size: 2.5em;
  line-height: 1.1;
  font-weight: 600;
}

h3 {
  font-size: 1.5em;
  line-height: 1.1;
  font-weight: 600;
}

h4 {
  font-size: 1.5em;
  line-height: 1.4;
  font-weight: 600;
}

h5 {
  font-size: 1.25em;
  margin-bottom: 20px;
  font-weight: 600;
}

h6 {
	font-size: 1em;
	font-weight: 600;
	color: #0465a6;
}

p {
  font-size: 15px!important;
  color: rgba(0,0,0,1);
  font-weight: 400;
}

a {
  text-decoration: none;
  font-weight: 400;
}

img {
  max-width: 100%;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

/* FONTS */
@font-face {
	font-family: 'ubuntu-regular'; 
	src: url('assets/fonts/Ubuntu-regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap; 
}

@font-face {
	font-family: 'ubuntu-bold'; 
	src: url('assets/fonts/Ubuntu-Medium.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
	font-display: swap; 
}


/****** NAVIGATIE *******/
#navbar {
  --nav-text: #3a3a3c;
  --nav-bg-mobile: #ffffff;
  --nav-gutter: clamp(16px, 4vw, 30px);
  position: relative;
  z-index: 999;
}

#navbar .container {
  width: 100%;
  max-width: 100%;
  padding: 20px var(--nav-gutter);
  box-sizing: border-box;
}

#navbar a {
  transition: 0.3s;
  font-size: 14px;
  color: var(--nav-text);
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}

/* Logo */
#navbar .logo {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  z-index: 1001;
  flex: 0 0 auto;
}

#navbar .logo img {
  display: block;
  width: clamp(140px, 16vw, 200px);
  height: auto;
}

/* ---------- Desktop ---------- */
#navbar .desktop-menu {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

#navbar .positie-desktop {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

#navbar .page-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}

#navbar .page-links a:hover { opacity: 0.6; }

#navbar .mobile-menu,
#navbar .nav-links-mobile {
  display: none !important;
}

/* ---------- Tablet & mobiel ---------- */
@media screen and (max-width: 991px) {

  #navbar .desktop-menu {
      display: none !important;
  }

  #navbar .mobile-menu {
      display: flex !important;
      align-items: center;
      justify-content: space-between;
      width: 100%;
  }

      /* Hamburger */
      #navbar .navbar-toggle {
        position: relative !important;
        z-index: 1001;
        display: block !important;
        width: 44px;
        height: 44px;
        padding: 0 !important;
        margin: 0;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0;
        outline: none !important;
        box-shadow: none !important;
        -webkit-appearance: none;
        appearance: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    /* Alleen focusrand bij toetsenbord-navigatie */
    #navbar .navbar-toggle:focus-visible {
        outline: 2px solid var(--nav-text) !important;
        outline-offset: 2px;
    }

    /* Drie streepjes (gesloten) */
    #navbar .navbar-toggle .icon-bar {
        position: absolute !important;
        right: 0px;
        display: block !important;
        width: 24px;
        height: 2px;
        margin: 0 !important;
        background-color: var(--nav-text) !important;
        border-radius: 2px;
        opacity: 1;
        transform: none !important;
        transition: top 0.25s ease, transform 0.25s ease, opacity 0.2s ease;
    }

    #navbar .navbar-toggle .icon-bar:nth-child(1) { top: 14px; }
    #navbar .navbar-toggle .icon-bar:nth-child(2) { top: 21px; }
    #navbar .navbar-toggle .icon-bar:nth-child(3) { top: 28px; }

    /* Kruisje (open) */
    #navbar .navbar-toggle.active .icon-bar:nth-child(1) {
        top: 21px;
        transform: rotate(45deg) !important;
    }
    #navbar .navbar-toggle.active .icon-bar:nth-child(2) {
        opacity: 0;
    }
    #navbar .navbar-toggle.active .icon-bar:nth-child(3) {
        top: 21px;
        transform: rotate(-45deg) !important;
    }
  /* Fullscreen overlay */
  #navbar .nav-links-mobile {
      display: flex !important;
      position: fixed;
      inset: 0;
      z-index: 1000;
      height: 100vh;
      height: 100dvh;
      padding: 160px var(--nav-gutter) 40px;
      box-sizing: border-box;
      background: var(--nav-bg-mobile);
      overflow-y: auto;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(-16px);
      transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
  }

  #navbar .nav-links-mobile.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: none;
      transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s;
  }

  #navbar .nav-links-mobile ul {
      display: flex;
      flex-direction: column;
      gap: 20px;
      width: 100%;
      list-style: none;
      margin: 0;
      padding: 0;
  }

  #navbar .nav-links-mobile li > a:not(.btn-animate-chars) {
      display: block;
      font-size: clamp(18px, 3vw, 24px);
      line-height: 1.2;
  }

  #navbar .nav-links-mobile__cta { margin-top: 16px;
   }

   #navbar .btn-animate-chars {
    font-size: clamp(18px, 3vw, 24px)!important;
   }

  body.nav-open { overflow: hidden; }
}

@media screen and (max-width: 480px) {
  #navbar .container { padding-top: 16px; padding-bottom: 16px; }
  #navbar .logo img { width: 140px; }
}


.btn-animate-chars {
  position: relative;
  background: #0465a6;
  cursor: pointer;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  padding: 14px 28px;
  border-radius: 0.5vw;
  font-size: 1em;
  line-height: 1;
  text-decoration: none;
  display: flex;
  color: white!important;
}

.btn-animate-chars__text {
  white-space: nowrap;
  line-height: 1.3;
}

/* Characters */
.btn-animate-chars [data-button-animate-chars] {
  overflow: hidden;
  position: relative;
  display: inline-block;
}

.btn-animate-chars [data-button-animate-chars] span {
  display: inline-block;
  position: relative;
  text-shadow: 0px 1.3em currentColor;
  transform: translateY(0em) rotate(0.001deg);
  transition: transform 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

.btn-animate-chars:hover [data-button-animate-chars] span {
  transform: translateY(-1.3em) rotate(0.001deg);
}

/* Background */
.btn-animate-chars__bg {
  background: #0465a6;
  border-radius: 100px;
  position: absolute;
  inset: 0;
  transition: inset 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

.btn-animate-chars:hover .btn-animate-chars__bg {
  inset: 0.125em;
}



.desktop-menu {
   display: flex;
   align-items: center;

}

.page-links li:hover {
	transform: translateY(-3px);
}


#nav-button {
	position: absolute;
	right: 0px;
	z-index: 2;
	right: 50px;
	padding-top: 50px;
	z-index: 999!important;
	transition: 0.3s;
}

#nav-button:hover {
	transform: translateY(-3px)!important;
}

 .mobile-menu {
   display: none;
 }
 
 .navbar-toggle {
   display: none;
   cursor: pointer;
   position: absolute;
   right: 25px;
 }
 
 .icon-bar {
   display: block;
   width: 22px;
   height: 2px;
   background-color: #0d274a;
   margin-bottom: 4px;
   transition: transform 0.3s ease, opacity 0.3s ease;
 }
 
 .navbar-toggle.active .icon-bar:nth-child(1) {
   transform: translateY(8px) rotate(45deg);
 }
 
 .navbar-toggle.active .icon-bar:nth-child(2) {
   opacity: 0;
 }
 
 .navbar-toggle.active .icon-bar:nth-child(3) {
   transform: translateY(-4px) rotate(-45deg);
 }
 
 .nav-links-mobile {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: #f5f7fc;
   z-index: 999;
   padding: 0px 0px 0px 50px;
   box-sizing: border-box;
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.5s ease, visibility 0.5s linear; /* Overgang via opacity en visibility */
 
 }
 
 .nav-links-mobile.active {
   opacity: 1;
   visibility: visible;
    
 }
 
 .nav-links-mobile ul {
   list-style: none;
   padding: 0;
   margin: 0;
   text-align: left;
 }
 






/************** HOME **************/
.werkboot-frl {
	position: relative;
	height: 90vh;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: end;
	margin: 0px 15px 0px 15px;
	border-radius: 1vw;
}

.werkboot-frl:before {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(-135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
	border-radius: 1vw;
}

.werkboot-frl-tekst {
	position: relative;
	padding-left: 100px;
	padding-bottom: 100px;
	max-width: 650px;
	color: white;
}

.werkboot-frl h1 {
	color: white;
}

.werkboot-frl p {
	padding-top: 20px;
	color: white;
	font-size: 16px!important;
}

#verhuur {
	position: relative;
	padding: 100px 0px;
}

#verhuur h2 {
	padding-bottom: 30px;
}

.boot-foto {
	position: relative;
	padding-top: 56.25%;
	border-radius: 1vw;
	background-size: cover;
	background-position: center;
}

.boot-foto span {
	position: absolute;
	top: 30px;
	right: 30px;
	background: #0465a6;
	color: white;
	font-size: 0.875em;
	padding: 6px 12px;
	border-radius: 0.5vw;
}

#verhuur h3 {
	margin-top: 30px;
}

#verhuur .span-licht {
	background: #d1e5ef;
	color: #3a3a3c;
	font-size: 0.75em;
	padding: 6px 12px;
	border-radius: 0.5vw;
}

#verhuur .flex {
	gap: 10px;
}

#faq {
	padding: 100px 0px;
}

.faq-blok {
	padding: 50px 0px 40px;
}

/* HUREN */
#huren {
	position: relative;
	padding: 100px 0px;
	background: #0465a6;
}

#huren h2, #huren p, #huren span, #huren a {
	color: white;
}

.huren-blok span {
	display: grid;
	opacity: 0.66;
}

.huren-blok span {
	padding-top: 10px;
}

#huren hr {
	border: 1px solid white;
}

.beschrijving {
	padding-top: 20px;
}

#huren a {
	text-decoration: underline;
}

@media (min-width: 992px){
  .huren-blok {
    padding-right: 3em;
  }
}

/************************** 404 ERROR **************************/
.viernulvier {
  position: relative;
  padding: 200px 0px 100px;
  background: linear-gradient(-135deg, rgba(253, 245, 235, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

@media (min-width: 992px){
  .viernulvier .container {
     width: 60%;
  }
}

.viernulvier h1 {
  color: var(--dark-blue);
  font-size: 7em;
}

/************** FORMULIER **************/
.gform_wrapper {
  padding-top: 10px;
}

.gform_required_legend {
  display: none;
}

#input_1_1_3, #input_1_3, #input_1_4, #input_1_11, #input_1_6, #input_1_7, #input_1_12 {
  outline: none;
  height: 46px;
  background: rgba(255, 255, 255, 0.1)!important;
  border: none;
  color: white;
  padding-left: 1em;
  border-radius: 0.25vw;
  padding-right: 1em;
}

::placeholder {
  color: white!important;
}

.gform_wrapper.gravity-theme .gfield_required {
  color: #d1e5ef!important;
}

#input_1_10 {
  outline: none;
  height: 150px;
  background: rgba(255, 255, 255, 0.1)!important;
  border: none;
  color: white;
  padding-left: 1em;
  border-radius: 0.25vw;
  padding-right: 1em;
}

@media (min-width: 992px){
  .scoredigital {
    float: right;
  }
}

#gform_submit_button_1 {
  background: #222;
  color: white;
  height: 46px;
  width: 100%;
  border: none;
}

.legal-links, .scoredigital {
  font-size: 0.875em;
}

