/* ════════════════════════════════════════════════════════
   style.css – wspólne style dla całego serwisu Prezes-Bus
   ════════════════════════════════════════════════════════ */

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

:root {
  --blue:        #1A8FE3;
  --blue-dark:   #1270B8;
  --blue-light:  #E8F4FD;
  --orange:      #F5820D;
  --orange-dark: #D06A00;
  --orange-light:#FEF3E2;
  --white:       #FFFFFF;
  --gray-50:     #F9FAFB;
  --gray-100:    #F3F4F6;
  --gray-200:    #E5E7EB;
  --gray-400:    #9CA3AF;
  --gray-600:    #4B5563;
  --gray-700:    #374151;
  --gray-800:    #1F2937;
  --gray-900:    #111827;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.13);
  --transition:  .25s cubic-bezier(.4,0,.2,1);
  --font:        'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll; /* zawsze pokazuj scrollbar – zapobiega przesunięciu navbaru */
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--blue-light);
  color: var(--blue-dark);
}
.badge.orange {
  background: var(--orange-light);
  color: var(--orange-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}
.section-header p {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 8px auto 0;
}

section { padding: 96px 0; }
section:nth-child(even) { background: var(--gray-50); }

/* ── NAVBAR ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.nav-logo-name {
  font-size: .82rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}
.nav-logo-name span {
  color: var(--gray-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-500, #6B7280);
  padding: 6px 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.nav-links a:hover {
  color: var(--gray-900);
}
.nav-links a.active {
  color: var(--blue);
  background: var(--blue-light);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
  letter-spacing: .03em;
}
.btn-primary {
  background: var(--blue-dark);
  color: white;
  border-color: var(--blue-dark);
}
.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}
.btn-outline {
  background: transparent;
  color: var(--gray-800);
  border-color: var(--gray-300, #D1D5DB);
}
.btn-outline:hover {
  border-color: var(--gray-800);
}
.btn-orange {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-orange:hover {
  background: var(--orange);
  color: white;
}
.btn-lg {
  padding: 13px 30px;
  font-size: .95rem;
  border-radius: var(--radius-md);
}
.btn-white {
  background: white;
  color: var(--gray-900);
  border-color: white;
}
.btn-white:hover {
  background: var(--gray-100);
  border-color: var(--gray-100);
}
.btn-ghost-dark {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.75);
}
.btn-ghost-dark:hover {
  border-color: rgba(255,255,255,.55);
  color: white;
}

/* ── HAMBURGER ───────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ─────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu a:hover { background: var(--blue-light); color: var(--blue); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: #080E1A;
  color: rgba(255,255,255,.35);
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
}
footer p { font-size: .75rem; }
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,.65); }

/* ── SCROLL TOP BUTTON ───────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  transition: all var(--transition);
  z-index: 900;
}
#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover { transform: translateY(-3px); }

/* ── REVEAL ANIMATION ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links { justify-content: center; }
}
