/* Construction-Themed Design System */

/* Construction Color Palette */
:root {
    --construction-orange: #FF8C1A;
    --construction-yellow: #FFB84D;
    --steel-gray: #4A5568;
    --concrete-gray: #718096;
    --dark-navy: #0A1628;
    --safety-yellow: #FFC107;
    --caution-red: #DC2626;
}

/* Warning Stripe Pattern */
.warning-stripe {
    position: relative;
    overflow: hidden;
}

.warning-stripe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: repeating-linear-gradient(
        45deg,
        var(--construction-orange),
        var(--construction-orange) 20px,
        var(--construction-yellow) 20px,
        var(--construction-yellow) 40px
    );
    z-index: 10;
}

.warning-stripe-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: repeating-linear-gradient(
        45deg,
        var(--construction-orange),
        var(--construction-orange) 20px,
        var(--construction-yellow) 20px,
        var(--construction-yellow) 40px
    );
}

/* Blueprint Grid Pattern */
.blueprint-grid {
    position: relative;
}

.blueprint-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 140, 26, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 140, 26, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

/* Construction Fence Pattern */
.fence-pattern {
    position: relative;
    overflow: hidden;
}

.fence-pattern::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 140, 26, 0.03) 10px,
        rgba(255, 140, 26, 0.03) 20px
    );
    pointer-events: none;
}

/* Industrial Card Style */
.industrial-card {
    position: relative;
    background: white;
    border: 3px solid var(--steel-gray);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 140, 26, 0.2);
}

.industrial-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--construction-orange);
}

/* Rivet/Bolt Decorations */
.rivet-corners::before,
.rivet-corners::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, var(--steel-gray) 40%, transparent 40%);
    border: 2px solid var(--construction-orange);
    border-radius: 50%;
    z-index: 2;
}

.rivet-corners::before {
    top: 10px;
    left: 10px;
}

.rivet-corners::after {
    top: 10px;
    right: 10px;
}

/* Construction Badge */
.construction-badge {
    display: inline-block;
    background: var(--construction-orange);
    color: white;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.construction-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--construction-yellow);
}

/* Section Divider with Construction Theme */
.construction-divider {
    position: relative;
    height: 60px;
    margin: 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.construction-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        var(--steel-gray) 20%,
        var(--steel-gray) 80%,
        transparent
    );
}

.construction-divider::after {
    content: '⛑️';
    position: relative;
    background: var(--construction-orange);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--steel-gray);
    z-index: 1;
}

/* Industrial Button Style */
.btn-industrial {
    position: relative;
    background: var(--construction-orange);
    color: white;
    border: none;
    padding: 14px 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-industrial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--construction-yellow),
        var(--construction-yellow) 16px,
        transparent 16px,
        transparent 26px
    );
}

.btn-industrial:hover {
    background: var(--construction-yellow);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.4);
}

/* Page Header Construction Theme */
.page-header-construction {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--dark-navy) 0%, #001018 100%);
    overflow: hidden;
}

.page-header-construction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(
        45deg,
        var(--construction-orange),
        var(--construction-orange) 30px,
        var(--construction-yellow) 30px,
        var(--construction-yellow) 60px
    );
}

.page-header-construction::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 140, 26, 0.03) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 140, 26, 0.03) 2px, transparent 2px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Construction Icon Wrapper */
.construction-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--construction-orange), var(--construction-yellow));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(255, 140, 26, 0.3);
}

.construction-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: repeating-linear-gradient(
        45deg,
        var(--steel-gray),
        var(--steel-gray) 2px,
        transparent 2px,
        transparent 6px
    );
    border-radius: 14px;
    z-index: -1;
}

/* Safety Banner */
.safety-banner {
    background: var(--safety-yellow);
    color: #000;
    padding: 12px 24px;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.safety-banner::before,
.safety-banner::after {
    content: '⚠';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.safety-banner::before {
    left: 20px;
}

.safety-banner::after {
    right: 20px;
}

/* Concrete Texture Overlay */
.concrete-texture {
    position: relative;
}

.concrete-texture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4"/></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.05"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

/* Construction Cone Pattern */
.construction-cone-pattern {
    position: relative;
    overflow: hidden;
}

.construction-cone-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(
        to right,
        var(--construction-orange) 0%,
        var(--construction-orange) 50%,
        white 50%,
        white 100%
    );
    background-size: 40px 8px;
    background-repeat: repeat-x;
    z-index: 10;
}

.construction-cone-pattern::after {
    content: '🚧';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    z-index: 10;
    animation: cone-bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

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

/* Construction Cone Decorative Elements */
.cone-decoration {
    position: absolute;
    font-size: 2rem;
    z-index: 5;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.cone-decoration:nth-child(1) {
    top: 30%;
    left: 10%;
    animation-delay: 0s;
}

.cone-decoration:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.cone-decoration:nth-child(3) {
    top: 45%;
    left: 85%;
    animation-delay: 2s;
}

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

/* Construction Cone Stripe Border (Alternative) */
.cone-stripe-top {
    position: relative;
}

.cone-stripe-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--construction-orange),
        var(--construction-orange) 30px,
        white 30px,
        white 60px
    );
    z-index: 10;
}

/* Enhanced Navigation Link Styling */
.subnav-link:hover {
    color: var(--construction-orange) !important;
    border-bottom: 3px solid var(--construction-orange) !important;
    background: rgba(255, 140, 26, 0.05);
}

.subnav-link.active {
    color: var(--construction-orange) !important;
    background: rgba(255, 140, 26, 0.08);
    border-bottom: 3px solid var(--construction-orange) !important;
}

/* Filter Button Enhancements */
.filter-btn {
    cursor: pointer;
    border: 2px solid #E2E8F0;
    background: white;
    color: #1a202c;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--construction-orange);
    color: var(--construction-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 26, 0.2);
}

.filter-btn.active {
    background: var(--construction-orange);
    color: white;
    border-color: var(--construction-orange);
    box-shadow: 0 4px 12px rgba(255, 140, 26, 0.3);
}

