/* ==========================================================================
   Looxx Hair - tijdelijke homepage
   Kleuren en lettertypes overgenomen van de originele site.
   ========================================================================== */

:root {
  --creme: #fefcf7;
  --roze: #c7968d;
  --donker: #302f40;
  --tekst: #252525;
  --grijs: #5c5c69;
  --kop: #303030;
  --header-hoogte: 90px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-hoogte);
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--tekst);
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.56;
}

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

a {
  color: var(--tekst);
  text-decoration: none;
  transition: color .3s;
}

a:hover,
a:focus {
  color: var(--roze);
}

p {
  margin: 0 0 1rem;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-sm { max-width: 1200px; }
.container-lg { max-width: 1400px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-hoogte);
  background: var(--creme);
  transition: box-shadow .3s;
}

.site-header.scrolled {
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, .1);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img.logo-desktop { height: 70px; width: auto; }
.logo img.logo-mobiel  { height: 50px; width: auto; display: none; }

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

.main-nav a {
  display: block;
  padding: 0 15px;
  line-height: var(--header-hoogte);
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--roze);
}

.main-nav li.active a,
.main-nav a:hover {
  color: var(--donker);
}

/* Hamburger */
.menu-toggle,
.offcanvas-close {
  display: none;
  width: 30px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}

.menu-toggle span,
.offcanvas-close span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--roze);
  position: absolute;
  left: 0;
  transition: .3s;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

/* Off-canvas menu (mobiel) */
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 200;
}

.offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #fdfcf7;
  z-index: 201;
  padding: 25px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .4s ease;
}

.offcanvas.open { transform: translateX(0); }

.offcanvas-close { display: block; margin-bottom: 30px; }
.offcanvas-close span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.offcanvas-close span:nth-child(2) { opacity: 0; }
.offcanvas-close span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

.offcanvas-nav,
.offcanvas-contact {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.offcanvas-nav li { margin-bottom: 12px; }

.offcanvas-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--roze);
}

.offcanvas-nav li.active a,
.offcanvas-nav a:hover {
  color: var(--donker);
}

.offcanvas-contact li { font-size: 15px; margin-bottom: 8px; }
.offcanvas-contact a { color: var(--roze); }

/* --------------------------------------------------------------------------
   Slider
   -------------------------------------------------------------------------- */
.slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1902 / 412;
  max-width: 100%;
  background: #eee6dc;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}

.slide.active { opacity: 1; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-dots,
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 2;
}

.slider-dots button,
.testimonial-dots button {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: background .3s;
}

.slider-dots button.active,
.testimonial-dots button.active {
  background: #fff;
}

/* --------------------------------------------------------------------------
   Intro / Over Looxx
   -------------------------------------------------------------------------- */
.intro {
  margin-top: 50px;
  color: var(--grijs);
}

.intro h1 {
  font-family: 'Vujahday Script', cursive;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  color: var(--grijs);
  margin: 0 0 20px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 25px;
}

.intro-image img {
  width: 100%;
  max-width: 500px;
}

/* --------------------------------------------------------------------------
   Diensten (Knippen / Extensions / Kleuren)
   -------------------------------------------------------------------------- */
.services {
  padding: 75px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px;
}

.service {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 200px;
  padding: 10px;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
}

.service-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(189, 152, 142, .29);
  transition: background .3s;
}

.service:hover .service-bg { transform: scale(1.1); }
.service:hover .service-overlay { background: transparent; }

.service-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: 'Vujahday Script', cursive;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  text-shadow: 2px 2px 0 #333;
}

.service:hover .service-title { color: #fff; }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.testimonials {
  position: relative;
  padding: 75px 0;
  background: url(../images/slide2.jpg) center / cover no-repeat;
  color: var(--creme);
  text-align: center;
}

.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
}

.testimonials .container {
  position: relative;
  max-width: 900px;
}

.quote-icon {
  width: 48px;
  height: 48px;
  color: var(--roze);
  margin: 0 auto 20px;
  display: block;
}

.testimonial-track {
  display: grid;
}

.testimonial {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s;
}

.testimonial.active {
  opacity: 1;
  visibility: visible;
}

.testimonial blockquote {
  margin: 0;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial blockquote p { margin: 0; }

.testimonial figcaption {
  margin-top: 15px;
  font-weight: 600;
}

.testimonial-dots { margin-top: 25px; }

/* --------------------------------------------------------------------------
   Onderste blok + footer
   -------------------------------------------------------------------------- */
.bottom {
  background: var(--creme);
  color: var(--donker);
  padding: 60px 0 30px;
  font-size: 14px;
  line-height: 1.6;
}

.bottom a { color: var(--donker); }
.bottom a:hover { color: #000; }

.bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.bottom h3 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--kop);
  margin: 0 0 10px;
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.hours td { padding: 0; }
.hours td:first-child { width: 100px; }

.contactinfo {
  font-style: normal;
}

.contact-name {
  display: block;
  font-family: 'Noto Sans', sans-serif;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: .5rem;
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  display: flex;
  gap: 18px;
}

.social-icons a {
  display: block;
  width: 28px;
  height: 28px;
  color: var(--donker);
}

.offcanvas .social-icons a { width: 30px; height: 30px; color: var(--roze); }

.social-icons a:hover { color: var(--tekst); }

.social-icons svg {
  width: 100%;
  height: 100%;
  display: block;
}

.site-footer {
  background: var(--creme);
  color: var(--donker);
  font-size: 14px;
  text-align: center;
  padding: 0 0 30px;
}

/* Naar boven knop */
.scroll-up {
  position: fixed;
  bottom: 60px;
  right: 30px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(100, 100, 100, .4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.scroll-up.show {
  opacity: 1;
  pointer-events: auto;
}

.scroll-up:hover { color: #fff; background: rgba(100, 100, 100, .7); }
.scroll-up svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .services-grid { gap: 30px; }
}

@media (max-width: 991.98px) {
  :root { --header-hoogte: 75px; }

  body { font-size: 14px; }

  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .logo img.logo-desktop { display: none; }
  .logo img.logo-mobiel { display: block; }

  .slider { aspect-ratio: 624 / 412; }
  .slider-dots { bottom: 8px; }
  .slider-dots button { width: 10px; height: 10px; }

  .services { padding: 0 0 50px; }
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    gap: 25px;
  }
}

@media (max-width: 767.98px) {
  body { font-size: 13px; }

  .intro h1 { font-size: 44px; }

  .intro-grid { grid-template-columns: 1fr; }
  .intro-image img { margin: 0 auto; }
  .intro-text { font-size: 1.2em; }

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

  .scroll-up { right: 16px; bottom: 30px; }
}

@media (max-width: 400px) {
  .intro h1 { font-size: 36px; }
  .service-title { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .testimonial, .service-bg, .offcanvas { transition: none; }
}
