/**
 * CC Full Banner - Front Office Styles
 * Full-width promotional banner with text overlay and CTA button
 */

/* Main banner container - Full width */
.cc-fullbanner {
    position: relative;
    width: 100vw;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 60px 40px;
    margin: 30px 0;
    background-color: #1F1C3D;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Overlay for better text readability */
.cc-fullbanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

.cc-fullbanner--has-image .cc-fullbanner-overlay {
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.3) 40%,
            rgba(0, 0, 0, 0.55) 100%);
}

/* Content container */
.cc-fullbanner-content {
    position: relative;
    z-index: 1;
    text-align: right;
    max-width: 600px;
    padding-right: 5%;
}

/* Subheading */
.cc-fullbanner-subheading {
    margin: 0 0 10px 0;
    display: block;
}

.cc-fullbanner-subheading-text {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

/* Main heading */
.cc-fullbanner-heading {
    margin: 0 0 25px 0;
}

.cc-fullbanner-heading-text {
    display: inline-block;
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Button container */
.cc-fullbanner-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* CTA Button */
.cc-fullbanner-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    background: var(--btn-color, #ff6b35);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-transform: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.cc-fullbanner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    text-decoration: none;
    background: color-mix(in srgb, var(--btn-color, #ff6b35) 85%, white);
    filter: brightness(1.1);
}

.cc-fullbanner-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

/* Fix for specific theme containers */
@media (min-width: 1024px) and (max-width: 1661px) {
    .cc-fullbanner {
        margin-left: -45px;
        margin-right: -45px;
        width: calc(100vw + 90px);
    }
}

/* Tablet adjustments */
@media (max-width: 991px) {
    .cc-fullbanner {
        min-height: 300px;
        padding: 50px 30px;
    }

    .cc-fullbanner-content {
        max-width: 500px;
        padding-right: 3%;
    }

    .cc-fullbanner-heading-text {
        font-size: 38px;
    }

    .cc-fullbanner-subheading-text {
        font-size: 16px;
    }
}

/* Mobile adjustments - Center aligned */
@media (max-width: 767px) {
    .cc-fullbanner {
        min-height: 280px;
        padding: 40px 20px;
        justify-content: center;
    }

    .cc-fullbanner-overlay {
        background: rgba(0, 0, 0, 0.45);
    }

    .cc-fullbanner--has-image .cc-fullbanner-overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    .cc-fullbanner-content {
        text-align: center;
        max-width: 100%;
        padding-right: 0;
        padding: 0 15px;
    }

    .cc-fullbanner-subheading-text {
        font-size: 14px;
        letter-spacing: 1px;
        padding: 6px 12px;
    }

    .cc-fullbanner-heading-text {
        font-size: 28px;
    }

    .cc-fullbanner-buttons {
        justify-content: center;
    }

    .cc-fullbanner-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .cc-fullbanner {
        min-height: 250px;
        padding: 35px 15px;
        margin: 20px 0;
    }

    .cc-fullbanner-heading-text {
        font-size: 24px;
    }

    .cc-fullbanner-subheading-text {
        font-size: 12px;
    }

    .cc-fullbanner-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}