/* Parent menu item positioning */
.menu-item-has-children {
    position: relative;
}

/* REMOVE padding from the visible link (keeps alignment perfect) */
.menu-item-has-children > a {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* CREATE the invisible hover buffer BELOW the parent item */
.menu-item-has-children::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 16px; /* buffer height */
    background: transparent;
    z-index: 50;
}

/* Submenu styling */
.menu-item-has-children > .sub-menu {
    position: absolute;
    top: calc(100% + 0px); /* aligned perfectly under the parent */
    left: 0;
    background: #ffffffee;
    backdrop-filter: blur(6px);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 10px 0;
    min-width: 200px;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s ease, visibility .15s ease;
}

/* Keep submenu open when hovering parent OR submenu */
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu,
.menu-item-has-children > .sub-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
/* Submenu links */
.menu-item-has-children > .sub-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    color: #333;
}

/* Hover color */
.menu-item-has-children > .sub-menu li a:hover {
    background: #f2f2f2;
    color: #111;
    border-radius: 6px;
}
/* Make dropdown a bit wider and roomier */
.menu-item-has-children > .sub-menu {
    min-width: 240px;          /* make the box wider */
    padding: 12px 0;           /* more vertical space inside */
}

/* Make each submenu item larger & better aligned */
.menu-item-has-children > .sub-menu li a {
    padding: 12px 20px;        /* bigger clickable area */
    font-size: 15px;           /* slightly larger text */
}

/* OPTIONAL: center dropdown under the parent bubble */
.menu-item-has-children > .sub-menu {
    left: 50%;
    transform: translateX(-50%);
}
/* Restore normal bubble height for parent menu items with dropdown */
.menu-item-has-children > a {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    display: inline-block;
}/* FULLSCREEN OVERLAY */
.aurelia-intro {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #fdf7d0 0%, #f7e2a3 35%, #2a113a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 9
}/* =========================================
   AURELIA INTRO — SOFTER, GRADIENT VERSION
   ========================================= */

/* Hide intro unless JS activates it */
body:not(.show-aurelia-intro) .aurelia-intro {
  display: none;
}

/* FULLSCREEN OVERLAY */
.aurelia-intro {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 99999;
  pointer-events: none;

  /* Soft lavender-pink gradient */
  background: linear-gradient(
    180deg,
    #f7eaff 0%,
    #e2c7ff 35%,
    #a076c4 70%,
    #39134c 100%
  );

  animation: aurelia-intro-hide 1.2s ease forwards;
  animation-delay: 6.5s;
}

/* SUN */
.aurelia-sun {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  bottom: -270px;

  background: radial-gradient(
    circle at 35% 35%,
    #fff8d9 0%,
    #ffe8a3 45%,
    #ffd070 80%
  );

  box-shadow:
    0 0 70px rgba(255, 231, 167, 0.85),
    0 0 120px rgba(255, 212, 140, 0.6);

  animation: aurelia-sun-rise 2.8s cubic-bezier(.19,1,.22,1) forwards;
}

/* CURTAINS */
.aurelia-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    #4b1c73,
    #7d3fa8,
    #5c2185,
    #381250
  );
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.4);
}

/* Curtain movement */
.aurelia-curtain-left {
  left: 0;
  transform: translateX(0);
  animation: curtain-left-open 2.2s ease-in-out forwards;
  animation-delay: 2.4s;
}

.aurelia-curtain-right {
  right: 0;
  transform: translateX(0);
  animation: curtain-right-open 2.2s ease-in-out forwards;
  animation-delay: 2.4s;
}

/* TEXT */
.aurelia-intro-text {
  position: relative;
  z-index: 3;
  opacity: 0;
  transform: translateY(20px);

  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: #fef1ff;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);

  animation: text-fade-in 1.8s ease-out forwards;
  animation-delay: 4.4s;
}

/* =======================
   ANIMATIONS
   ======================= */

@keyframes aurelia-sun-rise {
  0% { bottom: -270px; }
  100% { bottom: 58%; }
}

@keyframes curtain-left-open {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes curtain-right-open {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

@keyframes text-fade-in {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes aurelia-intro-hide {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* MOBILE */
@media (max-width: 600px) {
  .aurelia-sun {
    width: 180px;
    height: 180px;
  }
  .aurelia-intro-text {
    font-size: 2rem;
  }
}


