/* Global button color override to bubblegum Barbie pink */
/* Uses CSS vars with sensible fallbacks for pages missing definitions */

.btn,
.btn-primary,
button.btn,
a.btn {
  background: linear-gradient(135deg, #FF69B4, #FF69B4) !important;
  color: #fff !important;
  border-color: #ffffff15 !important;
}

/* Keep gold buttons as gold accent */
.btn-gold {
  background: linear-gradient(135deg, var(--gold, #ffb800), var(--gold-700, #e6a300)) !important;
  color: #111 !important;
  border-color: #00000010 !important;
}

/* Keep existing hover lift */
.btn:hover,
a.btn:hover {
  transform: translateY(-2px);
}

/* Ensure anchor buttons don’t underline */
a.btn { text-decoration: none; }

/* Intro bullet icon background: use bubblegum pink brand */
.bullet i {
  background: linear-gradient(135deg, #FF69B4, #FF69B4) !important;
  color: #fff !important; /* ensure good contrast on pink */
}

/* ---------------------------------------
   Footer polish: contact cards + branding
   --------------------------------------- */
/* Brand logo size in footer */
footer .ft-brand .logo {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  overflow: hidden;
}
footer .ft-brand h4 {
  margin: 0 !important;
  font-family: Poppins, sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(1rem, 2.2vw, 1.25rem) !important;
  letter-spacing: .2px;
  color: #fff;
}

/* Footer contact cards */
footer .card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)) !important;
  border: 1px solid var(--line, rgba(255,255,255,.1)) !important;
  border-radius: 14px !important;
  padding: 1rem !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  transition: transform .25s ease, background .25s ease;
}
footer .card:hover { transform: translateY(-3px); background: rgba(255,255,255,.07); }
footer .card h3 {
  margin: .15rem 0 .15rem !important;
  font: 800 1rem/1.2 Poppins, sans-serif !important;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #f2f2f2;
}
footer .card h3 i {
  font-size: 1rem;
  width: 28px; height: 28px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #FF69B4, #FF69B4);
  color: #fff;
}
footer .card p { 
  margin: 0 !important; 
  color: #cfcfcf !important; 
  white-space: nowrap;            /* keep content on one line */
  overflow: hidden;               /* avoid overflow spilling */
  text-overflow: ellipsis;        /* show … if it can't fit */
  word-break: keep-all;           /* don't break words/emails */
}

@media (max-width: 900px){
  footer .card { padding: .9rem !important; min-height: unset; }
  footer .ft-brand .logo { width: 40px !important; height: 40px !important; }
  footer .card h3 { justify-content: center !important; text-align: center !important; }
}

/* Allow footer grid to adapt column widths before wrapping text */
footer .grid.cols-3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1rem;
}
@media (max-width: 800px){
  footer .grid.cols-3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  footer .grid.cols-3{ grid-template-columns: 1fr; }
}

/* ------------------------------
   Global navbar enhancements
   ------------------------------ */
/* Active link highlight (works on light/dark headers) */
nav a[aria-current="page"],
nav a.active{
  color: #FF69B4 !important;
  font-weight: bolder;
  position: relative;
}
@media (min-width: 901px){
  nav a[aria-current="page"]::after,
  nav a.active::after{
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold, #ffb800), #FF69B4);
    border-radius: 999px;
  }
}

/* Dropdown (Itineraries) */
nav li{ position: relative; }
nav li.has-submenu > .submenu{
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: --glass;
  border: 1px solid var(--line, #efeff3);
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(0,0,0,.16);
  min-width: 240px;
  padding: 8px;
  z-index: 200;
}
nav li.has-submenu > .submenu li{ list-style: none; margin: 0; }
nav li.has-submenu > .submenu a{
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #FF69B4 !important;
  white-space: nowrap;
}
nav li.has-submenu > .submenu a:hover{ background: #FAFAFC; }

/* Show submenu on hover (desktop) */
@media (min-width: 901px){
  nav li.has-submenu:hover > .submenu{ display: block; }
}

/* Mobile submenu toggle button (hidden on desktop) */
.submenu-toggle{ display: none; }
@media (max-width: 900px){
  nav li.has-submenu{ display: flex; align-items: center; gap: 6px; }
  .submenu-toggle{
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    min-width: 32px; min-height: 32px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 105, 180, 0.15); 
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: rgba(255, 105, 180, 0.2);
  }
  .submenu-toggle::before{ 
    content: "▾"; 
    font-size: 14px; 
    line-height: 1; 
    transition: transform 0.3s ease;
    pointer-events: none;
  }
  .submenu-toggle:hover,
  .submenu-toggle:focus{
    background: rgba(255, 105, 180, 0.25);
    border-color: rgba(255, 105, 180, 0.4);
  }
  nav li.has-submenu.open .submenu-toggle::before{
    transform: rotate(180deg);
  }
  nav li.has-submenu > .submenu{
    position: static;
    display: none;
    border: 0; box-shadow: none;
    padding: 6px 0 0 10px;
  }
  nav li.has-submenu.open > .submenu{ display: block; }
}
