/*
Theme Name: Angelz Body Spa
Author: Abdul Fatha
Description: A clean, custom base theme with full HTML flexibility.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: #
*/

 :root {
  /* Brand */
  --purple: #7513AA;
  --purple-deep: #4E0B73;
  --purple-soft: #9A3FCB;
  --gold: #E0B312;
  --gold-deep: #B8910A;
  --lilac: #F4ECF9;
  --lilac-soft: #FBF7FD;
  --lilac-grey: #EFEAF2;
  --lilac-line: rgba(117, 19, 170, 0.12);

  --ink: #1E1226;
  --ink-soft: #463A50;
  --ink-mute: #7C7185;
  --line: rgba(30, 18, 38, 0.10);
  --line-soft: rgba(30, 18, 38, 0.06);
  --white: #FFFFFF;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--purple-deep);
}
h1 { font-size: clamp(2.7rem, 5.6vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--ink-soft); line-height: 1.75; }
a { color: var(--purple); text-decoration: none; transition: color 0.25s; }
img { max-width: 100%; display: block; }

.shell { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

/* Eyebrow with gold halo arc (signature) */
.eyebrow {
  display: inline-block;
  position: relative;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  padding-top: 14px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 46px; height: 10px;
  border-top: 1.5px solid var(--gold);
  border-radius: 50% / 100% 100% 0 0;
}
.eyebrow.center { display: block; text-align: center; }
.eyebrow.center::before { left: 50%; transform: translateX(-50%); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: 0.92rem; font-weight: 600;
  padding: 15px 30px;
  border-radius: 4px;
  transition: all 0.25s ease;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--purple); color: var(--white) !important; }
.btn-primary:hover { background: var(--purple-deep); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--purple); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn-light { background: var(--white); color: var(--purple-deep); }
.btn-light:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-shell {
  max-width: 1280px; margin: 0 auto; padding: 10px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-glyph {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--purple); position: relative;
  display: grid; place-items: center; flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.25rem; color: var(--purple-deep);
  letter-spacing: -0.01em; line-height: 1;
}
.brand-sub {
  font-family: var(--font-body); font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--purple); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 11px 22px !important; font-size: 0.85rem !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }


/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 78px 0 32px; }
.footer-shell { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.footer-disclaimer {
  font-size: 0.8rem; color: rgba(255,255,255,0.42); line-height: 1.7;
  padding-bottom: 38px; margin-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
.footer-brand-mark { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand-mark .brand-name { color: var(--white); }
.footer-desc { font-size: 0.88rem; line-height: 1.7; max-width: 17rem; }
.footer h5 {
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; margin-bottom: 13px; }
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
}
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); }
.footer-bottom-links a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 1100px) {
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .shell, .hero-shell, .nav-shell, .member-shell, .footer-shell, .faq-shell, .bcta-shell, .trust-strip-shell { padding-left: 24px; padding-right: 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0;
    background: var(--white); padding: 24px; gap: 18px; border-bottom: 1px solid var(--line);
  }

  .brand-glyph{width: 70px; height: 70px;}
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


/* ==================== DROPDOWN SUBMENU ==================== */

/* Desktop Dropdown Configurations */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s;
}

.dropdown-trigger:hover { color: var(--purple); }
.dropdown-trigger svg { transition: transform 0.25s ease; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(78, 11, 115, 0.08);
  border: 1px solid var(--lilac-line);
  border-radius: 4px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 110;
}

.dropdown-menu a {
  display: block;
  padding: 9px 20px !important;
  font-size: 0.88rem !important;
  color: var(--ink-soft) !important;
  font-weight: 400 !important;
}

.dropdown-menu a::after { display: none !important; }
.dropdown-menu a:hover { background: var(--lilac-soft); color: var(--purple) !important; }

@media (min-width: 769px) {
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown:hover .dropdown-trigger svg {
    transform: rotate(180deg);
  }
}

/* ==================== CLEAN CENTERED MOBILE VIEW ==================== */
@media (max-width: 768px) {
  .shell, .hero-shell, .nav-shell, .member-shell, .footer-shell, .faq-shell, .bcta-shell, .trust-strip-shell { 
    padding-left: 24px; 
    padding-right: 24px; 
  }
  
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  
  /* Centered Mobile Menu Container */
  .nav-links.open {
    display: flex; 
    flex-direction: column; 
    align-items: center;    /* Centers links horizontally */
    text-align: center;
    position: absolute; 
    top: 98px; /* Matches the 100px height frame comfortably */
    left: 0; 
    right: 0;
    background: var(--white); 
    padding: 32px 24px; 
    gap: 20px; 
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 30px rgba(30, 18, 38, 0.05);
  }

  .brand-glyph { width: 70px; height: 70px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Mobile Dropdown Customization */
  .nav-dropdown {
    width: 100%;
    max-width: 280px; /* Limits width to keep text balanced and centered */
  }

  .dropdown-trigger {
    width: 100%;
    font-size: 1rem;
    padding: 8px 0;
    justify-content: center; /* Center main toggle link alignment text */
  }

  /* Hidden by default on mobile view until clicked */
  .dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    padding: 0;
    background: var(--lilac-soft);
    border-radius: 6px;
    opacity: 1;
    visibility: visible;
    display: none; 
    margin-top: 8px;
    width: 100%;
  }

  /* Target dynamic active state via aria selector when clicked */
  .dropdown-trigger[aria-expanded="true"] + .dropdown-menu {
    display: block;
  }

  /* Rotates chevron when submenu clicks open */
  .dropdown-trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  .dropdown-menu a {
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
  }
}