/**
 * Homepage Sticky Hero - Compact Version
 * Sticky to top on scroll with minimal content
 *
 * @package Astra_Child_Main
 * @since 1.0.0
 */

/* Sticky Hero Container */
.hp-sticky-hero {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.98) 50%, rgba(41, 128, 185, 0.98) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: transform 0.3s ease;
    transform: translateY(-100%);
}

.hp-sticky-hero.visible {
    transform: translateY(0);
}

.hp-sticky-hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Agent Image - Compact */
.hp-sticky-hero-image {
    position: relative;
    flex-shrink: 0;
}

.hp-sticky-hero-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Job Label - Compact Overlay */
.hp-sticky-job-label {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(52, 152, 219);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 1);
}

/* Agent Info - Name */
.hp-sticky-hero-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hp-sticky-hero-name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-sticky-realtor-name {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 500;
    margin: 0;
}

/* CTA Buttons - Compact */
.hp-sticky-hero-ctas {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.hp-sticky-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 3px solid white;
    white-space: nowrap;
}

.hp-sticky-btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 1);
}

.hp-sticky-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 1);
}

.hp-sticky-btn-warning {
    background: #F4A261;
    color: #ffffff;
    border-color: white;
}

.hp-sticky-btn-warning:hover {
    background: #e89553;
    border-color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hp-sticky-hero-content {
        padding: 10px 15px;
        gap: 12px;
    }

    .hp-sticky-hero-image img {
        width: 50px;
        height: 50px;
        border: 2px solid rgba(255, 255, 255, 1);
    }

    .hp-sticky-job-label {
        font-size: 9px;
        padding: 2px 8px;
        bottom: -6px;
    }

    .hp-sticky-hero-name {
        font-size: 15px;
    }

    .hp-sticky-realtor-name {
        font-size: 11px;
    }

    .hp-sticky-btn {
        padding: 8px 16px;
        font-size: 12px;
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .hp-sticky-hero-content {
        padding: 8px 10px;
        gap: 10px;
    }

    .hp-sticky-hero-image img {
        width: 45px;
        height: 45px;
    }

    .hp-sticky-job-label {
        font-size: 8px;
        padding: 2px 6px;
    }

    .hp-sticky-hero-name {
        font-size: 14px;
    }

    .hp-sticky-realtor-name {
        font-size: 10px;
    }

    .hp-sticky-hero-ctas {
        gap: 6px;
    }

    .hp-sticky-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}
