/**
 * Omnichannel Block - Awwwards Level Redesign
 * Seamless split layout with floating elements, glowing pills, and interactive hover states
 */

/* === MAIN CONTAINER === */
.omnichannel-block {
    position: relative !important;
    padding: 10rem 0 !important;
    overflow: hidden !important;
    background: #1A1A2E !important;
    color: #FAFAFA !important;
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
}

/* Background gradient orb */
.omnichannel-block::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.omnichannel-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 3rem !important;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 992px) {
    .omnichannel-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 8rem;
    }

    /* Reordering Logic */
    .omnichannel-container.image-left .omni-content {
        order: 2;
    }

    .omnichannel-container.image-left .omni-image-wrapper {
        order: 1;
    }
}

/* === CONTENT STYLES === */
.omni-content {
    position: relative;
}

/* Glowing Pill */
.omni-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(236, 72, 153, 0.1);
    color: #EC4899;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.1);
    transition: all 0.3s ease;
}

.omni-pill:hover {
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.2);
    transform: translateY(-2px);
}

.omni-pill-dot {
    width: 6px;
    height: 6px;
    background-color: #EC4899;
    border-radius: 50%;
    box-shadow: 0 0 10px #EC4899;
}

.omni-headline {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    margin-bottom: 2rem;
    color: #000000 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.04em !important;
}

.omni-description {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.125rem !important;
     color: #000000 !important;
    line-height: 1.7 !important;
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Primary Button */
.omni-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem !important;
    background: white;
    color: #1A1A2E !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.omni-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    background: #FAFAFA;
}

/* === IMAGE STYLES === */
.omni-image-wrapper {
    position: relative;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1e293b;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.omni-image-wrapper:hover {
    transform: perspective(1000px) rotateY(2deg);
}

.omni-img,
.omni-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.omni-image-wrapper:hover .omni-img {
    opacity: 1;
}

.omni-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: #1e293b;
}

/* Floating Badge */
.omni-image-badge {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.omni-image-badge::before {
    content: '★';
    color: #FBBF24;
    font-size: 1.1rem;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .omni-description {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .omnichannel-block {
        padding: 6rem 0;
    }

    .omnichannel-container {
        gap: 2rem;
        padding: 0 1.5rem !important;
    }

    .omni-headline {
        text-align: left !important;
        font-size: 2.5rem !important;
    }

    .omni-cta {
        width: 100%;
        min-width: unset !important;
        padding: 1rem;
    }

    .omni-image-wrapper {
        border-radius: 1.5rem;
    }

    .omni-image-badge {
        bottom: 1.5rem;
        left: 1.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.85rem !important;
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {

    .omni-cta,
    .omni-image-wrapper,
    .omni-pill {
        transition: none !important;
        transform: none !important;
    }
}

/* === PRINT === */
@media print {
    .omnichannel-block {
        background: white;
        color: black;
    }

    .omnichannel-block::before {
        display: none;
    }

    .omni-headline,
    .omni-description {
        color: black !important;
    }

    .omni-image-wrapper {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .omni-image-badge {
        border: 1px solid black;
        color: black;
        background: white;
    }
}