:root {
  --bg: linear-gradient(135deg, rgba(13, 58, 122, 0.95) 0%, rgba(97, 142, 207, 0.9) 45%, rgba(224, 232, 241, 0.95) 100%);
  --card: rgba(232, 240, 248, 0.72);
  --surface: rgba(255, 255, 255, 0.42);
  --surface-strong: rgba(220, 232, 242, 0.7);
  --muted: #51657a;
  --accent: #071a3b;
  --primary: #1d7af6;
  --primary-dark: #071a3b;
  --silver: #e9eef6;
  --silver-strong: #dce5f1;
  --radius: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--accent);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-attachment: fixed;
}

a { color: inherit; }

.contact a[href*="facebook.com"] {
  color: #1877f2;
  font-weight: 700;
  text-decoration: none;
}

.contact a[href*="facebook.com"]:hover {
  color: #0b5fcc;
  text-decoration: underline;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  margin: 12px 18px 0;
  background: linear-gradient(90deg, rgba(220, 232, 242, 0.82), rgba(255, 255, 255, 0.45));
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 10px 30px rgba(7, 26, 59, 0.12);
}

.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 58px; height: 58px; object-fit: cover; border-radius: 14px; border: 1px solid rgba(7, 26, 59, 0.08); box-shadow: 0 8px 18px rgba(7, 26, 59, 0.12); }
.brand h1 { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: 0.02em; color: var(--primary-dark); }
.tag { margin: 2px 0 0; font-size: 0.84rem; color: #44607f; font-weight: 600; }

.nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nav a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nav a:hover {
  background: linear-gradient(90deg, rgba(15, 44, 99, 0.95), rgba(29, 122, 246, 0.85));
  color: #fff;
  transform: translateY(-1px);
}

.container {
  max-width: 1180px;
  margin: 22px auto 70px;
  padding: 0 18px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(7, 26, 59, 0.16);
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
}

.hero {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 32px;
}

.hero-left { flex: 1; }
.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--silver), var(--silver-strong));
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.7vw, 2.2rem); line-height: 1.2; }
.hero p { color: var(--muted); font-size: 1rem; margin: 0 0 14px; }
.hero-img {
  width: 280px;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 16px 36px rgba(7, 26, 59, 0.18);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.38);
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
}
.btn.primary {
  background: linear-gradient(90deg, #0f2c63 0%, #1d7af6 100%);
  color: white;
  border: none;
  box-shadow: 0 10px 22px rgba(29, 122, 246, 0.25);
}
.btn:hover { transform: translateY(-1px); }

.section-heading { margin-bottom: 14px; }
.section-heading h3 { margin: 0 0 4px; font-size: 1.2rem; }
.section-heading p { margin: 0; color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }

.product {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.42), rgba(220,232,242,0.72));
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.product img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 20px rgba(7, 26, 59, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Lightbox for viewing images on mobile and desktop */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,10,20,0.75);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 18px;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  max-width: 98vw;
  max-height: 98vh;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.lightbox-img {
  max-width: 95vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}
.lightbox-caption {
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
  max-width: 95vw;
  margin: 0;
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 1001;
}

/* Prevent body scroll when lightbox open */
.no-scroll { overflow: hidden; }
.product:hover img {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(7, 26, 59, 0.18);
}
.product h4 { margin: 6px 0 6px; font-size: 1rem; }
.product p { color: var(--muted); margin: 0 0 8px; font-size: 0.94rem; }
.product ul { padding-left: 18px; color: var(--accent); margin: 0 0 12px; }
.product li { margin-bottom: 4px; font-size: 0.92rem; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 12px; }
.item {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.38), rgba(220,232,242,0.7));
  overflow: hidden;
}
.item img {
  width: 100%;
  height: 122px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 20px rgba(7, 26, 59, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.item:hover img {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(7, 26, 59, 0.18);
}
.item h5 { margin: 0; font-size: 0.97rem; }
.price { font-weight: 800; color: var(--primary); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 12px; }
.address-box { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.35); color: var(--primary-dark); }
.small { font-size: 0.86rem; color: var(--muted); margin-top: 12px; }

.bicycle-pdf-block {
  margin-top: 20px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.32);
}
.bicycle-pdf-block h4 { margin: 0 0 6px; }
.bicycle-pdf-block p { margin: 0 0 12px; color: var(--muted); }

.pdf-viewer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 59, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1100;
}
.pdf-viewer-overlay.open { display: flex; }
.pdf-viewer-modal {
  width: min(1100px, 100%);
  height: min(860px, 100%);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}
.pdf-viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #e5eaf2;
  background: #f7f9fc;
}
.pdf-viewer-toolbar h4 { margin: 0; color: var(--primary-dark); }
.pdf-close-btn {
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
  background: linear-gradient(90deg, #0f2c63 0%, #1d7af6 100%);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}
.pdf-viewer-frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: #fff;
}

.footer { text-align: center; padding: 16px 20px 28px; color: rgba(255,255,255,0.82); font-size: 0.9rem; }

@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .nav { gap: 8px; }
  .card { padding: 18px; }
  .hero { padding: 20px; }
}
