/**
 * BrandCare Block - Frontend Styles
 * Matches VIPBC theme and BrandCare design
 */

.brandcare-block-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    overflow: hidden;
}

.brandcare-block-container {
    display: flex;
    flex-direction: row;
    min-height: 600px;
    width: 100%;
}

.brandcare-block-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.brandcare-block-left-image {
    margin-bottom: 2rem;
}

.brandcare-left-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.brandcare-block-top-heading {
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0.8;
}

.brandcare-block-main-heading {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: inherit;
    font-family: 'Roboto', sans-serif;
}

.brandcare-block-body-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.brandcare-block-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.brandcare-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: opacity 0.3s ease;
    border: 1px solid transparent;
    text-align: center;
    white-space: nowrap;
}

.brandcare-button:hover {
    opacity: 0.9;
    text-decoration: none;
}

.brandcare-button-primary {
    border: none;
}

.brandcare-button-secondary {
    background-color: transparent;
    border: 1px solid;
}

.brandcare-block-logo {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.brandcare-logo-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.brandcare-block-right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.brandcare-block-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    z-index: 1;
    border-radius: 8px 0 0 0;
    overflow: hidden;
}

.brandcare-block-pattern svg {
    width: 100%;
    height: 100%;
}

.brandcare-block-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.brandcare-right-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .brandcare-block-container {
        flex-direction: column;
        min-height: auto;
    }

    .brandcare-block-left {
        min-height: 400px;
    }

    .brandcare-block-right {
        min-height: 400px;
    }

    .brandcare-block-image {
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    .brandcare-block-left {
        padding: 2rem 1.5rem !important;
    }

    .brandcare-block-main-heading {
        font-size: 1.75rem;
    }

    .brandcare-block-image {
        padding: 0;
    }

    .brandcare-block-pattern {
        width: 50%;
        height: 50%;
    }
}

/* Wide and Full Width Support */
.brandcare-block-wrapper.alignwide,
.brandcare-block-wrapper.alignfull {
    max-width: 100%;
}

/* Ensure pattern doesn't overflow on mobile */
@media screen and (max-width: 576px) {
    .brandcare-block-wrapper {
        overflow: hidden;
    }
}

