/*
Template Name: Wadeng - Wedding & Event Planner Website Template
Author: Pillarix
Author URI: https://wrapbootstrap.com/user/pillarix
Version: 1.0
*/
/*
-- Body
-- Custom Classes
-- Nav
-- Back To Top
-- Sidebar
-- Page Loading
*/

/* Body */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.2/font/bootstrap-icons.min.css");

body{
  overflow-x: hidden;
}
a{
  -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

/* Custom Classes */
.text-purple{
	color: #FE5792 !important;
}
.btn-theme {
	padding: 10px 25px !important;
}
.btn-purple{
	background-color: #FE5792;
	color: #ffffff;
	border: 1px solid #FE5792;
}
.btn-purple:hover, .btn-purple:focus, .btn-outline-purple:hover {
	background-color: #ff3c81;
	color: #ffffff;
	border: 1px solid #ff3c81;
}
.btn-outline-purple{
	color: #ff3c81;
	border: 1px solid #ff3c81;
}
.bg-purple{
	background-color: #FE5792;
}
.purple-tab .nav-link {
	color: #FE5792;
}
.bg-opacity-purple {
	background: rgb(139 61 255 / 8%);
}
.shadow {
  box-shadow: 0 10px 40px 0 rgba(47,47,47,.1) !important;
}
.transition-3d-hover {
  transition: all 0.2s ease-in-out;
}
.transition-3d-hover:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
}
.osahan-dropdown-box {
  background-image: url("../img/bg.png") !important;
  background-size: cover;
  background-repeat: no-repeat;
}
.card-osahan-demo .card-img-top {
  border-radius: 18px 0 0 0 !important;
  border-right: 0px !important;
  border-bottom: 0px !important;
}
.card-osahan-demo{
  transition: all .35s;
  -webkit-transition: all .35s;
  -moz-transition: all .35s;
}
.card-osahan-demo:hover {
  box-shadow:0px 0px 40px 10px rgba(0,0,0,0.05);
  transform: translateY(-10px);
}

/* Nav */
.osahan-main-nav{
	-webkit-transition: all .5s;
  -moz-transition: all .5s;
  transition: all .5s;
}
.osahan-main-nav.fixed-top{
  background-color: #ffffff;
  box-shadow: 0px 10px 15px rgba(0,0,0,0.04);
}
.navbar-nav .dropdown-menu {
  box-shadow: 0px 24px 21px rgb(0 0 0 / 11%) !important;
}
.dropdown:hover>.dropdown-menu {
  display: block;
  animation: dropdown-show 0.25s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
@keyframes dropdown-show {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.dropdown-menu:hover .dropdown-item{
  opacity: 0.6;
}
.dropdown-menu .dropdown-item:hover{
  opacity: unset;
  font-weight: 500;
}
.dropdown-item{
  transition: all 0.2s ease-in-out;
  padding-right: 40px;
}
.dropdown-item:hover{
  -webkit-transform: translateX(3px);
  transform: translateX(3px);
}
.dropdown-item:after {
  content: "\ea6c";
  font-family: remixicon!important;
  font-style: normal;
  position: absolute;
  right: 0;
  font-size: 14px;
  line-height: 24px;
  opacity: 0;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.dropdown-item:hover:after{
  opacity: unset;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.dropdown-item {
  position: relative;
}
.single-dropdown-nav .dropdown-menu {
  border: none;
  border-radius: 11px;
  padding: 14px 22px 14px 14px;
  min-width: 270px;
}
.single-dropdown-nav .dropdown-menu .dropdown-item {
  padding: 7px 40px 7px 14px;
  border-radius: 6px;
}
.single-dropdown-nav .dropdown-menu .dropdown-item::after {
  right: 11px;
}
.site-brand  small {
	font-size: 11px;
	letter-spacing: 0.1px;
}
.site-brand .fw-bold {
	line-height: 20px;
}
.site-brand .lh-1 {
  line-height: 12px !important;
}
.osahan-dropdown-box p.lead.mb-5 {
  font-size: 13px;
  margin-bottom: 29px !important;
}
.osahan-dropdown-box  a.btn {
  padding: 10px 23px !important;
  border-radius: 32px;
  font-size: 14px;
  background: #000;
  border: none;
}
.osahan-dropdown-box  h1.text-primary {
  font-size: 25px;
  color: #000 !important;
}
.osahan-dropdown-box h5.text-dark {
  font-size: 15px;
  opacity: 0.7;
  margin-top: 30px !important;
}

/* Back To Top */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  box-shadow: 0 10px 40px 0 rgba(47,47,47,.1) !important;
  background-color: #fff;
  color: #2d2a3e;
  width: 50px;
  border-radius: 100px;
  cursor: pointer;
  height: 50px;
  border: 3px solid #ebebeb;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
}
#back-to-top:hover {
  box-shadow: 0 10px 40px 0 rgba(47,47,47,.1) !important;
  background-color: #2d2a3e;
  color: #ffffff;
}

/* Sidebar */
#sidebar .offcanvas-header .link-light {
  color: #000 !important;
}
#sidebar .offcanvas-body .nav-item .nav-link {
  text-align: center;
  padding: 15px 20px !important;
}
#sidebar .offcanvas-body .nav-item.dropdown {
  position: unset !important;
}
#sidebar .offcanvas-body .dropdown-menu {
  position: relative !important;
  transform: unset !important;
  box-shadow: none !important;
}
#sidebar .offcanvas-body .dropdown-menu .dropdown-mega-content .col-lg-3 {
  border: none !important;
  padding: 15px 15px !important;
  text-align: center;
}

/* Page Loading */
.page-loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: all .4s .2s ease-in-out;
  transition: all .4s .2s ease-in-out;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
}
[data-bs-theme="dark"] .page-loading {
  background-color: #121519;
}
.page-loading.active {
  opacity: 1;
  visibility: visible;
}
.page-loading-inner {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  text-align: center;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: opacity .2s ease-in-out;
  transition: opacity .2s ease-in-out;
  opacity: 0;
}
.page-loading.active > .page-loading-inner {
  opacity: 1;
}
.page-loading-inner > span {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: normal;
  color: #6f788b;
}
[data-bs-theme="dark"] .page-loading-inner > span {
  color: #fff;
  opacity: .6;
}
.page-spinner {
  display: inline-block;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: .75rem;
  vertical-align: text-bottom;
  background-color: #d7dde2; 
  border-radius: 50%;
  opacity: 0;
  -webkit-animation: spinner .75s linear infinite;
  animation: spinner .75s linear infinite;
}
[data-bs-theme="dark"] .page-spinner {
  background-color: rgba(255,255,255,.25);
}
@-webkit-keyframes spinner {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}



.gallery-wrapper {
      position: relative;
      height: 480px;
      overflow: hidden;
      border-radius: 20px;
    }

    .scroll-track {
      display: flex;
      gap: 20px;
      position: absolute;
      top: 0;
    }

    .scroll-row {
      animation: scrollLeft 30s linear infinite;
    }

    .scroll-row.reverse {
      animation: scrollRight 30s linear infinite;
      top: 240px;
    }

    @keyframes scrollLeft {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    @keyframes scrollRight {
      0% { transform: translateX(-50%); }
      100% { transform: translateX(0%); }
    }

    .scroll-track img {
      width: 300px;
      height: 220px;
      object-fit: cover;
      border-radius: 15px;
      box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
      transition: transform 0.3s ease;
    }

    .scroll-track img:hover {
      transform: scale(1.05);
    }

    .scroll-track a {
      display: inline-block;
    }

    
    .column-gallery {
      display: flex;
      justify-content: center;
      gap: 20px;
       
      max-width: 100%;
      overflow: hidden;
    }

    .column {
      width: 22%;
      overflow: hidden;
      position: relative;
      height: 600px;
       padding: 0 20px;
      border-radius: 15px;
    }
    .story{
      padding:0 5px;
    }
    
    .column-track {
      display: flex;
      flex-direction: column;
      animation: scrollUp 20s linear infinite;
    }

    .story:nth-child(2) .column-track {
      animation: scrollDown 22s linear infinite;
    }

    .story:nth-child(3) .column-track {
      animation: scrollUp 24s linear infinite;
    }

    .story:nth-child(4) .column-track {
      animation: scrollDown 26s linear infinite;
    }

    @keyframes scrollUp {
      0% { transform: translateY(0); }
      100% { transform: translateY(-50%); }
    }

    @keyframes scrollDown {
      0% { transform: translateY(-50%); }
      100% { transform: translateY(0); }
    }

    .story img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: 15px;
      margin-bottom: 10px;
      box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
      transition: transform 0.3s ease;
    }

    .story img:hover {
      transform: scale(1.05);
    }
.video-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  aspect-ratio: 3 / 4; /* Changed from 16 / 9 to 3 / 4 */
  transition: transform 0.4s ease, filter 0.4s ease;
}

.video-item {
  width: 100%;
  height: 100%;
  padding:10px 0;
  object-fit: cover; /* Crop and fill */
  filter: grayscale(100%) brightness(0.9);
  transition: transform 0.4s ease, filter 0.4s ease;
  border-radius: 12px;
  display: block;
}

.video-wrapper:hover {
  box-shadow:14px 24px 12px rgba(255, 105, 180, 0.3);
}

.video-wrapper:hover .video-item {
  filter: grayscale(0%) brightness(1);
      
    
}
.ggg {
  width: 450px;
  max-width: 500px; /* limit the size */
  height: auto; /* maintain aspect ratio */
  background-color: #ffffff;
  border-radius: 12px; /* rounded corners */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* subtle shadow */
  display: block;
  margin: 20px auto; /* center the image with margin */
  margin-left: 50px;
  margin-top: 20px;
  padding: 20px;
  transition: transform 0.3s ease-in-out;
}

.ggg:hover {
  transform: scale(1.05); /* zoom on hover */
}
.pink-white-gradient {
    background: linear-gradient(270deg, #ffc0cb, #ffffff);
    background-size: 400% 400%;
    animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.decor-image {
    max-width: 80%;
    align-items: center;
    align-content: center;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    width: 100%;
    overflow-x: hidden;
}

.decor-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* From Uiverse.io by SteveBloX */ 
.tonfMED {
  width: 150px;
  height: 60px;
  border: 3px solid #315cfd;
  border-radius: 45px;
  transition: all 0.3s;
  cursor: pointer;
  background: white;
  font-size: 1.2em;
  font-weight: 550;
}

.ton:hover {
  background: #315cfd;
  color: white;
  font-size: 1.5em;
}
.d1{
    display: block;
  }
@media (max-width: 767.98px) {
  .d1{
    display: none;
  }
}