/*
Theme Name: Morii
Template: hello-elementor
Author: The Brandesign group
Description: A child theme for Hello Elementor
Version: 1.0
*/



/* ------------------------GLOBALS ------------------------*/

/* Sections */
.bd-home-padding      { padding: 100px 10px; }
.bd-section-padding   { padding: 20px 0px; }
.bd-main-section-padding   { padding: 40px 0px 0px 0px; }
.bd-normal-padding    { padding: 60px 10px; }
.bd-tight-padding     { padding: 40px 10px; }

.hero-parallax {
  background-attachment: fixed;
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat;
}

.bd-social-icon {
  width: 44px;
  height: 44px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 6px;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 2px #333;
}

/* Force the icon itself to align correctly */
.bd-social-icon i,
.bd-social-icon svg {
  font-size: 18px;             /* Adjust to match size */
  line-height: 1 !important;   /* FIX misalignment */
  display: block !important;   /* Removes extra inline space */
  color: #333;                 /* Icon colour */
}


.elementor-slideshow__title {
	display: none !important;
}


.bd-hover-card{
	transition: all ease-in-out 05s;
}

.bd-hover-card:hover{
	transition: all ease-in-out 0,4s;
	transform: translatey(-10px);
box-shadow: 0px 10px 16px 0px rgba(0,0,0,0.25);
}



#back-to-top{
	transition:all ease-in-out 0.3s;
	background-color:#23201f !important;
    box-shadow: 0px 10px 16px 0px rgba(0,0,0,0.25);	
}

#back-to-top:hover{
	transition:all ease-in-out 0.3s;
	background-color:#d7b5a8 !important;
    box-shadow: 0px 10px 16px 0px rgba(0,0,0,0.25);	
}


/* Global style for all unordered list items */
ul li {
    font-family: bodoni-moda !important;
	font-weight: bold !important;
}


/* Poloroid Tilt */

.bd-poloroid-left {
	transition: all ease-in-out 0.3s;
}

.bd-poloroid-left:hover{
	transition: all ease-in-out 0.3s;
	transform: rotate(-13deg) scale(1.05);
}


.bd-poloroid-right {
	transition: all ease-in-out 0.3s;
}

.bd-poloroid-right:hover{
	transition: all ease-in-out 0.3s;
	transform: rotate(11deg) scale(1.05);
}


/* Home Page Carousel */

.bd-carousel-home .elementor-element .swiper .swiper-image-stretch .swiper-slide .swiper-slide-image, .elementor-lightbox .swiper .swiper-image-stretch .swiper-slide .swiper-slide-image{
    height: 700px !important;
    object-fit: cover !important;
    
}


/* ------------------------END GLOBALS ------------------------*/

/* ------------------------BUTTONS ------------------------*/

/* ------------------ NORMAL (default) BUTTON ------------------ */
/* 1) Reset Elementor button styles inside your custom widget */
.bd-main-btn .elementor-button {
    all: unset;
    display: inline-block !important;
    position: relative !important;
    cursor: pointer !important;
    font-family: bodoni-moda !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #4E4E4E !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

/* 2) Target only the text span */
.bd-main-btn .elementor-button-text {
    position: relative;
    display: inline-block;
    background: transparent !important;
    font-size: 18px !important;
}

/* 3) Underline – always visible */
.bd-main-btn .elementor-button-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 2px;
    width: 100%;
    background-color: #4E4E4E;
    transform-origin: center;
    transform: scaleX(1);
    transition: transform 0.25s ease-out, background-color 0.25s ease-out;
}

/* 4) Hover effect – underline shrinks */
.bd-main-btn .elementor-button:hover {
    color: #D7B5A8 !important;
}

.bd-main-btn .elementor-button:hover .elementor-button-text::after {
    background-color: #D7B5A8;
    transform: scaleX(0.8); /* Shrinks slightly */
}

/* 5) Bounce-back animation when hover ends */
.bd-main-btn .elementor-button .elementor-button-text::after {
    transition: transform 0.25s ease-out, background-color 0.25s ease-out;
}

.bd-main-btn .elementor-button:not(:hover) .elementor-button-text::after {
    transform: scaleX(1);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease-out;
}

/* ------------------ EXTRA CLASS FOR TOP BORDER ------------------ */
.bd-top-btn .elementor-button-text {
    position: relative; /* Allow ::before positioning */
    display: inline-block;
}

/* Top border (same size & spacing as bottom) */
.bd-top-btn .elementor-button-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: -3px; /* Same spacing as bottom border */
    height: 2px;
    width: 100%;
    background-color: #4E4E4E;
    transform-origin: center;
    transform: scaleX(1);
    transition: transform 0.25s ease-out, background-color 0.25s ease-out;
}

/* Hover effect for top border */
.bd-top-btn .elementor-button:hover .elementor-button-text::before {
    background-color: #D7B5A8;
    transform: scaleX(0.8); /* Shrinks slightly */
}

/* Bounce-back on hover out */
.bd-top-btn .elementor-button:not(:hover) .elementor-button-text::before {
    transform: scaleX(1);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease-out;
}

/* ------------------ EXTRA CLASS: Hover White Text ------------------ */
.bd-hover-white .elementor-button {
    transition: color 0.3s ease !important;
}

.bd-hover-white .elementor-button:hover {
    color: #FFFFFF !important; /* Switch text to white */
}

.bd-hover-white .elementor-button:hover .elementor-button-text::after,
.bd-hover-white .elementor-button:hover .elementor-button-text::before {
    background-color: #FFFFFF !important; /* Make borders white too */
}
















/* ------------------------END BUTTONS ------------------------*/




/* ------------------------Media Query ------------------------*/


/* ------------------------Mobile Query------------------------*/
@media only screen and (max-width: 600px) {

    /* --------------GLOBALS --------------*/
 
ul#sm-17567362931829111-2{
    margin-left: 0 !important;
}
	
	
/* Home Page Carusel */
	
@media screen and (max-width: 400px) {
    
.bd-carousel-home .elementor-element .swiper .swiper-image-stretch .swiper-slide .swiper-slide-image, .elementor-lightbox .swiper .swiper-image-stretch .swiper-slide .swiper-slide-image{
    height: 300px !important;
    object-fit: cover !important;
    
}
}
	
	
/* =========================================================
   POSTS ONLY - Article styling rules (Classic + Block themes)
   Targets: all blog posts, not pages, not headers/footers
   ========================================================= */
/* POSTS ONLY - Elementor Theme Post Content overrides */
body.single-post.post-type-post.elementor-page .elementor-widget-theme-post-content .elementor-widget-container h2 {
  color: #D59F8B !important;
  line-height: 1.2;
  margin: 0 0 0.9em;
  font-weight: 600;
}

body.single-post.post-type-post.elementor-page .elementor-widget-theme-post-content .elementor-widget-container h3 {
  color: #231F20 !important;
  line-height: 1.25;
  margin: 1.4em 0 0.55em;
  font-weight: 600;
}

body.single-post.post-type-post.elementor-page .elementor-widget-theme-post-content .elementor-widget-container h4 {
  color: #231F20 !important;
  line-height: 1.25;
  margin: 1.2em 0 0.55em;
  font-weight: 600;
  font-size: 1.15rem;
}

body.single-post.post-type-post.elementor-page .elementor-widget-theme-post-content .elementor-widget-container p {
  margin: 0 0 1.1em;
  line-height: 1.7;
}

body.single-post.post-type-post.elementor-page .elementor-widget-theme-post-content .elementor-widget-container ol {
  margin: 0 0 1.2em 1.2em;
  padding: 0;
}

body.single-post.post-type-post.elementor-page .elementor-widget-theme-post-content .elementor-widget-container ol > li {
  margin: 0 0 1.4em;
}

body.single-post.post-type-post.elementor-page .elementor-widget-theme-post-content .elementor-widget-container strong em {
  font-family: "Bodoni Moda", Georgia, "Times New Roman", serif;
  font-style: italic;
}

	
	
    /* --------------GLOBALS --------------*/
    
    
  }

  /* ------------------------End Mobile Query------------------------*/

  /* ------------------------Tablet Mobile Query ------------------------*/

  @media only screen and (min-width: 601px) and (max-width: 1024px) {
    /* Styles for tablets (portrait and landscape) */
    
	  
	  
	  
	  
	  
	  
	  
  }
  