/* ========================================
   Paul Bartels Trucking — Styles
   Deep Navy + Warm Gold Palette
======================================== */

/* CSS Custom Properties */
:root {
    --navy-900: #0a1628;
    --navy-800: #0f2140;
    --navy-700: #152d56;
    --navy-600: #1a3a6e;
    --navy-500: #1e4d8f;
    --gold-500: #c8952e;
    --gold-400: #d4a843;
    --gold-300: #e0bc6a;
    --gold-200: #ecd49a;
    --gold-100: #f5e8c4;
    --neutral-900: #0f172a;
    --neutral-800: #1e293b;
    --neutral-700: #334155;
    --neutral-600: #475569;
    --neutral-500: #64748b;
    --neutral-400: #94a3b8;
    --neutral-300: #cbd5e1;
    --neutral-200: #e2e8f0;
    --neutral-100: #f1f5f9;
    --neutral-50: #f8fafc;
    --white: #ffffff;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(10, 22, 40, 0.08), 0 2px 4px -2px rgba(10, 22, 40, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(10, 22, 40, 0.1), 0 4px 6px -4px rgba(10, 22, 40, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(10, 22, 40, 0.12), 0 8px 10px -6px rgba(10, 22, 40, 0.06);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--navy-900);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--gold-500);
    color: var(--navy-900);
    box-shadow: 0 4px 14px rgba(200, 149, 46, 0.35);
}

.btn-primary:hover {
    background-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 149, 46, 0.45);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Section Tags */
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--neutral-600);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ========================================
   Navbar
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background-color: rgba(10, 22, 40, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.logo-icon {
    color: var(--gold-500);
}

.logo-accent {
    color: var(--gold-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-300);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--gold-400);
}

.nav-cta {
    background-color: var(--gold-500);
    color: var(--navy-900) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: all var(--transition-base) !important;
}

.nav-cta:hover {
    background-color: var(--gold-400);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero
======================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(200, 149, 46, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(30, 77, 143, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 149, 46, 0.12);
    border: 1px solid rgba(200, 149, 46, 0.25);
    color: var(--gold-300);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold-500);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
    font-size: clamp(40px, 5.5vw, 72px);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.headline-accent {
    color: var(--gold-400);
    display: block;
}

.hero-subheadline {
    font-size: 18px;
    color: var(--neutral-400);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 13px;
    color: var(--neutral-400);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--gold-500);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

.hero-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    flex-shrink: 0;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 2px;
}

.card-subtitle {
    font-size: 13px;
    color: var(--neutral-500);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--white);
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ========================================
   Services
======================================== */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition-base);
}

.service-card:hover {
    background: var(--white);
    border-color: var(--gold-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--navy-900);
}

.service-card p {
    font-size: 15px;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* ========================================
   About
======================================== */
.about {
    padding: 100px 0;
    background: var(--neutral-50);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-xl);
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
}

.exp-label {
    font-size: 14px;
    color: var(--neutral-300);
    line-height: 1.5;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 16px;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--neutral-800);
}

.value-icon {
    width: 36px;
    height: 36px;
    background: rgba(200, 149, 46, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    flex-shrink: 0;
}

/* ========================================
   Coverage
======================================== */
.coverage {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: var(--white);
}

.coverage .section-tag {
    color: var(--gold-400);
}

.coverage .section-title {
    color: var(--white);
    margin-bottom: 16px;
}

.coverage .section-subtitle {
    color: var(--neutral-400);
}

.coverage-header {
    text-align: center;
    margin-bottom: 60px;
}

.coverage-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.map-visual {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-grid {
    position: relative;
    width: 100%;
    height: 240px;
}

.map-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--neutral-500);
    border-radius: 50%;
    animation: map-pulse var(--delay) ease-in-out infinite;
}

.map-dot.active {
    width: 16px;
    height: 16px;
    background: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(200, 149, 46, 0.2);
    animation: map-pulse-active 2s ease-in-out infinite;
}

@keyframes map-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes map-pulse-active {
    0%, 100% { box-shadow: 0 0 0 4px rgba(200, 149, 46, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(200, 149, 46, 0.1); }
}

.map-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-400);
    font-weight: 600;
    font-size: 15px;
    margin-top: 16px;
}

.map-pin {
    color: var(--gold-500);
}

.coverage-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.coverage-region h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 12px;
}

.coverage-region ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.coverage-region li {
    font-size: 15px;
    color: var(--neutral-300);
    padding-left: 16px;
    position: relative;
}

.coverage-region li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--gold-500);
    border-radius: 50%;
}

/* ========================================
   Contact
======================================== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    font-size: 16px;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    flex-shrink: 0;
}

.contact-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--neutral-500);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 16px;
    color: var(--neutral-800);
    font-weight: 500;
    line-height: 1.5;
}

.contact-link {
    font-size: 16px;
    color: var(--navy-600);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--gold-500);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-700);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 15px;
    padding: 14px 16px;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--neutral-900);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(200, 149, 46, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.form-success.show {
    display: flex;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
}

.form-success h3 {
    font-size: 24px;
    color: var(--navy-900);
}

.form-success p {
    font-size: 15px;
    color: var(--neutral-600);
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--navy-900);
    color: var(--neutral-400);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: var(--neutral-500);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--neutral-500);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-400);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-link {
    font-size: 14px;
    color: var(--neutral-500);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--gold-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: var(--neutral-600);
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .about-container {
        gap: 48px;
    }
    
    .contact-container {
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-base);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-card {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-experience {
        right: 16px;
        bottom: -16px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .coverage-map {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
