/* ============================================
   VISUAL POLISH ENHANCEMENTS
   ============================================ */

/* Alternating Section Backgrounds */
section:nth-of-type(even) {
    background: var(--color-surface);
}

section:nth-of-type(odd) {
    background: var(--color-background);
}

/* Section Separators */
section {
    position: relative;
    border-bottom: 3px solid var(--color-border-light);
}

section::after {
    display: none;
}

section:last-of-type {
    border-bottom: none;
}

section:last-of-type::after {
    display: none;
}

/* Scroll Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* Construction Icons with CSS */
.icon-construction::before {
    content: '🏗';
    font-size: 2.5rem;
    display: block;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.icon-demolition::before {
    content: '⚒';
    font-size: 2.5rem;
    display: block;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.icon-safety::before {
    content: '🦺';
    font-size: 2.5rem;
    display: block;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

/* Workers */
.icon-workers::before {
    content: '👷';
    font-size: 2.5rem;
    display: block;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

/* Location */
.icon-location::before {
    content: '📍';
    font-size: 2.5rem;
    display: block;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

/* Tools */
.icon-tools::before {
    content: '🔧';
    font-size: 2.5rem;
    display: block;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

/* Progress Indicator */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--color-secondary);
    z-index: 1001;
    /* Above nav */
    animation: scrollProgress auto linear;
    animation-timeline: scroll();
}

@keyframes scrollProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Enhanced Section Headings */
section h2 {
    position: relative;
    padding-bottom: var(--space-6);
    text-align: center;
}

section h2::after {
    display: none;
}

/* Premium Card Enhancements */
.card {
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.card:hover::before {
    transform: scaleX(1);
}

/* Industrial Pattern Overlay */
.section-with-pattern {
    position: relative;
}

.section-with-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(31, 41, 55, 0.02) 10px,
            rgba(31, 41, 55, 0.02) 20px);
    pointer-events: none;
}

/* Stronger Trust Strip */
.trust-strip {
    background: var(--color-primary);
    background: var(--color-primary);
    /* borders removed */
    padding: var(--space-8) 0;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trust-item {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--font-size-xs);
    letter-spacing: 0.05em;
}

.trust-item::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: 800;
    font-size: var(--font-size-2xl);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}