/**
 * Hero Section Widget Styles - Professional & Modern
 *
 * @package PWZ_Theme
 * @since 1.0.0
 */

/* ============================================
   ELEMENTOR COMPATIBILITY
   ============================================ */

.elementor-widget-pwz-hero-section {
    width: 100%;
    margin: 0 !important;
}

.elementor-widget-pwz-hero-section .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================
   HERO SECTION - MAIN CONTAINER
   ============================================ */

.pwz-hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #000000 0%, #0A0A0A 100%);
    overflow: hidden;
    padding: 50px 20px 50px;
    width: 100%;
}

.pwz-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 136, 0.08) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.pwz-hero-section .pwz-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   ANIMATED BACKGROUND SHAPES
   ============================================ */

.pwz-hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.pwz-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.pwz-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--pwz-accent);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.pwz-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--pwz-accent);
    bottom: -150px;
    left: -100px;
    animation-delay: 7s;
}

.pwz-shape-3 {
    width: 250px;
    height: 250px;
    background: var(--pwz-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* ============================================
   HERO LAYOUT
   ============================================ */

.pwz-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.pwz-hero-layout-left .pwz-hero-inner {
    grid-template-columns: 1fr 1fr;
}

.pwz-hero-layout-left .pwz-hero-content {
    order: 1;
}

.pwz-hero-layout-left .pwz-hero-image {
    order: 2;
}

.pwz-hero-layout-center .pwz-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.pwz-hero-layout-center .pwz-hero-image {
    display: none;
}

.pwz-hero-layout-right .pwz-hero-inner {
    grid-template-columns: 1fr 1fr;
}

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

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

/* ============================================
   HERO CONTENT
   ============================================ */

.pwz-hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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

/* Subtitle */
.pwz-hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--pwz-font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--pwz-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    padding: 8px 20px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 50px;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.pwz-subtitle-icon {
    display: inline-flex;
    animation: rotate 3s linear infinite;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Title */
.pwz-hero-title {
    font-family: var(--pwz-font-heading);
    font-size: 64px;
    font-weight: 700;
    color: var(--pwz-primary-text);
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.pwz-title-word {
    display: inline-block;
    animation: slideInUp 0.6s ease-out both;
}

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

/* Description */
.pwz-hero-description {
    font-family: var(--pwz-font-body);
    font-size: 18px;
    color: var(--pwz-secondary-text);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.pwz-hero-layout-center .pwz-hero-description {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   HERO BUTTONS
   ============================================ */

.pwz-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.pwz-hero-layout-center .pwz-hero-buttons {
    justify-content: center;
}

.pwz-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pwz-hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.pwz-hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.pwz-btn-text {
    position: relative;
    z-index: 1;
}

.pwz-btn-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    transition: transform 0.3s ease;
}

.pwz-hero-btn:hover .pwz-btn-icon {
    transform: translateX(5px);
}

.pwz-btn-secondary:hover .pwz-btn-icon {
    transform: translateY(5px);
}

/* ============================================
   TRUST INDICATORS
   ============================================ */

.pwz-hero-trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.8s both;
}

.pwz-hero-layout-center .pwz-hero-trust {
    justify-content: center;
}

.pwz-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--pwz-font-body);
    font-size: 14px;
    color: var(--pwz-secondary-text);
}

.pwz-trust-icon {
    display: inline-flex;
    color: var(--pwz-accent);
    flex-shrink: 0;
}

.pwz-trust-icon svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   HERO IMAGE
   ============================================ */

.pwz-hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.4s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pwz-hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.pwz-hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--pwz-accent) 0%, transparent 100%);
    border-radius: 20px;
    opacity: 0.1;
    z-index: -1;
}

.pwz-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    display: block;
    transition: transform 0.5s ease;
}

.pwz-hero-image:hover img {
    transform: scale(1.02);
}

/* Floating Badges */
.pwz-hero-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: floatBadge 3s ease-in-out infinite;
}

.pwz-badge-1 {
    top: 10%;
    right: -30px;
    animation-delay: 0s;
}

.pwz-badge-2 {
    bottom: 15%;
    left: -30px;
    animation-delay: 1.5s;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.pwz-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 8px;
    color: var(--pwz-accent);
    flex-shrink: 0;
}

.pwz-badge-icon svg {
    width: 20px;
    height: 20px;
}

.pwz-badge-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pwz-badge-label {
    font-family: var(--pwz-font-body);
    font-size: 11px;
    color: var(--pwz-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pwz-badge-value {
    font-family: var(--pwz-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--pwz-primary-text);
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */

.pwz-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: fadeIn 1.2s ease-out 1s both;
}

.pwz-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--pwz-font-body);
    font-size: 12px;
    color: var(--pwz-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pwz-scroll-indicator:hover {
    color: var(--pwz-accent);
}

.pwz-scroll-indicator svg {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .pwz-hero-section {
        padding: 100px 0 60px;
    }

    .pwz-hero-inner {
        gap: 60px;
    }

    .pwz-hero-title {
        font-size: 48px;
    }

    .pwz-hero-description {
        font-size: 16px;
    }

    .pwz-badge-1,
    .pwz-badge-2 {
        display: none;
    }
}

@media (max-width: 768px) {
    .pwz-hero-section {
        min-height: auto;
        padding: 80px 20px 60px;
    }

    .pwz-hero-inner {
        grid-template-columns: 1fr !important;
        gap: 50px;
        text-align: center;
    }

    .pwz-hero-layout-left .pwz-hero-content,
    .pwz-hero-layout-right .pwz-hero-content {
        order: 1 !important;
    }

    .pwz-hero-layout-left .pwz-hero-image,
    .pwz-hero-layout-right .pwz-hero-image {
        order: 2 !important;
    }

    .pwz-hero-subtitle {
        font-size: 12px;
        padding: 6px 16px;
    }

    .pwz-hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .pwz-hero-description {
        font-size: 15px;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .pwz-hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
        justify-content: center;
    }

    .pwz-hero-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }

    .pwz-hero-trust {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        justify-content: center;
    }

    .pwz-hero-scroll {
        display: none;
    }

    .pwz-shape {
        filter: blur(60px);
    }

    .pwz-shape-1 {
        width: 250px;
        height: 250px;
    }

    .pwz-shape-2 {
        width: 200px;
        height: 200px;
    }

    .pwz-shape-3 {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .pwz-hero-title {
        font-size: 28px;
    }

    .pwz-hero-description {
        font-size: 14px;
    }

    .pwz-hero-btn {
        font-size: 14px;
        padding: 12px 24px;
    }

    .pwz-trust-item {
        font-size: 12px;
    }
}


