/**
 * Homepage Hero Section CSS
 * Business-Focused Design
 * 
 * @package Xeora
 * @version 3.0.0
 * @updated 3.1.0 - Added background image support
 * @updated 3.2.0 - Changed trust icons to Xeora green
 */

/* Reset & Base */
.xeora-homepage-body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.xeora-homepage-wrapper {
    width: 100%;
    overflow-x: hidden;
}

.xeora-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO SECTION - Business Focused */
.xeora-hero-main {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 20px 80px;
}

.xeora-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.xeora-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.xeora-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    opacity: 0.5;
}

/* NEW: Background Image Support */
.xeora-hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.xeora-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* Ensure content is above background and overlay */
.xeora-hero-main .xeora-container {
    position: relative;
    z-index: 3;
}

/* Enhanced text shadows for better readability on images */
.xeora-hero-main.has-bg-image .xeora-hero-title {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
}

.xeora-hero-main.has-bg-image .xeora-hero-subtitle {
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 0, 0, 0.3);
}

.xeora-hero-main.has-bg-image .xeora-hero-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Enhance button shadows on image backgrounds */
.xeora-hero-main.has-bg-image .xeora-btn-hero-primary {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.xeora-hero-main.has-bg-image .xeora-btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.xeora-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.xeora-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.xeora-hero-badge i {
    margin-right: 8px;
}

.xeora-hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 24px 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.xeora-hero-subtitle {
    font-size: 22px;
    line-height: 1.6;
    margin: 0 0 40px 0;
    opacity: 0.95;
    font-weight: 400;
}

.xeora-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.xeora-btn-hero-primary,
.xeora-btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.xeora-btn-hero-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.xeora-btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    color: #667eea;
}

.xeora-btn-hero-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.xeora-btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.xeora-hero-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 14px;
}

.xeora-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* UPDATED: Changed to Xeora green */
.xeora-trust-item i {
    color: #b8cc0b;
    font-size: 18px;
}

.xeora-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.xeora-scroll-indicator a {
    display: block;
    color: white;
    font-size: 24px;
    animation: bounce 2s infinite;
    opacity: 0.7;
    transition: opacity 0.3s;
    text-decoration: none;
}

.xeora-scroll-indicator a:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* SECTION STYLES */
.xeora-section {
    padding: 80px 20px;
}

.xeora-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.xeora-badge {
    display: inline-block;
    background: #f3f4f6;
    color: #667eea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.xeora-badge i {
    margin-right: 6px;
}

.xeora-section-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #1f2937;
}

.xeora-section-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .xeora-hero-main {
        min-height: auto;
        padding: 80px 20px 60px;
    }
    
    .xeora-hero-bg-image {
        background-position: center center;
    }
    
    .xeora-hero-title {
        font-size: 36px;
    }
    
    .xeora-hero-subtitle {
        font-size: 18px;
    }
    
    .xeora-hero-actions {
        flex-direction: column;
    }
    
    .xeora-btn-hero-primary,
    .xeora-btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .xeora-hero-trust {
        flex-direction: column;
        gap: 16px;
    }
    
    .xeora-section {
        padding: 60px 20px;
    }
    
    .xeora-section-title {
        font-size: 32px;
    }
    
    .xeora-section-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .xeora-hero-title {
        font-size: 28px;
    }
    
    .xeora-hero-subtitle {
        font-size: 16px;
    }
    
    .xeora-hero-badge {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .xeora-btn-hero-primary,
    .xeora-btn-hero-secondary {
        padding: 14px 24px;
        font-size: 14px;
    }
}