/* =========================================
   Hansen Bouw & Onderhoud – Global Styles
   ========================================= */

:root {
  --clr-stone: #2C2416;
  --clr-warm: #8B6914;
  --clr-gold: #C89B3C;
  --clr-sand: #F5EDD8;
  --clr-cream: #FDFAF4;
  --clr-white: #FFFFFF;
  --clr-text: #1E1A14;
  --clr-muted: #6B6150;

  --ff-display: 'Barlow Condensed', sans-serif;
  --ff-body: 'Barlow', sans-serif;

  --radius: 4px;
  --shadow: 0 4px 24px rgba(44, 36, 22, 0.10);
  --shadow-lg: 0 12px 48px rgba(44, 36, 22, 0.18);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background: var(--clr-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--ff-display);
  line-height: 1.2;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(253, 250, 244, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200,155,60,0.15);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow);
}

.nav__logo img {
  height: 52px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-stone);
  position: relative;
  transition: color var(--transition);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--clr-gold);
  transition: width var(--transition);
}

.nav__links a:hover { color: var(--clr-warm); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  background: var(--clr-stone);
  color: var(--clr-sand) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav__cta::after { display: none !important; }
.nav__cta:hover {
  background: var(--clr-warm) !important;
  color: var(--clr-white) !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-stone);
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem 5rem 5vw;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--clr-gold);
}

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  color: var(--clr-stone);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero__title em {
  font-style: italic;
  color: var(--clr-warm);
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--clr-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-transform: uppercase;
}

.btn-primary {
  background: var(--clr-stone);
  color: var(--clr-sand);
}

.btn-primary:hover {
  background: var(--clr-warm);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139,105,20,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--clr-stone);
  border: 2px solid var(--clr-stone);
}

.btn-outline:hover {
  background: var(--clr-stone);
  color: var(--clr-sand);
  transform: translateY(-2px);
}

.hero__image {
  position: relative;
  overflow: hidden;
  align-self: center;
  margin: 3rem 3rem 3rem 0;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.hero__image-inner {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(44,36,22,0.08) 0%, transparent 60%),
    url('/images/timmerwerken.webp') center/cover no-repeat;
  min-height: 440px;
  max-height: 500px;
}

.hero__badge {
  position: absolute;
  bottom: 2.5rem;
  left: -1.5rem;
  background: var(--clr-white);
  border-left: 4px solid var(--clr-gold);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.hero__badge strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--clr-stone);
  line-height: 1;
}

.hero__badge span {
  font-size: 0.8rem;
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--clr-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero__scroll svg {
  width: 20px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Section base ── */
.section {
  padding: 6rem 5vw;
}

.section__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--clr-stone);
  margin-bottom: 1.5rem;
}

.section__intro {
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.85;
}

/* ── Diensten ── */
.diensten {
  background: var(--clr-sand);
}

.diensten__header {
  text-align: center;
  margin-bottom: 4rem;
}

.diensten__header .section__intro {
  margin: 0 auto;
}

.diensten__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.dienst-card {
  background: var(--clr-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.dienst-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.dienst-card__img {
  height: 140px;
  overflow: hidden;
}

.dienst-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dienst-card:hover .dienst-card__img img {
  transform: scale(1.06);
}

.dienst-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dienst-card__icon {
  width: 40px;
  height: 40px;
  background: var(--clr-sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.dienst-card__title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--clr-stone);
  margin-bottom: 0.6rem;
}

.dienst-card__text {
  font-size: 0.9rem;
  color: var(--clr-muted);
  line-height: 1.75;
  flex: 1;
}

/* ── Over ons ── */
.over {
  background: var(--clr-cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  align-items: center;
}

.over__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 3rem 3rem 5vw;
}

.over__image-bg {
  width: 75%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  background: url('/images/badkamer.webp') center/cover no-repeat;
}

.over__content {
  padding: 6rem 5vw 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.over__list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.over__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--clr-text);
}

.over__list li::before {
  content: '✓';
  color: var(--clr-gold);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── USP bar ── */
.usp-bar {
  background: var(--clr-stone);
  padding: 3rem 5vw;
}

.usp-bar__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.usp-item {
  text-align: center;
  color: var(--clr-sand);
}

.usp-item__num {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.usp-item__label {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

/* ── Contact ── */
.contact {
  background: var(--clr-sand);
}

.contact__single {
  max-width: 1100px;
  margin: 0 auto;
}

.contact__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.contact__card {
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--clr-text);
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-gold);
}

.contact__card--highlight {
  background: var(--clr-stone);
  color: var(--clr-sand);
}

.contact__card--highlight:hover {
  border-color: var(--clr-gold);
  background: var(--clr-warm);
}

.contact__card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact__card strong {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  font-weight: 700;
}

.contact__card--highlight strong {
  color: rgba(245,237,216,0.6);
}

.contact__card span {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
}

/* ── Footer ── */
.footer {
  background: var(--clr-stone);
  padding: 3rem 5vw 2rem;
  color: var(--clr-sand);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.footer__brand img {
  height: 44px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer__brand p {
  font-size: 0.88rem;
  color: rgba(245,237,216,0.65);
  line-height: 1.75;
}

.footer__col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1rem;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col ul li a {
  font-size: 0.88rem;
  color: rgba(245,237,216,0.7);
  transition: color var(--transition);
}

.footer__col ul li a:hover { color: var(--clr-gold); }

.footer__bottom {
  border-top: 1px solid rgba(245,237,216,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(245,237,216,0.4);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Divider ── */
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-warm));
  margin: 1.25rem 0;
  border-radius: 2px;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeup {
  animation: fadeUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.25s; opacity: 0; }
.delay-3 { animation-delay: 0.4s; opacity: 0; }
.delay-4 { animation-delay: 0.55s; opacity: 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding: 5rem 5vw 3rem;
    order: 2;
  }

  .hero__image {
    order: 1;
    height: 320px;
  }

  .hero__image-inner {
    min-height: 320px;
  }

  .over {
    grid-template-columns: 1fr;
  }

  .over__image {
    min-height: 280px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--clr-cream);
    flex-direction: column;
    padding: 1.5rem 2.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(200,155,60,0.2);
    box-shadow: var(--shadow);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 4rem 5vw;
  }

  .over__content {
    padding: 3rem 5vw;
  }
}
