@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Jost:wght@300;400;500&display=swap');

/* BASIS */

:root {
  --paper: #fbf5f0;
  --ink: #2b201c;
  --gold: #b99564;
  --line: #dfd0c6;
  --menu: #f3e8de;
  --error: #b42318;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

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

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button:disabled,
input:disabled,
select:disabled {
  opacity: 0.6;
  cursor: default;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
}

h1 {
  font-size: clamp(56px, 6.5vw, 125px);
  letter-spacing: -2px;
}

h2 {
  font-size: clamp(44px, 5vw, 72px);
}

h1 em,
h2 em,
.brand em {
  color: var(--gold);
  font-weight: 400;
}

/* MENUBALK */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  width: 100%;
  padding: 18px 4%;
  background: var(--menu);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 18px rgba(43, 32, 28, 0.07);
}

.brand {
  display: inline-block;
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  white-space: nowrap;
  transition: transform 350ms var(--ease);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.site-header nav a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition:
    color 250ms ease,
    transform 350ms var(--ease);
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms var(--ease);
}

.site-header nav a:focus-visible::after {
  transform: scaleX(1);
}

/* HOMEPAGE */

.hero {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: calc(100vh - 85px);
  min-height: calc(100svh - 85px);
  background-color: var(--paper);
  background-image:
    linear-gradient(
      90deg,
      rgba(251, 245, 240, 0.96) 0%,
      rgba(251, 245, 240, 0.8) 35%,
      rgba(251, 245, 240, 0.18) 75%,
      rgba(251, 245, 240, 0.03) 100%
    ),
    url('./assets/nails-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 850px;
  padding: 90px 6.4%;
}

.eyebrow {
  margin: 0 0 24px;
  color: #987047;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.description {
  max-width: 480px;
  margin: 30px 0 38px;
  font-size: 19px;
  line-height: 1.7;
}

/* KNOPPEN */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  max-width: 100%;
  padding: 17px 25px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: white;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition:
    transform 350ms var(--ease),
    box-shadow 350ms ease,
    background-color 250ms ease,
    border-color 250ms ease,
    color 250ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255, 255, 255, 0.16) 50%,
    transparent 75%
  );
  content: '';
  pointer-events: none;
  transform: translateX(-150%);
  transition: transform 700ms var(--ease);
}

.button.outline {
  background: transparent;
  color: var(--ink);
}

.button:not(:disabled):active {
  transform: translateY(1px);
}

/* SECTIES */

.section {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 105px 24px;
}

.section-heading {
  margin-bottom: 55px;
  text-align: center;
}

.section-heading > p:last-child {
  font-size: 18px;
  line-height: 1.7;
}

.notice {
  max-width: 750px;
  margin: 0 auto 50px;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  font-size: 14px;
  line-height: 1.8;
}

/* OVER ONS */

.about {
  text-align: center;
}

.about-description {
  max-width: 680px;
  margin: 24px auto 0;
  font-size: 17px;
  line-height: 1.9;
}

/* OPENINGSUREN */

.opening-hours {
  text-align: center;
}

.hours-list {
  max-width: 580px;
  margin: 0 auto;
}

.hours-list > div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 20px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  text-align: left;
  transition:
    background-color 300ms ease,
    border-color 300ms ease;
}

.hours-note {
  margin-top: 25px;
  color: #79604c;
  font-size: 13px;
}

/* BEHANDELINGEN */

.category {
  margin-bottom: 65px;
}

.category:last-child {
  margin-bottom: 0;
}

.category h3 {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 34px;
  font-style: italic;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 300ms ease,
    color 300ms ease;
}

.service-name {
  min-width: 0;
  overflow-wrap: anywhere;
  transition: color 250ms ease;
}

.dots {
  flex: 1;
  min-width: 10px;
  border-bottom: 1px dotted var(--line);
}

.price {
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 25px;
  white-space: nowrap;
  transition:
    color 250ms ease,
    transform 350ms var(--ease);
}

/* BOEKING */

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 50px;
  border-top: 1px solid var(--line);
}

.booking-main {
  min-width: 0;
}

.booking h2 {
  font-size: clamp(44px, 5vw, 65px);
}

.booking-main > p {
  line-height: 1.7;
}

#booking-form {
  margin-top: 35px;
}

label {
  display: block;
  margin: 25px 0 12px;
  color: #79604c;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

input,
select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fffcf9;
  color: var(--ink);
  font-size: 17px;
  transition:
    border-color 250ms ease,
    box-shadow 250ms ease,
    background-color 250ms ease;
}

input:focus,
select:focus {
  border-color: var(--gold);
  background: white;
  box-shadow: 0 0 0 3px rgba(185, 149, 100, 0.14);
}

.hint {
  color: #76665c;
  font-size: 14px;
  line-height: 1.7;
}

.cf-turnstile {
  max-width: 100%;
  margin-top: 24px;
}

.summary {
  align-self: start;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  background: #fffcf9;
  transition:
    border-color 300ms ease,
    box-shadow 350ms ease;
}

.summary h3 {
  font-size: 33px;
  overflow-wrap: anywhere;
}

hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* FOUTMELDINGEN */

#booking-form .input-error {
  border: 2px solid var(--error);
  background: #fff5f5;
}

#booking-form .field-error {
  display: block;
  margin: 6px 0 12px;
  color: var(--error);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

/* FOOTER */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 35px 4%;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

footer a:not(.brand) {
  transition:
    color 250ms ease,
    transform 350ms var(--ease);
}

/* TOETSENBORD */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #9c784e;
  outline-offset: 4px;
}

/* HOVEREFFECTEN VOOR MUIS EN TRACKPAD */

@media (hover: hover) and (pointer: fine) {
  .brand:hover {
    transform: translateY(-2px);
  }

  .site-header nav a:hover {
    color: #8a623b;
    transform: translateY(-2px);
  }

  .site-header nav a:hover::after {
    transform: scaleX(1);
  }

  .button:not(:disabled):hover {
    transform: translateY(-4px);
    background: #654f40;
    border-color: #654f40;
    box-shadow: 0 10px 22px rgba(43, 32, 28, 0.15);
  }

  .button:not(:disabled):hover::after {
    transform: translateX(150%);
  }

  .button.outline:not(:disabled):hover {
    background: var(--ink);
    color: white;
  }

  .hours-list > div:hover,
  .service-row:hover {
    background: #f3e8de;
  }

  .hours-list > div:hover {
    border-color: var(--gold);
  }

  .service-row:hover .service-name,
  .service-row:hover .price {
    color: #8a623b;
  }

  .service-row:hover .price {
    transform: translateX(-4px);
  }

  .summary:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 35px rgba(43, 32, 28, 0.07);
  }

  footer a:not(.brand):hover {
    color: #8a623b;
    transform: translateY(-2px);
  }
}

/* TABLET */

@media (max-width: 1024px) {
  .site-header nav {
    gap: 10px 20px;
  }

  .intro {
    max-width: 720px;
    padding: 80px 5%;
  }

  .description {
    font-size: 17px;
  }

  .section {
    padding: 85px 5%;
  }

  .booking {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 30px;
  }
}

/* SMARTPHONE */

@media (max-width: 768px) {
  html {
    scroll-padding-top: 150px;
  }

  .site-header {
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
  }

  .site-header .brand {
    font-size: 28px;
  }

  .site-header nav {
    justify-content: center;
    gap: 6px 18px;
    width: 100%;
  }

  .site-header nav a {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .hero {
    min-height: calc(100svh - 115px);
    background-position: 65% center;
    background-image:
      linear-gradient(
        90deg,
        rgba(251, 245, 240, 0.95) 0%,
        rgba(251, 245, 240, 0.82) 55%,
        rgba(251, 245, 240, 0.5) 100%
      ),
      url('./assets/nails-background.png');
  }

  .intro {
    max-width: 100%;
    padding: 75px 24px;
  }

  h1 {
    font-size: clamp(48px, 10vw, 75px);
    letter-spacing: -1px;
  }

  h2,
  .booking h2 {
    font-size: clamp(42px, 9vw, 58px);
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  .description {
    max-width: 380px;
    margin: 25px 0 30px;
    font-size: 16px;
  }

  .section {
    padding: 70px 24px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading > p:last-child,
  .about-description {
    font-size: 16px;
  }

  .category {
    margin-bottom: 45px;
  }

  .category h3 {
    font-size: 30px;
  }

  .service-row {
    gap: 8px;
    padding: 17px 4px;
    font-size: 15px;
  }

  .price {
    font-size: 22px;
  }

  .booking {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .summary {
    padding: 25px;
  }

  input,
  select {
    font-size: 16px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 35px 24px;
    gap: 15px;
  }
}

/* KLEINE SMARTPHONES */

@media (max-width: 480px) {
  .site-header {
    padding: 12px;
  }

  .site-header nav {
    gap: 5px 13px;
  }

  .site-header nav a {
    font-size: 9px;
    letter-spacing: 0.5px;
  }

  .intro {
    padding: 65px 20px;
  }

  h1 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .description {
    font-size: 15px;
  }

  .actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .actions .button {
    width: 100%;
    max-width: 320px;
  }

  .button {
    min-height: 50px;
    padding: 15px 18px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .section {
    padding: 60px 20px;
  }

  .hours-list > div {
    padding: 17px 0;
    font-size: 14px;
  }

  .service-row {
    font-size: 14px;
  }

  .price {
    font-size: 20px;
  }
}

/* RESPECTEER VERMINDERDE BEWEGING */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* OPENINGSUREN HOVER */

.hours-list > div {
  transition:
    transform 0.4s ease,
    background-color 0.4s ease,
    padding 0.4s ease;
}

/* SERVICES HOVER */

.service-row {
  transition:
    transform 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

@media (hover: hover) {
  .hours-list > div:hover {
    transform: translateX(10px);
    background-color: #f3e8de;
    padding-left: 15px;
    padding-right: 15px;
  }

  .service-row:hover {
    transform: translateX(8px);
    background-color: #f3e8de;
    box-shadow: 0 4px 15px rgba(43, 32, 28, 0.05);
  }
}

/* ANIMATIES UITSCHAKELEN INDIEN GEWENST */

@media (prefers-reduced-motion: reduce) {
  .reveal.is-visible {
    animation: none;
  }

  .site-header nav a,
  .hours-list > div,
  .service-row {
    transition: none;
  }
}

/* FOOTER */

.site-footer {
  display: block;
  background: #f3e8de;
  padding: 65px 6% 25px;
  border-top: 1px solid #dfd0c6;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand .brand {
  font-size: 38px;
}

.footer-brand p {
  color: #76665c;
  font-size: 14px;
  margin: 12px 0;
}

.site-footer h3 {
  font-size: 25px;
  margin-bottom: 25px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 14px;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.footer-contact a svg {
  width: 19px;
  height: 19px;
  color: #b99564;
  flex-shrink: 0;
}

.footer-hours p {
  margin: 8px 0;
  font-size: 14px;
}

.footer-hours strong {
  font-weight: 500;
}

.footer-hours small {
  display: block;
  margin-top: 15px;
  color: #76665c;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 55px auto 0;
  padding-top: 22px;
  border-top: 1px solid #dfd0c6;
  color: #76665c;
  font-size: 12px;
}

/* HOVER ANIMATIES */

@media (hover: hover) {
  .footer-contact a:hover {
    color: #b99564;
    transform: translateX(6px);
  }

  .footer-bottom a:hover {
    color: #b99564;
  }
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .site-footer {
    padding: 50px 24px 25px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-contact a {
    transition: none;
  }
}

/* Boekingsformulier en overzicht onder elkaar */
.booking {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Boekingsformulier */
.booking-main {
  width: 100%;
  max-width: 1100px;
  box-sizing: border-box;
}

/* Jouw moment */
.booking .summary {
  width: 100%;
  max-width: 1100px;
  box-sizing: border-box;
  position: static;
}

html {
  width: 100%;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

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

img,
video,
iframe {
  max-width: 100%;
}
