/* ============================================================
   Unioflotta — Prémium sötét dizájn rendszer
   ============================================================ */

:root {
  --color-bg: #0c0d10;
  --color-bg-alt: #15171c;
  --color-bg-card: #1b1e24;
  --color-border: #2a2d34;
  --color-text: #eceef1;
  --color-text-muted: #9aa0ab;
  --color-red: #e60000;
  --color-red-dark: #a80000;
  --color-gold: #c9a35a;
  --color-gold-soft: #e3cd9a;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --container: 1180px;
  --radius: 6px;
  --transition: 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--color-gold-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 14px;
  font-weight: 600;
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 720px;
}

p { color: var(--color-text-muted); }
p + p { margin-top: 14px; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head p { color: var(--color-text-muted); }

/* ---------- Prose / long-form text ---------- */
.prose p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--color-text);
}
.prose p + p { margin-top: 18px; }
.prose strong { color: var(--color-gold-soft); font-weight: 700; }

/* ---------- Top banner image ---------- */
.top-banner { padding: 28px 0 0; }
.top-banner .container { max-width: 1180px; }
.top-banner img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  border: 1px solid var(--color-border);
  box-shadow: 0 25px 70px rgba(0,0,0,0.5);
}

/* ---------- Inline content media (two-col images) ---------- */
.content-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* ---------- Trust / bizalomépítő section ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.trust-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
@media (max-width: 700px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(230, 0, 0, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(230, 0, 0, 0.35); }

.btn-outline {
  border-color: var(--color-gold);
  color: var(--color-gold-soft);
  background: transparent;
}
.btn-outline:hover { background: var(--color-gold); color: #14151a; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 13, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-top {
  border-bottom: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.lang-switch { display: flex; gap: 14px; }
.lang-switch a { color: var(--color-text-muted); transition: color var(--transition); }
.lang-switch a:hover { color: var(--color-gold); }
.header-top .contact-inline { display: flex; gap: 22px; }
.header-top .contact-inline a:hover { color: var(--color-gold); }
.social-icons { display: flex; gap: 16px; }
.social-icons a { color: var(--color-text-muted); transition: color var(--transition); display: flex; }
.social-icons a:hover { color: var(--color-gold); }

.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.logo span { color: var(--color-red); }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-red);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--color-gold-soft); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--color-gold-soft); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--color-text);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(230,0,0,0.12), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(201,163,90,0.08), transparent 50%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(12,13,16,0.55), rgba(12,13,16,0.9)), var(--hero-img, none);
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.hero-content { max-width: 760px; margin: 0 auto; text-align: center; }
.hero .stat-row {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat-row .stat b {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-gold);
}
.stat-row .stat span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }
.hero .lead { margin-left: auto; margin-right: auto; }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-alt { background: var(--color-bg-alt); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.fleet-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  transition: border-color var(--transition), transform var(--transition);
}
.fleet-card:hover { border-color: var(--color-gold); transform: translateY(-4px); }
.fleet-card .icon-bar {
  width: 46px; height: 3px;
  background: var(--color-red);
  margin-bottom: 22px;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.fleet-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.divider-gold {
  width: 70px; height: 2px;
  background: var(--color-gold);
  margin: 0 auto 20px;
}

/* ---------- Partners ---------- */
.partner-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}
.partner-list .country {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
}
.partner-list .country h4 { color: var(--color-gold); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.partner-list .country p { font-size: 0.92rem; }

/* ---------- Callback form ---------- */
.callback {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.callback-info h3 { color: var(--color-gold-soft); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-gold); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: 22px; }
.consent a { color: var(--color-gold); }
.consent input { width: auto; margin-top: 3px; }

/* ---------- Business CTA ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-red-dark), var(--color-red));
  border-radius: 10px;
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.85); }
.cta-banner .btn-outline { border-color: #fff; color: #fff; }
.cta-banner .btn-outline:hover { background: #fff; color: var(--color-red-dark); }

/* ---------- Coming soon ---------- */
.coming-soon {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.coming-soon .badge {
  display: inline-block;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 26px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid h4 { color: var(--color-gold-soft); font-size: 0.95rem; margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { color: var(--color-text-muted); transition: color var(--transition); }
.footer-grid ul li a:hover { color: var(--color-gold); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Cookie banner ---------- */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  padding: 18px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  z-index: 200;
  flex-wrap: wrap;
  text-align: center;
}
.cookie-bar p { font-size: 0.85rem; margin: 0; color: var(--color-text-muted); }
.cookie-bar.hidden { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .two-col, .callback, .footer-grid { grid-template-columns: 1fr !important; }
  .two-col { gap: 28px; }
  .fleet-grid, .fleet-grid-3, .partner-list { grid-template-columns: 1fr !important; }
  .nav-main { flex-wrap: nowrap; }
  .nav-links {
    position: fixed;
    top: 84px; left: 0; right: 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    transform: translateY(-150%);
    transition: transform var(--transition);
    z-index: 150;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; flex-shrink: 0; }
  .header-top .contact-inline { display: none; }
  .cta-banner { flex-direction: column; text-align: center; }

  /* Content images: full width, clear spacing from text when stacked */
  .content-media { margin-top: 4px; }
  .content-media img { width: 100%; height: auto; }

  /* Contact form card: less padding so it doesn't overflow narrow screens */
  .callback { padding: 28px 20px; gap: 32px; }
  .field input, .field textarea { font-size: 16px; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .fleet-card { padding: 28px 22px; }
  .callback { padding: 24px 16px; }
  .stat-row { gap: 28px; row-gap: 20px; }
  .top-banner { padding: 16px 0 0; }
}
