/*
Theme Name: Noctiva PRO
Theme URI: https://effethemes.com/themes/noctiva-wordpress-theme/
Author: Effe Themes
Author URI: https://effethemes.com/
Description: Noctiva is a dark, immersive WordPress Block Theme built for modern brands, studios and digital creators. With glowing visuals, refined typography and fluid layouts, it delivers clarity and atmosphere in equal measure. Built for Full Site Editing and responsive across all devices, Noctiva gives you the freedom to shape bold experiences with elegance and precision.
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: noctiva-pro
Tags: blog, portfolio, block-styles, e-commerce, full-site-editing, two-columns, full-width-template, custom-logo, custom-menu, custom-background, editor-style, block-patterns, custom-header, translation-ready, template-editing
*/

/* ================= > General Styles < ================= */

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--wp--preset--color--custom-background-primary);
  color: var(--wp--preset--color--custom-text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

ul {
  list-style: none;
  padding: 0;
}

ul > li > a {
  text-decoration: none;
}

ul > li > a:hover {
  color: var(--wp--preset--color--custom-primary) !important;
}

input,
textarea {
  background: var(--wp--preset--color--custom-background-secondary) !important;
  color: #fff !important;
  border: 0;
  border-radius: 20px;
  padding: 15px !important;
}

:where(.wp-site-blocks) > * {
  -webkit-margin-before: 0;
          margin-block-start: 0;
}

.is-style-outline > a {
  background: transparent !important;
}

.wp-block-search.wp-block-search__button-only .wp-block-search__button {
  display: block !important;
}

.full-width-image,
.full-width-image > img {
  width: 100% !important;
}

/* ================= > Typography < ================= */

h1 {
  font-size: clamp(2.5rem, 4vw + 1rem, 4rem);
}

h2 {
  font-size: clamp(2rem, 3vw + 0.8rem, 3.2rem);
}

h3 {
  font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.5rem);
}

h4 {
  font-size: clamp(1.5rem, 2vw + 0.4rem, 2rem);
}

h5 {
  font-size: clamp(1.25rem, 1.5vw + 0.3rem, 1.6rem);
}

h6 {
  font-size: clamp(1.1rem, 1.2vw + 0.2rem, 1.3rem);
}

p {
  font-size: clamp(1rem, 1vw + 0.3rem, 1.1rem);
  font-family: var(--wp--preset--font-family--poppins);
  line-height: 1.8;
}

button,
.wp-block-button__link {
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: clamp(1rem, 1vw + 0.3rem, 1.1rem);
}

figcaption {
  font-family: var(--wp--preset--font-family--montserrat);
}

a {
  color: var(--wp--preset--color--custom-text-color);
  font-family: var(--wp--preset--font-family--montserrat);
  transition: color 0.25s ease-in-out;
}

a:hover {
  color: var(--wp--preset--color--custom-primary);
}

/* ================= > Popup < ================= */

.noctiva-fixed-message {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: var(--wp--preset--color--custom-primary) !important;
  padding: 20px 20px;
  z-index: 1000;
  word-wrap: break-word;
  max-height: 70% !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.noctiva-fixed-message a {
  color: #fff;
  writing-mode: vertical-rl;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  word-wrap: break-word;
  max-height: 70% !important;
}

/* ================= > Header < ================= */

.wp-block-site-title > a {
  text-decoration: none;
}

.wp-block-site-title > a:hover {
  color: var(--wp--preset--color--custom-primary) !important;
}

.wp-block-navigation-item:hover {
  color: var(--wp--preset--color--custom-primary) !important;
}

.wp-block-navigation__responsive-container-content {
  -webkit-box-align: start !important;
      -ms-flex-align: start !important;
          align-items: start !important;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
  border: 0 !important;
}

.wp-block-navigation-submenu > li {
  background: var(--wp--preset--color--custom-background-secondary) !important;
  color: var(--wp--preset--color--custom-text-color);
}

.header-search-icon > div > button {
  background: transparent;
  padding: 0;
}

.menu-fit {
  width: fit-content;
}

/* ================= > Glow BG < ================= */

.glow {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
background-image: 
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 30%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.015), transparent 90%);
  background-repeat: no-repeat;
  background-size: 1000px 700px, 700px 500px, 100% 100%;
  background-position: top center, top right, center;
  background-blend-mode: screen, screen, overlay;
}

.glow-right {
background-image: 
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 30%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.015), transparent 90%);
  background-repeat: no-repeat;
  background-size: 1000px 1000px;
  background-position: right top;
  background-blend-mode: screen;
}

.glow-left {
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 30%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.015), transparent 90%);
  background-repeat: no-repeat;
  background-size: 1000px 1000px;
  background-position: left top;
  background-blend-mode: screen;
}

/* ================= > Video Popup < ================= */

.video-popup-img-container {
  position: relative;
  display: inline-block;
}

.video-popup-img-container > img {
  display: block;
}

.video-popup-play-button {
  position: absolute;
  top: 45%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-color: blue;
  color: white;
  border: none;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  outline: none;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.video-popup-play-button:hover {
  -webkit-transform: translate(-50%, -50%) scale(1.1);
      -ms-transform: translate(-50%, -50%) scale(1.1);
          transform: translate(-50%, -50%) scale(1.1);
}

.video-popup-play-button:before {
  content: "\e037";
  font-family: 'Material Icons';
  font-size: 30px;
}

.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  opacity: 0;
  z-index: 9999;
}
.video-popup-content {
  position: relative;
  width: 80%;
}

.video-popup-content video {
  width: 100%;
  height: auto;
}

.video-popup-close-btn {
  position: fixed;
  top: 0px;
  right: 40px;
  font-size: 35px !important;
  color: #fff;
  border: none;
  background: transparent !important;
  width: 30px;
  height: 30px;
  cursor: pointer;
  text-align: center;
  z-index: 9999;
}

.video-popup-close-btn > div > a {
  background: transparent !important;
}

.video-popup-close-btn > div > a:hover {
  color: var(--wp--preset--color--custom-primary);
}

/* ================= > Progress Bar < ================= */

.progress-bar-container {
  background-color: #e0e0e0;
  border-radius: 25px;
  position: relative;
  height: 10px;
  padding: 0 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.progress-bar-bar {
  height: 100%;
  background-color: var(--wp--preset--color--custom-primary);
  border-radius: 25px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.progress-bar-text {
  position: absolute;
  top: -30px;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
}

.progress-bar-hidden-value {
  /* display: none; */
}

/* ================= > Roll Text < ================= */

.items--gsap {
  overflow-x: hidden;
}

.items--gsap .items__container {
  translate: calc(-100% + 100vw) !important;
}

.items__container {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  will-change: transform;
}

/* ================= > Contact < ================= */

.contact-form-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  gap: 0 18px;
}

.contact-form-row > p {
  margin: 0;
  flex: 1;
  min-width: 40%;
}

.contact-form > p > span > input,
.contact-form > p,
.contact-form > p > span > input,
.contact-form > p > span > textarea {
  width: 100%;
  box-sizing: border-box;
}

.wpcf7-form-control {
  width: -webkit-fill-available;
  padding: 15px 10px;
}

.wpcf7-submit {
  cursor: pointer;
  width: 100%;
  background: var(--wp--preset--color--custom-primary) !important;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.wpcf7-submit:hover {
  background: #fff !important;
  color: #333 !important;
}

/* ================= > Gallery < ================= */

.gallery-hover-effect > img {
  -webkit-transition: -webkit-transform 0.45s ease-in-out;
  transition: -webkit-transform 0.45s ease-in-out;
  -o-transition: transform 0.45s ease-in-out;
  transition: transform 0.45s ease-in-out;
  transition: transform 0.45s ease-in-out, -webkit-transform 0.45s ease-in-out;
}

.gallery-hover-effect:hover > img {
  -webkit-transform: scale(1.10);
      -ms-transform: scale(1.10);
          transform: scale(1.10);
}

.gallery-hover-effect > div > div {
  opacity: 0;
  background: #000000b0;
  -webkit-transition: opacity 0.25s ease-in-out;
  -o-transition: opacity 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out;
}

.gallery-hover-effect:hover > div > div {
  opacity: 1;
}

/* ================= > Blog < ================= */

.wp-block-post-title > a:hover {
  color: var(--wp--preset--color--custom-primary) !important;
}

.wp-block-button__link,
.wp-block-search__button {
  background: var(--wp--preset--color--custom-primary);
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.wp-block-button__link:hover,
.wp-block-search__button:hover {
  opacity: 0.8;
}

input,
textarea {
  background: var(--wp--preset--color--custom-background-secondary);
  color: #fff !important;
}

/* ================= > Footer < ================= */

.copy > a {
  text-decoration: none;
}

.copy > a:hover {
  opacity: 0.8;
}

/* ================= > Media Queries < ================= */

@media (max-width: 1024px) {
  .wp-block-columns {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .hero-cta-buttons {
    justify-self: baseline;
  }

  .hero-content > div {
    max-width: max-content !important;
  }

}

@media (max-width: 992px) {
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close,
  .wp-block-navigation__responsive-container-open:not(.always-shown),
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }

  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .wp-block-navigation__container {
    --navigation-layout-justification-setting: flex-start !important;
    --navigation-layout-justify: flex-start !important;
  }
}

@media (max-width: 768px) {
  .wp-block-buttons {
    flex-direction: column;
  }
}