:root {
  --sage-primary: #6f8f85;
  --sage-dark: #4f6b63;
  --cream: #f4f3f1;
  --light-grey: #e6e4e1;
  --sage-soft: #7fa7a0;
  --sage-muted: #8faf8c;
  --text-dark: #2f3a37;
  --text-light: #5f6d67;
  --white: #ffffff;
  --radius-pill: 999px;
  --header-height: 82px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Josefin Sans', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.8;
  font-weight: 300;
}

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

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 243, 241, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(79, 107, 99, 0.12);
}

.site-header .container {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.35rem;
  color: var(--sage-dark);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background-image: url('../salt&sage_logo_transparent.PNG');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: inline-block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  font-weight: 400;
  color: var(--text-light);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--sage-dark);
  border-color: rgba(79, 107, 99, 0.65);
  background: rgba(255, 255, 255, 0.75); 
}

.book-now {
  background: var(--sage-primary);
  color: var(--white);
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease;
}

.book-now:hover {
  background: var(--sage-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(79, 107, 99, 0.25);
  border-radius: 50%;
  background: var(--white);
  color: var(--sage-dark);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  display: inline-block;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-main {
  min-height: calc(100vh - 320px);
}

.site-footer {
  background: #1f2725;
  color: #d8dddb;
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  color: #f0f3f2;
  font-size: 1rem;
  font-family: 'Josefin Sans', sans-serif;
}

.site-footer p,
.site-footer li {
  margin: 0;
  color: #b9c3bf;
  font-size: 0.95rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  text-align: center;
  color: #98a7a0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 768px) {
  :root {
    --header-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid rgba(79, 107, 99, 0.15);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.25rem 0;
  }

  .book-now {
    text-align: center;
    margin-top: 0.5rem;
  }

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

@media (min-width: 769px) and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
