/* ============================================
   DB Trading — stylesheet
   Kleuren rechtstreeks uit het logo gehaald.
   ============================================ */

:root {
  --bordeaux: #7A004B;
  --bordeaux-dark: #570136;
  --sand: #C9B198;
  --sand-light: #F4EEE6;
  --gray: #C7C7C7;
  --gray-light: #F4F4F4;
  --ink: #1C1B1A;
  --ink-soft: #55504C;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 2px; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; margin-bottom: 10px; }

p { margin: 0 0 16px; color: var(--ink-soft); }

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

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--bordeaux);
  color: var(--white);
}
.btn-primary:hover { background: var(--bordeaux-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo-link { display: flex; align-items: center; height: 100%; }
.logo-link img { height: 54px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-bottom-color: var(--bordeaux);
  color: var(--bordeaux);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,27,26,0.15) 0%, rgba(28,27,26,0.55) 75%, rgba(28,27,26,0.75) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: 72px; padding-top: 72px; }
.hero .eyebrow { color: var(--sand); }
.hero h1 { color: var(--white); max-width: 820px; }
.hero p.lede { color: rgba(255,255,255,0.88); }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

.page-banner {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28,27,26,0.5);
}
.page-banner .wrap { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); margin-bottom: 8px; }
.page-banner .eyebrow { color: var(--sand); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.section-sand { background: var(--sand-light); }
.section-gray { background: var(--gray-light); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.transport-grid { grid-template-columns: 340px 1fr; gap: 40px; }
.transport-grid .feature-photo img { height: 260px; }
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 36px 32px;
  border-radius: 2px;
}
.card .mark {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--bordeaux);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--bordeaux);
  font-family: var(--font-display);
  font-weight: 600;
}

/* ---------- Image + text feature ---------- */
.feature-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 2px;
}
.feature-photo figcaption {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Product categories ---------- */
.category-card {
  position: relative;
  padding: 40px 32px;
  border: 1px solid var(--gray);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.category-card .num {
  position: absolute;
  top: 28px;
  right: 32px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gray);
}
.category-card h3 { color: var(--bordeaux); }
a.category-card {
  display: flex;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
a.category-card:hover {
  border-color: var(--bordeaux);
  box-shadow: 0 10px 28px rgba(28,27,26,0.08);
  transform: translateY(-2px);
}
.card-link-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bordeaux);
}
a.category-card:hover .card-link-hint { text-decoration: underline; }

/* ---------- Product detail pages ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bordeaux);
  margin-bottom: 40px;
}
.back-link:hover { text-decoration: underline; }

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bordeaux);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.swatch-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.swatch-row img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--gray-light);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bordeaux);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 32px;
}
.contact-item .icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--sand-light);
  color: var(--bordeaux);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item h3 { margin-bottom: 4px; font-size: 1.05rem; }
.contact-item a, .contact-item span { color: var(--ink-soft); }
.contact-item a:hover { color: var(--bordeaux); }

.map-frame {
  border: 1px solid var(--gray-light);
  padding: 32px;
  background: var(--sand-light);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.map-embed {
  margin-top: 8px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
}
.map-embed iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo-badge {
  display: inline-block;
  background: var(--white);
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.footer-logo-badge img { height: 34px; width: auto; display: block; }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background 0.2s ease, color 0.2s ease;
}
.social-links a:hover { background: var(--bordeaux); color: #fff; }
.social-links svg { width: 18px; height: 18px; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 600;
}
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--sand); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal-links a:hover { color: var(--sand); }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; }

.wrap.product-page-content { max-width: 760px; }
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 44px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { max-width: none; }
.legal-content .lede { max-width: none; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 28px; height: 28px; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .product-gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .main-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 32px 24px;
  }
  .main-nav li { border-bottom: 1px solid var(--gray-light); }
  .main-nav a { display: block; padding: 16px 0; }
  .nav-toggle { display: block; }

  section { padding: 64px 0; }
  .hero { min-height: 68vh; }
}

@media (max-width: 560px) {
  .product-gallery { grid-template-columns: 1fr; }
}
