/*!
Theme Name: newlookers
Theme URI: http://underscores.me/
Author: Featherwebs
Author URI: http://featherwebs.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: newlookers
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

newlookers is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

/* .menuContainer {
	transition: all 0.3s ease;
	overflow: hidden;
	max-height: 0;
	opacity: 0;
  }
  
  .menuContainer.active {
	transition: max-height 0.3s ease-in-out;
	max-height: 100px;
	opacity: 1;
  }
   */

html {
  scroll-behavior: smooth;
}

/* lenis */
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;
}

/* scrollbar */
body.fixed::-webkit-scrollbar {
  width: 0;
}

body::-webkit-scrollbar {
  background-color: #0a0b0c;
  width: 5px;
}
body::-webkit-scrollbar-thumb {
  background-color: #00afb9;
  border-radius: 8px;
}

/* Base checkbox styling */
.custom-checkbox {
  appearance: none;
  width: 22px !important;
  height: 22px !important;
  background-color: #fff;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

/* Checked state */
.custom-checkbox:checked {
  background-color: #fff;
  border-color: #d1d1d1;
}

/* Add tick mark */
.custom-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 7px;
  border: solid #a0a0a0;
  border-width: 0 0 2px 2px;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Checkbox hover effect */
.custom-checkbox:hover {
  border-color: #a0a0a0;
}

/* filter */
.fw-mobile-filter {
  overflow: auto;
  position: fixed;
  z-index: 9999;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 0;
  pointer-events: none;
  transition: max-height 0.3s ease-in-out;
}

.fw-mobile-filter.open {
  max-height: 100vh;
  height: 100%;
}

/* Exclude iPad view */
@media (min-width: 768px) {
  .fw-mobile-filter {
    display: none;
  }
}
/* image zoomable */

.zoomable {
  position: relative;
  overflow: hidden;
}
.zoomable__img {
  transform-origin: var(--zoom-pos-x, 0%) var(--zoom-pos-y, 0%);
  transition: transform 0.15s linear;
}
.zoomable--zoomed .zoomable__img {
  cursor: zoom-in;
  transform: scale(var(--zoom, 2));
}

.swiper-slide-thumb-active {
  border: 1px solid #00afb9;
}

.faq-button.expanded h4 {
  color: black;
}

/* Megamenu */

.fw-nav-dropdown {
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 81.818%,
    100% 81.818%,
    94.048% 85.99%,
    86.677% 90.146%,
    78.082% 93.944%,
    68.457% 97.043%,
    57.997% 99.1%,
    46.898% 99.775%,
    35.354% 98.726%,
    23.559% 95.611%,
    11.71% 90.089%,
    0% 81.818%,
    0% 0%
  );
}

.fw-mega-menu {
  /* max-height: 0; */
  transform: translateY(-920px);
  /* height: 100%; */
  /* transition: max-height 0.3s ease-in-out; */
  transition: transform 0.5s ease-in-out;
  height: 450px;
}

.fw-mega-menu-open {
  transform: translateY(0);
}

.menu-item--js.mega-menu-open {
  color: black !important;
}

@keyframes fallIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fw-mega-menu-open h4,
.fw-mega-menu-open .flex.flex-col,
.fw-mega-menu-open figure {
  animation: fallIn 0.5s ease-out forwards;
}

.fw-mega-menu-open h4 {
  animation-delay: 0.1s;
}

.fw-mega-menu-open .flex.flex-col {
  animation-delay: 0.2s;
}

.fw-mega-menu-open figure {
  animation-delay: 0.3s;
}

.nav-item-black {
  color: black;
}


.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
}

.fullscreen-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%);
}

.content-section {
  position: relative;
  z-index: 1;
  min-height: 100vh !important;
}