/*
 * JemsWP Service Pro - Hero Section CSS
 * Modern, CTA-focused hero design
 * NO SCROLL - Fixed overflow issues
 */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 8rem 0 4rem;
}

/* Fix for Admin Bar */
body.admin-bar .hero-section {
    min-height: calc(100vh - 32px);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: float 25s infinite ease-in-out;
}

.hero-shapes .shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    top: -150px;
    left: -150px;
}

.hero-shapes .shape-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    bottom: -100px;
    right: -100px;
    animation-delay: 8s;
}

.hero-shapes .shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    top: 50%;
    right: 15%;
    animation-delay: 16s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(20px, 30px) rotate(270deg);
    }
}

.hero-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    max-width: 100%;
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-cta-primary {
    background: #25D366;
    color: white !important;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.hero-cta-primary:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    color: white !important;
}

.hero-cta-secondary {
    background: white;
    color: #2563eb !important;
    border: 2px solid #2563eb;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.hero-cta-secondary:hover {
    background: #2563eb;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

/* Hero Visual - Image Box Design */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-box {
    position: relative;
    width: 100%;
    max-width: 550px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    z-index: 3;
    background: white;
    padding: 12px;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.hero-image-decoration {
    position: absolute;
    border-radius: 24px;
    z-index: 1;
}

.hero-decoration-1 {
    inset: 0;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    opacity: 0.08;
    z-index: 2;
    transform: scale(0.95);
}

.hero-decoration-2 {
    inset: 0;
    background: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
    opacity: 0.05;
    z-index: 1;
    transform: scale(0.9);
}

.hero-placeholder-box {
    position: relative;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 4/3;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cbd5e1;
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.hero-upload-hint {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.hero-upload-hint p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    animation: bounce 2s infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-wrapper {
        gap: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-box,
    .hero-placeholder-box {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 5rem 0 3rem;
        min-height: 90vh;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-image-box,
    .hero-placeholder-box {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 4rem 0 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}