/* =============================================================================
   Bali Alphard - Custom Styles (CONSISTENT WITH front-page.php)
   Brand colors: lbyellow (#6EC1E4 cyan accent), bg-black base, gray-900 cards
   ============================================================================= */

:root {
  --ba-accent: #6EC1E4;       /* lbyellow — match Tailwind config */
  --ba-accent-2: #54595F;     /* lbyellow2 */
  --ba-peach: #FFBC7D;        /* lppeach */
  --ba-bg: #000000;           /* bg-black */
  --ba-bg-card: #111827;      /* gray-900 */
  --ba-bg-card-2: #1f2937;    /* gray-800 */
  --ba-text-muted: #d1d5db;   /* gray-300 */
}

/* Buttons (mirroring front-page CTA style) */
.ba-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--ba-accent);
  color: #000;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.ba-btn-primary:hover {
  background: rgba(110, 193, 228, 0.85);
  transform: scale(1.05);
  color: #000;
}
.ba-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: transparent;
  color: var(--ba-accent);
  border: 1px solid rgba(110, 193, 228, 0.4);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}
.ba-btn-outline:hover {
  background: rgba(110, 193, 228, 0.10);
  border-color: var(--ba-accent);
}

/* Badge (subtitle pill) */
.ba-badge {
  display: inline-block;
  background: rgba(110, 193, 228, 0.10);
  color: var(--ba-accent);
  border: 1px solid rgba(110, 193, 228, 0.25);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
}

/* Card hover (matches front-page service cards) */
.ba-card {
  background: #111827;
  border: 1px solid rgba(110, 193, 228, 0.25);
  transition: all 0.5s ease;
}
.ba-card:hover {
  border-color: var(--ba-accent);
  transform: translateY(-12px);
  box-shadow: 0 25px 50px -12px rgba(110, 193, 228, 0.20);
}

/* WhatsApp pulse */
@keyframes ba-pulse-wa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}
.ba-wa-pulse { animation: ba-pulse-wa 2s infinite; }

/* FAQ collapse */
.ba-faq-answer { transition: max-height 0.35s ease, opacity 0.3s ease; max-height: 0; opacity: 0; overflow: hidden; }
.ba-faq-answer.open { max-height: 500px; opacity: 1; }
.ba-faq-icon { transition: transform 0.3s ease; }
.ba-faq-icon.open { transform: rotate(180deg); }

/* Price table */
.ba-price-table th { color: var(--ba-accent); font-weight: 600; }
.ba-price-table tr:hover td { background-color: rgba(110, 193, 228, 0.05); }

/* Navbar (sticky transparent on dark) */
.ba-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(110, 193, 228, 0.15);
}
.ba-navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.25rem;
}
.ba-navbar a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; font-weight: 500; }
.ba-navbar a:hover, .ba-navbar a.active { color: var(--ba-accent); }
.ba-navbar ul.ba-nav-menu { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.ba-navbar .ba-logo img { height: 42px; width: auto; }

.ba-navbar .ba-dropdown { position: relative; }
.ba-navbar .ba-dropdown-toggle { cursor: pointer; background: 0; border: 0; color: rgba(255,255,255,0.85); font-size: 0.9rem; padding: 0; display: inline-flex; align-items: center; gap: 0.3rem; font-family: inherit; font-weight: 500; }
.ba-navbar .ba-dropdown-toggle::after { content: '▾'; font-size: 0.7em; transition: transform 0.2s; }
.ba-navbar .ba-dropdown.open .ba-dropdown-toggle { color: var(--ba-accent); }
.ba-navbar .ba-dropdown.open .ba-dropdown-toggle::after { transform: rotate(180deg); }
.ba-navbar .ba-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.85rem;
  background: #0a0a0a;
  border: 1px solid rgba(110, 193, 228, 0.2);
  min-width: 250px;
  padding: 0.5rem 0;
  box-shadow: 0 14px 40px rgba(0,0,0,0.6);
}
.ba-navbar .ba-dropdown.open .ba-dropdown-menu { display: block; }
.ba-navbar .ba-dropdown-menu a { display: block; padding: 0.7rem 1.25rem; font-size: 0.85rem; }
.ba-navbar .ba-dropdown-menu a:hover { background: rgba(110, 193, 228, 0.08); color: var(--ba-accent); }

.ba-navbar .ba-cta-btn {
  background: var(--ba-accent);
  color: #000 !important;
  font-weight: 700;
  padding: 0.6rem 1.4rem !important;
  border-radius: 0;
  font-size: 0.85rem !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.ba-navbar .ba-cta-btn:hover { background: rgba(110, 193, 228, 0.85); color: #000 !important; transform: scale(1.05); }

.ba-mobile-toggle { display: none; background: 0; border: 0; color: #fff; font-size: 26px; cursor: pointer; padding: 0.5rem; }
.ba-mobile-menu { display: none; }

@media (max-width: 1024px) {
  .ba-mobile-toggle { display: block; }
  .ba-navbar ul.ba-nav-menu, .ba-navbar .ba-cta-btn-desktop { display: none; }
  .ba-mobile-menu {
    display: block;
    position: fixed;
    inset: 72px 0 0 0;
    background: #000;
    overflow-y: auto;
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 49;
  }
  .ba-mobile-menu.open { transform: translateX(0); }
  .ba-mobile-menu ul { list-style: none; padding: 0; margin: 0; }
  .ba-mobile-menu > ul > li { border-bottom: 1px solid rgba(110, 193, 228, 0.1); }
  .ba-mobile-menu a { display: block; padding: 1rem 0.25rem; color: #fff; }
  .ba-mobile-menu .ba-mobile-section { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ba-accent); padding: 1.5rem 0.25rem 0.5rem; font-weight: 600; }

  .ba-mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: 0;
    border: 0;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 0.25rem;
    cursor: pointer;
    text-align: left;
  }
  .ba-mobile-dropdown-arrow {
    color: var(--ba-accent);
    font-size: 0.8em;
    transition: transform 0.25s ease;
  }
  .ba-mobile-dropdown.open .ba-mobile-dropdown-toggle { color: var(--ba-accent); }
  .ba-mobile-dropdown.open .ba-mobile-dropdown-arrow { transform: rotate(180deg); }
  .ba-mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding-left: 1rem;
  }
  .ba-mobile-dropdown.open .ba-mobile-submenu { max-height: 800px; }
  .ba-mobile-submenu li { border-bottom: 0; }
  .ba-mobile-submenu a {
    padding: 0.65rem 0.25rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    border-left: 2px solid rgba(110, 193, 228, 0.2);
    padding-left: 0.85rem;
  }
  .ba-mobile-submenu a:hover { color: var(--ba-accent); border-left-color: var(--ba-accent); }
}

/* Floating WhatsApp */
.ba-fab-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 49;
  box-shadow: 0 8px 24px rgba(37,211,102,0.40);
  transition: transform 0.25s;
}
.ba-fab-wa:hover { transform: scale(1.10); }
.ba-fab-wa svg { width: 30px; height: 30px; }
@media (max-width: 1024px) {
  .ba-fab-wa { display: none; }
}

/* Section accent — animated background blobs (matches front-page) */
.ba-blob {
  position: absolute;
  width: 16rem;
  height: 16rem;
  background: rgba(110, 193, 228, 0.10);
  opacity: 0.3;
  pointer-events: none;
}
@media (min-width: 768px) {
  .ba-blob { width: 24rem; height: 24rem; }
}
