/**
 * AlloDentiste Team Widget Styles
 * 
 * Carousel-based team member display with professional styling
 */

/* ==========================================================================
   Team Widget Container
   ========================================================================== */

.allo-team-widget {
    background-color: #F5F5F5;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.allo-team-widget .team-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px var(--allo-gutter);
    width: 100%;
}

/* ==========================================================================
   Team Header
   ========================================================================== */

.allo-team-widget .team-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.allo-team-widget .team-header-text {
    flex: 1;
}

.allo-team-widget .team-top-text {
    font-size: 16px;
    font-style: italic;
    color: #666666;
    margin-bottom: 8px;
}

.allo-team-widget .team-heading {
    font-size: 48px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.2;
}

/* ==========================================================================
   Navigation Buttons
   ========================================================================== */

.allo-team-widget .team-navigation {
    display: flex;
    gap: 12px;
}

.allo-team-widget .team-nav-button {
    width: 48px;
    height: 48px;
    background-color: #00A1AD;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #FFFFFF;
}

.allo-team-widget .team-nav-button:hover {
    background-color: #008A94;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 161, 173, 0.3);
}

.allo-team-widget .team-nav-button:active {
    transform: translateY(0);
}

.allo-team-widget .team-nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.allo-team-widget .team-nav-button svg {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   Team Carousel
   ========================================================================== */

.allo-team-widget .team-carousel {
    position: relative;
    overflow: hidden;
}

.allo-team-widget .team-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* ==========================================================================
   Team Member Card
   ========================================================================== */

.allo-team-widget .team-member-card {
    display: flex;
    gap: 0;
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
    background-color: #D4F1F4;
    border-radius: 12px;
    overflow: hidden;
}

.allo-team-widget .team-member-image {
    flex: 0 0 42%;
    position: relative;
    overflow: hidden;
    border-radius: 12px 0 0 12px;
    min-height: 500px;
}

.allo-team-widget .team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.allo-team-widget .team-member-content {
    flex: 0 0 58%;
    background-color: #D4F1F4;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 12px 12px 0;
    min-height: 500px;
}

/* ==========================================================================
   Member Information
   ========================================================================== */

.allo-team-widget .member-name {
    font-size: 32px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.allo-team-widget .member-bio {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 24px 0;
}

/* ==========================================================================
   Credentials List
   ========================================================================== */

.allo-team-widget .member-credentials {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.allo-team-widget .member-credentials li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #666666;
}

.allo-team-widget .member-credentials li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: #00A1AD;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

/* ==========================================================================
   Learn More Button
   ========================================================================== */

.allo-team-widget .member-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px 5px 4px 10px;
    background-color: #00A1AD;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.allo-team-widget .member-button::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    background-color: #FFFFFF;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 11L11 5M11 5H5M11 5V11' stroke='%2300A1AD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.allo-team-widget .member-button:hover {
    background-color: #008A94;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 161, 173, 0.3);
}

.allo-team-widget .member-button:active {
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .allo-team-widget .team-heading {
        font-size: 40px;
    }

    .allo-team-widget .member-name {
        font-size: 28px;
    }

    .allo-team-widget .team-member-content {
        padding: 40px 50px;
    }
}

/* Tablet (Small) and Large Mobile */
@media screen and (max-width: 768px) {
    .allo-team-widget .team-container {
        padding: 40px var(--allo-gutter);
    }

    .allo-team-widget .team-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }

    .allo-team-widget .team-heading {
        font-size: 36px;
    }

    .allo-team-widget .team-member-card {
        flex-direction: column;
    }

    .allo-team-widget .team-member-image {
        flex: 0 0 auto;
        height: 350px;
        border-radius: 12px 12px 0 0;
    }

    .allo-team-widget .team-member-content {
        flex: 0 0 auto;
        padding: 40px 30px;
        border-radius: 0 0 12px 12px;
    }

    .allo-team-widget .member-name {
        font-size: 26px;
    }

    .allo-team-widget .member-bio {
        font-size: 15px;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    .allo-team-widget .team-container {
        padding: 30px var(--allo-gutter);
    }

    .allo-team-widget .team-heading {
        font-size: 28px;
    }

    .allo-team-widget .team-top-text {
        font-size: 14px;
    }

    .allo-team-widget .team-nav-button {
        width: 48px;
        height: 48px;
    }

    .allo-team-widget .team-member-image {
        height: 280px;
    }

    .allo-team-widget .team-member-content {
        padding: 30px 20px;
    }

    .allo-team-widget .member-name {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .allo-team-widget .member-bio {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .allo-team-widget .member-credentials li {
        font-size: 14px;
        padding-left: 32px;
    }

    .allo-team-widget .member-button {
        width: 100%;
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.allo-team-widget .team-nav-button:focus,
.allo-team-widget .member-button:focus {
    outline: 2px solid #00A1AD;
    outline-offset: 3px;
}

.allo-team-widget .team-nav-button:focus:not(:focus-visible),
.allo-team-widget .member-button:focus:not(:focus-visible) {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .allo-team-widget .team-carousel-track,
    .allo-team-widget .team-nav-button,
    .allo-team-widget .member-button {
        transition: none;
    }
}
