/**
 * About Preview Widget Styles
 *
 * Professional dark theme design with tabs and decorative elements
 *
 * @package PWZ_Theme
 * @since 1.0.0
 */

/* ===================================
   Main Container
   =================================== */
.pwz-about-preview {
    padding: 60px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.pwz-ap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pwz-about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.pwz-about-layout-right .pwz-about-content {
    order: 1;
}

.pwz-about-layout-right .pwz-about-image-wrapper {
    order: 2;
}

/* ===================================
   Image Section with Decorative Shape
   =================================== */
.pwz-about-image-wrapper {
    position: relative;
    padding: 30px;
}

.pwz-about-image-decorative {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Blob Shape Background */
.pwz-blob-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 115%;
    height: 115%;
    z-index: 1;
    fill: #00FF88;
    opacity: 0.18;
    filter: blur(3px);
    animation: blobPulse 8s ease-in-out infinite;
}

@keyframes blobPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.18;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08) rotate(5deg);
        opacity: 0.22;
    }
}

/* Team Image */
.pwz-about-image {
    position: relative;
    z-index: 2;
    border-radius: 50%;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1;
    border: 5px solid #00FF88;
    box-shadow:
        0 0 50px rgba(0, 255, 136, 0.4),
        0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(0, 255, 136, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pwz-about-image:hover {
    border-color: #00CC6A;
    box-shadow:
        0 0 60px rgba(0, 255, 136, 0.5),
        0 25px 70px rgba(0, 0, 0, 0.7),
        inset 0 0 40px rgba(0, 255, 136, 0.15);
    transform: scale(1.02);
}

.pwz-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.pwz-about-image:hover img {
    transform: scale(1.05);
}

/* Decorative Dots */
.pwz-decorative-dots {
    position: absolute;
    width: 70px;
    height: 70px;
    background-image: radial-gradient(circle, #00FF88 2.5px, transparent 2.5px);
    background-size: 14px 14px;
    opacity: 0.5;
    z-index: 0;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.3));
}

.pwz-dots-1 {
    top: 10px;
    right: 10px;
    animation: float 6s ease-in-out infinite;
}

.pwz-dots-2 {
    bottom: 30px;
    left: 10px;
    animation: float 6s ease-in-out infinite 3s;
}

/* Decorative Squares */
.pwz-decorative-square {
    position: absolute;
    width: 45px;
    height: 45px;
    border: 3px solid #00FF88;
    opacity: 0.4;
    z-index: 0;
    animation: rotate 12s linear infinite;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.pwz-square-1 {
    top: 50px;
    left: 30px;
}

.pwz-square-2 {
    bottom: 50px;
    right: 30px;
    animation-direction: reverse;
    animation-duration: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-25px) rotate(5deg);
        opacity: 0.7;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* ===================================
   Content Section
   =================================== */
.pwz-about-content {
    padding: 20px 0;
}

/* Badge */
.pwz-about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 136, 0.12);
    border: 1px solid rgba(0, 255, 136, 0.35);
    border-radius: 25px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #00FF88;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 255, 136, 0.15);
}

.pwz-about-badge:hover {
    background: rgba(0, 255, 136, 0.18);
    border-color: #00FF88;
    box-shadow:
        0 4px 20px rgba(0, 255, 136, 0.25),
        0 0 30px rgba(0, 255, 136, 0.15);
    transform: translateY(-2px);
}

.pwz-badge-icon {
    width: 14px;
    height: 14px;
    color: #00FF88;
    filter: drop-shadow(0 0 4px rgba(0, 255, 136, 0.5));
}

/* Title */
.pwz-about-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.8px;
}

.pwz-title-highlight {
    color: #00FF88;
    display: inline-block;
    position: relative;
    background: linear-gradient(135deg, #00FF88 0%, #00CC6A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.4));
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 35px rgba(0, 255, 136, 0.6));
    }
}

/* Description */
.pwz-about-description {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #B8B8B8;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ===================================
   Tabs Section
   =================================== */
.pwz-about-tabs {
    margin-top: 30px;
}

/* Tab Navigation */
.pwz-tabs-nav {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(0, 255, 136, 0.15);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.pwz-tab-button {
    flex: 1;
    padding: 14px 20px;
    background: transparent;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-right: 1px solid rgba(0, 255, 136, 0.1);
}

.pwz-tab-button:last-child {
    border-right: none;
}

.pwz-tab-button:hover {
    color: #00FF88;
    background: rgba(0, 255, 136, 0.08);
}

.pwz-tab-button.active {
    background: linear-gradient(135deg, #00FF88 0%, #00CC6A 100%);
    color: #000000;
    box-shadow:
        0 4px 15px rgba(0, 255, 136, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.pwz-tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #000000;
    opacity: 0.2;
}

/* Tab Content */
.pwz-tabs-content {
    position: relative;
}

.pwz-tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.pwz-tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pwz-tab-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.pwz-tab-inner:hover {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
}

/* Tab Image */
.pwz-tab-image {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 136, 0.25);
    border-style: solid;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 255, 136, 0.1);
    position: relative;
}

.pwz-tab-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.pwz-tab-image:hover::before {
    opacity: 1;
}

.pwz-tab-image:hover {
    border-color: #00FF88;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 255, 136, 0.3);
    transform: scale(1.03) translateY(-3px);
}

.pwz-tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.pwz-tab-image:hover img {
    transform: scale(1.05);
}

/* Tab Text Content */
.pwz-tab-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.pwz-tab-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.35;
    margin-bottom: 12px;
    letter-spacing: -0.4px;
    position: relative;
    padding-bottom: 10px;
}

.pwz-tab-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, #00FF88 0%, transparent 100%);
    border-radius: 2px;
}

.pwz-tab-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #B8B8B8;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Tab Button Link */
.pwz-tab-button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #00FF88 0%, #00CC6A 100%);
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 15px rgba(0, 255, 136, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    border: none;
    box-sizing: border-box;
}

.pwz-tab-button-link i,
.pwz-tab-button-link svg {
    width: 14px;
    height: 14px;
    font-size: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.pwz-tab-button-link:hover i,
.pwz-tab-button-link:hover svg {
    transform: translateX(3px);
}

.pwz-tab-button-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.pwz-tab-button-link:hover::before {
    left: 100%;
}

.pwz-tab-button-link:hover {
    background: linear-gradient(135deg, #00CC6A 0%, #00AA55 100%);
    box-shadow:
        0 6px 25px rgba(0, 255, 136, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.pwz-tab-button-link:active {
    transform: translateY(0);
    box-shadow:
        0 2px 10px rgba(0, 255, 136, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

/* Tablet */
@media (max-width: 1024px) {
    .pwz-about-preview {
        padding: 50px 0;
    }

    .pwz-about-inner {
        gap: 40px;
    }

    .pwz-about-title {
        font-size: 36px;
    }

    .pwz-tab-heading {
        font-size: 18px;
    }

    .pwz-tab-inner {
        padding: 20px;
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .pwz-about-preview {
        padding: 40px 0;
    }

    .pwz-ap-container {
        padding: 0 15px;
    }

    .pwz-about-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pwz-about-layout-right .pwz-about-content {
        order: 2;
    }

    .pwz-about-layout-right .pwz-about-image-wrapper {
        order: 1;
    }

    .pwz-about-image-wrapper {
        padding: 15px;
    }

    .pwz-about-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .pwz-about-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* Tabs Mobile */
    .pwz-tabs-nav {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .pwz-tab-button {
        border-right: none;
        border-bottom: 1px solid rgba(0, 255, 136, 0.1);
        padding: 12px 16px;
    }

    .pwz-tab-button:last-child {
        border-bottom: none;
    }

    .pwz-tab-inner {
        flex-direction: column;
        padding: 18px;
        gap: 16px;
    }

    .pwz-tab-image {
        width: 100% !important;
        height: 180px !important;
    }

    .pwz-tab-heading {
        font-size: 18px;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .pwz-tab-description {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .pwz-tab-button-link {
        width: 100% !important;
        justify-content: center;
        padding: 10px 20px !important;
        height: auto !important;
        line-height: normal !important;
    }

    .pwz-tab-text {
        align-items: stretch !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .pwz-about-preview {
        padding: 30px 0;
    }

    .pwz-about-inner {
        gap: 25px;
    }

    .pwz-about-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .pwz-about-badge {
        font-size: 10px;
        padding: 6px 12px;
    }

    .pwz-about-description {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .pwz-tab-inner {
        padding: 16px;
    }

    .pwz-decorative-dots,
    .pwz-decorative-square {
        display: none;
    }
}


