/*-- -------------------------- -->
<---        Core Styles         -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  :root {
    --primary: #073455;
    --primaryShade: #0d5f9c;
    --primaryDark: #05263d;
    --secondary: #223030;
    --bodyText: #1a1a1a;
    --primaryLight: #ffa321;
  }
  /* playfairdisplay-regular - latin */
  @font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    src: local(''), url('../fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    
    /* TrueType format for cross-browser support */
  }
  /* playfairdisplay-bold - latin */
  @font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    src: local(''), url('../fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    
    /* TrueType format for cross-browser support */
  }
  /* playfairdisplay-black - latin */
  @font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 900;
    src: local(''), url('../fonts/PlayfairDisplay-Black.ttf') format('truetype');
    
    /* TrueType format for cross-browser support */
  }
  /* playfairdisplay-italic - latin */
  @font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    src: local(''), url('../fonts/PlayfairDisplay-Italic.ttf') format('truetype');
    
    /* TrueType format for cross-browser support */
  }
  /* playfairdisplay-bolditalic - latin */
  @font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 700;
    src: local(''), url('../fonts/PlayfairDisplay-BoldItalic.ttf') format('truetype');
    
    /* TrueType format for cross-browser support */
  }
  body,
  html {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-family: 'Playfair Display', Arial, sans-serif;
    color: var(--bodyText);
    overflow-x: hidden;
  }
  *,
  *:before,
  *:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    transition: background-color 0.3s;
  }
  .container {
    position: relative;
    width: 92%;
    margin: auto;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 0;
    color: #1a1a1a;
  }
  p,
  li,
  a {
    font-size: 1.125em;
    line-height: 1.5em;
    margin: 0;
  }
  p,
  li {
    color: #575757;
  }
  a:hover,
  button:hover {
    cursor: pointer;
  }
  .button-solid {
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    width: auto;
    line-height: 3.57142857em;
    height: 3.57142857em;
    text-align: center;
    padding: 0 2.14285714em;
    position: relative;
    z-index: 1;
    border: solid 3px var(--primaryDark);
    color: var(--primaryDark);
    transition: color .3s;
    transition-delay: .1s;
  }
  .button-solid:hover {
    color: #fff;
  }
  .button-solid:hover:before {
    width: 100%;
  }
  .button-solid:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: var(--primaryShade);
    width: 0;
    transition: width .3s;
  }
  .button-solid-header {
    font-size: 1.125em;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    width: auto;
    line-height: 3.57142857em;
    height: 3.57142857em;
    text-align: center;
    padding: 0 2.14285714em;
    position: relative;
    z-index: 1;
    border: solid 3px #ffa321;
    color: #fff;
    transition: color .3s;
    transition-delay: .1s;
  }
  .button-solid-header:hover {
    color: #ffa321;
    border: solid 3px #ffa321;
  }
  .button-solid-header:hover:before {
    width: 100%;
  }
  .button-solid-header:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: var(--primaryDark);
    width: 0;
    transition: width .3s;
  }
  .skip {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -1111111;
  }
}
/* Reset Margins */
@media only screen and (min-width: 1024px) {
  body,
  html {
    padding: 0;
    margin: 0;
  }
}
/* Scale full website with the viewport width */
@media only screen and (min-width: 2000px) {
  body,
  html {
    font-size: .85vw;
  }
}
/*-- -------------------------- -->
<---         Navigation         -->
<--- -------------------------- -*/
/* Mobile - Right Slide-In with Black Overlay */
@media only screen and (max-width: 1023px) {
  #navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    height: auto;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 12px;
  }
  #navigation .background-color-div {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black overlay */
    z-index: 9998;
    /* Behind the sidenav but above the main content */
    visibility: hidden;
    /* Hidden by default */
    opacity: 0;
    /* Transparent by default */
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  #navigation .background-color-div.open {
    visibility: visible;
    /* Make visible when the menu is open */
    opacity: 1;
    /* Set opacity to show the black overlay */
  }
  #navigation #nav-cont {
    z-index: 10000;
    /* Ensure side navigation is above the overlay */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  #navigation #nav-cont .container {
    padding: 1.25em 0;
    width: 96%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  #navigation #nav-cont .container .location {
    display: none;
  }
  #navigation #nav-cont .container .button-solid {
    display: none;
  }
  #navigation #nav-cont .container .social-icons {
    display: none;
  }
  #navigation #nav-cont .container .phone-number {
    display: none;
  }
  #navigation #nav-cont .container .logo {
    display: inline-block;
    height: 3.75em;
    margin-left: 0.75em;
  }
  #navigation #nav-cont .container .logo img {
    width: auto;
    height: 100%;
  }
  #navigation #nav-cont .hamburger-menu {
    position: absolute;
    top: 50%;
    right: 1em;
    height: 3em;
    width: 3em;
    background: transparent;
    border: none;
    transform: translateY(-50%);
    z-index: 10001;
  }
  #navigation #nav-cont .hamburger-menu span {
    position: relative;
    display: block;
    width: 1.875em;
    height: 2px;
    background-color: var(--primaryDark);
    transition: all 0.3s ease;
    margin: 0.375em 0;
  }
  #navigation #nav-cont .hamburger-menu span:before,
  #navigation #nav-cont .hamburger-menu span:after {
    content: '';
    position: absolute;
    width: 1.875em;
    height: 2px;
    background-color: var(--primaryDark);
    transition: all 0.3s ease;
  }
  #navigation #nav-cont .hamburger-menu span:before {
    top: -0.625em;
    left: 0;
  }
  #navigation #nav-cont .hamburger-menu span:after {
    top: 0.625em;
    left: 0;
  }
  #navigation #nav-cont .hamburger-menu.clicked span {
    background-color: transparent;
    /* Hide the middle line */
  }
  #navigation #nav-cont .hamburger-menu.clicked span:before {
    transform: rotate(45deg);
    top: 0;
    /* Move to center */
  }
  #navigation #nav-cont .hamburger-menu.clicked span:after {
    transform: rotate(-45deg);
    top: 0;
    /* Move to center */
  }
  #navigation #nav-cont #navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* Start completely off the screen */
    height: 100%;
    width: 75%;
    background-color: white;
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 10000;
    /* Above the overlay */
  }
  #navigation #nav-cont #navbar-menu ul {
    margin-top: 2em;
    padding: 1.25em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #navigation #nav-cont #navbar-menu ul li {
    list-style: none;
    margin: 0.75em 0;
    width: 100%;
    border-bottom: 1px solid var(--primaryDark);
  }
  #navigation #nav-cont #navbar-menu ul li a {
    text-decoration: none;
    font-size: 0.875em;
    font-weight: bold;
    color: var(--primaryDark);
    text-transform: uppercase;
    transition: color 0.3s;
  }
  #navigation #nav-cont #navbar-menu ul li a:hover {
    color: var(--primary);
  }
  #navigation #nav-cont #navbar-menu.open {
    right: 0;
    /* Slide the menu into view */
  }
}
/* Desktop */
@media only screen and (min-width: 64em) {
  #navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 20000;
    background-color: white;
    /* Dark background */
    display: flex;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 12px;
  }
  #navigation #nav-cont {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  #navigation #nav-cont .container:first-of-type {
    background-color: white;
    /* Keep the first container unchanged */
    background-size: 100% 100%;
    /* Full background size by default */
    transition: opacity 0.3s ease, height 0.3s ease, margin 0.3s ease, padding 0.3s ease, background-size 0.3s ease;
    opacity: 1;
    /* Fully visible by default */
    height: auto;
    margin: 16px 0;
    /* Default margin */
    padding: 10px 0;
    /* Default padding */
    overflow: hidden;
    /* Ensure no extra content is visible */
  }
  #navigation #nav-cont .container:first-of-type.hidden {
    opacity: 0;
    /* Fade out */
    height: 0;
    /* Collapse height */
    margin: 0;
    /* Remove margin */
    padding: 0;
    /* Remove padding */
    /* Ensure no visible content */
    /* Prevent interaction */
    background-size: 0 100%;
    /* Animate the background height */
    overflow: hidden;
    /* Ensure no visible content during transition */
    pointer-events: none;
    /* Prevent interaction */
  }
  #navigation #nav-cont .container:nth-of-type(2) {
    background-color: var(--primaryDark);
    /* Change background color of the second container */
    min-width: 100%;
    justify-content: space-evenly;
    padding-bottom: 1.5em;
    padding-top: 0.75em;
    transition: background-color 0.5s ease;
    position: relative;
  }
  #navigation #nav-cont .container {
    max-width: 75em;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #navigation #nav-cont .container .location {
    display: flex;
    flex-direction: column;
  }
  #navigation #nav-cont .container .location h2 {
    font-size: 1em;
    font-weight: bold;
    color: var(--primaryShade);
  }
  #navigation #nav-cont .container .location p {
    font-size: 0.875em;
    color: var(--primaryDark);
  }
  #navigation #nav-cont .phone-number {
    padding-top: 1em;
    color: white;
    font-size: 1.125em;
  }
  #navigation #nav-cont .social-icons {
    display: flex;
    gap: 15px;
    /* Space between icons */
    padding-top: 1em;
  }
  #navigation #nav-cont .social-icons a {
    color: white;
    /* Use your defined colors */
    font-size: 18px;
    /* Adjust icon size */
    transition: color 0.3s ease;
  }
  #navigation #nav-cont .social-icons a:hover {
    color: var(--primaryShade);
    /* Change color on hover */
  }
  #navigation #nav-cont .logo {
    height: 11.25em;
    width: 15em;
  }
  #navigation #nav-cont .logo img {
    height: 100%;
    width: 100%;
  }
  #navigation #nav-cont #navbar-menu {
    padding-top: 1em;
  }
  #navigation #nav-cont #navbar-menu ul {
    display: flex;
    align-items: center;
  }
  #navigation #nav-cont #navbar-menu ul li {
    list-style: none;
    margin-left: 1.875em;
  }
  #navigation #nav-cont #navbar-menu ul li a {
    text-decoration: none;
    font-size: 0.875em;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    padding: 0.625em 0;
    position: relative;
  }
  #navigation #nav-cont #navbar-menu ul li a:hover {
    color: var(--primaryLight);
  }
  #navigation #nav-cont #navbar-menu ul li a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primaryLight);
    transition: width 0.3s;
  }
  #navigation #nav-cont #navbar-menu ul li a:hover:before {
    width: 100%;
  }
  #navigation #nav-cont .hamburger-menu {
    display: none;
  }
}
/* Dark Mode Mobile */
@media only screen and (max-width: 1023px) {
  body.dark-mode #navigation .background-color-div {
    background-color: var(--dark);
  }
  body.dark-mode #navigation .hamburger-menu.clicked span {
    background-color: var(--dark);
  }
  body.dark-mode #navigation .hamburger-menu span {
    background-color: #fff;
  }
  body.dark-mode #navigation .hamburger-menu span:before,
  body.dark-mode #navigation .hamburger-menu span:after {
    background-color: #fff;
  }
  body.dark-mode #navigation .logo .light {
    display: block;
  }
  body.dark-mode #navigation .logo .dark {
    display: none !important;
  }
  body.dark-mode #navigation #navbar-menu {
    background-color: var(--medium);
  }
  body.dark-mode #navigation #navbar-menu ul li a {
    color: #fff;
  }
  body.dark-mode #navigation #navbar-menu ul li a:before {
    background: var(--accent);
  }
  body.dark-mode #navigation #navbar-menu ul li a.active {
    color: var(--primary);
  }
}
/* Dark Mode Desktop */
@media only screen and (min-width: 1024px) {
  body.dark-mode #navigation .background-color-div {
    background-color: var(--dark);
  }
  body.dark-mode #navigation .logo .light {
    display: block;
  }
  body.dark-mode #navigation .logo .dark {
    display: none !important;
  }
  body.dark-mode #navigation #navbar-menu ul li a {
    color: #fff;
  }
  body.dark-mode #navigation #navbar-menu ul li a:before {
    background: var(--accent);
  }
  body.dark-mode #navigation #navbar-menu ul li a.active {
    color: var(--primary);
  }
}
/*-- -------------------------- -->
<---   Interior Page Header     -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #int-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 1;
    min-height: 35vh;
    padding-top: 5em;
  }
  #int-hero:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: .35;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #int-hero picture {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -2;
  }
  #int-hero picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #int-hero h1 {
    color: #fff;
    font-size: 2.13333333em;
    text-align: center;
    margin: 0 auto;
    position: relative;
    width: 96%;
    max-width: 7.8125em;
    margin-top: 1.09375em;
    margin-bottom: 0.46875em;
    font-style: italic;
  }
  #int-hero p {
    color: #fff;
    text-align: center;
    max-width: 22.22222222em;
    margin: auto;
    margin-bottom: 1.66666667em;
    display: block;
    width: 96%;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #int-hero {
    font-size: 16px;
  }
  #int-hero h1 {
    font-size: 4em;
  }
}
/* Small Desktop */
@media only screen and (min-width: 64em) {
  #int-hero {
    min-height: 25em;
    height: auto;
    padding-top: 21.25em;
    padding-block-end: 6.25em;
    background-attachment: fixed;
    font-size: inherit;
  }
}
/*-- -------------------------- -->
<---           Footer           -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #footer {
    background: var(--primaryDark);
    padding: 5.25em 0 1.25em;
    font-size: min(4vw, 1.2em);
  }
  #footer .left-section {
    margin: auto;
    margin-bottom: 3.125em;
    text-align: center;
  }
  #footer .left-section .logo {
    display: inline-block;
    margin: auto;
    width: auto;
    height: 7.5em;
    margin-bottom: 1.875em;
    text-align: center;
  }
  #footer .left-section .logo img {
    width: auto;
    height: 100%;
    display: block;
  }
  #footer .left-section p {
    font-size: 0.875em;
    line-height: 1.92857143;
    color: white;
    opacity: .9;
    text-align: center;
    width: 100%;
    width: 21.92857143em;
    margin: auto;
  }
  #footer .right-section {
    width: 96%;
    max-width: 25.4375em;
    margin: auto;
  }
  #footer .right-section .lists {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 96%;
    max-width: 19.1875em;
    margin: auto;
  }
  #footer .right-section .lists ul {
    padding: 0;
    margin-bottom: 0;
    margin-top: 0;
  }
  #footer .right-section .lists ul:nth-of-type(3) {
    margin-top: 3.125em;
  }
  #footer .right-section .lists ul:nth-of-type(3) li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0.88888889em;
  }
  #footer .right-section .lists ul:nth-of-type(3) li:last-of-type {
    margin-bottom: 0;
  }
  #footer .right-section .lists ul li {
    list-style: none;
    margin-bottom: 0.66666667em;
    color: white;
    font-size: 1em;
    opacity: .9;
  }
  #footer .right-section .lists ul li a {
    text-decoration: none;
    color: white;
    line-height: 1.16666667;
    transition: color .3s;
  }
  #footer .right-section .lists ul li a:hover {
    color: var(--primaryShade);
  }
  #footer .right-section .lists ul h2 {
    color: #ffa321;
    font-size: 1.125em;
    line-height: 1.16666667;
    margin-bottom: 2.05555556em;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
  }
  #footer .right-section .lists ul h2:before {
    content: '';
    position: absolute;
    display: block;
    height: 0.11111111em;
    width: 5.38888889em;
    background: #ffa321;
    opacity: 1;
    bottom: -0.88888889em;
    left: 0;
  }
  #footer .right-section .buttons {
    display: flex;
    justify-content: center;
  }
  #footer .right-section .button-solid {
    margin: 0;
    height: 2.94444444em;
    padding-top: 0.16666667em;
    width: 13.88888889em;
  }
  #footer .credit {
    color: white;
    width: 96%;
    margin: auto;
    text-align: center;
    margin-top: 6.25em;
    line-height: 2.25em;
    font-size: 1em;
  }
  #footer .credit a {
    color: #ffa321;
    text-decoration: none;
    font-size: 1em;
  }
  #footer .credit a:hover {
    text-decoration: underline;
  }
  #footer .credit .copyright {
    display: block;
    font-size: 1em;
  }
}
/* Small Desktop */
@media only screen and (min-width: 64em) {
  #footer {
    font-size: min(1.2vw, 1em);
  }
  #footer .container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 96%;
    max-width: 82.5em;
    margin: auto;
    padding: 0;
  }
  #footer .left-section {
    width: 25.5625em;
    margin: 0;
    text-align: left;
  }
  #footer .left-section .logo {
    text-align: left;
    margin-left: 0;
    height: 10em;
  }
  #footer .left-section p {
    text-align: left;
    margin-left: 0;
  }
  #footer .right-section {
    margin: 0;
    width: 38.0625em;
    max-width: none;
  }
  #footer .right-section .lists {
    width: 96%;
    max-width: 48.0625em;
    margin: 0;
    max-width: initial;
  }
  #footer .right-section .lists ul:nth-of-type(3) {
    margin-top: 0;
  }
  #footer .right-section .lists ul:nth-of-type(3) li:first-of-type {
    margin-bottom: 0;
  }
  #footer .right-section .lists ul li a {
    position: relative;
  }
  #footer .right-section .lists ul li a:before {
    content: '';
    position: absolute;
    display: block;
    height: 0.11111111em;
    width: 0%;
    background: var(--primary);
    opacity: 1;
    bottom: -0.16666667em;
    left: 0;
    transition: width .3s;
  }
  #footer .right-section .lists ul li a:hover {
    color: var(--primaryLight);
  }
  #footer .right-section .lists ul li a:hover:before {
    width: 100%;
    background: var(--primaryLight);
  }
  #footer .right-section .buttons {
    justify-content: flex-start;
  }
  #footer .credit .copyright {
    display: inline-block;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0em) {
  body.dark-mode #footer {
    background: #061623;
  }
}
