/**
 * De Kock – custom styles (Bootstrap 5)
 */

:root {
  --orange: #EEBE75;
  --beige: #f6f1ed;
  --text: #333;
  --muted: #999;
}

body {
  color: var(--text);
  font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5 {
  font-weight: 500;
  letter-spacing: 0.04em;
}

.logo {
  letter-spacing: 4px;
}

/* --- Navigation --- */
.nav-link {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

.nav-link.active {
  color: var(--orange);
  font-weight: 500;
}

.main-nav {
  flex-wrap: wrap;
}

.header-logo-wrap {
  /* padding-top: 1.25rem; */
  padding-bottom: 1.25rem;
}

.nav-divider {
  height: 1px;
  background-color: var(--muted);
  margin: 20px auto 0;
}

/* --- Utility nav --- */
.utility-nav {
  font-size: 0.85rem;
}

.utility-link {
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.utility-link:hover {
  color: var(--orange);
}

.utility-link i {
  font-size: 0.9rem;
}

/* --- Cards --- */
.card {
  border: none;

  overflow: hidden;
}


/* Geen afronding op afbeeldingen en blokken in bovenste secties */
.hero-card,
.story-card,
.feature-card {
  border-radius: 0;
}
.hero-card.rounded-start-5,
.feature-card.rounded-start-5 {
  border-radius: 0;
}
.story-card.rounded-end-5 {
  border-radius: 0;
}
.hero-card img,
.story-card img,
.feature-card img {
  border-radius: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* Zelfde hoogte voor alle vier blokken */
.hero-card,
.story-card,
.feature-card {
  height: 470px;
}
.hero-card .row,
.story-card .row,
.feature-card .row {
  height: 100%;
  align-items: stretch;
}
.hero-card .row [class*="col-"],
.story-card .row [class*="col-"],
.feature-card .row [class*="col-"] {
  min-height: 100%;
}
/* Tekstkolom: tekst verticaal gecentreerd naast foto */
.hero-card .row [class*="col-"].p-5,
.story-card .row [class*="col-"].p-5,
.feature-card .row [class*="col-"].p-5 {
  display: flex;
  align-items: center;
}
/* Kolom met afbeelding vult volledig (voor cover) */
.hero-card .row [class*="col-"]:first-child,
.story-card .row [class*="col-"]:last-child,
.feature-card .row [class*="col-"]:first-child {
  overflow: hidden;
  display: flex;
  height: 100%;
  min-height: 0;
}
.hero-card .row [class*="col-"]:first-child img,
.story-card .row [class*="col-"]:last-child img,
.feature-card .row [class*="col-"]:first-child img {
  width: 100%;
  height: 100%;
  flex: 1 1 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card img {
  object-fit: cover;
}

.hero-card,
.feature-card {
  background: var(--beige);
}

.story-card {
  background: var(--beige);
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.2;
  position: relative;
}

.hero-title span {
  color: var(--orange);
  position: absolute;
  right: 20%;
  bottom: 20%;
  font-size: 3em;
}

.store-link {
  color: var(--orange);
  font-weight: 500;
}

.border-orange {
  border: 4px solid var(--orange);
}

/* --- Sections --- */
section {
  margin-bottom: 6rem;
}

section.card {
  margin-bottom: 7rem;
}

.section-title {
  font-weight: 500;
  letter-spacing: 0.05em;
}

.section-text h2,
.section-text h3 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.section-text p {
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 420px;
}

h3 {
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}

/* --- CTA Visit (Kom je graag langs?) --- */
.cta-visit-section .section-title {
  text-transform: uppercase;
}

.cta-visit-card {
  background: var(--beige);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-visit-photo-wrap {
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.cta-visit-photo {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}

.cta-visit-intro {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}

.cta-addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.cta-address {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.cta-address strong {
  color: var(--orange);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.cta-btn {
  background: var(--orange);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-btn:hover {
  background: #e0a85a;
  color: #fff;
  transform: translateY(-1px);
}

.hero-cta {
  font-size: 0.95rem;
  padding: 0.65rem 1.5rem;
}

/* --- Stores (legacy, behouden indien elders gebruikt) --- */
.store-card img {
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.store-card img:hover {
  transform: scale(1.03);
}

.store-name {
  color: var(--orange);
  font-weight: 500;
  margin-top: 12px;
  letter-spacing: 0.05em;
}

/* --- Products --- */
.product-img {
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.product-img:hover {
  transform: scale(1.03);
}

/* --- Footer --- */
.footer {
  background: var(--beige);
}

.footer-logo {
  font-weight: bold;
  letter-spacing: 4px;
}

.footer-title {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}

.footer h6 {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

.footer p,
.footer a {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

#chooseLogin a, #bigCart a, .footer-links a {
  text-decoration: none;
  color: var(--muted);
}

#chooseLogin a:hover, #bigCart a:hover, .footer-links a:hover {
  color: var(--orange);
}

.footer-contact-block {
  font-size: 0.85rem;
}

.footer-contact-block a:hover {
  color: var(--orange);
}

.footer-logo-img {
  display: block;
  margin-left: auto;
}

.footer-bottom {
  border-top: 1px solid #e6e6e6;
  font-size: 0.75rem;
  color: var(--muted);
}

/* --- Utilities --- */
.muted {
  color: var(--muted);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  section {
    margin-bottom: 4rem;
  }

  section.card {
    margin-bottom: 4rem;
  }

  .hero-card,
  .story-card,
  .feature-card {
    height: auto;
    min-height: 280px;
  }
  .hero-card img,
  .story-card img,
  .feature-card img {
    height: auto;
    max-height: 280px;
  }

  .cta-visit-photo-wrap {
    min-height: 220px;
  }
  .cta-visit-photo {
    min-height: 220px;
  }
  .cta-addresses {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  /* left: 0; */
  /* right: 0; */
  background-color: #F5F3F3;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 10px 0;
  min-width: 200px;
  text-align: center;
  z-index: 1000;
  width: fit-content;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background-color: #e8e8e8;
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  text-transform: lowercase;
}

.main-nav .nav-item:hover > .dropdown-menu {
  display: block;
}

.footer-links i {
  font-size: 2em;
}

/* Labels */
.form-label {
    font-size: 13px;
    color: #7b736d;
    margin-bottom: 6px;
}

/* Inputs générés par Smarty */
#contact-page input[type="text"],
#contact-page input[type="email"],
#contact-page input[type="tel"],
#contact-page textarea {
    width: 100%;
    background-color: #f4f1ee;
    border: none;
    border-radius: 999px;
    padding: 14px 18px;
    font-size: 14px;
    color: #5a544f;
}

#contact-page textarea {
    border-radius: 24px;
    min-height: 130px;
}

/* Focus */
#contact-page input:focus,
#contact-page textarea:focus {
    outline: none;
    box-shadow: none;
    background-color: #efeae6;
}

/* Bouton submit */
#reductionForm input[type="submit"], #chooseLogin a, #contact-page input[type="submit"],
#contact-page button, .add-to-cart, .button, .btn-primary:not(.fb) {
    background-color: #f07f4f;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

#reductionForm input[type="submit"], #chooseLogin a {
  padding: 6px;
}

#contact-page input[type="submit"]:hover {
    background-color: #e46f40;
}

.button, .btn-primary {
  padding: 3px 8px;
  width: fit-content;
}

/* Captcha */
.g-recaptcha {
    transform: scale(0.9);
    transform-origin: left;
}

.contact-field {
    margin-bottom: 1em;
}