/* Fonts */
@font-face {
  font-display: swap;
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/fonts/CormorantGaramond-Regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Cormorant Garamond";
  font-style: "medium";
  font-weight: 500;
  src: url("/assets/fonts/CormorantGaramond-Medium.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Cormorant Garamond Italic";
  font-style: medium;
  font-weight: 500;
  src: url("/assets/fonts/CormorantGaramond-MediumItalic.woff2") format("woff2");
}

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

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: "semi-bold";
  font-weight: 400;
  src: url("/assets/fonts/Inter-SemiBold.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: var(--maxW);
  margin: 0 auto;
}

p {
  line-height: 1.5em;
  font-weight: 300;
}

h1,
h2 {
  font-family: var(--headerFont);
  line-height: 1.05em;
}

h1 {
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.05em;
}

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

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

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

.icon-circle {
  height: 45px;
  width: 45px;
  border-radius: 1.5rem;
  background-color: var(--bgColour3);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Button Styles */
/* Button CSS */
.main-btn {
  background-color: var(--mainBrandColour);
  border: none;
  color: white;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(209, 150, 176, 0.24);
}

.sub-btn {
  border: 2px solid var(--mainBrandColour);
  color: var(--mainBrandColour);
  font-weight: 500;
}

.cta-button {
  text-decoration: none;
  font-weight: 400;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s;
  font-family: var(--bodyFont);
  position: relative;
  text-align: center;
  min-width: 17rem;
  padding: 1rem 1.5rem;
  border-radius: 3rem;
}

.main-btn:hover,
.main-btn:focus-visible,
.sub-btn:hover {
  background-color: #f8cbcb;
}

.sub-btn:hover {
  color: white;
}

.nav1-cta-button:hover,
.nav1-cta-button:focus-visible {
  background-color: #f8cbcb;
}

/* ==== 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.1rem;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* SCROLLED STATE */
#nav1-navigation.is-scrolled {
  background-color: var(--bgColour1);
  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: var(--maxW);
  padding: 0.8rem;
  margin: 0 auto;
  padding-top: 0.6rem;
}

.dhd-logo {
  height: 50px;
}

.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: 300;
  color: var(--textColour1);
  text-decoration: none;
  transition: color 0.3s;
}

.nav1-logo {
  text-decoration: none;
  color: var(--textColour1);
  font-size: 25px;
  font-family: var(--headerFont);
  font-weight: 400;
  transition: color 0.3s;
}

.nav1-logo:hover {
  color: #f8cbcb;
  transition: color 0.3s;
}

.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-color: transparent;
}

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

.nav1-line {
  width: 100%;
  height: 2px;
  background: black;
  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: 1rem;
  font-size: 1rem;
}

.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.35);
  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: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s;
  font-weight: 300;
  font-family: var(--bodyFont);
  padding: 0.7rem 1.5rem;
}

/* ==== Nav Top Bar ==== */
.nav1-topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  transform: translateY(0);
  margin-bottom: 0;
  transition:
    transform 0.35s ease,
    margin-bottom 0.35s ease,
    opacity 0.25s ease;
}

.nav1-topbar-hidden {
  transform: translateY(-100%);
  opacity: 0;
  margin-bottom: -40px; /* same height as bar */
}

.nav1-topbar-container {
  max-width: var(--maxW);
  margin: auto;
  padding: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Social Icons */

.nav1-topbar-social {
  display: flex;
  gap: 0.8rem;
}

.nav1-topbar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav1-topbar-social .icon {
  transition: fill 0.5s;
}

.nav1-topbar-social .icon:hover {
  fill: #f8cbcb;
  transition: fill 0.5s;
}

.nav1-topbar-icon {
  width: 14px;
  height: 14px;
  fill: white;
}

/* Email */

.nav1-topbar-contact a {
  color: var(--textColour2);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
}

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

/* 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;
  }
}

@media screen and (max-width: 1023px) {
  .nav1-ul-wrapper {
    width: 100%;
    height: auto;
    background-color: var(--bgColour1);
    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: 2rem;
    left: 0;
    top: 60px;
  }

  .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;
    gap: 1.5rem;
  }

  .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;
  }
}

@media screen and (max-width: 1023px) {
  /* Make the mobile menu always sit directly under the full header height (top bar + nav) */
  #nav1-navigation .nav1-ul-wrapper {
    top: 100%;
  }
}
/* ==== Nav1 Component Styles End ==== */
/* ==== Nav1 Component Styles End ==== */

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

#site-footer .nav1-logo {
  margin-bottom: var(--spaceSm);
}

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

.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;
  font-weight: 300;
}

.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: 1;
  transform: translateY(0);
}

/* Only hide elements for animation when JS is active */
.js .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;
}

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