/* MA Barbershop - two locations responsive enhancements */
:root {
  --ma-black: #0b0b0b;
  --ma-black-soft: #151515;
  --ma-gold: #bd8d37;
  --ma-gold-light: #d4aa59;
  --ma-white: #ffffff;
  --ma-text: #555;
  --ma-header-desktop: 150px;
  --ma-header-mobile: 116px;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body.menu-open { overflow: hidden; }

/* Permanent dark sticky header. This deliberately overrides the template sticky state. */
.header-area, #sticky-header { display: none !important; }
.ma-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  width: 100%;
  background: var(--ma-black);
  box-shadow: 0 6px 22px rgba(0,0,0,.2);
}
.ma-announcement {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  background: var(--ma-gold);
  color: #fff;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-align: center;
  white-space: nowrap;
}
.ma-announcement span { margin: 0 8px; }
.ma-navbar {
  height: 122px;
  background: rgba(10,10,10,.98);
}
.ma-nav-inner {
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 190px 1fr 170px;
  align-items: center;
  gap: 24px;
}
.ma-brand { display: inline-flex; align-items: center; width: fit-content; }
.ma-brand img { display: block; width: 108px; height: auto; max-height: 98px; object-fit: contain; }
.ma-primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.ma-primary-nav > a {
  color: #fff !important;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.ma-primary-nav > a:hover { color: var(--ma-gold-light) !important; }
.ma-location-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--ma-gold);
  color: #fff;
  font-size: 11px;
}
.ma-book-desktop, .ma-book-mobile {
  background: var(--ma-gold);
  color: #fff !important;
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-align: center;
  padding: 16px 24px;
  border: 1px solid var(--ma-gold);
  transition: .25s ease;
}
.ma-book-desktop:hover, .ma-book-mobile:hover { background: transparent; color: var(--ma-gold-light) !important; }
.ma-book-mobile { display: none; }
.ma-menu-toggle { display: none; }

/* Make page content start below the fixed header */
#forside { padding-top: var(--ma-header-desktop); }
section[id], div[id] { scroll-margin-top: calc(var(--ma-header-desktop) + 20px); }

.ma-hero {
  min-height: 720px;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.ma-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.62) 48%, rgba(0,0,0,.28) 100%);
}
.ma-hero-container { position: relative; z-index: 2; width: 100%; }
.ma-hero-content { max-width: 720px; padding: 74px 0; }
.ma-eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  padding: 10px 16px;
  background: var(--ma-gold);
  color: #fff;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}
.ma-hero h1 {
  color: #fff;
  font-size: clamp(46px, 5vw, 74px);
  line-height: 1.03;
  margin: 0 0 25px;
  text-shadow: 0 3px 18px rgba(0,0,0,.25);
}
.ma-hero h1 span { color: var(--ma-gold-light); }
.ma-hero p {
  max-width: 650px;
  margin: 0 0 30px;
  color: #f7f7f7;
  font-size: 17px;
  line-height: 1.8;
}
.ma-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ma-hero-book { min-width: 155px; text-align: center; }
.ma-secondary-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid rgba(255,255,255,.75);
  color: #fff !important;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ma-secondary-btn:hover { background: #fff; color: #111 !important; }
.ma-hero .ma-established { margin: 28px 0 0; color: var(--ma-gold-light); font-size: 12px; font-weight: 800; letter-spacing: 3px; }

.ma-locations { padding: 95px 0 105px; background: #f7f7f7; }
.ma-section-heading { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.ma-section-heading > span, .ma-city-label { color: var(--ma-gold); font-size: 12px; letter-spacing: 2.8px; font-weight: 800; font-family: "Lato", sans-serif; }
.ma-section-heading h2 { font-size: 44px; margin: 10px 0 13px; color: #111; }
.ma-section-heading p { margin: 0; color: #777; }
.ma-location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 960px; margin: 0 auto; }
.ma-location-card {
  position: relative;
  background: #fff;
  border: 1px solid #e7e7e7;
  box-shadow: 0 16px 42px rgba(0,0,0,.07);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ma-location-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(0,0,0,.1); }
.ma-location-logo {
  height: 245px;
  padding: 28px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ma-location-logo img { max-width: 210px; max-height: 190px; width: auto; height: auto; object-fit: contain; }
.ma-location-logo-new img { max-width: 245px; max-height: 205px; }
.ma-new-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 7px 11px;
  background: var(--ma-gold);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 1.4px;
  font-weight: 800;
}
.ma-location-body { padding: 32px 34px 36px; text-align: center; }
.ma-location-body h3 { margin: 7px 0 25px; font-size: 25px; line-height: 1.25; color: #111; }
.ma-location-detail { display: flex; align-items: flex-start; justify-content: center; gap: 10px; margin: 11px 0; color: #777; font-size: 14px; line-height: 1.6; }
.ma-location-detail i { color: var(--ma-gold); margin-top: 4px; width: 15px; }
.ma-location-book { margin-top: 18px; min-width: 150px; text-align: center; }

.ma-contact { background: #f7f7f7; }
.ma-contact-title p { margin-top: 8px; }
.ma-contact-grid { row-gap: 25px; }
.ma-contact-card { height: 100%; background: #fff; border: 1px solid #e8e8e8; padding: 34px; box-shadow: 0 12px 28px rgba(0,0,0,.05); }
.ma-contact-card h4 { font-size: 25px; margin: 9px 0 22px; color: #111; }
.ma-contact-card p { color: #777; margin: 9px 0; }
.ma-contact-card p i { width: 22px; color: var(--ma-gold); }
.ma-contact-card .boxed-btn3 { margin-top: 18px; }

.ma-footer .ma-footer-logo { width: 150px; height: auto; }
.ma-footer .ma-footer-location p { color: #919191; line-height: 1.8; }
.ma-footer-book { margin-top: 8px; }

@media (max-width: 1199px) {
  .ma-nav-inner { grid-template-columns: 140px 1fr 155px; gap: 16px; padding: 0 18px; }
  .ma-primary-nav { gap: 20px; }
  .ma-primary-nav > a { font-size: 12px; }
  .ma-brand img { width: 96px; }
}

@media (max-width: 991px) {
  :root { --ma-header-mobile: 112px; }
  .ma-announcement { height: 28px; font-size: 10px; letter-spacing: 1.1px; }
  .ma-navbar { height: 84px; }
  .ma-nav-inner {
    display: flex;
    justify-content: space-between;
    padding: 0 18px;
    position: relative;
  }
  .ma-brand img { width: 74px; max-height: 70px; }
  .ma-book-desktop { display: none; }
  .ma-menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.25);
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .ma-menu-toggle span { width: 22px; height: 2px; background: #fff; display: block; transition: .25s ease; }
  .ma-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .ma-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .ma-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .ma-primary-nav {
    position: fixed;
    top: var(--ma-header-mobile);
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - var(--ma-header-mobile));
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0b0b0b;
    border-top: 1px solid rgba(255,255,255,.1);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    padding: 14px 18px 22px;
  }
  .ma-primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .ma-primary-nav > a { padding: 17px 8px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; color: #fff !important; }
  .ma-primary-nav .ma-book-mobile { display: block; margin-top: 14px; border-bottom: none; padding: 16px; }
  #forside { padding-top: var(--ma-header-mobile); }
  section[id], div[id] { scroll-margin-top: calc(var(--ma-header-mobile) + 12px); }
  .ma-hero { min-height: 650px; background-position: 58% center; }
  .ma-hero-content { padding: 65px 0; max-width: 620px; }
  .ma-hero h1 { font-size: 54px; }
  .ma-location-grid { gap: 20px; }
}

@media (max-width: 767px) {
  .ma-announcement { font-size: 9px; letter-spacing: .9px; padding: 0 8px; }
  .ma-announcement span { margin: 0 5px; }
  .ma-hero { min-height: 610px; background-position: 55% center; }
  .ma-hero-overlay { background: rgba(0,0,0,.68); }
  .ma-hero-content { padding: 48px 2px; text-align: left; }
  .ma-eyebrow { font-size: 10px; letter-spacing: 1.4px; margin-bottom: 17px; }
  .ma-hero h1 { font-size: clamp(39px, 12vw, 52px); line-height: 1.08; margin-bottom: 20px; }
  .ma-hero p { font-size: 15px; line-height: 1.7; }
  .ma-hero-actions { align-items: stretch; }
  .ma-hero-actions > a { width: 100%; }
  .ma-secondary-btn { min-height: 50px; }
  .ma-hero .ma-established { font-size: 10px; letter-spacing: 1.8px; }
  .ma-locations { padding: 66px 0 72px; }
  .ma-section-heading { margin-bottom: 30px; }
  .ma-section-heading h2 { font-size: 34px; }
  .ma-location-grid { grid-template-columns: 1fr; }
  .ma-location-logo { height: 215px; }
  .ma-location-body { padding: 28px 22px 31px; }
  .ma-location-body h3 { font-size: 23px; }
  .ma-location-card:hover { transform: none; }
  .ma-contact-card { padding: 27px 22px; }
  .ma-footer-brand { margin-bottom: 35px; }
}

@media (max-width: 420px) {
  .ma-announcement { white-space: normal; line-height: 1.2; }
  .ma-nav-inner { padding: 0 13px; }
  .ma-brand img { width: 68px; }
  .ma-hero h1 { font-size: 39px; }
  .ma-location-logo-new img { max-width: 220px; }
}
