/**
 * Homepage Hero Section - Full Width Agent Info
 * Displays agent information from ACF user fields
 *
 * @package Astra_Child_Main
 * @since 1.0.0
 */

/* Hero Section - Full Width */
.hp-hero-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.95) 50%, rgba(41, 128, 185, 0.95) 100%);
    padding: 40px 20px;
    overflow: hidden;
    animation: heroGlow 12s ease-in-out infinite;
    margin-bottom:40px;
}

@keyframes heroGlow {
    0%, 100% {
        box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.08);
    }
    50% {
        box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.12);
    }
}

.hp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hp-hero-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.hp-hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    width: 100%;
    max-width: 100%;
}

/* Left Column - Agent Profile */
.hp-hero-col-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Agent Image with Job Label */
.hp-hero-agent-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.hp-hero-agent-image {
    position: relative;
    display: inline-block;
}

.hp-agent-photo {
    width: 330px;
    height: 330px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.hp-agent-photo:hover {
    filter: brightness(1.15);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* Job Label Overlay - Positioned at Bottom of Circle */
.hp-agent-job-label {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(52, 152, 219);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 1);
}

/* Agent Name */
.hp-hero-agent-name {
    font-size: 42px;
    font-weight: 700;
    margin: 10px 0 5px 0;
    line-height: 1.2;
    color: #ffffff;
    text-align: center;
}

/* Realtor Info Section */
.hp-hero-realtor-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.hp-realtor-name-link,
.hp-realtor-name {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hp-realtor-name-link:hover {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
}

.hp-realtor-phone {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hp-realtor-phone:hover {
    color: rgba(255, 255, 255, 0.95);
}

.hp-realtor-phone i {
    font-size: 12px;
}

/* Contact Links */
.hp-hero-contact-links {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
}

.hp-hero-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hp-hero-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 1);
}

.hp-hero-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hp-email-link,
.hp-phone-link,
.hp-social-link {
    color: #ffffff;
}

/* Specialities */
.hp-hero-specialities {
    text-align: center;
}

.hp-hero-specialities h3 {
    display: none;
}

.hp-hero-specialities p {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* Right Column - Bio & CTAs */
.hp-hero-col-right {
    display: flex;
    flex-direction: column;
    gap:4px;
}

.hp-hero-right-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}

/* Bio Section */
.hp-hero-bio {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-hero-bio h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.hp-hero-bio p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* CTA & Stats Section */
.hp-hero-cta-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* CTA Buttons */
.hp-hero-cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: stretch;
}

.hp-hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    transition: all 0.3s ease;
    border: 6px solid white;
    text-align: center;
    flex: 1;
    width: 100%;
}

.hp-btn-primary {
    background: #ffffff;
    color: #2980b9;
    border-color: #ffffff;
}

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

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

.hp-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 1);
}
.hp-btn-warning {
    background: #F4A261;
    color: #ffffff;
    border-color: white;
}

.hp-btn-warning:hover {
    background: #F4A261;
    border-color: white;
}
/* MLS Stats */
.hp-hero-mls-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 1);
}

.hp-mls-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.hp-mls-stat:last-child {
    border-bottom: none;
}

.hp-mls-label {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.hp-mls-value {
    color: #2980b9;
    font-size: 20px;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hp-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hp-hero-col-left {
        text-align: center;
        align-items: center;
    }

    .hp-hero-contact-links {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hp-hero-section {
        padding: 60px 10px;
    }

    .hp-hero-right-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hp-agent-photo {
        width: 270px;
        height: 270px;
    }

    .hp-hero-agent-name {
        font-size: 32px;
    }

    .hp-hero-bio h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hp-hero-section {
        padding: 40px 15px;
    }

    .hp-hero-content {
        gap: 10px;
    }

    .hp-agent-photo {
        width: 225px;
        height: 225px;
    }

    .hp-hero-agent-name {
        font-size: 28px;
    }

    .hp-agent-job-label {
        font-size: 12px;
        padding: 6px 16px;
    }

    .hp-hero-link {
        font-size: 14px;
        padding: 10px 16px;
    }

    .hp-hero-bio p {
        font-size: 14px;
    }

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