header {
  background: transparent !important;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding-top: 40px;   /* 👈 controls spacing cleanly */
  padding-bottom: 20px;
}
/* Soft fade from very top of screen */
header::before {
  content: "";
  position: absolute;
  top: -10px;     /* extends slightly above header */
  left: 0;
  width: 100%;
  height: 100px;   /* controls how tall the fade is */
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0)
  );
}

/* Fix header overlap on internal pages - MOBILE ONLY */
/* Fix mobile transparent header overlap for single posts */

@media (max-width: 768px) {

  /* Header */
  header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9999;
  }

  /* Make main a positioning context */
  main {
    position: relative;
    padding-top: 160px !important; /* match header height */
  }

}



.wp-block-navigation-item__content {
  position: relative;
  text-decoration: none;
  padding-bottom: 6px;
  transition: color 0.4s ease, letter-spacing 0.4s ease;
}

/* Thin luxury underline */
.wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px; /* thinner = more luxury */
  background-color: #c5a46d; /* soft gold */
  transform: translateX(-50%);
  transition: width 0.4s ease;
}

.wp-block-navigation-item__content:hover {
  letter-spacing: 1px;
}

.wp-block-navigation-item__content:hover::after {
  width: 100%;
}

.wp-block-image {
  overflow: hidden;
}

.wp-block-image img {
  transition: transform 0.6s ease;
}

.wp-block-image:hover img {
  transform: scale(1.06);
}

.wp-block-site-logo img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.wp-block-site-logo:hover img {
  transform: scale(1.06);
  filter: brightness(1.1);
}

/* Contact page background overlay */
.page-id-160 .wp-block-group.alignfull {
  position: relative;
  overflow: hidden;
}

.page-id-160 .wp-block-group.alignfull::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* adjust darkness here */
  z-index: 0;
}

/* Make content sit above overlay */
.page-id-160 .wp-block-group.alignfull > * {
  position: relative;
  z-index: 1;
}
.wp-block-cover__image-background {
  transform: scale(1.05);
  animation: heroZoom 2s ease forwards;
}


/* Page fade + lift on load */
body {
  opacity: 0;
  transform: translateY(20px);
  animation: siteFadeIn 0.3s ease forwards;
}

@keyframes siteFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
header {
  opacity: 0;
  transform: translateY(-20px);
  animation: headerReveal 0.8s ease forwards;
  animation-delay: 0.3s;
}

@keyframes headerReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}