/* ----- Fonts ----- */

/* Libre Baskerville */

@font-face {
    font-family: 'Libre';
    src: url('/fonts/Libre_Baskerville/LibreBaskerville-Bold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre';
    src: url('/fonts/Libre_Baskerville/LibreBaskerville-Regular.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Inter Display */

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter_Display/InterDisplay-Bold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter_Display/InterDisplay-SemiBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter_Display/InterDisplay-Medium.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter_Display/InterDisplay-Regular.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Gilroy */

@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy/Gilroy-Bold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy/Gilroy-Semibold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy/Gilroy-Medium.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy/Gilroy-Regular.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* CSS Reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    font-family: 'Monserrat', sans-serif;
    font-size: 1.25rem;
    overflow-x: hidden;
    background-color: white;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html, body {
    scroll-behavior: smooth;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Change font-family if needed */

* {
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
    list-style: none;
}

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

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

body { margin: 0 !important; }

/* Navigation */

.inquire-btn {
    font-family: 'Gilroy';
    color: white;
    padding-bottom: .2rem;
    border-bottom: white solid .05rem;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 2px;
    margin-right: 1rem;
    z-index: 3000;
}

/* ---- Base tokens ---- */
:root{
  --text: #fff;
  --accent: #B05E1F; /* passes 4.5:1 on white for normal text */
  --focus-ring: #111;
}

/* Visually hidden until focused */
.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  position:fixed; left:1rem; top:1rem; width:auto; height:auto; padding:.5rem .75rem;
  background:#fff; color:#000; border:2px solid currentColor; z-index:1000;
}

/* Existing style, keep */
nav.scrolled {
  background: rgba(0, 0, 0, 0.75);
  transition: all 1s;
}

/* Contrast-safe active link */
.home-nav-link{
  font-weight:700;
  color: var(--accent);
  padding-bottom: 1rem;
  border-bottom: var(--accent) solid .05rem;
  width: 90%;
  margin-bottom: 1rem !important;
  margin-top: 1rem !important;
}

.home-nav-link a {
    color: var(--accent);
}

.logo{
  letter-spacing:3px;
  text-transform:uppercase;
  font-size:1.25rem;
  z-index: 3000;
}

/* Default horizontal layout container */
.nav-links{
  display:flex;
  width:100%;
    height: 100%;
  justify-content:space-around;
  z-index: 1000;  
}

/* Toggle button - 44px touch target, keyboard focus visible */
.burger{
  display:none;
  cursor:pointer;
  min-width:44px;
  min-height:44px;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:0;
  margin-left: 1rem;
}

.line{
  display:block;
  height:2px;
  width:35px;
  margin:.5rem 0;
  background:black;
  transition:transform .5s ease, opacity .5s ease;
}

/* Animate icon when expanded */
.burger[aria-expanded="true"] .line1{ transform: translate(-10px) rotate(45deg) translate(15px); }
.burger[aria-expanded="true"] .line2{ opacity:0; }
.burger[aria-expanded="true"] .line3{ transform: translate(-10px) rotate(-45deg) translate(15px); }

/* Open state for the panel */
.nav-links[data-open="true"]{
  transform:translateX(0%);
  visibility:visible;
  pointer-events:auto;
}

/* Keep your older selector working too */
.main-nav.show .nav-links{
  transform:translateX(0%);
  height: 100%;
  z-index: 2000;
}

ul li a{
  font-weight:400;
  color: var(--text);
  text-decoration:none;
}
ul li a:hover,
/* ul li a:focus-visible{ text-decoration:underline; } */

/* Obvious focus styles for all interactive controls */
a:focus-visible,
button:focus-visible{
  outline:2px solid var(--focus-ring);
  outline-offset:3px;
}

.main-container{ background-color:white; }

.nav-links li a{ font-size:2rem; }

/* ---- Responsive blocks (kept from your original, tightened) ---- */

@media only screen and (min-width:0px){
  .main-nav{
    position:fixed;
    display:flex;
    width:100%;
    height:auto;
    flex-direction:column;
    justify-content:space-around;
    align-items:center;
    color:black;
    background:none;
    z-index:100;
  }
  .nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
    height:4.5rem;
    gap:1rem;
  }
  .main-nav h1{
    color:black;
    font-weight:100;
    font-size:1.25rem;
    border-bottom:rgba(247,207,33,1) solid .25rem;
  }
  .svg-logo{
    height:6rem;
    max-height:10rem;
    width:auto;
    pointer-events:none;
    margin-bottom:-1.25rem;
    margin-top: 1.25rem;
    transition: all .5s ease;
  }
  .scrolled .svg-logo {
    height: 4rem;
    padding-top: -4rem;
    margin-top: -1rem;
  }
  .show-appointment{ display:none; }
  /* .nav .logo a{ padding-top:2.5rem; } */
  #site-menu li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2500;
  }
}

@media only screen and (min-width:768px){
  .main-nav{
    position:fixed;
    display:flex;
    width:100%;
    height:auto;
    justify-content:space-around;
    align-items:center;
    color:black;
    z-index:100;
  }

  .home-nav-link {
    width: 95%;
  }

  .inquire-btn {
    margin-right: 1.5rem;
  }
}

@media screen and (min-width:992px){
  .hr-off{ display:none; }
}

/* ---- Mobile menu behavior ---- */
@media screen and (min-width:0px){
  .burger{ display:flex; }

  .nav-links{
    font-family: 'Libre', serif;
    font-weight: 500;
    position:fixed;
    color:#fff;
    top:0rem; right:0;
    width: 100%;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    background:#000;
    transform:translateX(-100%);
    transition:transform .5s ease, visibility .01s linear .5s;
    padding:5vh 0 1rem 0;
    visibility:hidden;             /* hidden from sight when closed */
    pointer-events:none;           /* unfocusable when closed */
    z-index: 1000;  
    padding-top: 7rem;
    padding-left: 2rem;
  }
  .nav-links li {
    margin: 1.5rem 0;
}

  /* When opened, make it visible immediately */
  .nav-links[data-open="true"]{
    visibility:visible;
    pointer-events:auto;
    transition:transform .5s ease;
  }
}

/* Reduced motion - respect user preference */
@media (prefers-reduced-motion: reduce){
  .line, .nav-links, .main-nav{ transition:none !important; }
}

/* Fix hamburger stacking */
.burger{
  display:flex;              /* already set on mobile, keep it explicit */
  flex-direction:column;     /* stack bars vertically */
  align-items:center;
  justify-content:center;
  gap:6px;                   /* space between bars instead of margins */
  z-index: 3000;
}

.burger .line{
  display:block;
  width:35px;
  height:2px;
  margin:0;                  /* kill vertical margins that do nothing in a row */
  background:white;
  transition:transform .5s ease, opacity .5s ease;
}

/* If you want cleaner X animation with the new gap: */
.burger[aria-expanded="true"] .line1{ transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] .line2{ opacity:0; }
.burger[aria-expanded="true"] .line3{ transform: translateY(-8px) rotate(-45deg); }

.nav-cb {
    /* width: 100vw; */
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: -1;
    position: absolute;
    pointer-events: none;
    top: 15rem;
    right: 0;
}

@media screen and (min-width: 1024px){
  .nav-cb {
    top: 15rem;
    right: 0;
  }
}

/* Contact */

    .address {
        line-height: 1.5;
    }