/* --- THEM BOYS HAULING — THEME ENGINE --- */
/* Extracted from inline <style> for performance optimization */
/* Last Updated: 2026-03-16 */

:root {
    --safety-yellow: #FACC15;
    --asphalt-black: #171717;
    --warning-red: #EF4444;
    --concrete-gray: #E5E5E5;
    --border-width: 4px;
    --shadow-depth: 6px;
}

body {
    font-family: 'Work Sans', sans-serif;
    background-color: var(--concrete-gray);
    color: var(--asphalt-black);
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Brutalist Components */
.work-box {
    background: white;
    border: var(--border-width) solid var(--asphalt-black);
    box-shadow: var(--shadow-depth) var(--shadow-depth) 0px 0px var(--asphalt-black);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.work-box:hover {
    transform: translate(-3px, -3px);
    box-shadow: calc(var(--shadow-depth) + 3px) calc(var(--shadow-depth) + 3px) 0px 0px var(--asphalt-black);
}

/* Buttons */
.btn-primary {
    background-color: var(--safety-yellow);
    color: var(--asphalt-black);
    font-weight: 800;
    text-transform: uppercase;
    border: var(--border-width) solid var(--asphalt-black);
    box-shadow: 4px 4px 0px 0px var(--asphalt-black);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}
.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}
.btn-primary:hover {
    background-color: #FDE047;
    transform: translateY(-2px);
    box-shadow: 4px 6px 0px 0px var(--asphalt-black);
}
.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px 0px var(--asphalt-black);
}

.btn-secondary {
    background-color: white;
    color: var(--asphalt-black);
    font-weight: 800;
    text-transform: uppercase;
    border: var(--border-width) solid var(--asphalt-black);
    box-shadow: 4px 4px 0px 0px var(--asphalt-black);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.1s;
}
.btn-secondary:hover {
    background-color: var(--concrete-gray);
}
.btn-secondary:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px 0px var(--asphalt-black);
}

.mode-btn {
    padding: 0.5rem 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: transparent;
}
.mode-btn.active {
    background: var(--asphalt-black);
    color: var(--safety-yellow);
}

/* Service Card */
.service-card {
    background: white;
    border: 3px solid var(--asphalt-black);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.2), transparent);
    transition: left 0.5s;
}
.service-card:hover::before {
    left: 100%;
}
.service-card:hover {
    background: var(--safety-yellow);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s;
}
.service-card:hover .icon {
    transform: scale(1.2);
}

/* Ad Preview Styles */
.ad-preview {
    border: 1px solid #dbdbdb;
    background: white;
    max-width: 100%;
}
.ad-image-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Utilities */
.hidden-section { display: none !important; }
.bg-pattern {
    background-image: radial-gradient(var(--asphalt-black) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    pointer-events: none;
}
.loading-shimmer {
    animation: shimmer 1.5s infinite linear;
    background: linear-gradient(to right, #f6f7f8 4%, #edeef1 25%, #f6f7f8 36%);
    background-size: 1000px 100%;
}
@keyframes shimmer { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } }

/* Phone number styling */
.phone-link {
    color: var(--safety-yellow);
    text-decoration: none;
    transition: all 0.1s;
}
.phone-link:hover {
    text-shadow: 0 0 10px var(--safety-yellow);
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* HQ Portal Modal Styles */
.hq-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, rgba(250, 204, 21, 0.15) 0%, rgba(0, 0, 0, 0.95) 70%);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.hq-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.hq-modal-overlay::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 600px; height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(250, 204, 21, 0.3) 0%, transparent 70%);
    animation: portal-pulse 3s ease-in-out infinite;
    pointer-events: none;
}
@keyframes portal-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}
.hq-modal {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 3px solid transparent;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    transform: scale(0.7) rotateX(10deg);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 80px rgba(250, 204, 21, 0.3),
        0 0 40px rgba(250, 204, 21, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.hq-modal::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, #FACC15, #F59E0B, #FACC15, #EAB308, #FACC15);
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    animation: liquid-border 4s ease infinite;
}
@keyframes liquid-border {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hq-modal::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px; right: 3px; bottom: 3px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 17px;
    z-index: -1;
}
.hq-modal-overlay.active .hq-modal {
    transform: scale(1) rotateX(0deg);
}
.portal-ring {
    width: 100px; height: 100px;
    margin: -70px auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portal-ring::before {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--safety-yellow);
    border-right-color: var(--safety-yellow);
    animation: spin 2s linear infinite;
}
.portal-ring::after {
    content: '';
    position: absolute;
    width: 80%; height: 80%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: #F59E0B;
    border-left-color: #F59E0B;
    animation: spin 1.5s linear infinite reverse;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}
.portal-icon {
    font-size: 2rem;
    z-index: 1;
    animation: float 2s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.hq-input-group { margin-bottom: 1rem; }
.hq-input-label {
    display: block;
    color: #888;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.hq-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    transition: all 0.3s;
}
.hq-input:focus {
    outline: none;
    border-color: var(--safety-yellow);
    background: rgba(250, 204, 21, 0.05);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
}
.hq-input::placeholder { color: #444; }
.hq-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--safety-yellow) 0%, #F59E0B 100%);
    color: var(--asphalt-black);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}
.hq-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}
.hq-btn:hover::before { left: 100%; }
.hq-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.4);
}
.hq-btn:active { transform: translateY(0); }
.hq-cancel {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #666;
    margin-top: 0.75rem;
}
.hq-cancel:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #999;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    transform: none;
}
.hq-cancel:hover::before { display: none; }
.hq-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #444;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.hq-divider::before,
.hq-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.hq-divider span { padding: 0 1rem; }

/* Smooth Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--concrete-gray); }
::-webkit-scrollbar-thumb {
    background: var(--asphalt-black);
    border: 2px solid var(--concrete-gray);
}
::-webkit-scrollbar-thumb:hover { background: #333; }

/* Text Selection */
::selection {
    background: var(--safety-yellow);
    color: var(--asphalt-black);
}

/* Focus States */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--safety-yellow) !important;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.3);
}

/* Loading Animation */
@keyframes truck-drive {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

/* --- Blog Article Styles --- */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}
.blog-article h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.blog-article h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}
.blog-article p {
    margin-bottom: 1rem;
}
.blog-article ul, .blog-article ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}
.blog-article li {
    margin-bottom: 0.5rem;
}
.blog-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.blog-article th, .blog-article td {
    border: 2px solid var(--asphalt-black);
    padding: 0.75rem 1rem;
    text-align: left;
}
.blog-article th {
    background: var(--asphalt-black);
    color: var(--safety-yellow);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}
.blog-article td {
    background: white;
}
.blog-article .highlight-box {
    background: var(--safety-yellow);
    border: 3px solid var(--asphalt-black);
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-weight: 600;
}

/* --- Header Navigation Responsive --- */
/* Desktop navigation links - hidden by default, shown at 1024px+ */
.nav-links { display: none !important; }
/* Mobile hamburger and dropdown - shown by default, hidden at 1024px+ */
.mobile-menu-toggle { display: flex !important; }
.mobile-nav-dropdown { display: none !important; }
.mobile-nav-dropdown.open { display: block !important; }

@media (min-width: 1024px) {
    .nav-links { display: flex !important; align-items: center; gap: 1.5rem; }
    .mobile-menu-toggle { display: none !important; }
    .mobile-nav-dropdown { display: none !important; }
    .mobile-nav-dropdown.open { display: none !important; }
}

.nav-links a {
    font-family: 'Oswald', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--safety-yellow); }

