:root {
    --navy-blue: #002060;
    --cargo-red: #D32F2F;
    --container-grey: #ECEFF1;
    --text-dark: #333;
    --white: #ffffff;
    
    --font-head: 'Exo', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--white);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Top Bar */
.top-bar { background: var(--navy-blue); color: var(--white); font-size: 0.8rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.top-flex { display: flex; justify-content: flex-end; gap: 20px; font-weight: 600; }

/* Header */
.logistics-header { background: var(--white); padding: 15px 0; box-shadow: 0 2px 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(--navy-blue); display: flex; align-items: center; gap: 10px; }
.red { color: var(--cargo-red); }
.globe-icon { font-size: 1.8rem; }

.cargo-nav a { margin-left: 20px; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; color: #555; }
.cargo-nav a:hover, .cargo-nav a.active { color: var(--cargo-red); }

.btn-track { background: var(--cargo-red); color: var(--white) !important; padding: 10px 25px; border-radius: 4px; font-weight: bold; }
.btn-track:hover { background: var(--navy-blue); }

/* Mobile Menu */
.mobile-menu-btn { display: none; font-weight: bold; cursor: pointer; color: var(--navy-blue); border: 2px solid var(--navy-blue); padding: 5px 10px; border-radius: 4px; }
.mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--navy-blue); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: translateY(-100%); transition: 0.4s; }
.mobile-overlay.active { transform: translateY(0); }
.close-btn { position: absolute; top: 20px; right: 20px; background: none; border: 2px solid var(--white); color: var(--white); font-size: 2rem; cursor: pointer; padding: 0 10px; }
.mobile-overlay a { font-family: var(--font-head); font-size: 2rem; color: var(--white); margin: 15px 0; font-weight: bold; }

/* Hero */
.hero-logistics { height: 80vh; background-size: cover; background-position: center; position: relative; }
.hero-filter { width: 100%; height: 100%; background: linear-gradient(to right, rgba(0, 32, 96, 0.9), rgba(0, 32, 96, 0.3)); display: flex; align-items: center; }
.hero-content { margin-left: 10%; color: var(--white); max-width: 600px; }
.hero-content h1 { font-family: var(--font-head); font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

.tracking-box { background: var(--white); padding: 25px; border-radius: 4px; color: var(--text-dark); border-top: 5px solid var(--cargo-red); max-width: 400px; }
.tracking-box h3 { margin-bottom: 15px; color: var(--navy-blue); font-family: var(--font-head); }
#trackForm { display: flex; gap: 10px; }
#trackForm input { flex: 1; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-family: var(--font-body); }
#trackForm button { background: var(--navy-blue); color: var(--white); border: none; padding: 10px 15px; border-radius: 4px; font-weight: bold; cursor: pointer; }
#trackResult { margin-top: 10px; font-size: 0.9rem; font-weight: bold; color: var(--cargo-red); }

/* Services */
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-family: var(--font-head); font-size: 2.5rem; color: var(--navy-blue); margin-bottom: 10px; }
.red-line { width: 80px; height: 4px; background: var(--cargo-red); margin: 0 auto; }
.red-line.left { margin: 20px 0; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--container-grey); padding: 30px; border-radius: 4px; text-align: center; transition: 0.3s; border: 1px solid #ddd; }
.service-card:hover { transform: translateY(-5px); border-color: var(--navy-blue); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.service-card.highlight { background: var(--white); border: 2px solid var(--navy-blue); }
.icon { font-size: 3rem; margin-bottom: 15px; }
.service-card h3 { font-family: var(--font-head); color: var(--navy-blue); margin-bottom: 10px; }

/* Stats */
.stats-strip { background: var(--navy-blue); color: var(--white); padding: 40px 0; margin-top: 50px; }
.stats-flex { display: flex; justify-content: space-around; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 3rem; color: var(--cargo-red); line-height: 1; }
.stat span { font-weight: bold; opacity: 0.9; }

/* About & Quote */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.text-block h1 { font-family: var(--font-head); font-size: 3rem; color: var(--navy-blue); }
.features-list { list-style: none; margin-top: 30px; }
.features-list li { margin-bottom: 10px; font-weight: bold; color: #555; }
.img-block { position: relative; }
.img-block img { width: 100%; border-radius: 4px; box-shadow: 20px 20px 0 var(--container-grey); }
.caption { position: absolute; bottom: 0; left: 0; background: var(--cargo-red); color: var(--white); padding: 5px 15px; font-weight: bold; font-size: 0.8rem; }

.quote-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background: var(--container-grey); padding: 50px; border-radius: 4px; }
.contact-data h2 { font-family: var(--font-head); color: var(--navy-blue); margin-bottom: 20px; }
.info-lines p { margin-bottom: 10px; font-weight: bold; }

.logistics-form .form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.input-grp { flex: 1; }
.logistics-form label { display: block; font-weight: bold; font-size: 0.9rem; margin-bottom: 5px; }
.logistics-form input, .logistics-form select, .logistics-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; background: var(--white); font-family: var(--font-body); border-radius: 4px; }
.logistics-form input:focus { border-color: var(--navy-blue); outline: none; }
.btn-submit { width: 100%; background: var(--cargo-red); color: var(--white); border: none; padding: 15px; font-weight: bold; cursor: pointer; border-radius: 4px; }
.btn-submit:hover { background: var(--navy-blue); }

/* References & Legal */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ref-card { background: var(--white); border: 1px solid #ddd; padding: 30px; border-left: 5px solid var(--navy-blue); }
.ref-card.highlight { border-left-color: var(--cargo-red); background: #fafafa; }
.ref-card h4 { font-family: var(--font-head); margin-bottom: 15px; color: var(--navy-blue); }
.ref-card p { font-style: italic; color: #666; margin-bottom: 20px; }
.manager { font-size: 0.8rem; font-weight: bold; text-align: right; }

.legal-doc { max-width: 800px; margin: 0 auto; background: var(--white); padding: 50px; border: 1px solid #ddd; }
.legal-doc h1 { font-family: var(--font-head); color: var(--navy-blue); }
.legal-doc h3 { color: var(--cargo-red); margin-top: 30px; }

/* Footer */
.logistics-footer { background: #263238; color: #ccc; padding: 50px 0 20px; margin-top: 80px; border-top: 5px solid var(--cargo-red); }
.footer-content { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #37474f; padding-bottom: 30px; margin-bottom: 20px; }
.f-col h4 { color: var(--white); font-family: var(--font-head); margin-bottom: 5px; }
.f-col.right a { color: #aaa; margin-left: 20px; }
.f-col.right a:hover { color: var(--cargo-red); }
.copyright { text-align: center; font-size: 0.8rem; }

/* Cookie */
.cookie-box { position: fixed; bottom: 20px; left: 20px; background: var(--navy-blue); color: var(--white); padding: 15px 25px; border-radius: 4px; display: none; align-items: center; gap: 20px; z-index: 9999; }
.cookie-box.active { display: flex; animation: slideIn 0.5s; }
.cookie-box button { background: var(--cargo-red); color: var(--white); border: none; padding: 5px 15px; font-weight: bold; cursor: pointer; border-radius: 2px; }

@keyframes slideIn { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

@media (max-width: 900px) {
    .cargo-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    #trackForm { flex-direction: column; }
    #trackForm input, #trackForm button { width: 100%; }
    .service-grid, .about-layout, .quote-wrapper, .ref-grid, .logistics-form .form-row, .stats-flex { grid-template-columns: 1fr; }
    .stats-flex { gap: 30px; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
}