
/* cartransportace.com simple website */
* { box-sizing: border-box; }
:root {
  --brand: #e53935;
  --dark: #111;
  --text: #2a2a2a;
  --bg: #fff;
  --muted: #f4f6f8;
}

html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); }

.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.header { position: sticky; top: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-bottom: 1px solid #eee; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--dark); font-weight: 700; letter-spacing: .2px;}
.brand img { height: 40px; width: auto; }
.nav a { margin-left: 1rem; text-decoration: none; color: var(--dark); font-weight: 600; }
.nav a:hover { color: var(--brand); }

/* Hero */
.hero { position: relative; min-height: 60vh; display: grid; place-items: center; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.hero .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.55)); }
.hero .content { position: relative; text-align: center; color: #fff; padding: 4rem 1rem; }
.hero h1 { font-size: clamp(2rem, 4vw + 1rem, 3.2rem); margin: 0 0 .5rem; }
.hero p { font-size: clamp(1rem, 1.2vw + .6rem, 1.25rem); opacity: .95; }
.cta { margin-top: 1.2rem; display: inline-block; padding: .85rem 1.2rem; background: var(--brand); color: #fff; border-radius: 10px; font-weight: 700; text-decoration: none; }
.cta:hover { filter: brightness(.95); }

/* Sections */
.section { padding: 3.5rem 0; }
.section.alt { background: var(--muted); }

.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 1.2rem; }
.card h3 { margin: .2rem 0 .5rem; }
.card p { margin: 0; line-height: 1.55; }

.badge { display: inline-block; padding: .2rem .55rem; font-size: .8rem; font-weight: 700; border-radius: 999px; background: #fee; color: var(--brand); border: 1px solid #f7c6c6; }

/* Footer */
.footer { background: #0f172a; color: #e5e7eb; padding: 2.2rem 0; }
.footer a { color: #e5e7eb; text-decoration: none; }
.footer small { opacity: .8; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.8rem; }
.contact form { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 1.2rem; }
label { display:block; margin-top: .7rem; font-weight: 600; }
input, textarea { width: 100%; padding: .7rem .8rem; border-radius: 10px; border: 1px solid #ddd; margin-top: .35rem; font: inherit; }
button { margin-top: .9rem; padding: .8rem 1rem; border: none; border-radius: 10px; background: var(--brand); color: white; font-weight: 700; cursor: pointer; }
button:hover { filter: brightness(.95); }

@media (max-width: 820px) {
  .contact { grid-template-columns: 1fr; }
}
