/**
 * CPS Landing Hero Styles
 * Based on oil-gas.html industry hero design
 */

/* Remove Fusion Builder column margins */
.fusion_builder_column:has(.cps-landing-hero) {
    --awb-margin-bottom-large: 0px !important;
    --awb-margin-top-large: 0px !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.fusion-column-wrapper:has(.cps-landing-hero) {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

.cps-landing-hero {
    position: relative;
    width: 100vw;
    margin: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cps-landing-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    z-index: 1;
}

.cps-landing-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--awb-content-max-width, 1280px);
    margin: 0 auto;
    padding: 0 var(--awb-content-padding-left, 30px) 0 var(--awb-content-padding-right, 30px);
}

.cps-landing-hero-inner {
    max-width: 768px;
}

/* Header with Icon and Titles */
.cps-landing-hero-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.cps-landing-hero-icon {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cps-landing-hero-icon i {
    font-size: 24px !important;
    color: #ffffff;
}

.cps-landing-hero-titles {
    flex: 1;
}

.cps-landing-hero-title {
    font-family: refrigerator-deluxe, Impact, Charcoal, sans-serif !important;
    font-size: 48px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 4px 0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Bold text in hero title should be theme red */
.cps-landing-hero-title strong,
.cps-landing-hero-title b {
    color: #D41F38 !important;
}

.cps-landing-hero-subtitle {
    font-family: refrigerator-deluxe, Impact, Charcoal, sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Description */
.cps-landing-hero-description {
    font-family: DIN, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 32px 0;
    color: #e5e5e5;
}

/* Statistics */
.cps-landing-hero-stats {
    display: flex;
    gap: 80px;
    margin: 0 0 32px 0;
    flex-wrap: wrap;
}

.cps-landing-hero-stat {
    text-align: center;
}

.cps-landing-hero-stat-number {
    font-family: refrigerator-deluxe, Impact, Charcoal, sans-serif;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    color: #D41F38;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cps-landing-hero-stat-label {
    font-family: DIN, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cps-landing-hero-stat-sublabel {
    font-family: DIN, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: #e5e5e5;
    margin: 4px 0 0 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.cps-landing-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cps-landing-hero-button {
    font-family: 'DIN', sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.cps-landing-hero-button-primary {
    background-color: #D41F38;
    color: #ffffff !important;
    border: 2px solid #D41F38;
}

.cps-landing-hero-button-primary:hover {
    background-color: #7F182C;
    border-color: #7F182C;
    transform: scale(1.05);
}

.cps-landing-hero-button-secondary {
    background-color: rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    border: 2px solid #ffffff;
}

.cps-landing-hero-button-secondary:hover {
    background-color: #ffffff;
    color: #141A1F !important;
    transform: scale(1.05);
}

/* Tablet */
@media (max-width: 1024px) {
    .cps-landing-hero-title {
        font-size: 40px;
    }

    .cps-landing-hero-subtitle {
        font-size: 18px;
    }

    .cps-landing-hero-description {
        font-size: 18px;
    }

    .cps-landing-hero-icon {
        width: 56px;
        height: 56px;
    }

    .cps-landing-hero-icon i {
        font-size: 20px;
    }

    .cps-landing-hero-stats {
        gap: 60px;
    }

    .cps-landing-hero-stat-number {
        font-size: 40px;
    }

    .cps-landing-hero-stat-label {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .cps-landing-hero-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cps-landing-hero-title {
        font-size: 32px;
    }

    .cps-landing-hero-subtitle {
        font-size: 16px;
    }

    .cps-landing-hero-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .cps-landing-hero-stats {
        gap: 40px;
        justify-content: center;
    }

    .cps-landing-hero-stat-number {
        font-size: 36px;
    }

    .cps-landing-hero-stat-label {
        font-size: 14px;
    }

    .cps-landing-hero-stat-sublabel {
        font-size: 12px;
    }

    .cps-landing-hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cps-landing-hero-button {
        width: 100%;
        text-align: center;
    }

    .cps-breadcrumb-list {
        font-size: 14px;
    }
}
