@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
/* ── bike.com.hr shared stylesheet ── */
:root {
  --cream:       #FDFAF5;
  --sand:        #F0E8D5;
  --sand-dark:   #E2D4BA;
  --terracotta:  #C65C2E;
  --terra-light: #E8845C;
  --terra-dark:  #A04520;
  --olive:       #4A7C59;
  --olive-light: #6A9B78;
  --brown:       #2D2416;
  --brown-mid:   #5C4A32;
  --brown-light: #8C7458;
  --white:       #FFFFFF;
  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 2px 12px rgba(45,36,22,0.08);
  --shadow-lg: 0 8px 32px rgba(45,36,22,0.14);
  --t: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream); color: var(--brown);
  font-family: var(--font-body); font-size: 16px;
  line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { color: var(--terracotta); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--terra-dark); }
img { display: block; max-width: 100%; height: auto; }
ul { padding-left: 1.4em; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* ── Header ── */
header {
  background: var(--white); border-bottom: 1px solid var(--sand-dark);
  position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; color: var(--brown); letter-spacing: -0.02em;
}
.logo span { color: var(--terracotta); }
.logo img { width: 36px; height: 36px; }
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  font-weight: 500; font-size: 0.82rem; color: var(--brown-mid);
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 8px 13px; border-radius: 8px;
  transition: background var(--t), color var(--t);
}
nav a:hover, nav a.active { background: var(--sand); color: var(--terracotta); }
.lang-switch {
  display: flex; align-items: center; gap: 6px;
  margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--sand-dark);
}
.lang-switch a img { border-radius: 3px; opacity: 0.7; transition: opacity var(--t); }
.lang-switch a:hover img { opacity: 1; }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--brown); border-radius: 2px; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(160deg, #f7f1e6 0%, var(--cream) 60%);
  border-bottom: 1px solid var(--sand-dark);
  padding: 56px 0 48px;
}
.page-eyebrow {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--brown);
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 14px;
}
.page-hero h1 em { font-style: italic; font-family: 'DM Sans', system-ui, sans-serif; color: var(--terracotta); font-weight: 300; letter-spacing: -0.02em; }
.page-hero-sub { font-size: 1rem; color: var(--brown-mid); font-weight: 300; max-width: 560px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 500; font-size: 0.95rem; border: none; cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: var(--white); box-shadow: 0 4px 16px rgba(198,92,46,0.3); }
.btn-primary:hover { background: var(--terra-dark); color: var(--white); box-shadow: 0 6px 24px rgba(198,92,46,0.4); }
.btn-outline { background: transparent; color: var(--brown); border: 1.5px solid var(--sand-dark); }
.btn-outline:hover { background: var(--sand); color: var(--brown); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ── Sections ── */
.section { padding: 72px 0; }
.section-alt { background: var(--sand); }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--brown); padding: 72px 0; }

.section-eyebrow {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600; color: var(--brown);
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px;
}
.section-sub { font-size: 1rem; color: var(--brown-mid); font-weight: 300; max-width: 540px; line-height: 1.75; }
.section-header { margin-bottom: 48px; }

/* ── Notice bar ── */
.notice-bar { background: var(--sand); border-top: 1px solid var(--sand-dark); border-bottom: 1px solid var(--sand-dark); padding: 16px 0; }
.notice-bar-inner { display: flex; align-items: center; gap: 12px; }
.notice-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--olive); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.notice-text { font-size: 0.9rem; color: var(--brown-mid); }
.notice-text strong { color: var(--brown); }

/* ── Bike fleet cards ── */
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.bike-listing {
  background: var(--white); border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.bike-listing:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bike-listing-img { width: 100%; height: 220px; object-fit: cover; border-radius: 0; }
.bike-listing-img-placeholder { width: 100%; height: 220px; background: var(--sand); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.bike-listing-body { padding: 20px 22px 24px; }
.bike-class {
  display: inline-flex; align-items: center;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; margin-bottom: 10px;
}
.bike-class-standard { background: var(--sand); color: var(--brown-mid); }
.bike-class-elite { background: #FFF0E6; color: var(--terracotta); }
.bike-class-supreme { background: #E8F2EC; color: var(--olive); }
.bike-listing-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--brown); margin-bottom: 14px; }
.bike-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-bottom: 16px; }
.spec-item { font-size: 0.78rem; color: var(--brown-light); line-height: 1.4; }
.spec-item strong { display: block; color: var(--brown-mid); font-weight: 500; }
.bike-special { font-size: 0.82rem; color: var(--olive); background: #E8F2EC; padding: 8px 12px; border-radius: 8px; margin-bottom: 16px; line-height: 1.5; }
.bike-detail-link { font-size: 0.82rem; font-weight: 500; color: var(--terracotta); }
.bike-detail-link:hover { color: var(--terra-dark); }

/* ── Pricing tables ── */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.price-card {
  background: var(--white); border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-lg); padding: 28px 24px;
}
.price-card.featured { border-color: var(--terracotta); }
.price-card-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--brown); margin-bottom: 4px; }
.price-card-sub { font-size: 0.82rem; color: var(--brown-light); margin-bottom: 20px; }
.price-rows { display: flex; flex-direction: column; gap: 8px; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--sand); font-size: 0.9rem; }
.price-row:last-child { border-bottom: none; }
.price-row .duration { color: var(--brown-mid); }
.price-row .amount { font-weight: 500; color: var(--brown); }
.price-includes { font-size: 0.8rem; color: var(--olive); background: #E8F2EC; padding: 10px 12px; border-radius: 8px; margin-top: 14px; line-height: 1.5; }

/* ── Service table ── */
.service-table { width: 100%; border-collapse: collapse; }
.service-table th {
  background: var(--sand); color: var(--brown); font-weight: 500;
  text-align: left; padding: 14px 18px;
  border-bottom: 2px solid var(--sand-dark); font-size: 0.85rem; letter-spacing: 0.05em;
}
.service-table td { padding: 14px 18px; border-bottom: 1px solid var(--sand); font-size: 0.9rem; color: var(--brown-mid); }
.service-table tr:last-child td { border-bottom: none; }
.service-table td:last-child { font-weight: 500; color: var(--brown); white-space: nowrap; }
.table-wrap { background: var(--white); border: 1.5px solid var(--sand-dark); border-radius: var(--radius-lg); overflow: hidden; }

/* ── Route cards ── */
.route-card {
  background: var(--white); border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.route-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.route-card-header { padding: 24px 24px 0; }
.route-difficulty {
  display: inline-flex; align-items: center;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; margin-bottom: 10px;
}
.diff-easy { background: #E8F2EC; color: var(--olive); }
.diff-medium { background: #FFF8E6; color: #8B6914; }
.diff-hard { background: #FFF0E6; color: var(--terracotta); }
.route-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--brown); margin-bottom: 8px; }
.route-desc { font-size: 0.88rem; color: var(--brown-light); line-height: 1.6; margin-bottom: 16px; }
.route-stats { display: flex; gap: 0; border-top: 1px solid var(--sand); }
.route-stat { flex: 1; padding: 14px 12px; text-align: center; border-right: 1px solid var(--sand); }
.route-stat:last-child { border-right: none; }
.route-stat-val { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--brown); }
.route-stat-label { font-size: 0.68rem; color: var(--brown-light); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.route-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 16px; }
.route-photo { aspect-ratio: 4/3; overflow: hidden; cursor: pointer; }
.route-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.route-photo:hover img { transform: scale(1.05); }
.route-link { display: block; padding: 16px 24px; font-size: 0.85rem; font-weight: 500; color: var(--terracotta); border-top: 1px solid var(--sand); }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--sand); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brown-light); margin-bottom: 4px; }
.contact-value { font-size: 0.95rem; color: var(--brown); font-weight: 400; line-height: 1.6; }
.contact-value a { color: var(--terracotta); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-wrap iframe { display: block; width: 100%; }

/* ── Delivery pricing ── */
.delivery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.delivery-card { background: var(--white); border: 1.5px solid var(--sand-dark); border-radius: var(--radius-lg); padding: 24px; }
.delivery-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--brown); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.delivery-tiers { display: flex; flex-direction: column; gap: 8px; }
.delivery-tier { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--sand); font-size: 0.9rem; }
.delivery-tier:last-child { border-bottom: none; }
.tier-qty { color: var(--brown-mid); }
.tier-price { font-weight: 500; color: var(--brown); }
.delivery-note { font-size: 0.82rem; color: var(--brown-light); background: var(--sand); border-radius: var(--radius); padding: 14px 16px; margin-top: 20px; line-height: 1.65; }
.delivery-note strong { color: var(--brown-mid); }

/* ── Terms ── */
.terms-content h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--brown); margin: 32px 0 14px; }
.terms-content h2:first-child { margin-top: 0; }
.terms-content ul { color: var(--brown-mid); margin-bottom: 16px; }
.terms-content li { margin-bottom: 8px; font-size: 0.95rem; line-height: 1.65; }
.terms-content strong { color: var(--brown); }
.deposit-box { background: var(--sand); border-left: 4px solid var(--terracotta); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 24px 0; }
.deposit-box h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--brown); margin-bottom: 12px; }

/* ── Equipment grid ── */
.equip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.equip-card { background: var(--white); border: 1.5px solid var(--sand-dark); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; }
.equip-card-imgbox { height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.equip-card-imgbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.equip-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--brown); margin-bottom: 4px; }
.equip-brand { font-size: 0.78rem; color: var(--brown-light); margin-bottom: 14px; }

/* ── Inline info boxes ── */
.info-box { background: var(--sand); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.info-box p { font-size: 0.9rem; color: var(--brown-mid); line-height: 1.7; margin: 0; }
.info-box p + p { margin-top: 8px; }

/* ── Included kit list ── */
.kit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.kit-item { background: var(--white); border: 1px solid var(--sand-dark); border-radius: var(--radius); padding: 14px; text-align: center; font-size: 0.82rem; color: var(--brown-mid); }
.kit-item-icon { font-size: 1.5rem; margin-bottom: 6px; }

/* ── Footer ── */
footer { background: var(--brown); color: rgba(255,255,255,0.55); padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-brand-name span { color: var(--terra-light); }
.footer-brand-desc { font-size: 0.85rem; line-height: 1.75; max-width: 300px; }
.footer-col-title { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--sand-dark);
    padding: 12px 24px; box-shadow: var(--shadow-lg); z-index: 99; gap: 2px;
  }
  nav.open a { display: block; padding: 12px 16px; }
  nav.open .lang-switch { flex-direction: row; border-left: none; border-top: 1px solid var(--sand-dark); margin-left: 0; padding: 12px 0 4px; }
  .menu-toggle { display: flex; }
  header { position: relative; }
  .fleet-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .route-photos { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .page-hero { padding: 40px 0 36px; }
  .delivery-grid { grid-template-columns: 1fr; }
}

/* ── Lightbox ── */
.lightbox-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20,12,4,0.92);
  align-items: center; justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: default;
}
.lightbox-close {
  position: fixed; top: 20px; right: 24px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border: none; border-radius: 50%;
  color: white; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t);
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }
.lightbox-caption {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 0.85rem;
  text-align: center; max-width: 500px;
}
