/*
Theme Name: Jarano Child Theme
Description: This is a custom child theme
Template: salient
Version: 1.0
*/

:root {
  --white: #ffffff;
  --black: #000000;
  --red: #ea5a4e;
  --green: #34845b;
  --cream: #f6f0e6;
  --orange: #f99a2b;
  --current-color: var(--white);
}

::selection {
  background-color: var(--black);
  color: var(--white);
  text-shadow: none;
}

@font-face {
  font-family: 'Caslon';
  src:
    url('/wp-content/themes/jarano-child/fonts/CaslonDoricCondensed.woff2') format('woff2'),
    url('/wp-content/themes/jarano-child/fonts/CaslonDoricCondensed.woff') format('woff'),
    url('/wp-content/themes/jarano-child/fonts/CaslonDoricCondensed.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chamberi Text';
  src:
    url('/wp-content/themes/jarano-child/fonts/ChamberiText.woff2') format('woff2'),
    url('/wp-content/themes/jarano-child/fonts/ChamberiText.woff') format('woff'),
    url('/wp-content/themes/jarano-child/fonts/ChamberiText.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Chamberi Headline';
  src:
    url('/wp-content/themes/jarano-child/fonts/ChamberiHeadline.woff2') format('woff2'),
    url('/wp-content/themes/jarano-child/fonts/ChamberiHeadline.woff') format('woff'),
    url('/wp-content/themes/jarano-child/fonts/ChamberiHeadline.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body #header-outer,
body[data-header-color='dark'] #header-outer {
  background-color: var(--cream);
}

@media (min-width: 1000px) {
  .full-width-content:not(.no-padding) > .row_col_wrap_12 {
    padding-left: 4vw !important;
    padding-right: 4vw !important;
  }

  .no-padding {
    padding: 0 !important;
  }

  .no-padding > .row_col_wrap_12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 1000px) {
  .full-width-content:not(.no-padding) > .row_col_wrap_12,
  .no-padding > .row_col_wrap_12 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

.soon-wrapper {
  min-height: 100svh;
}

/*NAV*/
#logo {
  opacity: 0;
  position: relative;
}
#logo svg {
  position: relative;
  transition:
    opacity 0.32s ease,
    transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  height: 44px;
  fill: var(--white);
}

.dark-slide #logo svg {
  fill: var(--black);
}
#logo rect {
  fill: transparent;
}

.home.load-scrolled #logo svg {
  transition: none;
}

.home #logo:not(.logo-animated) svg {
  transform: scale(7.5) translateY(5vh);
}

/*TITLES*/

.custom-title *,
.custom-title {
  margin-bottom: 0 !important;
}

.custom-title.primary,
.custom-title.primary * {
  font-family: 'Chamberi Headline', serif !important;
  font-weight: 400 !important;
}

.custom-title.secondary,
.custom-title.secondary *,
.nectar-button.medium {
  font-family: 'Caslon', sans-serif !important;
  font-weight: 400 !important;
}

.custom-title.text,
.custom-title.text * {
  font-family: 'Chamberi Text', serif !important;
}

.custom-title strong {
  font-weight: 600;
}

.custom-title.uppercase .custom-title.uppercase * {
  text-transform: uppercase !important;
}

.custom-title.lowercase,
.custom-title.lowercase * {
  text-transform: initial !important;
}

.custom-title.black,
.custom-title.black * {
  color: var(--black);
}
.custom-title.white,
.custom-title.white * {
  color: var(--white);
}

@media (min-width: 1000px) {
  .custom-title.big *,
  .custom-title.big {
    font-size: 66px !important;
    line-height: 0.8 !important;
  }

  .custom-title.medium *,
  .custom-title.medium {
    font-size: 3.7vw !important;
    line-height: 1.1 !important;
  }
  .custom-title.small *,
  .custom-title.small {
    font-size: 2vw !important;
    line-height: 1.3 !important;
  }

  a.toggle-heading {
    font-size: clamp(20px, 2vw, 22px) !important;
    line-height: 1.1 !important;
  }
  .custom-title.tiny *,
  .custom-title.tiny,
  .nectar-button.medium {
    font-size: 14px !important;
    line-height: 1.1 !important;
  }

  .custom-title.body *,
  .custom-title.body {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 1000px) {
  .custom-title.big *,
  .custom-title.big {
    font-size: clamp(28px, 12vw, 46px) !important;
    line-height: 0.8 !important;
  }
  .custom-title.medium *,
  .custom-title.medium {
    font-size: 30px !important;
    line-height: 1.1 !important;
  }
  .custom-title.small *,
  .custom-title.small,
  a.toggle-heading {
    font-size: clamp(16px, 5vw, 24px) !important;
    line-height: 1.3 !important;
  }

  .custom-title.tiny *,
  .custom-title.tiny,
  .nectar-button.medium {
    font-size: 14px !important;
    line-height: 1.1 !important;
  }

  .custom-title.big.extra-grande *,
  .custom-title.big.extra-grande {
    font-size: 30vw !important;
    line-height: 0.8 !important;
  }

  .custom-title.body *,
  .custom-title.body {
    font-size: 18px !important;
    line-height: 1.1 !important;
  }
}

/*TITLE ANIMATION*/
.animated .char,
.animated .word {
  display: inline-flex;
}

.animated.lines:before,
.animated.lines:after,
.splitting-lines.lines:after,
.splitting.lines:before {
  display: none !important;
}

.splitting-lines.lines {
  background-color: transparent;
  width: fit-content;
  height: auto !important;
}

.splitting-lines {
  opacity: 0;
}

.animated.lines {
  width: auto !important;
  height: auto;
  background-color: transparent;
}

.word-wrapper {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

span.whitespace {
  white-space: collapse;
}

.animated {
  white-space: break-spaces;
}

/*HERO*/
.home .hero-content {
  opacity: 0;
  transition-delay: 0.5s;
  transition: opacity 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero-wrapper {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

@media (max-width: 1000px) {
  .hero-wrapper {
    height: var(--vh, 100vh);
  }
}

.hero-background.video-background video,
.hero-background.video-background,
.hero-background.image-gallery {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
  object-position: center;
}

.hero-background.video-background::before,
.hero-background.image-gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.3;
  z-index: 9;
}

.home.home-logo-animated .hero-content {
  opacity: 1;
}

/*SLIDERS*/
.fullscreen-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide-desktop {
  display: block;
}
.slide-mobile {
  display: none;
}

@media (max-width: 1000px) {
  .fullscreen-slider {
    height: var(--vh, 100vh);
  }
  .slide-desktop {
    display: none;
  }
  .slide-mobile {
    display: block;
  }
}
.fullscreen-slider .slides,
.hero-background.image-gallery .slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.fullscreen-slider .slide,
.hero-image,
.hero-background.image-gallery .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.fullscreen-slider .slide.active,
.hero-background.image-gallery .slide.active {
  opacity: 1;
  z-index: 1;
}
.fullscreen-slider .slide img,
.hero-background.image-gallery .slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.fullscreen-slider .slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.fullscreen-slider .bullet {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: transparent;
  border: 2px solid white;
  cursor: pointer;
}
.fullscreen-slider .bullet.active {
  background: white;
}
.fullscreen-slider .slider-control {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  cursor: none;
  z-index: 2;
}
.fullscreen-slider .slider-control.prev {
  left: 0;
}
.fullscreen-slider .slider-control.next {
  right: 0;
}

@media (max-width: 1000px) {
  .fullscreen-slider {
    height: 100vh;
    height: var(--vh, 100vh);
  }
}

/*FORMS*/
input[type='date'],
input[type='email'],
input[type='number'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='text'],
input[type='url'],
textarea,
body.material input[type='text']:focus,
body.material textarea:focus,
body.material input[type='email']:focus,
body.material input[type='search']:focus,
body.material input[type='password']:focus,
body.material input[type='tel']:focus,
body.material input[type='url']:focus,
body.material input[type='date']:focus,
body.material input[type='number']:focus,
body.material select:focus {
  border: none !important;
  border-bottom: 1px solid var(--white) !important;
  border-radius: 0 !important;
  color: var(--white) !important;
}
.wpcf7-form p span {
  color: #ffffff;
  font-size: 14px !important;
}

.wpcf7-form p a {
  color: #ffffff;
  text-decoration: underline;
}

input[type='submit'],
body[data-form-submit='regular'] input[type='submit'] {
  background-color: var(--white);
  color: var(--black);
}

body[data-button-style='rounded'] .container-wrap button[type='submit'],
body[data-button-style='rounded'] .container-wrap input[type='submit'] {
  padding: 4px 14px !important;
}
