:root {
  --kleur-achtergrond: #fffef8;
  --kleur-accent: #8b6e52;
  --kleur-tekst: #2e2e2e;
  --font-titles: 'Source Serif 4', serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px; /* Update to match new header height */
}

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

body {
  font-family: sans-serif;
  background-color: var(--kleur-achtergrond);
  color: var(--kleur-tekst);
  scroll-behavior: smooth;
  line-height: 1.6;
}

header.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--kleur-achtergrond);
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: var(--kleur-achtergrond);
  width: 100%;
}

.logo-link {
  display: block;
  cursor: pointer;
  text-decoration: none;
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.logo-link.scrolled {
  width: 100px;
  height: 100px;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.3s ease;
}

.banner {
  text-align: center;
  padding: 8rem 1rem 2rem;
  background-color: var(--kleur-achtergrond);
  margin-top: 60px;
  background-image: url('images/6.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(
    255,
    254,
    248,
    0.85
  ); /* Semi-transparent overlay matching the new background color */
}

.banner-content {
  text-align: center;
  padding: 8rem 1rem 4rem;
  background-color: var(--kleur-achtergrond);
  background-image: url('images/6.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 150px;
}

.banner-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 254, 248, 0.85);
  z-index: 1;
}

.main-title {
  text-align: center;
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.main-title::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--kleur-accent),
    transparent
  );
}

.main-title h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--kleur-accent);
  font-family: var(--font-titles);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-title p {
  font-size: 1rem;
  color: #555;
}

.main-title-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  position: relative;
  padding-bottom: 3rem;
}

.main-title-contact::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--kleur-accent),
    transparent
  );
}

.main-title-contact .divider {
  width: 2px;
  height: 20px;
  background: var(--kleur-accent);
  opacity: 0.5;
}

.main-title-contact a {
  color: var(--kleur-tekst);
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-title-contact a:hover {
  color: var(--kleur-accent);
}

.nav-links {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--kleur-tekst);
  font-family: var(--font-titles);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--kleur-achtergrond);
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 2rem;
    padding-top: 100px;
    border-bottom: 1px solid #ccc;
    text-align: center;
    transition: padding-top 0.3s ease;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links.scrolled {
    padding-top: 80px;
  }

  .nav-links a {
    display: block;
    padding: 0.5rem 0;
  }

  .nav-links li {
    margin: 0.5rem 0;
  }
}

.hamburger {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--kleur-accent);
  cursor: pointer;
}

main {
  margin-top: 60px;
}

main section {
  padding: 4rem 1rem;
  margin: auto;
  position: relative;
}

main section:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--kleur-accent),
    transparent
  );
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* Default sections - image on the right */
.image-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* "Over mij" section - image on the left */
#overmij .section-content {
  flex-direction: row-reverse;
}

#overmij .image-container {
  justify-content: flex-start;
}

.text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.round-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 10px solid #906c4d;
}

section h2 {
  color: var(--kleur-accent);
  margin-bottom: 1rem;
}

footer {
  background-color: #e6ddd2;
  padding: 4rem 1rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-info {
  flex: 1;
  min-width: 300px;
}

.footer-info h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.footer-info p {
  color: var(--kleur-tekst);
  opacity: 0.8;
}

.footer-contact {
  text-align: right;
  min-width: 200px;
}

.footer-contact p {
  margin: 0.5rem 0;
}

.footer-contact a {
  color: var(--kleur-tekst);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--kleur-accent);
}

.footer-bottom {
  width: 100%;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 2rem;
}

.footer-address {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-address p {
  margin: 0.3rem 0;
}

.footer-address .route-link {
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

/* Desktop menu */
@media (min-width: 768px) {
  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    border: none;
    padding: 0;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    gap: 2rem;
    top: 0;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links .spacer {
    flex: 1;
    min-width: 200px;
  }

  /* Remove old spacing for logo */
  .nav-links li:nth-child(2) {
    margin-right: 0;
  }

  .nav-links li:nth-child(3) {
    margin-left: 0;
    flex: 280px;
  }

  .hamburger {
    display: none;
  }
}

/* Make sections responsive */
@media (max-width: 768px) {
  .section-content,
  #overmij .section-content {
    flex-direction: column;
    text-align: center;
  }

  .image-container {
    justify-content: center;
  }

  .round-image {
    width: 220px;
    height: 220px;
  }

  footer {
    padding: 3rem 1rem 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-info,
  .footer-contact,
  .footer-address {
    width: 100%;
    text-align: center;
  }

  .logo-link {
    width: 200px;
    height: 200px;
  }

  .logo-link.scrolled {
    width: 80px;
    height: 80px;
  }

  .main-title-contact {
    flex-direction: column;
    gap: 1rem;
  }

  .main-title-contact .divider {
    display: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--kleur-achtergrond);
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 2rem;
    padding-top: 160px;
    border-bottom: 1px solid #ccc;
    text-align: center;
    transition: padding-top 0.3s ease;
    z-index: 1000;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links.scrolled {
    padding-top: 50px;
  }

  .nav-links li {
    margin: 0.5rem 0;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-titles);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Price List Styles */
.price-item {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
}

.price-item h3 {
  color: var(--kleur-accent);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  min-height: 3.4em;
  display: flex;
  align-items: center;
}

.price-item .price {
  font-size: 1.8rem;
  color: var(--kleur-accent);
  margin-bottom: 1rem;
  font-family: var(--font-titles);
}

.treatment-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  text-align: left;
}

.treatment-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  text-align: left;
}

.treatment-list li::before {
  content: '➤';
  color: var(--kleur-accent);
  margin-right: 0.5rem;
}

.additional-services .treatment-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dotted rgba(139, 110, 82, 0.2);
  padding: 0.7rem 0;
}

.additional-services .treatment-list li::before {
  display: none;
}

.additional-services .service {
  flex: 1;
  padding-right: 1rem;
}

.additional-services .price {
  font-size: 1.3rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .price-item {
    padding: 1rem;
  }

  .additional-services .treatment-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }

  .additional-services .service {
    margin-bottom: 0.5rem;
  }

  #prijslijst .price-item {
    flex: none;
    width: 100%;
  }

  .treatment-list,
  .treatment-list li {
    text-align: left;
  }
}

.text-content.full-width {
  flex: 1;
  max-width: 100%;
}

#prijslijst .section-content {
  max-width: 800px;
  margin: 0 auto;
}

#prijslijst .text-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
}

#prijslijst h2 {
  width: 100%;
  margin-bottom: 2rem;
}

#prijslijst .price-item:not(.additional-services) {
  flex: 1;
  min-width: 200px;
  flex-basis: calc(33.333% - 1.34rem);
  position: relative;
  padding: 2rem;
  background-color: #e6ddd2;
  border-radius: 10px;
}

#prijslijst .price-item:not(.additional-services)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  height: 80%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--kleur-accent),
    transparent
  );
}

#prijslijst .price-item:not(.additional-services):nth-child(4)::after {
  display: none;
}

#prijslijst .additional-services {
  width: 100%;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  #prijslijst .text-content {
    flex-direction: column;
  }

  #prijslijst .price-item {
    width: 100%;
  }

  #prijslijst .price-item:not(.additional-services)::after {
    display: none;
  }
}

.additional-services h3 {
  min-height: auto;
}

/* Content link styles - excluding navigation */
main a,
footer a {
  color: var(--kleur-tekst);
  text-decoration: none;
  font-family: var(--font-titles);
  font-style: italic;
  transition: color 0.3s ease;
}

main a:hover,
footer a:hover {
  color: var(--kleur-accent);
}

.address {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(139, 110, 82, 0.2);
}

.address p {
  margin: 0.3rem 0;
  color: var(--kleur-tekst);
}

.address p:first-child {
  color: var(--kleur-accent);
  font-family: var(--font-titles);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.route-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--kleur-accent);
  text-decoration: none;
  font-family: var(--font-titles);
  font-style: italic;
  transition: color 0.3s ease;
}

.route-link:hover {
  color: var(--kleur-tekst);
}

.ps-image {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.ps-image img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .ps-image {
    gap: 1rem;
  }
}

#prijslijst .price-item:not(.additional-services) h3 {
  text-align: center;
  min-height: 3.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

#prijslijst .price-item:not(.additional-services) .price {
  text-align: center;
  display: block;
  font-size: 1.8rem;
  color: var(--kleur-accent);
  margin-bottom: 1rem;
  font-family: var(--font-titles);
}

.mobile-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-backdrop.show {
  display: block;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--kleur-achtergrond);
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 2rem;
    padding-top: 160px;
    border-bottom: 1px solid #ccc;
    text-align: center;
    transition: padding-top 0.3s ease;
    z-index: 1000;
  }
}
