/* Color palette inspired by the North Sea */
:root {
  --sand: #F6F4EF;
  --sand-dark: #E9E4D8;
  --navy: #07043E;
  --navy-soft: #4b3d9a;
  --text: #2a2740;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(35, 16, 121, 0.12);
  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  /* Keep anchor targets visible below the sticky header */
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--sand);
}

/* Prevent page scrolling while the lightbox is open */
body.no-scroll {
  overflow: hidden;
}

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

h1,
h2,
h3 {
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 0;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

p {
  text-align: justify;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-ghost {
  border: 2px solid var(--sand);
  color: var(--sand);
}

.btn-ghost:hover {
  background: var(--sand);
  color: var(--navy);
}

.btn-light {
  background: var(--sand);
  color: var(--navy);
}

.btn-large {
  font-size: 1.5rem;
  padding: 1rem 2.4rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  height: var(--header-height);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

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

.brand {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sand);
  text-decoration: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  color: var(--sand);
  text-decoration: none;
  font-weight: 600;
}

.main-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.main-nav .nav-cta {
  background: var(--sand);
  color: var(--navy);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
}

.main-nav .nav-cta:hover {
  text-decoration: none;
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
}

.lang-switch span {
  color: var(--sand);
  opacity: 0.5;
}

/* Mobile menu toggle (CSS only, no JavaScript) */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  position: absolute;
  width: 30px;
  height: 3px;
  background: var(--sand);
  border-radius: 2px;
}

.nav-toggle-label span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-label span::before {
  content: "";
  top: -9px;
}

.nav-toggle-label span::after {
  content: "";
  top: 9px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: url("img/salon-1.jpeg") center / cover no-repeat, var(--sand);
  color: var(--sand);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 4, 62, 0.7) 0%, rgba(7, 4, 62, 0.2) 100%);
}

.hero-content {
  text-shadow: 0 2px 8px rgba(7, 4, 62, 0.6);
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
  max-width: 820px;
  margin-left: max(20px, calc((100% - 1120px) / 2));
}

.hero h1 {
  color: var(--sand);
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  margin-bottom: 1rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.85;
  margin: 0 0 0.8rem;
}

.hero-sub {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  text-shadow: none;
}

/* Generic sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--sand-dark);
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-photo {
  margin: 0;
}

.feature-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

/* Rooms */
.room {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(35, 16, 121, 0.15);
}

.room:first-of-type {
  border-top: none;
  padding-top: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Clickable photos open the lightbox */
.gallery img,
.feature-photo img {
  cursor: zoom-in;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery img:hover,
.gallery img:focus-visible,
.feature-photo img:hover,
.feature-photo img:focus-visible {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(35, 16, 121, 0.22);
  outline: none;
}

/* Amenities: centered cards with a short accent bar under the title */
.amenities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.amenities li {
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(7, 4, 62, 0.06);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.amenities li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.amenities h3 {
  margin-bottom: 1rem;
}

.amenities h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 0.8rem auto 0;
  background: var(--navy);
  border-radius: 2px;
}

.amenities p {
  margin: 0;
  text-align: center;
}

/* Contact */
.contact {
  background: var(--navy);
  color: var(--sand);
  text-align: center;
}

.contact h2 {
  color: var(--sand);
}

.contact p {
  margin-bottom: 2rem;
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--sand-dark);
  text-align: center;
  font-size: 0.9rem;
  padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom));
}

/* Scoped to the footer so buttons keep their own colors on hover */
.site-footer a,
.site-footer a:visited {
  color: var(--sand);
}

/* Lightbox (fullscreen photo viewer) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(233, 228, 216, 0.95);
  padding: 20px 70px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: var(--navy);
  margin-top: 1rem;
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-btn {
  position: absolute;
  border: none;
  background: rgba(7, 4, 62, 0.08);
  color: var(--navy);
  cursor: pointer;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 2.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-btn:hover,
.lightbox-btn:focus-visible {
  background: rgba(7, 4, 62, 0.18);
  outline: none;
}

.lightbox-close {
  top: 16px;
  right: 16px;
}

.lightbox-prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

/* Tablet */
@media (max-width: 900px) {
  .two-cols,
  .room {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .amenities {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 720px) {
  .nav-toggle-label {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--navy);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 20px 1.2rem;
    align-items: stretch;
  }

  .main-nav li a {
    display: block;
    padding: 0.8rem 0;
  }

  /* Contact button hidden on mobile: the phone link is already in the hero */
  .main-nav .nav-cta-item {
    display: none;
  }

  /* Language switcher: centered, no block padding so FR and NL line up */
  .main-nav .lang-switch {
    justify-content: center;
    padding-top: 0.8rem;
    margin-top: 0.4rem;
    border-top: 1px solid rgba(246, 244, 239, 0.15);
  }

  .main-nav .lang-switch a,
  .main-nav .lang-switch span {
    display: inline-block;
    padding: 0.6rem 0.4rem;
  }

  .nav-toggle:checked ~ .main-nav {
    max-height: 400px;
  }

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

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: 70vh;
  }

  /* Arrows at the bottom on small screens; swipe also works */
  .lightbox {
    padding: 20px 10px;
  }

  .lightbox-btn {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 20px;
    transform: none;
  }
}
