/* Custom styles for Coltens Road Service */

.truck-cookie-consent {
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid #F97316;
    outline-offset: 2px;
}

/* Ensure proper contrast for all interactive elements */
.bg-industrial-orange {
    background-color: #F97316;
}

.text-industrial-orange {
    color: #F97316;
}

.border-industrial-orange {
    border-color: #F97316;
}

/* Custom button styles with proper contrast */
.btn-primary {
    background-color: #F97316;
    color: white;
    border: 2px solid #F97316;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.btn-primary:hover {
    background-color: #EA580C;
    border-color: #EA580C;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: #F97316;
    border: 2px solid #F97316;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.btn-secondary:hover {
    background-color: #F97316;
    color: white;
    transform: translateY(-1px);
}

/* Form styling improvements */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background-color: white;
    color: #374151;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: #F97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Loading states for forms */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success message styling */
.success-message {
    background-color: #D1FAE5;
    border: 1px solid #10B981;
    color: #065F46;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

/* Error message styling */
.error-message {
    background-color: #FEE2E2;
    border: 1px solid #EF4444;
    color: #991B1B;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

/* Ensure proper spacing and alignment */
.section-spacing {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 2rem 0;
    }
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F3F4F6;
}

::-webkit-scrollbar-thumb {
    background: #9CA3AF;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6B7280;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}