:root {
  --primary-color: #314d38;
  --secondary-color: #ecd0a6;
  --secondary-color-RGB: 236, 208, 166;
  --secondary-color-light: #fcf7ef;
  --tertiary-color: #b9f697;
  --quaternary-color: #c48a80;
  --quaternary-color-text: #b46a5d;
  --quinary-color: #fcd21d;
  --accent-color: #d79c44;
  /* --summer-drinks-color: #006F8B; */
  --mexican-primary-color: #ff3000;
  --mexican-secondary-color: #ffc300;
  --mexican-secondary-light-color: #feffef;
  --bottomless-primary-color: #ff2d2d;
  --bottomless-pink-light: #ffdae7;
  --bottomless-dark: #2e2e2e;
  --bottomless-teal: #009e90;

  --ink: #1a1410;
  --ink-soft: #2e2720;
  --ink-mid: #5a5047;
  --ink-faint: #8a8078;
  --cream-mid: #f0e9df;
  --cream-dark: #e0d5c8;
  --white: #ffffff;
  --max: 1080px;
  --pad: clamp(18px, 5vw, 48px);
  --font-head: "Fraunces", serif;
  --font-head: "Gyst", sans-serif;
  --font-body: "PT Sans", sans-serif;
}

html {
  font-size: 100%;
  /* 16px */
}

html,
body {
  /* overscroll-behavior: none; */
  overflow-x: hidden;
}

/* Gyst */
@font-face {
  font-family: "Gyst";
  src: url("../fonts/53658.otf") format("opentype");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Gyst";
  src: url("../fonts/53659.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Chaloops */
@font-face {
  font-family: "Chaloops";
  src: url("../fonts/789.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chaloops";
  src: url("../fonts/790.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Chauncy Pro */
@font-face {
  font-family: "Chauncy Pro";
  src: url("../fonts/791.otf") format("opentype");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Chauncy Pro";
  src: url("../fonts/792.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chauncy Pro";
  src: url("../fonts/793.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chauncy Pro";
  src: url("../fonts/794.otf") format("opentype");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Bollity";
  src: url("../fonts/Bollity.woff2") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

strong {
  font-weight: bold;
}

body {
  color: var(--primary-color);
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

a {
  text-decoration: none;
}

h1 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h2 {
  font-size: clamp(1.5rem, 2.3vw, 3rem);
}
h3 {
  font-family: "Rubik", sans-serif;
  font-weight: 300;
  line-height: normal;
  font-size: clamp(1rem, 1.7vw, 2rem);
}

main {
  padding: 0;
}

.meoHeader,
.meo-header-h2 {
  font-family: "Gyst", sans-serif !important;
  font-variation-settings: "wght" 400;
}
.meo-sub-header {
  font-size: clamp(1rem, 1.7vw, 2rem);
}

.meo-header-h2 {
  font-size: clamp(1.3rem, 2vw, 2.3rem);
}

.btn {
  color: var(--secondary-color-light);

  &:visited {
    color: var(--secondary-color-light);
  }

  &:hover {
    color: var(--primary-color);
  }

  font-family: "Rubik", sans-serif;
  font-size: 1.7rem;
  display: inline-block;
  font-size: clamp(1.3rem, 2vw, 2rem);
  border-radius: 10px;
  text-transform: uppercase;
  font-variation-settings: "wght" 450;
}

.btn {
  /* Sizing and Spacing */
  display: inline-block; /* Allows padding and margins */
  padding: 14px 28px; /* Generous padding feels premium */
  border-radius: 8px; /* Slightly rounded corners are friendly */
  border: none;

  /* Colour and Font */
  background-color: var(--primary-color); /* Use the brand colour */
  color: var(--secondary-color-light);
  font-size: 1rem; /* 16px is a good, readable size */
  font-weight: 700; /* Bold text for impact */
  text-decoration: none; /* Remove the default link underline */
  text-align: center;

  /* Smoothness and Feel */
  cursor: pointer; /* A clear signal it's clickable */
  transition: all 0.3s ease-in-out; /* Smooth transition for all changes */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow adds depth */
}

/* 3. The Hover State (Crucial for User Feedback) */
.btn:hover,
.btn:focus {
  background-color: var(--secondary-color); /* Slightly lighter on hover */
  transform: translateY(-2px); /* A subtle "lift" effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Increase shadow for depth */
}

/* 4. The Accessibility State (For Keyboard Users) */
.btn:focus-visible {
  outline: 2px solid var(--accent-color); /* Clear focus ring */
  outline-offset: 3px;
}

.nav-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger-icon {
  width: 25px;
  height: 3px;
  transition: transform 0.3s ease;
  background-color: #ffffff;
}

header {
  padding: clamp(2rem, 3vw, 3rem);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.3rem;
}

header .nav-menu li a.active,
header .nav-menu li a.active:hover,
header .nav-menu li a.active:visited,
header .nav-menu li a.active:visited:hover {
  color: var(--secondary-color);
}

header.light a {
  color: #ffffff;
}

header.dark a {
  color: var(--primary-color);
}

header.dark a:visited {
  color: var(--primary-color);
}

header.dark a:visited:hover {
  color: var(--quaternary-color-text);
}

header.dark .hamburger[aria-expanded="false"] .hamburger-icon {
  background-color: var(--primary-color);
}

header.dark .hamburger[aria-expanded="true"] .hamburger-icon {
  background-color: #ffffff;
}

header.dark .nav-menu li a.active,
header.dark .nav-menu li a.active:hover,
header.dark .nav-menu li a.active:visited,
header.dark .nav-menu li a.active:visited:hover {
  color: var(--quaternary-color-text);
}

header.transparent {
  background-color: transparent;
}

header ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

header li {
  display: inline;
  /* margin-right: 1rem; */
}

footer.full {
  background-color: var(--primary-color);
  color: #ffffff;
}

footer.half {
  background-color: #ffffff;
  color: var(--primary-color);
}
footer.half a {
  color: var(--primary-color);
}

footer.half .footer-container {
  background-color: var(--secondary-color-light);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  justify-items: center;
  padding: clamp(2rem, 3.5vw, 4rem) clamp(1rem, 2vw, 3rem);
}

.footer-title {
  font-family: "Gyst", sans-serif !important;
  font-variation-settings: "wght" 400;
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

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

.footer-item ul li {
  margin-bottom: 0.5rem;
}

.footer-item ul li a,
.footer-item a {
  text-decoration: none;
}

footer.full a {
  text-decoration: none;
  color: #ffffff;
}

footer.full .footer-item a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

footer.half .footer-item a:hover {
  text-decoration: underline;
  color: var(--quaternary-color-text);
}

footer.half .footer-logo {
  align-self: center;
}

footer .napTitle {
  font-family: Bollity;
  font-kerning: none;
  color: var(--secondary-color);
}

footer .napTitle .name-line-1 {
  font-family: Bollity;
  font-size: 1.6rem;
}

footer .napTitle .name-line-2 {
  font-weight: inherit;
  font-family: "Rubik";
  font-size: 1rem;
  text-transform: uppercase;
  display: block;
}

.footer-item p {
  font-size: 1em;
  line-height: 1.5;
  margin: 10px 0;
}

.social-icons {
  display: flex;
  justify-content: end;
  align-items: start;
}

.social-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: 12px;
  background-size: contain;
  background-repeat: no-repeat;
}

.social-icons svg {
  fill: white;
  width: 24px;
  height: 24px;
}
.social-icons a:hover svg {
  fill: var(--secondary-color);
}

.footer-NAP {
  text-align: right;
}

.contact-info p a {
  color: var(--quinary-color);
  text-decoration: none;
}

footer .footer-item.info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer .footer-item strong {
  font-weight: 700;
}

footer .footer-item strong.days {
  color: var(--secondary-color);
}

footer .navigation-list li:last-child a {
  text-transform: uppercase;
  color: var(--mexican-secondary-color);
}

.openingTimes .footer-title,
.openingTimes .hours-block {
  text-align: right;
}
.openingTimes .hours-block:last-child h4 {
  color: var(--mexican-primary-color);
}

.openingTimes .hours-block h4 {
  text-transform: uppercase;
}

.nav-menu {
  font-family: "PT SANS";
  font-weight: 480;
  font-size: 1rem;
  display: flex;
  gap: 1.5rem;
  list-style: none;
  text-transform: uppercase;
}

.booking-btn a {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: var(--primary-color) !important;
  background-color: var(--mexican-secondary-color);
}
.booking-btn a:visited {
  color: var(--primary-color) !important;
}
.booking-btn a:hover,
.booking-btn a:visited:hover {
  color: var(--mexican-primary-color) !important;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--secondary-color);
}
header.dark .nav-menu a:hover {
  color: var(--quaternary-color-text);
}

footer .address {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.napSchema > * {
  margin-bottom: clamp(0.5rem, 1.5vw, 1.5rem);
}

footer .copyright {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem 0;
  text-align: center;
}

footer.full .copyright {
  background-color: var(--primary-color);
}

footer.half .copyright {
  background-color: var(--secondary-color-light);
}

@media (max-width: 1024px) {
  .footer-container {
    gap: 3rem 0;
  }

  footer .social-icons {
    order: 5;
    grid-column: 1 / 5;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    background-color: #0a100cf2;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: -10;
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu ul {
    display: flex;
    flex-direction: column;
    gap: 10vh;
    font-size: 2rem;
  }

  .hamburger {
    display: flex;
  }

  .hamburger[aria-expanded="true"] .hamburger-icon:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger[aria-expanded="true"] .hamburger-icon:nth-child(2) {
    opacity: 0;
  }

  .hamburger[aria-expanded="true"] .hamburger-icon:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  footer .social-icons {
    justify-content: center;
  }

  footer .footer-NAP {
    order: 5;
    grid-column: 1 / 5;

    .napSchema {
      text-align: center;
    }

    .address {
      text-align: center;
      display: block;
    }
  }
}

@media (max-width: 640px) {
  .napSchema {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .footer-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  footer .napTitle {
    text-align: center;
  }
  footer .footer-item.info {
    align-items: center;
  }
}
