/*
 Theme Name:   Musani
 Description:  Custom styling for Men, Women, and Bride fashion sections.
 Author:       Your Name
 Template:     twentytwentyfive
 Version:      1.0.0
*/

/* Add your custom fashion CSS below */

.h-full{
    height: 100%;
}
.cerimonia-images .wp-block-image.size-full.h-full img{
    height: 100% !important;
    object-fit: cover;
    object-position: top;
    max-height: 780px;
}
.relative{
    position: relative;
}
.overflow-hidden{
    overflow: hidden;
}
.flex-grow-1{
    flex-grow: 1;
}
.mt-auto{
    margin-top: auto;
}
.justify-text{
    text-align: justify !important;
}
.image-full img{
    width:100%;
}
.wp-block-image.size-full img {
    width: 100%;
    
}
.max-height-400 img{
    max-height: 400px;
}

.wp-block-buttons .wp-block-button {
    outline: none !important;
}


/* Header CSS */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.1s ease-in-out;
    z-index: 9;
    background-color: #FFFDF7;
}
.home .site-header{
    background-color: transparent;
}
.site-header.scrolled {
    position: fixed;
    background: #FFFDF7; /* Change to your brand color */
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
}
.has-dropdown .dropdown-container{
    display: none;
}
.has-dropdown:hover .dropdown-container{
    display: flex;
}
.home .site-header .desktop-header a {
    color: #FFFFFF !important;
}
.home .site-header .desktop-header .dropdown-container a{
    color: #04134C !important;
}
.home .site-header .desktop-header .blue-logo {
    display: none;
}
.home .site-header .desktop-header .white-logo{
    display: block;
}
.home .site-header .desktop-header #header-language-switcher span {
    color: #FFF !important;
}
.home .site-header .desktop-header #header-language-switcher .wp-block-navigation-item:not(:first-child)::after{
    color: #FFFFFF !important;
    font-size: 12px;
}
.home .site-header .desktop-header #header-language-switcher a:focus, 
.home .site-header .desktop-header #header-language-switcher a:hover, 
.home .site-header .desktop-header #header-language-switcher a span:focus, 
.home .site-header .desktop-header #header-language-switcher a span:hover{
    color: #FFFFFF !important;
}

.home .site-header.scrolled .desktop-header #header-language-switcher a:focus,
.home .site-header.scrolled .desktop-header #header-language-switcher a:hover,
.home .site-header.scrolled .desktop-header #header-language-switcher a span:focus,
.home .site-header.scrolled .desktop-header #header-language-switcher a span:hover,
.home .site-header.scrolled .desktop-header #header-language-switcher .wp-block-navigation-item:not(:first-child)::after,
.home .site-header.scrolled .desktop-header #header-language-switcher span,
.home .site-header.scrolled .desktop-header a{
    color: #04134C !important;
}
.home .site-header.scrolled .desktop-header .blue-logo {
    display: block;
}
.home .site-header.scrolled .desktop-header .white-logo{
    display: none;
}
h4.wp-block-heading a {
    color: var(--04134C, #04134C);
    font-family: Gloock;
    font-size: var(--Text-Sizes-Heading-4, 32px);
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}
.dropdown-container {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 99;
    top: 100%;
    background-color: #FFFDF7;
    padding: 0 3%;
    box-shadow: 0 6px 10px -5px rgba(0,0,0,0.1);
}



a,button{
    outline:none !important;
}
.w-full{
    width:100%;
}
.wp-block-image.size-full {
    width: 100%;
    line-height: 1;
}
.wp-block-image.size-full a {
    display: block;
}
.white-logo{
    display: none;
}
header .wpml-language-switcher-block {
    width: fit-content !important;
}
#header-language-switcher a:focus, #header-language-switcher a:hover, #header-language-switcher a span:focus, #header-language-switcher a span:hover {
    color: #04134C !important;
}
li[data-wpml="current-language-item"] span.wp-block-navigation-item__label {
    text-decoration: underline !important;
    text-underline-offset: 4px; /* Optional: adds a nice gap between text and line */
    text-decoration-thickness: 2px; /* Optional: makes the line bolder */
    outline:none;
}
header .wpml-language-switcher-block ul.horizontal-list {
    gap: 0px !important;
    justify-content: flex-end;
    align-items: start;
    display: flex;
    flex-direction: row-reverse;
}
header .wpml-language-switcher-block ul.horizontal-list li{
    margin:0 !important;
}
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:first-child)::after {
    content: "/";
    color: #04134C;
}
.mobile-header {
    display: none;
    margin-top: 0;
    width: 100%;
}
.mt-0{
    margin-top: 0 !important;
}
.full-height{
    height: 100vh;
}
.hide-on-desktop{
    display: none !important;
}


/* Mobile Menu CSS */
#MobileMenuDropdown {
    position: fixed;
    top: 0;
    background-color: #FFFDF7;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    left: 0;
    margin-top: 0;
    padding: 0px 0px 75px 0px !important;
    display: none;
}
#MobileMenuDropdown.active{
    display: block;
}
.mobile-header .wpml-language-switcher-block ul.horizontal-list li span{
    font-size: 20px;
    font-weight: 600;
}
.mobile-header .wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child)::after {
    content: "/";
    color: #04134C;
    font-size: 18px;
    font-weight: 600;
}
.mobile-header-bottom {
    position: absolute;
    bottom: 50px;
    width: 100%;
    padding: 20px 3%;
}
.mobile-submenu-container {
    position: fixed;
    top: 0;
    background-color: #FFFDF7;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    left: 0;
    margin-top: 0;
    z-index: 9;
    display: none;
}
body .mx-0{
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.mobile-submenu-container.active{
    flex-direction: column;
    display: flex;
    min-height: 100vh;
}
.mobile-submenu-container .size-full img {
    width: 100%;
}


/* Footer CSS */
footer.wp-block-template-part {
    margin-top: 0;
}
.newsletter-footerform {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
.newsletter-footerform form {
    display: flex;
    gap: 10px;
}
.newsletter-footerform .wpforms-submit-container {
    margin-top: 0px !important;
}
.newsletter-footerform .newsletter-field {
    margin: 0 !important;
    padding: 0 !important;
}
.newsletter-footerform .newsletter-field input{
    width: 388px !important;
    outline:none !important;
}
.newsletter-footerform .wpforms-submit {
    text-transform: uppercase;
    font-family: 'Plus Jakarta Sans' !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.72px;
    outline: none !important;
    padding: 14px 20px !important;
    border-radius: 0 !important;
    height: 43px !important;
    width: 116px;
}
.newsletter-footerform .wpforms-submit:hover, 
.newsletter-footerform .wpforms-submit:focus
 {
    outline: none !important;
    border: none !important;
}
.newsletter-footerform .wpforms-submit:after, 
.newsletter-footerform .wpforms-submit:before{
    display: none;
}
.footer-social-links svg {
    width: 24px !important;
    height: 24px !important;
}
.footer-social-links span.wp-block-social-link-label {
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.5;
    font-family: 'Plus Jakarta Sans';
}
.footer-social-links {
    gap: 10px;
    flex-wrap: wrap;
}
.justify-center{
    justify-content: center;
}
.footer-social-links li.wp-social-link {
    display: block;
    width: 100%;
}
.footer-social-links .wp-social-link span:not(.screen-reader-text){
    margin-right: 0 !important;
}
.footer-social-links .wp-block-social-link.wp-social-link{
    transform: scale(1);
}
.mobile-menu-dropdown:after {
    content: '';
    display: inline-block;
    margin-left: 8px;
    width: 10px;
    height: 10px;
    border-right: 2.5px solid #E8572A;
    border-bottom: 2.5px solid #E8572A;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    vertical-align: middle;
    position: relative;
    top: -3px;
}
/* Submenu base state */
.mobile-menu-dropdown-submenu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
}

/* Chevron flip when open */
.mobile-menu-dropdown-container.open .mobile-menu-dropdown:after {
    transform: rotate(-135deg);
    top: 2px;
}
.mobile-banner-container{
    position: relative;
    max-height: calc(50vh - 68px);
    overflow: hidden;
}
.content-over-image-banner {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}

/* ── DESKTOP: Marquee ── */
.ticker-marquee {
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center; 
}
.ticker-marquee .ticker-item figure.wp-block-image {
    line-height: 0;
}
.ticker-marquee-inner {
    display: flex;
    width: max-content;
    align-items: center;
    animation: marquee-scroll 22s linear infinite;
}

.ticker-marquee-inner:hover {
    animation-play-state: paused;
}

.ticker-marquee .ticker-item {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-width: fit-content;
}

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* HomePage CSS */
.cerimonia-swiper-pagination {
    display: flex;
    position: relative;
    text-align: center;
    justify-content: center;
    width: fit-content !important;
    margin: 0 auto !important;
    left: 0 !important;
    right: 0 !important;
    gap: 8px;
    align-items: center;
    bottom: -10px !important;
}
.cerimonia-swiper-pagination span.swiper-pagination-bullet {
    width: 50px;
    border-radius: 0;
    height: 2px;
    background-color: #04134C;
    background: #04134C;
    border-color: #04134C;
    opacity: 1;
}
.cerimonia-swiper-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active{
    background-color: #CB553D;
    height: 6px;
}

.extend-text-content {
    display: none;
  }

  .extend-text-content.is-open {
    display: block;
  }

  .extend-text-content > div {
    min-height: 0;
  }
  

    /* Post loop Slider */
    .post-card {
        display: flex;
        flex-direction: column;
        background: transparent;
    }

    .post-image-wrapper {
        aspect-ratio: 1/1;
        overflow: hidden;
        margin-bottom: 25px;
    }

    .post-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .post-card:hover img {
        transform: scale(1.05);
    }
    .post-content {
        padding-left: 25px;
    }
    /* Typography */
    .post-category {
        display: block;
        font-size: 12px;
        letter-spacing: 0.72px;
        color: #04134C;
        margin-bottom: 8px;
        font-weight: 500;
        text-transform: uppercase;
        line-height: 1;
    }

    .post-title {
        margin: 8px 0;
        padding: 24px 0px;
        border-top: 1px solid rgba(175, 164, 148, 0.50);
        border-bottom: 1px solid rgba(175, 164, 148, 0.50);
        font-weight: 400;
        font-family: 'Gloock';
    }

    .post-excerpt {
        font-size: 12px;
        line-height: 1;
        color: #827561;
        margin-bottom: 24px;
        letter-spacing: 0.72px;
        font-weight: 300;
    }
    /* Vertical scroll slider */
    .sticky-image-container {
        position: sticky;
        top: 10vh; /* Adjust how far from the top the image sits */
        height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .changing-image img {
        transition: opacity 0.4s ease-in-out; /* Smooth fade effect */
        width: 100%;
        height: auto;
        object-fit: cover;
    }


    /* Page COLLEZIONE DONNA */
    .image-scale-grid .wp-block-cover{
        overflow: hidden;
    }
    .image-scale-grid .wp-block-cover img{
        transition: transform 0.4s ease-in-out;
    }
    .image-scale-grid .wp-block-cover:hover img {
        transform: scale(1.1);
    }

    /* Lookbook page */
    .hover-image-change{
        position: relative;
    }
    .on-hover {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        pointer-events: none; /* Prevents clicking when invisible */
        transition: opacity 0.4s ease;
        width: 100%;
    }
    .hover-image-change:hover .on-hover {
        opacity: 1;
        pointer-events: auto;
    }

    .lookbook-slider-part{
        position: relative;
    }
    .lookbook-card .wp-block-image img {
        width: 100% !important;
    }
    .lookbook-swiper-pagination {
        text-align: center;
        gap: 10px;
        display: flex;
        width: fit-content !important;
        position: absolute;
        top: unset !important;
        bottom: -40px !important;
        left: 0;
        right: 0;
        align-items: center;
    }
    .lookbook-swiper-pagination span.swiper-pagination-bullet {
        width: 50px;
        height: 2px;
        background-color: #04134C;
        border-radius: 0;
        z-index: 9;
        opacity: 1;
    }
    .lookbook-swiper-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active {
        background-color: #CB553D;
        height: 6px;
        border: none;
    }

    body .bulletcolor-827561 span.swiper-pagination-bullet.swiper-pagination-bullet-active{
        background-color: #827561 !important;
    }

    /* Chi Siamo CSS */
    .timeline-nav .swiper-wrapper {
        transform: none !important;
        display: flex !important;
        transition-property: none !important;
    }
    .timeline-nav .swiper-wrapper .swiper-slide {
        width: calc(100% / 5.5);
    }
    .timeline-nav .swiper-slide {
        opacity: 0.5;
        transition: opacity 0.4s ease;
    }
    .timeline-nav .swiper-slide.swiper-slide-active {
        opacity: 1;
    }
    
    .timeline-nav .swiper-slide .active-img {
        display: none;
    }
    .timeline-nav .swiper-slide .inactive-img {
        display: block;
    }
    .timeline-nav .swiper-slide.swiper-slide-active .active-img{
        display: block;
    }
    .timeline-nav .swiper-slide.swiper-slide-active .inactive-img{
        display: none;
    }
    .swiper-timeline-button-prev:after {
        content: "";
        background-image: url(https://musani.addlab.net/wp-content/uploads/2026/04/long_Arrow.svg);
        background-repeat: no-repeat;
        width: 62px;
        height: 8px;
        display: block;
        transform: rotate(180deg);
    }
    .swiper-timeline-button-next:after {
        content: "";
        background-image: url(https://musani.addlab.net/wp-content/uploads/2026/04/long_Arrow.svg);
        background-repeat: no-repeat;
        width: 62px;
        height: 10px;
        display: block;
    }
    .swiper-timeline-button-prev, .swiper-timeline-button-next {
        position: absolute;
        right: 0;
        z-index: 999;
        top: 60%;
        width: 62px;
        outline: none;
    }
    .swiper-button-disabled {
        display: none;
    }
    .swiper-timeline-button-prev {
        right: 75px;
    }
    .on-click-show-about{
        cursor: pointer;
    }
    .item-to-show{
        display: none;
    }
    .item-to-show.show{
        display: block;
    }

    /* Contact Page CSS */
    .contact-page-form .wpforms-submit-container .wpforms-submit {
        width: 100% !important;
    }
    .min-h-490{
        min-height: 490px;
    }

    /* accordion css */
    span.wp-block-accordion-heading__toggle-icon {
        font-size: 0;
        display: block;
        height: 15px;
        /* width: 15px; */
    }
    span.wp-block-accordion-heading__toggle-icon:after {
        content: '';
        background-image: url(https://musani.addlab.net/wp-content/uploads/2026/05/Vector.png);
        width: 15px;
        height: 15px;
        display: block;
        position: relative;
        z-index: 9;
        background-size: auto;
        background-repeat: no-repeat;
        vertical-align: middle;
    }
    .wp-block-accordion-item.is-open>.wp-block-accordion-heading .wp-block-accordion-heading__toggle-icon{
        transform: rotate(90deg) !important;
    }
    
    /* ---- Scroll Section ---- */
    .scroll-section-wrapper {
    position: relative;
    height: 400vh; /* 4 panels × 100vh */
    }

    .scroll-sticky-container {
    position: sticky;
    top: 94px;
    height: calc(100vh - 94px);
    overflow: hidden;
    }

    /* Background images */
    .scroll-bg-images {
    position: absolute;
    inset: 0;
    z-index: 0;
    }

    .scroll-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: top center;
    opacity: 0;
    transition: opacity 0.6s ease;
    }
    .scroll-bg:after {
        content: '';
        width: 100%;
        display: block;
        background-color: #00000059;
        position: absolute;
        height: 100%;
    }

    .scroll-bg.active {
    opacity: 1;
    }

    /* Dark overlay for readability */
    .scroll-sticky-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
    }

    /* Text columns */
    .scroll-columns {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 60px 3%;
    gap: 20px;
    }

    .scroll-col {
        flex: 1;
        color: #FFFDF7;
        opacity: 0.3;
        transition: opacity 0.6s ease, transform 0.6s ease;
        text-align: center;
    }

    .scroll-col.active {
        opacity: 1;
        transform: scale(1.1);
    }

    .scroll-col h3 {
        font-size: 28px;
        margin: 0;
        margin-bottom: 23px;
        color: #FFFDF7;
    }

    .scroll-col p {
        font-size: 18px;
        color: #FFFDF7;
        margin: 0;
    }
    .whatsapp-image-floater {
        position: fixed;
        bottom: 10%;
        right: 40px;
        width: 50px !important;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 9999px;
        background-color: #ffffff9c;
        z-index: 9;
    }

    .dd-column{
        position: relative;
    }

    /* hover headr css */
    .default-item-hover {
        opacity: 1;
        transition: opacity 0.4s ease;
    }
    .inner-dropdown-img img,.default-item-hover img {
        aspect-ratio: 1 / 1;
        object-fit: cover;
        object-position: center;
    }
    /* Hide the default image when this class is added */
    .default-item-hover.is-hidden {
        opacity: 0;
        visibility: hidden;
    }

    /* Specific images are hidden by default */
    .inner-dropdown-img {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
        margin: 32px 0px;
    }

    /* Specific image becomes visible */
    .left-hover-img.is-visible,
    .right-hover-img.is-visible {
        opacity: 1;
    }