/* Palette: Signal Red, Asphalt, Concrete, White */
:root {
    --red: #D32F2F;
    --red-dark: #b71c1c;
    --asphalt: #263238;
    --concrete: #ECEFF1;
    --white: #FFFFFF;
    --text: #333333;
    
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--concrete);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.5;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }

/* Top Bar */
.top-bar { background: var(--asphalt); color: #ccc; font-size: 0.8rem; padding: 8px 0; border-bottom: 1px solid #444; }
.top-flex { display: flex; justify-content: space-between; }
.top-flex a { color: var(--red); font-weight: 700; text-transform: uppercase; }

/* Header */
.header { background: var(--white); padding: 20px 0; box-shadow: 0 4px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--asphalt); letter-spacing: 1px; }
.red-box { background: var(--red); color: var(--white); padding: 0 5px; margin-left: 2px; }

.nav a { margin-left: 25px; font-family: var(--font-head); font-weight: 500; text-transform: uppercase; color: var(--asphalt); font-size: 1.1rem; }
.nav a:hover, .nav a.active { color: var(--red); border-bottom: 3px solid var(--red); }

.mobile-toggle { display: none; background: var(--red); color: var(--white); border: none; padding: 5px 15px; font-family: var(--font-head); font-size: 1.1rem; cursor: pointer; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100%; background: var(--asphalt); z-index: 2000; padding: 50px; transition: 0.3s; border-left: 5px solid var(--red); }
.mobile-menu.active { right: 0; }
.close-btn { background: none; border: 1px solid var(--white); color: var(--white); margin-bottom: 30px; cursor: pointer; width: 100%; padding: 10px; font-family: var(--font-head); }
.mobile-menu a { display: block; font-family: var(--font-head); font-size: 1.8rem; margin-bottom: 20px; color: var(--white); text-transform: uppercase; }
.mobile-menu a:hover { color: var(--red); }

@media (max-width: 900px) {
    .nav { display: none; }
    .mobile-toggle { display: block; }
}

/* Hero */
.hero { height: 80vh; position: relative; display: flex; align-items: center; justify-content: flex-start; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38,50,56,0.9) 0%, rgba(38,50,56,0.3) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 700px; }

.hero h1 { font-family: var(--font-head); font-size: 5rem; line-height: 1; margin-bottom: 20px; text-transform: uppercase; text-shadow: 2px 2px 0 var(--asphalt); }
.hero p { font-size: 1.4rem; margin-bottom: 40px; font-weight: 300; }

.tracking-widget { background: var(--white); padding: 20px; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border-left: 5px solid var(--red); }
.tracking-widget h3 { color: var(--asphalt); font-family: var(--font-head); margin-bottom: 10px; font-size: 1.5rem; }
.track-form { display: flex; gap: 10px; }
.track-form input { flex: 1; padding: 10px; border: 2px solid #ddd; font-family: var(--font-body); font-size: 1rem; }
.track-form button { flex-shrink: 0; }

/* Buttons */
.btn-red { background: var(--red); color: var(--white); padding: 12px 30px; font-family: var(--font-head); font-size: 1.1rem; border: none; cursor: pointer; transition: 0.3s; text-transform: uppercase; }
.btn-red:hover { background: var(--red-dark); }
.btn-white { background: var(--white); color: var(--asphalt); padding: 15px 40px; font-family: var(--font-head); font-size: 1.2rem; text-decoration: none; display: inline-block; font-weight: 700; }
.btn-white:hover { background: var(--red); color: var(--white); }

/* Services Strip */
.section-head h2 { font-family: var(--font-head); font-size: 2.5rem; color: var(--asphalt); margin-bottom: 10px; text-transform: uppercase; }
.red-line { width: 80px; height: 5px; background: var(--red); margin-bottom: 40px; }
.center { text-align: center; }
.center .red-line { margin: 0 auto 40px; }
.left { margin-right: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.srv-card { background: var(--white); padding: 40px 30px; border-bottom: 4px solid #ddd; transition: 0.3s; text-align: center; display: block; }
.srv-card:hover { border-bottom-color: var(--red); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.icon { font-size: 4rem; margin-bottom: 20px; }
.srv-card h3 { font-family: var(--font-head); font-size: 1.5rem; color: var(--asphalt); margin-bottom: 10px; }
.srv-card p { color: #666; }

/* CTA Section */
.cta-section { background: var(--asphalt); color: var(--white); padding: 60px 0; margin-top: 50px; }
.cta-grid { display: flex; justify-content: space-between; align-items: center; }
.cta-text h2 { font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 10px; }

/* Services Details */
.service-details { display: flex; flex-direction: column; gap: 60px; }
.detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--white); padding: 40px; border: 1px solid #ddd; }
.detail-row.reverse { direction: rtl; }
.detail-row.reverse .d-text { direction: ltr; }
.d-text h3 { font-family: var(--font-head); font-size: 2rem; margin-bottom: 20px; color: var(--asphalt); }
.check-list { list-style: none; margin-top: 20px; font-weight: 500; }
.check-list li { margin-bottom: 10px; padding-left: 25px; position: relative; }
.check-list li::before { content: '✓'; color: var(--red); position: absolute; left: 0; font-weight: 900; }

/* Fleet Grid */
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.truck-card { background: var(--white); border: 1px solid #ddd; }
.truck-card img { width: 100%; height: 250px; object-fit: cover; border-bottom: 3px solid var(--red); }
.t-info { padding: 25px; }
.t-info h3 { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 15px; }
.specs { list-style: square; padding-left: 20px; color: #555; }

/* Tracking Page */
.tracking-page { max-width: 800px; margin: 0 auto; text-align: center; }
.search-box { display: flex; gap: 10px; margin: 30px auto; max-width: 600px; }
.search-box input { flex: 1; padding: 15px; border: 2px solid #ccc; font-size: 1.1rem; }

.track-result { text-align: left; background: var(--white); padding: 40px; margin-top: 40px; border: 1px solid #ddd; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.status-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #eee; padding-bottom: 20px; margin-bottom: 30px; }
.status-badge { background: var(--red); color: var(--white); padding: 5px 15px; font-weight: 700; font-family: var(--font-head); }

.timeline { border-left: 3px solid #ddd; margin-left: 20px; padding-left: 30px; }
.t-step { margin-bottom: 30px; position: relative; }
.circle { position: absolute; left: -46px; top: 0; width: 30px; height: 30px; background: #ddd; border-radius: 50%; color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.t-step.completed .circle { background: var(--asphalt); }
.t-step.active .circle { background: var(--red); transform: scale(1.2); }
.info strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.info span { color: #777; font-size: 0.9rem; }

/* Contact Form */
.contact-wrapper { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.contact-info { background: var(--asphalt); color: var(--white); padding: 40px; }
.contact-info h2 { font-family: var(--font-head); color: var(--white); margin-bottom: 20px; }
.c-data p { margin-bottom: 15px; }

.cargo-form { background: var(--white); padding: 40px; border: 1px solid #ddd; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grp { margin-bottom: 20px; }
.grp label { display: block; font-weight: 700; margin-bottom: 5px; color: var(--asphalt); font-family: var(--font-head); }
.grp input, .grp select, .grp textarea { width: 100%; padding: 12px; border: 2px solid #eee; background: #f9f9f9; font-family: var(--font-body); }
.grp input:focus, .grp select:focus, .grp textarea:focus { border-color: var(--red); outline: none; }
.full { width: 100%; }

/* Legal */
.legal-text { max-width: 800px; margin: 0 auto; background: var(--white); padding: 60px; border: 1px solid #ddd; }
.legal-text h1 { font-family: var(--font-head); }

/* Footer */
.footer { background: var(--asphalt); color: #999; padding: 60px 0 20px; margin-top: 100px; border-top: 5px solid var(--red); }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.f-brand h4 { color: var(--white); font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 5px; }
.f-nav a { margin-left: 20px; color: #ccc; font-weight: 700; font-family: var(--font-head); text-transform: uppercase; }
.f-nav a:hover { color: var(--red); }
.copyright { text-align: center; border-top: 1px solid #444; padding-top: 20px; font-size: 0.8rem; }

@media (max-width: 900px) {
    .hero h1 { font-size: 3.5rem; }
    .hero-bg { display: none; }
    .hero { background: var(--asphalt); }
    .grid-3, .cta-grid, .detail-row, .fleet-grid, .contact-wrapper, .form-row { grid-template-columns: 1fr; }
    .cta-text { text-align: center; margin-bottom: 20px; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}