/**
 * Coffeebrk Animation - Core Styles
 *
 * @package Coffeebrk\Animation
 */

.coffeebrk-animated-hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.coffeebrk-center-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 80%;
}

.coffeebrk-decor {
    position: absolute;
    pointer-events: none;
}

.coffeebrk-decor.decor-left {
    top: 0;
    left: 0;
    width: 15%;
    height: 100%;
}

.coffeebrk-decor.decor-right {
    top: 0;
    right: 0;
    width: 15%;
    height: 100%;
}

.coffeebrk-decor.decor-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 15%;
}

.coffeebrk-decor.decor-bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15%;
}

.coffeebrk-decor-item {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform;
}

.coffeebrk-decor-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.decor-left .coffeebrk-decor-item {
    left: 50%;
}

.decor-right .coffeebrk-decor-item {
    right: 50%;
    transform-origin: center center;
}

.decor-top .coffeebrk-decor-item {
    top: 50%;
}

.decor-bottom .coffeebrk-decor-item {
    bottom: 50%;
    transform-origin: center center;
}

.coffeebrk-editor-placeholder {
    padding: 40px;
    text-align: center;
    background: rgba(0, 0, 0, 0.02);
    border: 2px dashed rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    color: #666;
    font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
    .coffeebrk-decor-item {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 767px) {
    .coffeebrk-decor.decor-left,
    .coffeebrk-decor.decor-right {
        width: 10%;
    }

    .coffeebrk-decor.decor-top,
    .coffeebrk-decor.decor-bottom {
        height: 10%;
    }

    .coffeebrk-center-content {
        max-width: 90%;
    }
}
