/* Styles for Vestlandtransport website */
body {
    margin: 0;
    font-family: Georgia, serif;
    color: #1f2a33;
    line-height: 1.7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
h1, h2, h3, nav, .btn, .label, footer { font-family: Arial, sans-serif; }
h2 { font-size: 30px; line-height: 1.3; margin: 0 0 18px; }
h3 { font-size: 18px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: auto; padding: 0 24px; }
section { padding: 70px 0; }
.label { display: block; font-size: 12px; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }

/* Top menu */
header { background: white; border-bottom: 1px solid #ddd; position: sticky; top: 0; z-index: 5; }
.bar { max-width: 1080px; padding: 14px 24px; margin: auto; display: flex; justify-content: space-between; align-items: center; }
.brand { text-decoration: none; }
.brand strong { display: block; font-size: 22px; color: #12324a; }
.brand span { display: block; font-size: 13px; color: #5b6b77; }
nav a { text-decoration: none; margin-left: 18px; font-size: 14px; color: #33444f; }
nav a:hover { color: #c2571a; }

/* Two columns for text and pictures */
.two { display: flex; align-items: center; gap: 45px; }
.two > div, .two > img, .two > dl { width: 50%; }
.art { display: block; width: 100%; height: auto; border-radius: 8px; }
img.art { aspect-ratio: 16 / 9; object-fit: cover; }

/* First section */
#home { background: #16415c; color: white; padding: 90px 0; }
#home .label { color: #f2b38a; }
#home h1 { font-size: 40px; line-height: 1.2; margin: 0 0 18px; }
#home p { color: #d6e2ea; }
.btn { display: inline-block; background: #e07a3c; color: white; text-decoration: none; padding: 12px 24px; margin-top: 20px; border-radius: 4px; }
.btn:hover { background: #c2571a; }

/* About */
#about .label { color: #1e5470; }
.facts { border-left: 3px solid #e07a3c; padding-left: 16px; font-family: Arial, sans-serif; font-size: 14px; }

/* Transport services */
#freight { background: #f4efe8; }
#freight .label { color: #a34a14; }
.cards { display: flex; gap: 22px; margin-top: 30px; }
.card { flex: 1; background: white; border-top: 4px solid #e07a3c; border-radius: 6px; padding: 24px; }
.card p { font-size: 15px; }

/* Warehouse */
#warehouse { background: #eaf3ef; }
#warehouse .label { color: #2d6b52; }
#warehouse ul { padding-left: 20px; }
#warehouse li { margin-bottom: 6px; }

/* Work steps */
#process .label { color: #5a4a8a; }
.steps { display: flex; gap: 20px; margin-top: 30px; }
.step { flex: 1; background: #f3f1f9; padding: 22px; border-radius: 6px; }
.step p { font-size: 14px; }
.step h3 { margin-top: 0; }

/* Safety */
#safety { background: #22313b; color: #e9eef1; }
#safety .label { color: #9fd3c7; }
#safety p { color: #c6d1d8; }
.grid2 { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 26px; }
.grid2 div { width: calc(50% - 12px); border-left: 3px solid #9fd3c7; padding-left: 16px; }

/* Region and contacts */
#region { background: #fdf7e6; }
#region .label { color: #8a6a12; }
#contact { background: #f2f5f7; }
#contact .label { color: #12324a; }
.contact-box { background: white; border: 1px solid #dde3e7; padding: 30px; border-radius: 8px; font-family: Arial, sans-serif; font-size: 15px; margin: 0; }
.contact-box dt { font-weight: bold; color: #12324a; margin-top: 12px; }
.contact-box dt:first-child { margin-top: 0; }
.contact-box dd { margin-left: 0; }
.contact-box a { color: #1e5470; }

footer { background: #12324a; color: #b8c7d1; padding: 22px 0; text-align: center; font-size: 13px; }
footer .name { color: white; font-weight: bold; }
.privacy { background: #0d2638; color: #93a6b3; padding: 10px 24px; text-align: center; font: 12px Arial, sans-serif; }

/* Small screens */
@media (max-width: 820px) {
    nav { display: none; }
    .two, .cards, .steps { flex-direction: column; }
    .two > div, .two > img, .two > dl { width: 100%; }
    .grid2 div { width: 100%; }
    section { padding: 50px 0; }
    #home h1 { font-size: 32px; }
}
