/*
 Theme Name:        Royal Event Child Theme
 Theme URI:         https://royal-event.themerex.net/
 Description:       Royal Event is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
 Author:            ThemeREX
 Author URI:        https://themerex.net/
 Template:          royal-event
 Version:           1.0
 Tested up to:      6.6
 Requires at least: 5.0
 Requires PHP:      7.0
 License:           GNU General Public License v2 or later
 License URI:       http://www.gnu.org/licenses/gpl-2.0.html
 Tags:              flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:       royal-event
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */
.scheme_light, body.scheme_light {
	--theme-color-text_link: black !important;
	--theme-color-text_hover: #272727 !important;
}

html {
    scroll-behavior: smooth;
}

body.no-scroll {
	overflow: hidden !important;
    height: 100dvh !important;
	position: fixed !important;
}

body.home .content {
    background-color: #121212;
    transition: none;
}

.page_content_wrap {
	z-index: 1;	
	margin-bottom: 10dvh !important;
}

.animate-text {
    will-change: transform, opacity;
}

.focus-text {
    transition: filter 0.2s ease;
}
/*
.adp-popup-overlay {
	display: none;
}*/

.word-rotator {
    display: inline-grid; 
    vertical-align: bottom;
    overflow: hidden;
    height: 1.2em;
    line-height: 1.2em;
    transition: width 0.3s ease;
	position: relative;
	width: auto;
}

.word-rotator span {
    grid-area: 1 / 1;
    opacity: 0;
    white-space: nowrap;
    transform: translateY(15px);
	text-decoration: underline;
    display: inline-block;
	width: fit-content;
}

.ta_under_strips:before {
	background-color: #F6F6F6;
}

.ta_under_strips:after {
	background-color: #B5B5B5;
}

@media (max-width: 768px) {
	.word-rotator {
		padding-top: 0px;
	}
}

/************/
/** HEADER **/
/************/

body.home .site-header {
	opacity: 0;
    transition: backdrop-filter 0.3s ease, background-color 0.3s ease;
}

.main-navigation .elementor-icon-list-item.active-nav .elementor-icon-list-text {
    font-weight: bold !important;
    transition: font-weight 0.3s ease;
}

.main-navigation .elementor-icon-list-item.active-nav .elementor-icon-list-text::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
}
/*
.site-header:has(.custom-logo-link:hover),
.site-header:has(.main-navigation:hover),
.site-header:has(.language-switcher:hover) {
    background-color: rgba(255, 255, 255, 1) !important;
    /*backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}*/

.sc_layouts_row_fixed_on,
.top_panel {
	background: transparent !important;
}

body.home .main-navigation span.elementor-icon-list-text {
	color: #FFF;
}

.main-navigation span.elementor-icon-list-text:hover {
	font-weight: 600;
}

/** MOBILE **/

.sc_layouts_column_align_center .sc_layouts_item:not(.elementor-widget-divider):not(.elementor-widget-spacer) {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#menu-checkbox {
    display: none !important;
    opacity: 0 !important;
    position: absolute !important;
}

.menu-button {
	cursor: pointer;	
	display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    background: #F6F6F6;
    border-radius: 24px;
    padding: 10px 14px;
	
	font-family: "Panton Narrow";
	font-weight: 400;
	font-size: 14px;
	color: white;
	text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-icon_wrapper {
    width: 30px;
    height: 24px; 
    position: relative;
    cursor: pointer;
    display: block;
}

.bg-currentcolor {
    background-color: black;
    width: 24px;
    height: 1.2px;
    position: absolute;
    left: 3px;
    /*transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);*/
}

.menu-icon_line-top { top: 4px; }
.menu-icon_line-middle { top: 11px; }
.menu-icon_line-bottom { top: 18px; }

#mobile-menu-panel {
	display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    z-index: 15;
    transform: translateX(100%);
    opacity: 1;
	transition: none !important;
}

/**********/
/** HERO **/
/**********/
#container {
	position: relative;
    width: 100vw;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
	overflow: hidden;
   }
    
    @media (min-width: 1919px) {
        #container {
            height: 1080px;
        }
    }

@media (max-width: 768px) {
	#container {
		width: 100%;
	}
}
    
    .heading {
        text-align: center;
		z-index: 100;
    }
    
    .heading h1 {
        margin: 0;
        font-size: clamp(3.5rem, 5vw, 6rem);
        color: #FFF;
		line-height: 1em;
		opacity: 0;
    }
    
    .heading span.sub-h1 {
        margin-top: 32px;
        display: inline-block;
        max-width: 460px;
        font-size: 20px;
        color: #F6F6F6;
		opacity: 0;
    }
    
    .image-trail {
        position: fixed;
        top: 0; 
    	left: 0;
        width: 200px;
        height: 420px;
        object-fit: cover;
        pointer-events: none;
        opacity: 0;
		margin: 0;
    }
    
    @media (max-width: 900px) {
        .image-trail {
            width: 160px;
            height: 120px;
        }
    }

@media (max-width: 768px) {
	.image-trail {
		position: absolute !important;
	}
}

.arrow-down {
    position: absolute;
    bottom: 9%;
	/*border-radius: 4px;
	padding: 4px 16px;*/
    left: 50%;
    transform: translateX(-50%);
    /*background-color: #F6F6F6;*/
	opacity: 0;
}

.arrow-down .elementor-icon-box-title {
	white-space: nowrap;
}

.arrow-down svg {
	animation: upDown 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes upDown {
    0% {
        transform: rotate(90deg) translateX(0);
    }
    50% {
        transform: rotate(90deg) translateX(-10px);
    }
    100% {
        transform: rotate(90deg) translateX(0);
    }
}

@media(max-width: 767px) {
	.arrow-down .elementor-icon-box-wrapper .elementor-icon-box-icon {
        margin-top: 3px !important;
	}
}

.arrow-down svg {
	width: 20px;
	transform: rotate(90deg);
}

.is-scroll-ready {
    animation: byeArrowScroll linear both;
    animation-timeline: scroll();
    animation-range: 200px 500px;
}

@keyframes byeArrowScroll {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.container-service {
	padding: 0 21px 21px 21px;
	border-radius: 8px;
}

.container-service:hover {
	background-color: #F6F6F6;
}

/** CONTAINER RUTAS **/

.works-wrapper {
  width: 100%;
  height: 565px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.works-list {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 0; 
}

.works-item {
  position: relative;
  flex: 1; 
  height: 100%
  transform-origin: top;
  overflow: hidden;
  cursor: pointer;
  
  opacity: 0;
  transform: translateY(60px);
  transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1), height 0.4s ease;
}


.works-item:hover {
  flex: 3; 
  height: 110%;
}

.works-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 516px; 
  left: 50%;
  transform: translateX(-50%);
}

.works-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.8s ease;
  transform: scale(1.15);
}

.works-item:hover .works-img {
  filter: grayscale(0%);
  transform: scale(1.15);
}

.works-info {
    max-width: 250px;
  position: absolute;
  bottom: 80px;
  left: 20%;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.works-info > h2 {
    font-family: "utah-condensed-bold", Sans-serif;
    color: white;
}

.works-info p {
    font-size: 21px;
    max-width: 100%;
    overflow-wrap: break-word;
}

.works-item:hover .works-info {
  opacity: 1;
  transition-delay: 0.4s;
}

.shader {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.works-item:hover .shader {
  opacity: 1;
}

/************/
/** WPFORM **/
/************/

div.wpforms-container .wpforms-field-row.wpforms-field-medium,
div.wpforms-container input.wpforms-field-medium {
	max-width: 100%;
}

div.wpforms-container-full button[type=submit]:not(:hover):not(:active),
div.wpforms-container-full button[type=submit]:hover,
div.wpforms-container-full button[type=submit]:active {
	-webkit-appearance: none;
    white-space: nowrap;
    height: auto;
    max-width: 100%;
    color: var(--theme-color-inverse_link);
    border-color: var(--theme-color-text_link);
    background-color: black;
    padding: 17px 57px 18px;
    border-width: 0 !important;
	font-family: "Utah";
    font-size: var(--theme-font-button_font-size);
    font-weight: var(--theme-font-button_font-weight);
    font-style: var(--theme-font-button_font-style);
    line-height: var(--theme-font-button_line-height);
    text-decoration: var(--theme-font-button_text-decoration);
    text-transform: var(--theme-font-button_text-transform);
    letter-spacing: var(--theme-font-button_letter-spacing);
	transition: all 0.3s ease-in-out;
}

div.wpforms-container-full button[type=submit]:hover,
div.wpforms-container-full button[type=submit]:active {
	background-color: #272727;
	transition: all 0.3s ease-in-out;
}

input[type="checkbox"] + label:before {
	position: relative;
	top: 0;
}

div.wpforms-container-full .wpforms-field.wpforms-field-checkbox ul li input+label {
	padding-inline-start: 0;
	display: flex;
	flex-direction: row;
    align-items: center;
	gap: 12px;
}

.elementor-element-c8b6a88 {
	background: black;
}

.portfolio_page_details_share {
	display: none !important;
}

#style-11.mc4wp-form label {
    display: flex;
    margin: 22px 0 0;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    gap: 5px;
	padding: 0;
}

#style-11.mc4wp-form .mc4wp-form-fields button, #style-11.mc4wp-form .mc4wp-form-fields input[type="submit"] {
	background: black !important;
}


#style-11.mc4wp-form .mc4wp-form-fields button, #style-11.mc4wp-form .mc4wp-form-fields input[type="submit"]:hover {
	background: #272727 !important;
}

/************/
/** FOOTER **/
/************/

.footer_wrap {
	min-height: 330px;
}

@media (max-width: 768px) {
	.footer_wrap {
		min-height: 500px;
	}
}

.elementor-element-5a9b363 {
	display: flex !important;
}