/* THIS IS FOR THE FLOATING HMS TEXT ABOVE LOGO */
:root {
    --pill-bg: #0a2540;           /* navy */
    --pill-text: #ffffff;         /* keep text white */
    --pill-radius: 9999px;        /* pill shape */
    --pill-pad-x: 1em;         /* horizontal padding inside pill */
    --pill-pad-y: 0.5em;         /* vertical padding inside pill */
    --pill-shadow: 0 8px 24px rgba(0,0,0,0.45);
}

  /* Show/hide WITHOUT opacity (so text color isn’t dimmed) */
#floatingTitle {
    display: none;                 /* hidden by default */
    z-index: 5;
}

#floatingTitle.is-visible {
    display: block;                /* shown when your JS toggles it */
}

  /* The pill shape behind the text */
.floating-pill {
    position: relative;
    display: inline-block;         /* shrink-wrap to text */
    padding: var(--pill-pad-y) calc(var(--pill-pad-x) * 3);
    min-width: 16ch; /* approximate width to fit e.g., "Holloway Mortgage Solutions" */
    border-radius: var(--pill-radius);
    background: var(--pill-bg);    /* navy background */
    box-shadow: var(--pill-shadow);
    text-align: center;
}

  /* The text style (independent of the background) */
.floating-text {
    position: relative;            /* ensures it sits above the pill */
    z-index: 1;                    /* keep text above */
    color: var(--pill-text);       /* force white text */
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.06em;
    line-height: 1.1;
    font-size: clamp(48px, 8vw, 90px);
    text-align: center;

    /* Subtle glow to improve contrast on busy images */
    text-shadow:
        0 2px 4px rgba(0,0,0,0.45),
        0 0 10px rgba(0,0,0,0.25);
    }

/* THIS IS FOR THE FLOATING HMS TEXT ABOVE LOGO */

/* THIS IS FOR THE CONTACT INFORMATION AND HEADSHOT CONTAINER */

/* Theme */
:root{
  --navy: #0a2540;
  --white: #ffffff;
  --pale-blue: #cfe4ff;
}

/* Navy box */
.hms-navy-box{
  background: var(--navy);
  border-radius: 12px;
  padding: 24px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Two-column layout */
.hms-row{
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Left column (image) */
.hms-left{
  flex: 0 0 280px;               /* adjusts the left column width */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hms-headshot{
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;           /* use 50% for a circular headshot */
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.hms-founder{
  color: var(--pale-blue);
  margin-top: 8px;
}

/* Right column (text) */
.hms-right{
  flex: 1 1 auto;
}
.hms-tight{ margin: 0 0 10px 0; }
.hms-link{
  color: var(--pale-blue);
  text-decoration: none;
}
.hms-link:hover{ text-decoration: underline; }

/* Buttons */
.hms-cta{ margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.hms-btn-light{
  background: var(--white);
  color: var(--navy);
}
.hms-btn-outline{
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--white);
  background: transparent;
}
.hms-btn-light:hover, .hms-btn-outline:hover{ filter: brightness(0.95); }

/* Responsive adjustments */
@media (max-width: 900px){
  .hms-left{ flex-basis: 220px; }
  .hms-headshot{ width: 200px; height: 200px; }
}
@media (max-width: 700px){
  .hms-row{ flex-direction: column; text-align: center; }
  .hms-left{ flex-basis: auto; }
}

/* THIS IS FOR THE CONTACT INFORMATION AND HEADSHOT CONTAINER */

/* THIS IS FOR THE HAMBURGER MENU */

/* ===== Theme (edit to match your brand) ===== */
:root{
  --navy: #0a2540;
  --white: #ffffff;
  --pale-blue: #cfe4ff;
}


/* ===== Header layout ===== */
.site-header{
  background: var(--navy);
  color: var(--white);
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%; 
}
.header-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand{
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5em;
}

/* ===== Desktop nav ===== */
.nav{
  margin-left: auto;
}
.nav-list{
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-link{
  color: var(--pale-blue);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
}
.nav-link:hover,
.nav-link:focus{
  background: rgba(255,255,255,0.12);
  outline: none;
}

/* ===== Hamburger button (hidden on desktop) ===== */
.hamburger{
  margin-left: auto;
  display: none;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}
.hamburger:focus{ outline: 2px solid rgba(255,255,255,0.6); outline-offset: 2px; }
.hamburger-box{
  display: inline-block;
}

/* changes size of the lines of the hamburger */
.hamburger-line{
  display: block;
  width: 20px;
  height: 6px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* ===== Mobile styles: show hamburger, turn nav into a drawer ===== */
@media (max-width: 800px){
  .hamburger{ display: inline-block; }

  /* hide desktop nav layout */
  .nav{
    position: absolute;
    right: 16px;
    top: calc(100% + 6px);
    background: var(--navy);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    width: min(92vw, 420px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
    display: none; /* default: hidden */
  }

  /* stack links vertically in drawer */
  .nav-list{
    flex-direction: column;
    gap: 0;
  }
  .nav-link{
    display: block;
    padding: 12px 0px;
    font-size: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-link:last-child{
    border-bottom: none;
  }

  /* when drawer is open */
  .nav.is-open{
    display: block;
  }

  /* optional hamburger animation (X) */
  .hamburger.is-open .hamburger-line:nth-child(1){
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.is-open .hamburger-line:nth-child(2){
    opacity: 0;
  }
  .hamburger.is-open .hamburger-line:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* THIS IS FOR THE HAMBURGER MENU */

