/*
Theme Name: twentytwentyfour Child
Template: twentytwentyfour
*/
body{
    margin-top: 206px;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    transition: transform 0.6s ease;
    z-index: 999;
}
header > .has-base-background-color {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(8px);
}
header.hidden {
    transform: translateY(-100%);
}
.has-modal-open header{
    height: 100vh;
    overflow: hidden;
}
main {
    overflow: hidden;
}
.wp-block-quote.is-large:where(:not(.is-style-plain)) p, .wp-block-quote.is-style-large:where(:not(.is-style-plain)) p {
    font-size: 1.3em !important;
}
.wp-block-quote.is-large:where(:not(.is-style-plain)) cite, .wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite {
    font-size: 1.1em !important;
}
.wp-block-navigation li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #38761d, #6aa84f, #93c47d);
    transition: width 0.4s ease;
    border-radius: 2px;
}
.wp-block-navigation li:hover::before {
    width: 100%;
}
.wp-block-navigation li a {
    transition: all 0.2s ease-in-out;
}
.wp-block-navigation li:hover a {
    text-decoration: none;
    color: #93c47d !important;
    filter: blur(0.7px);
    transform: translateY(1px);
}
.wp-block-button__width-50{
    transition: all 0.2s ease-in-out;
}
.wp-block-button__width-50:hover {
    background: #93c47d !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    filter: blur(0.6px);
}
.ombre-item{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    padding: 25px;
    border-radius: 25px;
}
/* bubble */
 /* .bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.9), 0 0 60px rgba(255, 255, 255, 0.6);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
} */
/* clamp */
.clamp-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8; 
  overflow: hidden;
  transition: all 1.5s ease;
  max-height: 400px; 
  position: relative;
}

.clamp-text.expanded {
  -webkit-line-clamp: unset;
  max-height: 1600px !important; 
}

.toggle-btn {
    margin-top: 6px;
    border: none;
    background: #eee;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    font-size: 18px;
    display: inline-block;
    position: absolute;
    bottom: 80px;
    right: 50px;
    transition: all 0.3s ease;
}
.toggle-btn:hover {
    background: #93c47d;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
/* scroll */
 .scroll-to-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: #93c47d;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #c2a990;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    transition: transform 0.2s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

/* contact form 7 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 16px;
    width: 100%;
    transition: border-color 0.3s ease;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    border-color: #93c47d;
    outline: none;
    box-shadow: 0 0 5px rgba(147, 196, 125, 0.5);
}
.wpcf7-form input[type="submit"] {
    background-color: #93c47d;
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 12px 25px;
    font-size: 16px;
    width: 50%;
    cursor: pointer;
    transition: all 0.5s ease;
    margin: 15px 0 25px 0;
}
.wpcf7-form input[type="submit"]:hover {
    background-color: #6aa84f;
    margin: 13px 0 27px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
/********FX***************************/
.letter {
    display: inline-block;
    opacity: 0;
    position: relative;
}

.letter.space {
    width: 0.3em;
}

@keyframes fall {
    0% {
        transform: translateY(-100vh) rotate(2deg) scale(1);
        /* filter: brightness(0.6); */
        filter: blur(5px);
        opacity: 0;
    }
    50% {
        opacity: 0.3;
        transform: scale(1.2) rotate(-2deg);
        /* filter: brightness(0.7); */
        filter: blur(3px);
    }
    80% {
        opacity: 0.5;
        transform: scale(1.1) rotate(1deg);
        /* filter: brightness(0.8); */
            filter: blur(1px);
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        /* filter: brightness(1); */
        filter: blur(0);
        opacity: 1;
    }
}

.letter.falling {
    animation: fall 3s cubic-bezier(0.34, 1.4, 0.8, 1) forwards;
}

.ripple-container {
    position: absolute;
}

.ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1.5px solid #c2a990;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: ripple-animation 8s infinite ease-out;
}

@keyframes ripple-animation {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
        filter: blur(15px);
    }
    30% {   
        width: var(--max-width);
        height: var(--max-width);
        opacity: 0.7;
        filter: blur(2px);
    }
    60% {
        width: calc(var(--max-width) * 1.3);
        height: calc(var(--max-width) * 1.3);
        opacity: 0.4;
        filter: blur(8px);
    }
    100% {
        width: calc(var(--max-width) * 1.5);
        height: calc(var(--max-width) * 1.5);
        opacity: 0;
        filter: blur(0px);
    }
}


@media (max-width: 781px) {
    /* .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    } */
    .mobile-hide {
        display: none !important;   
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        justify-items: center;
        text-align: center;
    }
    footer .wp-block-group {
        align-items: center;
    }
    footer p {
        text-align: center !important;
    }
}