/* ========== MAYHAWK THEME CSS CODE ===== */


/* ===============================
   00. RANDOM MISC CODE - AND QUICK TESTING
   =============================== */


/* ===============================
   1. GLOBAL SETTINGS
   =============================== */

html, body {
  overflow-x: hidden !important;
}

/* === Remove the "Content" Block Global Margins and Padding === */
/* Remove top spacing from all blocks in .wp-site-blocks container */
:where(.wp-site-blocks) > * {
  margin-block-start: 0 !important;
  margin-top: 0 !important; /* just in case browser-specific fallback is needed */
}
/* Remove constrained layout padding */
.is-layout-constrained {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.has-global-padding {
  padding: 0 !important;
}

/* ===============================
   1.1. HEADER AND FOOTER GLOBAL SETTINGS
   =============================== */

/* Alter the Global Nav Menu Bar to any of the 4 Colours below ===
   associate a Page ID Numer in the Theme Functions PHP File */
/* ========== GLOBAL NAV BASE ========== */
.globalnav {
  z-index: 9999 !important;
}

/* Default: solid white, non-sticky */
body:not(.nav-white):not(.nav-grey):not(.nav-black):not(.nav-transparent) .globalnav {
  background: #ffffff !important;
  color: #000000cc !important;
  position: relative !important;
}

/* nav-white: semi-transparent white, sticky */
body.nav-white .globalnav {
  background: #ffffffcc;
  color: #000000cc;
  position: sticky !important;
  top:0;
}

/* nav-grey: light grey background, white text */
body.nav-grey .globalnav {
  background: #f5f5f7;
  color: #000000;
  position: relative;
}

/* nav-black: black background, white text */
body.nav-black .globalnav {
  background: #000000;
  color: #ffffff;
  position: relative;
}

/* nav-transparent: transparent background, white text */
body.nav-transparent .globalnav {
  background: transparent;
  color: #ffffff;
  position: relative;
}


/* ===============================
   2. ICON NAVIGATION SLIDER
   =============================== */

.icon-outer-navigation {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow: visible;
}

.icon-inner-navigation {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.icon-inner-navigation::-webkit-scrollbar {
  display: none;
}

.icon-nav-track {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  transition: justify-content 0.25s ease;
}

.icon-indv-slide {
  flex: 0 0 90px;
  scroll-snap-align: start;
  text-align: center;
  padding: 2px 7px;
}

.icon-indv-slide img {
  width: 90px;
  display: block;
  cursor: pointer;
}

.icon-label-text {
  margin-top: 9px;
  font-size: 12px !important;
  line-height: 1;
  font-weight: 400;
  color: #333;
}

.icon-nav-right-arrow {
  position: absolute;
  top: 42%;
  right: 0;
  transform: translate(50%, -50%);
  width: 19px;
  height: 113px;
  line-height: 113px;
  background: #fff;
  border-left: 1px solid #333;
  color: #333;
  font-size: 32px;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.icon-nav-right-arrow:hover {
  background: #f3f3f3;
}

.icon-nav-right-arrow.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ===============================
   3. ANIMATIONS - FADE IN UP - GLOW TEXT
   =============================== */

.fade-in-up {
  opacity: 0 !important;
  transform: translateY(130px) !important;
  transition: opacity 1s ease-out, transform 1s ease-out !important;
}

.fade-in-up.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@keyframes pulseThenGlowSmooth {
  0% {
    text-shadow: 0 0 5px rgba(255,255,255,0.6), 0 0 10px rgba(255,255,255,0.4),
                 0 0 15px rgba(255,255,255,0.3), 0 0 20px rgba(255,255,255,0.2),
                 0 0 25px rgba(255,255,255,0.15);
    color: #d0e7ff;
  }
  30% {
    text-shadow: 0 0 8px rgba(255,255,255,0.75), 0 0 16px rgba(255,255,255,0.55),
                 0 0 24px rgba(255,255,255,0.4), 0 0 32px rgba(255,255,255,0.3),
                 0 0 40px rgba(255,255,255,0.2);
    color: #e8f4ff;
  }
  60%, 100% {
    text-shadow: 0 0 5px rgba(255,255,255,0.35), 0 0 10px rgba(255,255,255,0.25),
                 0 0 15px rgba(255,255,255,0.15), 0 0 20px rgba(255,255,255,0.10),
                 0 0 25px rgba(255,255,255,0.07), 0 0 30px rgba(255,215,0,0.10),
                 0 0 40px rgba(255,215,0,0.07), 0 0 50px rgba(255,215,0,0.05);
    color: #ffffff;
  }
}

.pulse-glow-box {
  animation: pulseThenGlowSmooth 2s ease-in-out forwards;
  animation-delay: 1s;
  font-family: 'Inter', sans-serif;
  will-change: text-shadow, color;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
