/**
 * Theme Name: Frostmora
 * Description: Frostmora
 * Author: Aurimas B
 * Template: blocksy
 * Text Domain: blocksy
 */

:root {
    --primary: #D82B56;
    --secondary: #4765AF;
    --light: #F5F7FA;
    --dark: #262C3A;
    --gray: #6C757D;
}

.btn-lift {
    transition: all 0.3s ease;
}

.btn-lift:hover {
    --btn-lift-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px color-mix(in srgb, var(--btn-lift-color) 30%, transparent);
}
.btn-lift.secondary {
    --btn-lift-color: var(--secondary);
}
.btn-lift.dark {
    --btn-lift-color: var(--dark);
}

.heading-border h1,
.heading-border h2,
.heading-border h3,
.heading-border h4,
.heading-border h5,
.heading-border h6 {
    position: relative;
}


.heading-border h1::after,
.heading-border h2::after,
.heading-border h3::after,
.heading-border h4::after,
.heading-border h5::after,
.heading-border h6::after {
    content: '';
    position: absolute;
    width: 50%;
    width: min(3em, 50%);
    height: 0.2em;
    background: var(--primary);
    left: 0;
    bottom: -15px;
}

.elementor-element.fm-circle-top-left,
.fm-circle-top-left {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0.6;
    top: -150px !important;
    left: -150px !important;
    animation: rotate 3s linear infinite;
}

.image-text-overlay {
    position: absolute !important;
    inset: 0;
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); */
    background: linear-gradient(to top, var(--theme-palette-color-5), rgba(0, 0, 0, 0.1));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.image-with-overlay {
    position: relative;
}
.image-with-overlay:hover .image-text-overlay {
    opacity: 1;
}


@media (max-width: 767px) {
    .white-bg-mobile {
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: contrast(0.6);
    }
    .color-primary-mobile .elementor-heading-title {
        color: var(--light);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}