/* Palette: Asphalt Grey, Signal Yellow, Alert Red */
:root {
    --asphalt: #37474F;
    --dark-asphalt: #263238;
    --yellow: #FFD600;
    --red: #D32F2F;
    --light-grey: #ECEFF1;
    --white: #FFFFFF;
    --text: #263238;
    
    --font-head: 'Barlow', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--light-grey);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; }

/* Header */
.drive-header { background: var(--asphalt); padding: 15px 0; position: sticky; top: 0; z-index: 1000; border-bottom: 4px solid var(--yellow); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--white); display: flex; align-items: center; gap: 10px; letter-spacing: 1px; }
.yellow { color: var(--yellow); }
.icon-road { font-size: 1.5rem; }

.traffic-nav a { margin-left: 20px; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; color: #CFD8DC; }
.traffic-nav a:hover, .traffic-nav a.active { color: var(--yellow); }

.btn-signal { background: var(--yellow); color: var(--asphalt) !important; padding: 10px 20px; border-radius: 4px; font-weight: 800; }
.btn-signal:hover { background: var(--white); }

/* Mobile Menu */
.mobile-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
.mobile-toggle span { width: 30px; height: 3px; background: var(--yellow); }

.mobile-menu { position: fixed; top: 0; right: -100%; width: 260px; height: 100%; background: var(--asphalt); z-index: 2000; padding: 30px; transition: 0.4s; }
.mobile-menu.active { right: 0; }
.close-menu { align-self: flex-end; color: var(--yellow); font-size: 2rem; background: none; border: none; cursor: pointer; margin-bottom: 20px; }
.mobile-menu a { display: block; color: var(--white); font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); }

@media (max-width: 900px) {
    .traffic-nav { display: none; }
    .mobile-toggle { display: flex; }
}

/* Hero */
.hero-road { height: 80vh; background-size: cover; background-position: center; position: relative; }
.overlay-dark { width: 100%; height: 100%; background: rgba(38, 50, 56, 0.85); display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content { color: var(--white); max-width: 800px; padding: 20px; }
.road-sign { background: var(--yellow); color: var(--asphalt); padding: 5px 15px; font-weight: 800; text-transform: uppercase; font-size: 0.8rem; border-radius: 2px; display: inline-block; margin-bottom: 20px; }
.hero-content h1 { font-family: var(--font-head); font-size: 4rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.hero-content p { font-size: 1.2rem; color: #B0BEC5; margin-bottom: 40px; }

.cta-group { display: flex; justify-content: center; gap: 20px; }
.btn-primary { background: var(--red); color: var(--white); padding: 15px 35px; border-radius: 4px; font-weight: 700; border: 2px solid var(--red); }
.btn-secondary { background: transparent; border: 2px solid var(--white); color: var(--white); padding: 15px 35px; border-radius: 4px; font-weight: 700; }
.btn-secondary:hover { background: var(--white); color: var(--asphalt); }

/* Services */
.section-head h2 { font-family: var(--font-head); font-size: 2.5rem; color: var(--asphalt); margin-bottom: 15px; }
.yellow-dash { width: 80px; height: 6px; background: var(--yellow); margin: 0 auto; }
.yellow-dash.left { margin: 20px 0; }
.text-center { text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.service-card { background: var(--white); padding: 40px 25px; text-align: center; border-radius: 8px; border-bottom: 5px solid var(--asphalt); transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.service-card:hover { transform: translateY(-5px); border-bottom-color: var(--yellow); }
.icon { font-size: 3rem; margin-bottom: 20px; }
.service-card h3 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 10px; color: var(--asphalt); }
.service-card a { color: var(--red); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; }

/* Logistics Page */
.content-layout { display: grid; grid-template-columns: 1fr 2.5fr; gap: 50px; }
.sidebar h3 { font-family: var(--font-head); color: var(--asphalt); margin-bottom: 20px; border-bottom: 2px solid var(--yellow); padding-bottom: 10px; }
.sidebar ul { list-style: none; padding: 0; }
.sidebar li { padding: 10px 0; border-bottom: 1px solid #ddd; cursor: pointer; color: #555; }
.sidebar li.active { font-weight: 700; color: var(--asphalt); padding-left: 10px; border-left: 3px solid var(--yellow); }
.main-text h1 { font-family: var(--font-head); font-size: 2.5rem; color: var(--asphalt); }
.info-box { background: var(--white); padding: 30px; border-radius: 8px; margin-top: 30px; border-left: 5px solid var(--yellow); }
.info-box h3 { font-family: var(--font-head); color: var(--asphalt); margin-bottom: 10px; }

/* Traffic Page */
.traffic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.traffic-card { background: var(--asphalt); color: var(--white); padding: 30px; border-radius: 8px; text-align: center; }
.traffic-card.highlight { background: var(--yellow); color: var(--asphalt); }
.traffic-card h3 { font-family: var(--font-head); margin-bottom: 15px; font-size: 1.3rem; }

/* Emergency Strip */
.emergency-strip { background: var(--red); color: var(--white); padding: 40px 0; margin-top: 50px; }
.e-flex { display: flex; justify-content: space-between; align-items: center; }
.e-text h3 { font-family: var(--font-head); font-size: 1.8rem; margin-bottom: 5px; }
.btn-white { background: var(--white); color: var(--red); padding: 12px 30px; font-weight: 700; border-radius: 4px; }

/* Contact */
.contact-panel { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background: var(--white); padding: 50px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.panel-info h2 { font-family: var(--font-head); color: var(--asphalt); margin-bottom: 20px; }
.c-list p { margin-bottom: 10px; font-weight: 500; }

.road-form .form-grp { margin-bottom: 20px; }
.road-form label { display: block; font-weight: 700; margin-bottom: 5px; font-size: 0.9rem; }
.road-form input, .road-form select, .road-form textarea { width: 100%; padding: 12px; border: 2px solid #eee; border-radius: 4px; font-family: var(--font-body); }
.road-form input:focus, .road-form select:focus, .road-form textarea:focus { border-color: var(--yellow); outline: none; }
.btn-submit { width: 100%; background: var(--asphalt); color: var(--white); border: none; padding: 15px; font-weight: 700; border-radius: 4px; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { background: var(--yellow); color: var(--asphalt); }

/* Legal */
.legal-text { max-width: 800px; margin: 0 auto; background: var(--white); padding: 50px; border-radius: 8px; }
.legal-text h1 { font-family: var(--font-head); color: var(--asphalt); }
.legal-text h3 { color: var(--red); margin-top: 30px; font-family: var(--font-head); }

/* Footer */
.drive-footer { background: #263238; color: #B0BEC5; padding: 60px 0 20px; margin-top: 80px; border-top: 5px solid var(--yellow); }
.footer-content { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #37474F; padding-bottom: 30px; margin-bottom: 20px; }
.f-info h4 { color: var(--white); font-family: var(--font-head); letter-spacing: 1px; }
.f-links a { color: #90A4AE; margin-left: 20px; }
.f-links a:hover { color: var(--yellow); }
.copyright { text-align: center; font-size: 0.8rem; }

/* Cookie */
.cookie-road { position: fixed; bottom: 20px; left: 20px; background: var(--asphalt); color: var(--white); padding: 15px 25px; border-radius: 4px; display: flex; align-items: center; gap: 20px; z-index: 9999; display: none; border-left: 5px solid var(--yellow); }
.cookie-road.active { display: flex; }
.cookie-road button { background: var(--yellow); color: var(--asphalt); border: none; padding: 8px 20px; font-weight: 700; cursor: pointer; border-radius: 2px; }

@media (max-width: 900px) {
    .grid-3, .content-layout, .traffic-grid, .contact-panel { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    .cta-group { flex-direction: column; }
    .e-flex { flex-direction: column; text-align: center; gap: 20px; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
}