/*
Theme Name: Trovium PRO
Theme URI: https://effethemes.com/themes/trovium-wordpress-theme/
Author: Effe Themes
Author URI: https://effethemes.com/
Description: Trovium is a sleek and professional multipurpose block theme, designed for agencies, corporate businesses, and creative professionals aiming to leave a lasting impression. With full site editing (FSE) functionality, Trovium gives you the freedom to customize every element effortlessly. Its modern design and versatile layouts make it perfect for showcasing portfolios, building corporate websites, or creating unique agency platforms. Empower your brand with a theme that combines innovation, style, and usability in every detail.
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 5.7
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trovium-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 {
  border: 0;
}

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

.hover-read-me:hover {
  color: var(--wp--preset--color--custom-primary) !important;
}

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

.header-menu {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  -ms-grid-column-align: center;
      justify-self: center
}

.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);
}

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

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

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

.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  min-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;
  -webkit-margin-before: 0;
          margin-block-start: 0;
}

.video-popup-content {
  position: relative;
}

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

.video-play-button {
  width: 80px;
  height: 80px;
  background-color: var(--wp--preset--color--custom-primary);;
  border-radius: 50%;
  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;
  -webkit-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.video-play-button:hover {
  opacity: 0.8;
}

.video-play-button::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #ffffff;
}

.video-popup-close-btn {
  position: fixed;
  top: -25px;
  right: 55px;
  font-size: 30px !important;
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  text-align: center;
  z-index: 9999;
}

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

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

/* ================= > Portfolio < ================= */

.main-horizontal-sliders {
  overflow-x: hidden;
}

.portfolio-horizontal-slider-projects {
	width: 500vh;
	display: -ms-grid;
	display: grid !important;
	-ms-grid-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

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

/* ================= > WooCommerce < ================= */

.orderby {
  padding: 20px;
  border-radius: 10px;
}

.wp-block-query-pagination-numbers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}

.woocommerce-product-gallery__image,
.attachment-woocommerce_thumbnail,
.size-woocommerce_thumbnail,
.wc-block-grid__product-image > a > img {
  border-radius: 10px;
}

.woocommerce-product-gallery__image:hover,
.attachment-woocommerce_thumbnail:hover,
.size-woocommerce_thumbnail:hover,
.wc-block-grid__product-image > a > img:hover,
.wc-block-cart-item__image > a > img:hover,
.wp-block-cart-cross-sells-product__product-image > a > img:hover {
  opacity: 0.8;
}

.single_add_to_cart_button,
.add_to_cart_button,
.product_type_external,
.ajax_add_to_cart,
.wp-block-woocommerce-mini-cart-checkout-button-block,
.wc-block-components-product-button__button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-totals-coupon__button {
  border-radius: 25px;
  background: var(--wp--preset--color--custom-primary);
}

.wp-block-woocommerce-mini-cart-cart-button-block {
  border-radius: 25px;
}

.wp-block-woocommerce-mini-cart-shopping-button-block {
  background: var(--wp--preset--color--custom-primary);
}

.components-form-token-field__suggestion:hover {
  background: var(--wp--preset--color--custom-primary) !important;
}

.single_add_to_cart_button:hover,
.add_to_cart_button:hover,
.product_type_external:hover,
.ajax_add_to_cart:hover,
.wp-block-woocommerce-mini-cart-checkout-button-block:hover,
.wp-block-woocommerce-mini-cart-shopping-button-block:hover,
.wc-block-components-product-button__button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-totals-coupon__button:hover {
  opacity: 0.9;
}

.qty {
  border-radius: 10px;
}

.wc-block-components-form .wc-block-components-text-input label, .wc-block-components-text-input label {
  color: #ffffff8a !important
}

.wc-block-components-checkbox .wc-block-components-checkbox__mark {
  background: #fff !important;
}

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

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

.contact-form-row > p {
  margin: 0;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          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%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.wpcf7-text,
.wpcf7-textarea {
  border-radius: 20px;
  padding: 15px 20px !important;
}

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

.wpcf7-submit {
  cursor: pointer;
  width: 100%;
  border-radius: 20px !important;
  padding: 20px 0;
  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;
}

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

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

.copy > a > mark {
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.copy > a > mark:hover {
  color: inherit !important;
}

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

/* ================= > 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-button {
    -webkit-box-pack: start !important;
        -ms-flex-pack: start !important;
            justify-content: flex-start !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;
  }

  .header-menu {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }

  .header-columns {
    -ms-grid-column-align: center !important;
        justify-self: center !important;
  }
}

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