/*
Theme Name: Osluxury
Theme URI: https://osluxury.com
Author: Maximus
Version: 1.0
*/

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.site-content,
.page-content,
.elementor-location-single,
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.contact-form {
    display: flex;
    gap: 100px;
    /* max-width: 900px; */
    margin: auto;
}

/* Left & Right columns */
.contact-form .form-left,
.contact-form .form-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #5A5039;
    background: transparent;
    font-size: 16px;
    font-family: inherit;
    color: #000;
    transition: 0.3s;
}

/* Remove default outline */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom: 1px solid #9B9583;
}

.wpcf7 .flag-container:focus, 
.wpcf7 .flag-container:focus-visible, 
.wpcf7 .flag-container:focus-within, 
.wpcf7 .flag-container:target {
    border-bottom: 1px solid #9B9583 !important;
}

/* Placeholder style */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #000;
}

/* Textarea */
.contact-form textarea {
    min-height: 140px;
    resize: vertical;
    border: 1px solid #5A5039 !important;
}

/* Button */
.contact-form button {
    align-self: flex-start;
    padding: 12px 25px;
    border: none;
    background: #000;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #5A5039;
}

/* Responsive (mobile) */
@media (max-width: 768px) {
    .contact-form {
        flex-direction: column;
    }
}

.contact-form label {
    color: #5A5039;
    font-family: 'OpenSauceOne';
    font-size: 16px;
    display: block;
    margin-bottom: 15px !important;
}

.contact-form .submit-btn {
    display: inline-block;
    width: auto;
    padding: 12px 30px;
    background: transparent !important;
    color: #5A5039 !important;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-start;
    border: 1px solid #5A5039 !important;
}

/* Hover */
.contact-form .submit-btn:hover {
    background: #5A5039 !important;
    color: #ffffff !important;
}

/* .wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"] {
    border-bottom: 1px solid #5A5039;
} */

.wpcf7 p {
    margin: 0 0 14px; /* controls spacing between fields */
}

.wpcf7 p label {
    display: block;
    margin-bottom: 4px;  /* label → input spacing */
    line-height: 1.2;
}

/* remove CF7 default <br> spacing effect */
.wpcf7 p br {
    display: none;
}

.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    margin: 0;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #5A5039;
    background: transparent;
    outline: none;
    margin-bottom: 5px !important;
}

.wpcf7 textarea:focus {
    border: 1px solid #9B9583 !important;
}

.wpcf7 textarea {
    padding: 12px 14px;
}

.wpcf7 .flag-container{
    border-bottom: 1px solid #5A5039;
}

.intl-tel-input .flag-container {
    position: relative !important;
    padding: 0px;
    margin-right: 15px;
}

/* .tel-col .intl-tel-input .flag-container {
    position: relative;
    padding: 0px;
} */

.intl-tel-input {
    display: flex;
    flex-direction: row;
}

.intl-tel-input.separate-dial-code .selected-flag {
    background-color: transparent !important;
    margin-right: 15px !important;
    padding:  0px !important;
}

.intl-tel-input .selected-flag .iti-arrow {
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid transparent !important;
}

.wpcf7 input[name="phone-number"] {
    width: 100%;
    border: none;
    /* border-bottom: 1px solid #5A5039; */
    padding: 10px 0;
    background: transparent;
    box-sizing: border-box;
}

.wpcf7 .wpcf7-phonetext {
    display: flex;
    gap: 10px;
    align-items: center;
    /* border-bottom: 1px solid #5A5039; */
}

/* remove duplicate borders inside */
.wpcf7 .wpcf7-phonetext input {
    border: none;
    outline: none;
    flex: 1;
    padding: 10px 0;
    background: transparent;
}

input.wpcf7-form-control.wpcf7-phonetext:focus {
    border-bottom: 1px solid #9B9583 !important;
}

input.wpcf7-form-control.wpcf7-phonetext{
    border-bottom: 1px solid #5A5039 !important;
    padding-left: 0px !important;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0em 1em !important;
}

/* header */
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
    transition: padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* @media screen and (max-width: 1024px){
    header{
        position: relative !important;
    }

    header.is-scrolled {
        backdrop-filter: blur(100px);
        position: fixed !important;
    }
} */

header .main-header {
    transition: padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* when user scrolls down (after 50px) */
header.is-scrolled {
    backdrop-filter: blur(100px);
}

@media screen and (min-width: 10)

/* scrolling up (show again) */
header.scroll-up {
    transform: translateY(0);
}

header.is-scrolled .main-header{
    padding-top: 15px;
    padding-bottom: 15px;
}

header.is-scrolled .main-header .main-logo img{
    width:  120px;
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

header.is-scrolled .elementor-icon svg {
    height: 0.8em !important;
    width: 0.8em !important;
}

@media screen and (min-width: 1025px){
    .main-header .elementor-nav-menu a.elementor-item {
        position: relative;
        display: inline-block;
        text-decoration: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px){
    header.is-scrolled .main-header{
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 767px){
    header.is-scrolled .main-header{
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

.main-header .elementor-nav-menu a.elementor-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #ffffff !important;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.main-header .elementor-nav-menu a.elementor-item:hover::after {
    transform: scaleX(1);
}

.navigation-menu .elementor-nav-menu--dropdown .elementor-item.elementor-item-active{
    color: #fff !important;
    background-color: #5A5039 !important;
}

.elementor-nav-menu--dropdown .elementor-item:hover{
    background-color: #5A5039 !important;
    color: #fff !important;
}

/* .elementor-nav-menu--dropdown a.elementor-item-active{
    color: #fff !important;
    background-color: #5A5039 !important;
} */

/* animation */
.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--delay, 0s); 
    will-change: transform, opacity;
}

/* ACTIVE STATE */
.animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* TYPES */
.animate.fade-up {
    transform: translateY(40px);
}
.animate.fade-up.active {
    transform: translateY(0);
}

.animate.fade-left {
    transform: translateX(-40px);
}
.animate.fade-left.active {
    transform: translateX(0);
}

.animate.fade-right {
    transform: translateX(40px);
}
.animate.fade-right.active {
    transform: translateX(0);
}

.animate.zoom-in {
    transform: scale(0.9);
}
.animate.zoom-in.active {
    transform: scale(1);
}

.animate.fade-in {
    opacity: 0;
    transform: scale(0.98);
    transition: all 0.7s ease;
}

.animate.fade-in.active {
    opacity: 1;
    transform: scale(1);
}

.animate.slide-up {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(5px);
    transition: all 0.7s ease;
}

.animate.slide-up.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.delay-1 { --delay: 1s; }
.delay-2 { --delay: 5s; }
.delay-3 { --delay: 10s; }
.delay-4 { --delay: 15s; }
.delay-5 { --delay: 20s; }

.contact-link .elementor-icon-box-title a {
    position: relative;
    text-decoration: none;
    color: inherit;
}

.contact-link .elementor-icon-box-title a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: currentColor;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.contact-link .elementor-icon-box-title a:hover::after {
    transform: scaleX(1);
}

/* scroll to top */
#to_top_scrollup{
    border: 2px solid #ffffff !important;
}

#to_top_scrollup::after {
    content: "Back to top";
    position: absolute;
    right: 100%;           
    margin-right: 10px;    
    white-space: nowrap;
    font-size: 14px;
    font-family: 'OpenSauceOne', sans-serif;
    top: 8px;
    color: #fff;
    transition: color 0.3s ease;
}

/* when scrolled */
#to_top_scrollup.scrolled::after {
  color: #5A5039 !important;
  font-weight: 500 !important;
}

/* when near footer */
#to_top_scrollup.near-footer::after {
  color: #fff !important;
}

@media screen and (min-width: 1800px){
    span#to_top_scrollup{
        right: 50px !important;
        bottom: 55px !important;
    }
}

@media screen and (min-width: 1024px){
    .intl-tel-input .country-list{
        max-height: 150px !important;
    }
}

@media screen and (max-width: 1024px){
    #to_top_scrollup::after {
        display:  none !important;
    }
}

@media screen and (max-width: 1024px) and (min-width: 768px){

    #to_top_scrollup{
        right: 50px !important;
        bottom: 30px !important;
    }
}

@media screen and (max-width: 768px){
     .contact-form{
        gap: 10px !important;
    }
}

@media screen and (max-width: 767px){
    #to_top_scrollup{
        right: 20px !important;
        bottom: 30px !important;
    }

    .wpcf7 form .wpcf7-response-output, .wpcf7-not-valid-tip{
        font-size:  14px !important;
    }
}

@media screen and (max-width: 464px){
    .contact-form label {
        font-size: 14px !important;
    }

    .contact-form input, .contact-form textarea{
        font-size: 14px !important;
    }

}

/* make container relative */
.our-service-content {
    position: relative;
    overflow: hidden;
}

/* overlay layer */
.our-service-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.our-service-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.0),
        transparent
    );
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* show overlay on hover */
.our-service-content:hover::before {
    opacity: 1;
}

.our-service-content:hover .our-service-desc {
    transform: translateY(-25px);
}

g#SVGRepo_iconCarrier desc, g#SVGRepo_iconCarrier title{
    display: none !important;
}

@media screen and (min-width: 465px){
	.mobile-screen{
		display: none !important;
	}
	
	.desktop-screen{
		display: block !important;
	}
}

@media screen and (max-width: 464px){
	.desktop-screen{
		display: none !important;
	}
	
	.mobile-screen{
		display: block !important;
	}
}

.footer-menu {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-menu a {
    color: #5a5039;
    text-decoration: none;
}

.footer-menu span {
    color: #5a5039;
    opacity: 0.5;
}

.footer-menu a {
/*     flex: 1; */
    text-align: center;
}
/* 
@media (max-width: 767px) {
    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
} */





