/* main.css - Custom styles for JPB Capital Transportation LLC */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
    --primary: #1e3a8a;
    --primary-foreground: #ffffff;
    --accent: #f59e0b;
    --accent-foreground: #1e3a8a;
    --background: #ffffff;
    --foreground: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.container-custom {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-custom {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-custom {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.btn-accent {
    background-color: var(--accent);
    color: var(--accent-foreground);
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}
.btn-accent:hover {
    background-color: #d97706;
    transform: scale(0.98);
}

.btn-outline-light {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}
.btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--primary);
    border-color: #ffffff;
    transform: scale(0.98);
}

.hero-overlay {
    background: linear-gradient(to right, rgba(30, 58, 138, 0.95), rgba(30, 58, 138, 0.85));
}

.badge-dot {
    display: inline-block;
    background-color: var(--accent);
    color: var(--accent-foreground);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.nav-sticky {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.nav-link {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.footer-custom {
    background-color: var(--primary);
    color: var(--primary-foreground);
}
.footer-custom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-custom a:hover,
.footer-custom a.active {
    color: var(--accent);
}

.card-modern {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 0.75rem;
}

/* Form styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #1f2937;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects for cards and buttons */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn-accent {
    background: var(--accent);
    color: white;
    transition: all 0.2s ease;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.btn-accent:hover {
    background: #c62833;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(230,57,70,0.3);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
    transition: all 0.2s ease;
    font-weight: 600;
    cursor: pointer;
}
.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}