/* FOOTER */
:root {
    /* Colors */
    --primary-bg: #ffffff;
    --text-light: #000000;
    --text-muted: #000000;
    --accent: #9dadd6;

    /* Fonts */
    --font-heading: 'Bodoni Moda', serif;
    --font-body: 'Raleway', sans-serif;

    /* Font sizes */
    --text-xl: 1.5em;
    --text-base: 1em;
    --text-sm: 0.875em;

    /* Spacing */
    --spacing-xl: 80px;
    --spacing-lg: 40px;
    --spacing-md: 20px;
    --spacing-sm: 12px;
}

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

.footer-title-wrapper {
    margin-top: var(--spacing-lg);
    width: 100%;
    display: flex;
    justify-content: center;
}
.footer-title-container {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}
.line {
    height: 1px;
    background-color: var(--primary-bg);
    flex: 1;
}
.title {
    font-family: var(--font-heading), serif;
    color: var(--primary-bg);
    white-space: nowrap;
    font-size: var(--text-xl);
}
.footer {
    width: 100vw;
    background-color: var(--primary-bg);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xl);
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}
.footer-icon {
    display: inline-block;
    width: 75px;
    height: 75px;
    --svg: url("/images/icons/scotthaven-icon.svg");
    background-color: var(--text-light);
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}
.brand-text {
    color: var(--text-light);
    font-family: var(--font-body), sans-serif;
    font-size: var(--text-sm);
    line-height: 1.6;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl); /* Increased padding */
    gap: var(--spacing-xl);
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}
.footer-heading {
    color: var(--text-light);
    font-family: var(--font-heading), serif;
    font-size: var(--text-base);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}
.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    font-size: var(--text-sm);
    font-family: var(--font-body), sans-serif;
}
.footer-link:hover {
    color: var(--accent);
    text-decoration: underline;
}
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
        padding: var(--spacing-md);
    }
    .footer-brand {
        align-items: center;
        text-align: center;
    }
}
/* NAVIGATION BAR */
*,
::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


nav {
  display: flex;
  justify-content: center;
  align-items: right;
  padding: 10px 20px;
  width: 100%;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 10px 15px -10px;
}

.nav--list {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.item {
  position: relative;
  width: 200px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
  cursor: pointer;
  margin: 0 30px;
  border: 2px solid #1f1a4c;
  overflow: hidden;
}

.item a {
  font-size: 22px;
  text-transform: uppercase;
  color: #1f1a4c;
  z-index: 10;
  text-decoration: none;
  transition: color 200ms ease;
}

.item:hover a {
  color: #003b49;
}

.item:before {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  transform: skew(30deg);
  background: #9dadd6;
  transition: width 400ms ease;
}

.item:hover:before {
  width: 120%;
}

.item:nth-child(2):before {
  transform: skew(-20deg);
}

.item:nth-child(3):before {
  transform: skew(0deg);
}

.item:nth-child(4):before {
  width: 200px;
  height: 0%;
  bottom: 0px;
  transition: height 400ms ease;
}

.item:nth-child(4):hover:before {
  height: 100%;
  transform: skew(0);
}