/*!
 * AME Purple Skin (Purple • White • Gold)
 * Primary: #6C2EB9 (royal purple)
 * Primary Dark: #512091
 * Gold Accent: #D4AF37
 * Gold Soft: #E5C76B
 * Text Dark: #1B1B1F
 * White: #FFFFFF
 */

/* ---------- Core Theme Colors ---------- */
:root {
  --ame-purple: #6C2EB9;
  --ame-purple-dark: #512091;
  --ame-gold: #D4AF37;
  --ame-gold-soft: #E5C76B;
  --ame-text-dark: #1B1B1F;
  --ame-white: #FFFFFF;
}

/* Primary color utilities */
.text-color-primary,
a.text-color-primary,
a:hover.text-color-primary { color: #6C2EB9 !important; }

.bg-primary { background-color: #6C2EB9 !important; }
.border-primary { border-color: #6C2EB9 !important; }

/* Secondary accent = Gold */
.text-color-secondary { color: #D4AF37 !important; }
.bg-secondary { background-color: #D4AF37 !important; }
.border-secondary { border-color: #D4AF37 !important; }

/* Quaternary (used by header in demo-event) -> translucent purple glass */
.bg-quaternary { background-color: rgba(108,46,185,0.35) !important; }

/* Links */
a { color: #6C2EB9; }
a:hover, a:focus { color: #512091; }

/* ---------- Buttons ---------- */
.btn-primary {
color: #6C2EB9 !important;
background-color: #FFFFFF !important;
border: 2px solid #6C2EB9 !important;
}
.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active, 
.btn-primary.active {
color: #FFFFFF !important;
background-color: #6C2EB9 !important;
border-color: #6C2EB9 !important;
box-shadow: 0 0 0 .2rem rgba(108,46,185,.25);
}

.btn-outline-primary {
color: #6C2EB9 !important;
background-color: #FFFFFF !important;
border: 2px solid #6C2EB9 !important;
}
.btn-outline-primary:hover, 
.btn-outline-primary:focus {
color: #FFFFFF !important;
background-color: #6C2EB9 !important;
border-color: #6C2EB9 !important;
}

/* Gold accent button updated */
.btn-gold {
color: #6C2EB9 !important;
background-color: #FFFFFF !important;
border: 2px solid #D4AF37 !important;
}
.btn-gold:hover, 
.btn-gold:focus, 
.btn-gold:active, 
.btn-gold.active {
color: #FFFFFF !important;
background-color: #6C2EB9 !important;
border-color: #D4AF37 !important;
box-shadow: 0 0 0 .2rem rgba(212,175,55,.28);
}

/* Rounded buttons in hero */
.btn.btn-rounded { border-radius: 999px; }

/* ---------- Header / Nav ---------- */
.header-transparent .header-nav-main nav > ul > li > a {
color: #fff;
}
.header-transparent .header-nav-main nav > ul > li > a:hover,
.header-transparent .header-nav-main nav > ul > li > a:focus,
.header-transparent .header-nav-main nav > ul > li.open > a {
color: #E5C76B;
}

/* Sticky header background */
.header-body.header-effect-shrink.sticky-header-active {
background: rgba(108,46,185,0.85) !important;
backdrop-filter: blur(6px);
}

/* Active pill underline */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
background-color: transparent;
color: #E5C76B !important;
box-shadow: inset 0 -2px 0 0 #E5C76B;
}

/* ---------- Hero / Badges / Overlays ---------- */
.hero-badge {
background: rgba(212,175,55,0.25);
color: #fff;
border: 1px solid rgba(212,175,55,0.35);
}

/* Owl nav arrows */
.owl-carousel .owl-nav button {
background: rgba(27,27,31,.45) !important;
border: 1px solid rgba(255,255,255,.25) !important;
}
.owl-carousel .owl-nav button:hover {
background: rgba(108,46,185,.85) !important;
}

/* Owl dots */
.owl-theme .owl-dots .owl-dot span {
background: rgba(255,255,255,0.6);
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
background: #D4AF37;
}

/* ---------- Cards / Accents ---------- */
.card .card-title,
.card .fw-bold { color: #1B1B1F; }
.rate-card { border: 1px solid rgba(108,46,185,0.12); }
.rate-icon { color: #6C2EB9; }

/* Status icons */
.text-success { color: #2EB95C !important; }
.text-danger { color: #D9534F !important; }
.text-warning { color: #E5C76B !important; }

/* ---------- Footer ---------- */
#footer {
background: #1B1230;
}
#footer .text-color-light { color: #f4f4f6 !important; }
#footer a.btn-primary {
color: #6C2EB9 !important;
background-color: #FFFFFF !important;
border: 2px solid #6C2EB9 !important;
}
#footer a.btn-primary:hover {
color: #FFFFFF !important;
background-color: #6C2EB9 !important;
border-color: #6C2EB9 !important;
}

/* Scroll-to-top button */
a.scroll-to-top {
background: #6C2EB9;
color: #fff;
border: 1px solid rgba(255,255,255,.35);
}
a.scroll-to-top:hover {
background: #512091;
}

/* ---------- Forms ---------- */
.form-control:focus {
border-color: #6C2EB9;
box-shadow: 0 0 0 .2rem rgba(108,46,185,.15);
}

/* Divider / hr accent */
hr { border-top-color: rgba(108,46,185,0.15); }

/* --- Header Navigation --- */
.header-transparent .header-nav-main nav > ul > li > a {
color: #fff !important;
font-weight: 500;
}
.header-transparent .header-nav-main nav > ul > li > a:hover,
.header-transparent .header-nav-main nav > ul > li > a:focus,
.header-transparent .header-nav-main nav > ul > li.open > a,
.header-transparent .header-nav-main nav > ul > li.active > a {
color: #6C2EB9 !important;
border-bottom: 2px solid #6C2EB9;
}

/* =========================
 Custom Header Overrides
 ========================= */
.header-body.bg-quaternary {
background: rgba(16,16,16,.35) !important;
backdrop-filter: blur(4px);
}
