/* Foxco Road Sign Widget - Authentic Highway Sign Styles */

.foxco-road-sign-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.foxco-road-sign {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #E26431;
    border: 12px solid #ffffff;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 0 50px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.foxco-road-sign:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.4),
        inset 0 0 50px rgba(255, 255, 255, 0.05);
}

.foxco-sign-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.foxco-sign-company {
    font-family: 'Highway Gothic', 'Arial Narrow', 'Arial', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.1;
}

.foxco-sign-location {
    font-family: 'Highway Gothic', 'Arial Narrow', 'Arial', sans-serif;
    font-weight: 900;
    font-size: 72px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 12px;
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 0.9),
        0 0 60px rgba(255, 255, 255, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.7);
    line-height: 0.9;
    font-stretch: condensed;
}

.foxco-sign-service {
    font-family: 'Highway Gothic', 'Arial Narrow', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.7),
        0 0 30px rgba(255, 255, 255, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

/* ====================================
   STYLE 1: INTERSTATE SHIELD
   ==================================== */

.foxco-sign-shield {
    border-radius: 30px 30px 0 0;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 65%,
        85% 75%,
        50% 100%,
        15% 75%,
        0 65%
    );
    border-bottom: none;
    background: linear-gradient(135deg, 
        #E26431 0%, 
        #c85428 50%, 
        #E26431 100%
    );
}

.foxco-sign-shield::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, 
            transparent 0%, 
            rgba(255, 255, 255, 0.05) 25%, 
            transparent 50%,
            rgba(0, 0, 0, 0.05) 75%,
            transparent 100%
        );
    pointer-events: none;
    z-index: 1;
}

/* ====================================
   STYLE 2: STATE ROUTE (US Highway Shield)
   ==================================== */

.foxco-sign-route {
    border-radius: 20px;
    width: 340px;
    height: 400px;
    clip-path: polygon(
        20% 0,
        80% 0,
        100% 15%,
        100% 85%,
        80% 100%,
        20% 100%,
        0 85%,
        0 15%
    );
    background: linear-gradient(135deg, 
        #E26431 0%, 
        #c85428 50%, 
        #E26431 100%
    );
}

.foxco-sign-route .foxco-sign-content {
    padding: 50px 30px;
}

/* ====================================
   STYLE 3: WARNING DIAMOND
   ==================================== */

.foxco-sign-diamond {
    transform: rotate(45deg);
    border-radius: 15px;
    background: linear-gradient(135deg, 
        #E26431 0%, 
        #c85428 50%, 
        #E26431 100%
    );
}

.foxco-sign-diamond .foxco-sign-content {
    transform: rotate(-45deg);
}

.foxco-sign-diamond:hover {
    transform: rotate(45deg) translateY(-8px);
}

/* ====================================
   STYLE 4: REGULATORY CIRCLE
   ==================================== */

.foxco-sign-circle {
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, 
        #E26431 0%, 
        #c85428 100%
    );
}

/* ====================================
   STYLE 5: GUIDE RECTANGLE
   ==================================== */

.foxco-sign-rectangle {
    border-radius: 20px;
    width: 500px;
    height: 320px;
    background: linear-gradient(135deg, 
        #E26431 0%, 
        #c85428 50%, 
        #E26431 100%
    );
}

.foxco-sign-rectangle .foxco-sign-location {
    font-size: 64px;
}

.foxco-sign-rectangle .foxco-sign-content {
    padding: 35px 45px;
}

/* ====================================
   STYLE 6: STOP HEXAGON (Pennsylvania Keystone)
   ==================================== */

.foxco-sign-hexagon {
    clip-path: polygon(
        20% 0%,
        80% 0%,
        100% 25%,
        100% 75%,
        80% 100%,
        20% 100%,
        0% 75%,
        0% 25%
    );
    border-radius: 0;
    background: linear-gradient(135deg, 
        #E26431 0%, 
        #c85428 50%, 
        #E26431 100%
    );
}

/* ====================================
   REFLECTIVE SHEETING EFFECT
   ==================================== */

/* Prismatic reflective pattern */
.foxco-road-sign::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0) 0px,
            rgba(255, 255, 255, 0.03) 1px,
            rgba(255, 255, 255, 0) 2px,
            rgba(255, 255, 255, 0) 4px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0px,
            rgba(255, 255, 255, 0.02) 1px,
            rgba(255, 255, 255, 0) 2px,
            rgba(255, 255, 255, 0) 4px
        );
    opacity: 0.8;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* Glass bead reflective surface */
.foxco-road-sign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.1) 0%, 
            transparent 30%,
            rgba(0, 0, 0, 0.05) 70%,
            transparent 100%
        );
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: overlay;
}

/* ====================================
   EDGE HIGHLIGHT (Aluminum Trim)
   ==================================== */

.foxco-road-sign {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

/* ====================================
   MOUNTING HARDWARE
   ==================================== */

/* Corner rivets */
.foxco-sign-route::after,
.foxco-sign-rectangle::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, 
            #e0e0e0 0%, 
            #888 40%, 
            #555 60%,
            #333 100%
        );
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.6),
        0 1px 2px rgba(255, 255, 255, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3);
    top: 25px;
    left: 25px;
    z-index: 10;
}

.foxco-sign-rectangle::before,
.foxco-sign-circle::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, 
            #e0e0e0 0%, 
            #888 40%, 
            #555 60%,
            #333 100%
        );
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.6),
        0 1px 2px rgba(255, 255, 255, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3);
    top: 25px;
    right: 25px;
    z-index: 10;
}

/* ====================================
   BORDER EDGE TREATMENT
   ==================================== */

.foxco-road-sign {
    border-style: solid;
    border-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 1) 25%,
        rgba(220, 220, 220, 1) 50%,
        rgba(255, 255, 255, 1) 75%,
        rgba(255, 255, 255, 0.9) 100%
    ) 1;
}

/* ====================================
   RESPONSIVE STYLES
   ==================================== */

@media (max-width: 768px) {
    .foxco-road-sign {
        width: 340px;
        height: 340px;
        border-width: 10px;
    }
    
    .foxco-sign-company {
        font-size: 22px;
    }
    
    .foxco-sign-location {
        font-size: 56px;
    }
    
    .foxco-sign-service {
        font-size: 15px;
    }
    
    .foxco-sign-rectangle {
        width: 400px;
        height: 260px;
    }
    
    .foxco-sign-rectangle .foxco-sign-location {
        font-size: 48px;
    }
    
    .foxco-sign-route {
        width: 300px;
        height: 340px;
    }
}

@media (max-width: 480px) {
    .foxco-road-sign {
        width: 300px;
        height: 300px;
        border-width: 8px;
    }
    
    .foxco-sign-company {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .foxco-sign-location {
        font-size: 44px;
        margin-bottom: 10px;
    }
    
    .foxco-sign-service {
        font-size: 13px;
    }
    
    .foxco-sign-rectangle {
        width: 340px;
        height: 220px;
    }
    
    .foxco-sign-rectangle .foxco-sign-location {
        font-size: 38px;
    }
    
    .foxco-sign-route {
        width: 260px;
        height: 300px;
    }
    
    .foxco-sign-content {
        padding: 30px 20px;
    }
}

/* ====================================
   ANIMATION
   ==================================== */

@keyframes signAppear {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(40px);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.foxco-road-sign {
    animation: signAppear 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Editor specific styles */
.elementor-editor-active .foxco-road-sign {
    pointer-events: none;
}
