@use '../../../styles/variables' as *;
@use '../../../styles/mixins' as *;

.awt-socials {
    position: relative;
    width: 100%;
    padding-top: var(--awt-socials-pt, 6rem);
    padding-bottom: var(--awt-socials-pb, 6rem);
    box-sizing: border-box;

    *,
    *::before,
    *::after {
        box-sizing: inherit;
    }

    &__curve {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        line-height: 0;
        pointer-events: none;
        z-index: 1;

        svg {
            width: 100%;
            height: auto;
            display: block;
        }
    }

    &__container {
        @include awt-container;
        position: relative;
        z-index: 2;
        text-align: center;
    }

    &__title {
        line-height: 1.2;
    }

    &__description {
        max-width: 32rem;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
    }

    &__list {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }

    // --- FUN VARIANT STYLES ---
    &--fun {
        background-color: var(--awt-socials-bg, rgba(255, 209, 102, 0.2));

        .awt-socials__title {
            font-family: $awt-font-sans;
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: 900;
            color: var(--awt-socials-heading, $awt-color-navy);
            margin-bottom: 1rem;
        }

        .awt-socials__description {
            font-size: 1.25rem;
            color: var(--awt-socials-text, rgba(38, 70, 83, 0.8));
            margin-bottom: 2.5rem;
        }
    }

    // --- ELEGANT VARIANT STYLES ---
    &--elegant {
        background-color: var(--awt-socials-bg, #f8fafc);
        border-top: 1px solid #f1f5f9;

        .awt-socials__title {
            font-family: $awt-font-serif;
            font-size: clamp(1.875rem, 4vw, 2.75rem);
            font-weight: 700;
            color: var(--awt-socials-heading, #1e293b);
            margin-bottom: 1.5rem;
        }

        .awt-socials__description {
            font-size: 1.125rem;
            font-weight: 300;
            color: var(--awt-socials-text, #64748b);
            margin-bottom: 2.5rem;
        }
    }
}
