/**
 * Homepage Primary CTA Banner Styles
 * Prefixed version for front-page.php
 *
 * @package Astra Child Main
 * @version 1.0.0
 */

/* ===================================
   HOMEPAGE PRIMARY CTA BANNER
   Full-width call to action banner section
   =================================== */

.hp-realestate-cta-banner {
    width: 100%;
    max-width: 1280px;
    margin: 60px auto;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    padding: 80px 40px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.hp-realestate-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-grid)"/></svg>');
    opacity: 0.3;
}

.hp-cta-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hp-cta-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.hp-cta-banner-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hp-cta-banner-subtitle {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin: 0 0 40px 0;
    line-height: 1.6;
    opacity: 0.9;
}

.hp-cta-banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hp-cta-primary-btn {
    display: inline-block;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    border: none;
    cursor: pointer;
}

.hp-cta-primary-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.hp-cta-secondary-btn {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    padding: 18px 36px;
    border: 2px solid #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hp-cta-secondary-btn:hover {
    background: #ffffff;
    color: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.hp-cta-banner-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hp-cta-stat-item {
    text-align: center;
}

.hp-cta-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hp-cta-stat-label {
    font-size: 0.95rem;
    color: #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Responsive design for CTA banner */
@media (max-width: 768px) {
    .hp-realestate-cta-banner {
        padding: 60px 0;
        margin: 40px 0;
    }

    .hp-cta-banner-container {
        padding: 0 15px;
    }

    .hp-cta-banner-title {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }

    .hp-cta-banner-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hp-cta-banner-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
    }

    .hp-cta-primary-btn,
    .hp-cta-secondary-btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
        font-size: 1rem;
    }

    .hp-cta-banner-stats {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
        padding-top: 30px;
    }

    .hp-cta-stat-number {
        font-size: 2rem;
    }

    .hp-cta-stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hp-realestate-cta-banner {
        padding: 50px 0;
    }

    .hp-cta-banner-title {
        font-size: 1.8rem;
    }

    .hp-cta-banner-subtitle {
        font-size: 1rem;
    }

    .hp-cta-primary-btn,
    .hp-cta-secondary-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .hp-cta-stat-number {
        font-size: 1.8rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hp-cta-primary-btn,
    .hp-cta-secondary-btn {
        transition: none;
    }

    .hp-cta-primary-btn:hover,
    .hp-cta-secondary-btn:hover {
        transform: none;
    }
}
