/*
Theme Name: Omni Baltic
Theme URI: https://omnibusinesslab.com
Author: Omni Business Lab
Author URI: https://omnibusinesslab.com
Description: Lightweight hand-coded theme for the Baltic Transfer demo site. No page builders, no external assets, semantic HTML.
Version: 1.0.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: omni-baltic
*/

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --ink: #1c2733;
  --muted: #5b6b7b;
  --amber: #f4a511;
  --amber-dark: #d68f06;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --line: #e3e9ef;
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.site-brand { font-weight: 800; font-size: 1.25rem; letter-spacing: .2px; color: #fff; text-decoration: none; white-space: nowrap; }
.site-brand .brand-accent { color: var(--amber); }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 8px;
  color: #e8eef5; text-decoration: none; font-size: .97rem;
}
.site-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.site-nav .current-menu-item > a { background: rgba(255,255,255,.14); color: #fff; }
.site-nav .lang-switch > a {
  border: 1px solid rgba(255,255,255,.35); margin-left: 8px; font-weight: 600;
}

/* Footer */
.site-footer { background: var(--navy); color: #c7d3e0; margin-top: 72px; }
.site-footer .wrap { padding: 40px 24px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; font-size: .95rem; }
.site-footer a { color: #fff; }
.demo-badge {
  background: var(--amber); color: var(--navy); font-weight: 700;
  padding: 2px 10px; border-radius: 999px; font-size: .8rem; letter-spacing: .3px;
}

/* Content basics */
.site-main { min-height: 55vh; }
.entry-content h1, .entry-content h2, .entry-content h3 { line-height: 1.25; color: var(--navy); }
.entry-content h1 { font-size: 2.4rem; margin: 0 0 .5em; }
.entry-content h2 { font-size: 1.7rem; margin-top: 2em; }
.entry-content h3 { font-size: 1.2rem; }
.entry-content > .wrap > *:first-child { margin-top: 0; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1d4e89 100%);
  color: #fff; padding: 84px 0 76px;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 0 0 18px; line-height: 1.15; color: #fff; }
.hero p.lead { font-size: 1.25rem; color: #dbe6f2; max-width: 640px; margin: 0 0 30px; }
.hero .hero-kicker { color: var(--amber); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; margin-bottom: 14px; }

/* Buttons */
.btn, .wp-block-button__link {
  display: inline-block; background: var(--amber); color: var(--navy) !important;
  font-weight: 700; text-decoration: none; padding: 13px 26px; border-radius: 10px;
  border: 0; cursor: pointer; font-size: 1rem; transition: background .15s ease;
}
.btn:hover, .wp-block-button__link:hover { background: var(--amber-dark); }
.btn-ghost { background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,.5); margin-left: 10px; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin: 28px 0; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: 0 6px 18px rgba(11,37,69,.05);
}
.card h3 { margin: 0 0 10px; }
.card p { margin: 0 0 14px; color: var(--muted); }
.card .card-price { font-weight: 800; color: var(--navy); font-size: 1.15rem; margin-bottom: 6px; }
.card a.more { font-weight: 600; text-decoration: none; }

/* Sections */
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-title { text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 34px; }

/* Stats strip */
.stats { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; margin: 34px 0 0; }
.stat { flex: 1 1 180px; background: rgba(255,255,255,.08); border-radius: var(--radius); padding: 18px 20px; }
.stat b { display: block; font-size: 1.6rem; color: var(--amber); }
.stat span { color: #dbe6f2; font-size: .92rem; }

/* Checklist */
ul.checks { list-style: none; padding: 0; }
ul.checks li { padding-left: 30px; position: relative; margin: 10px 0; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--amber-dark); font-weight: 800; }

/* Forms */
.omni-form { max-width: 640px; }
.omni-form .field { margin-bottom: 18px; }
.omni-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.omni-form input[type="text"], .omni-form input[type="email"], .omni-form input[type="tel"],
.omni-form input[type="date"], .omni-form input[type="time"], .omni-form select, .omni-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
}
.omni-form input:focus, .omni-form select:focus, .omni-form textarea:focus { outline: 2px solid var(--navy-2); border-color: var(--navy-2); }
.omni-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { color: var(--muted); font-size: .9rem; }
.form-success {
  background: #e8f6ec; border: 1px solid #b7e0c2; color: #1c6b34;
  padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-weight: 600;
}
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; }

/* Page header for inner pages */
.page-hero { background: var(--navy); color: #fff; padding: 44px 0 38px; margin-bottom: 40px; }
.page-hero h1 { margin: 0; font-size: 2.1rem; color: #fff; }

/* Tables */
.entry-content table { border-collapse: collapse; width: 100%; margin: 20px 0; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--bg-soft); }

@media (max-width: 720px) {
  .site-header .wrap { flex-direction: column; padding-top: 10px; padding-bottom: 10px; }
  .hero { padding: 56px 0 50px; }
  .omni-form .row { grid-template-columns: 1fr; }
}
