/* Fonts */
@font-face {
  font-display: swap;
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  src: url("/assets/fonts/Oswald-Bold.woff2") format("woff2");
}

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

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

/* visible-only-on-focus skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  padding: 0.6rem 1rem;
  background: #000;
  color: #fff;
  border-radius: 0.375rem;
}

/* visually hidden but screen-reader readable */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* always show a focus style */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Global Styles */
html {
  font-size: 16px;
}

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

body,
html {
  margin: 0;
  overflow-x: hidden;
  padding: 0;
  font-family: var(--bodyFont);
  color: var(--textColour1);
  scroll-behavior: smooth;
  background-color: var(--bgColour1);
}

section {
  padding: var(--sectionPadding);
}

.container {
  max-width: 1050px;
  margin: 0 auto;
}

p {
  line-height: 1.5em;
}

h1,
h2,
h3 {
  font-family: var(--headerFont);
  font-weight: 600;
}

h1 {
  font-size: clamp(3.2rem, 6vw, 5rem);
  line-height: 1.2em;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.2em;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.3rem);
}

.brand-accent {
  color: var(--mainBrandColour);
}

.sub-heading {
  color: var(--mainBrandColour);
}

.sub-intro {
  font-size: 1.1rem;
  font-family: var(--headerFont);
  color: var(--mainBrandColour);
  letter-spacing: 1px;
}

.icon {
  fill: var(--mainBrandColour);
  width: 25px;
  height: 25px;
}

.icon-small {
  width: 20px;
  height: 20px;
}

.icon-brand-colour {
  fill: var(--mainBrandColour);
}

/* Icon Circle */
.icon-circle {
  width: clamp(40px, 6.5vw, 48px);
  height: clamp(40px, 6.5vw, 48px);
  background: rgba(36, 124, 255, 0.192);
  color: var(--mainBrandColour);
  border-radius: 50%;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

/* Button Styles */
/* Button CSS */
.main-btn {
  background-color: var(--mainBrandColour);
  border: none;
  color: white;
  cursor: pointer;
}

.sub-btn {
  background-color: rgb(230, 230, 230);
  border: 1px solid var(--mainBrandColour);
  color: var(--mainBrandColour);
  font-weight: 500;
}

.cta-button {
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.3s;
  font-family: var(--headerFont);
  position: relative;
}

/* Animations */

/* Sweep To Top */
.sweep-to-top {
  display: inline-block;
  vertical-align: middle;
  transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  transition-property: color;
  transition-property: color;
  transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.sweep-to-top:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #8a1212;
  transform: scaleY(0);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  transition-property: transform;
  transition-property: transform;
  transition-duration: 0.3s;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.sweep-to-top:hover,
.sweep-to-top:focus,
.sweep-to-top:active {
  color: white;
}
.sweep-to-top:hover:before,
.sweep-to-top:focus:before,
.sweep-to-top:active:before {
  transform: scaleY(1);
  transform: scaleY(1);
}

/* Hover up */
.hover-up {
  transition: box-shadow 0.3s;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  will-change: transform;
}

.hover-up:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* LOGO */
.class-barber-logo {
  --logo-red: var(--mainBrandColour);
  --logo-white: #ffffff;
  --logo-outline: rgba(198, 40, 40, 0.9);

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-decoration: none;
  line-height: 1;
}

.class-barber-logo__top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.class-barber-logo__class,
.class-barber-logo__bottom {
  color: var(--logo-white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 700;
  text-shadow:
    -1px 0 var(--logo-outline),
    1px 0 var(--logo-outline),
    0 -1px var(--logo-outline),
    0 1px var(--logo-outline),
    -1px -1px var(--logo-outline),
    1px -1px var(--logo-outline),
    -1px 1px var(--logo-outline),
    1px 1px var(--logo-outline);
}

.class-barber-logo__class {
  font-size: 1rem;
  letter-spacing: 0.22em;
}

.class-barber-logo__bottom {
  font-size: 2rem;
  letter-spacing: 0.18em;
}

.class-barber-logo__line {
  width: 2.8rem;
  height: 0.22rem;
  background: var(--logo-red);
  position: relative;
  display: inline-block;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.class-barber-logo__line::before {
  left: 0.45rem;
}

.class-barber-logo__line::after {
  right: 0.45rem;
}

/* ==== Nav1 Component Styles Start ==== */
/* ==== Nav1 Component Styles Start ==== */
#nav1-navigation {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: transparent;
  z-index: 1000;
  color: #fff;
  padding: 0.8rem 2rem;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* SCROLLED STATE */
#nav1-navigation.is-scrolled {
  background: var(--bgColour2);
  color: var(--textColour1);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

.nav1-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1050px;
  margin: auto;
}

.nav-and-button-con {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav1-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav1-ul li a {
  font-family: var(--bodyFont);
  font-weight: 600;
  color: var(--textColour1);
  text-decoration: none;
  transition: color 0.3s;
}

.nav1-logo {
  text-decoration: none;
  color: currentColor;
  font-size: 26px;
  letter-spacing: 1px;
}

.nav1-toggle {
  border: none;
  border-radius: 4px;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.6s;
  background: transparent;
}

.nav1-toggle-box {
  width: 24px;
  height: 18px;
  position: relative;
}

.nav1-line {
  width: 100%;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  transition: all 0.3s;
  border-radius: 1px;
}

.nav1-line:nth-child(1) {
  top: 0;
}
.nav1-line:nth-child(2) {
  top: 8px;
}
.nav1-line:nth-child(3) {
  bottom: 0;
}

/* Animate to "X" */
.nav1-toggle.active .nav1-line:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}
.nav1-toggle.active .nav1-line:nth-child(2) {
  opacity: 0;
}
.nav1-toggle.active .nav1-line:nth-child(3) {
  transform: rotate(-45deg);
  bottom: auto;
  top: 8px;
}

/* Menu */
.nav1-ul-wrapper {
  width: 100%;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s;
  overflow: hidden;
}

.nav1-ul {
  list-style: none;
  padding: 1.5rem 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  font-size: 0.9rem;
}

.nav1-ul a:hover {
  color: var(--mainBrandColour);
  transition: color 0.3s;
}

.nav1-ul .active {
  color: var(--mainBrandColour);
}

/* Button */
.header-btn {
  display: none;
}

.cta-button.main-btn.zoom-out {
  font-size: 1rem;
  font-weight: 600;
  background: var(--mainBrandColour);
  border-radius: 0px;
  text-decoration: none;
}

/* Show menu when active */
#nav1-navigation.nav1-active .nav1-ul-wrapper {
  transform: scaleY(1);
  transition-delay: 0.3s;
  opacity: 1;
}

.nav1-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease 0.3s,
    visibility 0.4s linear 0.6s;
  z-index: 90;
}

.nav1-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: scaleY(1);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    visibility 0s;
}

.icon-blue {
  fill: var(--mainBrandColour);
}

.nav1-ul-wrapper .header-btn {
  display: none;
}

.nav1-cta-button {
  background-color: var(--mainBrandColour);
  color: white;
  border-radius: 2px;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.6rem 1.3rem;
  font-family: var(--headerFont);
}

/* Desktop Styles */
@media screen and (min-width: 1024px) {
  .nav1-toggle {
    display: none;
  }

  .nav1-ul-wrapper {
    transform: none !important;
    display: flex;
    align-items: center;
    height: auto;
  }

  .nav1-ul {
    flex-direction: row;
    gap: 2rem;
    padding: 0;
  }

  .header-btn {
    display: block;
  }

  .nav1-ul li a {
    color: currentColor;
  }
}

@media screen and (max-width: 1023px) {
  .nav1-ul-wrapper {
    width: 100%;
    height: auto;
    background-color: var(--bgColour2);
    transform: scaleY(0);
    transform-origin: top;
    transition:
      opacity 0.3s,
      transform 0.4s;
    overflow: hidden;
    opacity: 0;
    position: absolute;
    box-sizing: border-box;
    padding-bottom: 1rem;
    left: 0;
    top: 70px;
  }

  .nav1-ul {
    list-style: none;
    padding: 1.5rem 0;
    margin: 0;
    max-height: 90vh;
    width: 100%;
    box-sizing: border-box;
    overflow: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav1-ul li {
    display: block;
    width: 100%;
    text-align: center;
  }

  .nav1-ul-wrapper .header-btn {
    display: flex;
    justify-content: center;
  }

  .nav1-ul-wrapper .header-btn .cta-button {
    margin-bottom: 1rem;
  }
}
/* ==== Nav1 Component Styles End ==== */
/* ==== Nav1 Component Styles End ==== */

/* LOCATION */
#location {
  background: var(--bgColour1);
  color: var(--textColour2);
}

.location-card {
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: grid;
  gap: var(--spaceLg);
}

.location-map-wrap {
  position: relative;
}

.location-map {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  border: 0;
  display: block;
}

.location-map-label {
  position: absolute;
  left: 0;
  bottom: -1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  color: var(--textColour2);
  padding: 1rem 1.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
  font-weight: 600;
}

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

#location-heading {
  margin-bottom: var(--spaceSmmd);
  color: var(--textColour2);
  font-size: clamp(2rem, 4vw, 3rem);
}

.location-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spaceSmmd);
}

.location-info-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.location-icon-circle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(198, 40, 40, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-info-text h3 {
  margin-bottom: 0.5rem;
  color: var(--textColour2);
}

.location-address {
  font-style: normal;
  line-height: 1.6;
}

.location-hours {
  display: grid;
  gap: 0.35rem;
}

.location-hours div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
}

.location-hours dt {
  font-weight: 400;
}

.location-hours dd {
  margin: 0;
  font-weight: 600;
  opacity: 0.9;
}

.location-btn {
  margin-top: var(--spaceMd);
  width: fit-content;
  box-shadow: 0 0.5rem 1rem rgba(198, 40, 40, 0.2);
}

@media screen and (min-width: 900px) {
  .location-card {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    align-items: center;
  }
}

@media screen and (max-width: 699px) {
  .location-map {
    min-height: 20rem;
  }

  .location-map-label {
    margin-top: 1rem;
  }
}

@media screen and (max-width: 426px) {
  .location-card {
    padding: 1rem;
  }

  .location-btn {
    width: 100%;
    text-align: center;
  }

  .location-hours div {
    gap: 0.5rem;
  }
}

/* footer1.css */
/* footer1 Component Styles Start */
/* footer1 Component Styles Start */
#site-footer {
  color: var(--textColour1);
  padding: 2.5rem 1rem;
  margin: 0 auto;
  background-color: var(--bgColour2);
}

.footer1-brand {
  margin-bottom: var(--spaceSm);
}

.footer1-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.brand-accent {
  color: var(--mainBrandColour);
  opacity: 1;
}

.footer1-description {
  font-size: 0.9rem;
  color: var(--textColour1);
  margin-bottom: 2rem;
  line-height: 1.4;
}

/* Columns */
.footer1-columns {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer1-columns h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--mainBrandColour);
}

.footer1-links ul,
.footer1-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer1-links li,
.footer1-contact li {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--textColour1);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.footer1-contact .icon {
  height: 20px;
  width: 20px;
}

footer a {
  color: var(--textColour1);
  text-decoration: none;
  transition: color 0.5s;
}

.footer1-links a:hover {
  color: var(--mainBrandColour);
}

/* Bottom Row */
.footer1-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer1-copy {
  font-size: 0.75rem;
  color: var(--textColour1);
}

.footer-socials a {
  margin-left: 0.3rem;
  font-size: 1.5rem;
}

.footer-socials .icon {
  height: 30px;
  width: 30px;
}

.footer-socials svg {
  fill: var(--textColour1);
  transition: fill 0.3s;
}

.footer-socials svg:hover {
  fill: var(--mainBrandColour);
  transition: fill 0.3s;
}

.location-card {
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: grid;
  gap: var(--spaceLg);
}

.location-map-wrap {
  position: relative;
}

#site-footer .location-map {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  border: 0;
  display: block;
}

.location-map-label {
  position: absolute;
  left: 0;
  bottom: -1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  color: var(--textColour2);
  padding: 1rem 1.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
  font-weight: 600;
}
/* footer1 Component Styles End */
/* footer1 Component Styles End */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
  transition-delay: 0.3s;
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out,
    box-shadow 0.6s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out,
    box-shadow 0.6s;
}
