/* ULTIMATE BUTTON FIXES - FORCE ALL BUTTONS GOLD EXCEPT CONTACT */

/* ALL BUTTONS DEFAULT TO GOLD - MAXIMUM OVERRIDE POWER */
button,
.btn,
.btn-primary,
input[type="submit"],
input[type="button"],
a[href*="tel:"],
a[class*="btn"]:not(.btn-glass),
.book-call-btn,
.fab-btn,
*[onclick],
form button {
    background: linear-gradient(135deg, #FFB700, #FFC533) !important;
    background-color: #FFB700 !important;
    background-image: linear-gradient(135deg, #FFB700, #FFC533) !important;
    color: #1a1a1a !important;
    border: none !important;
    border-color: transparent !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(255, 183, 0, 0.2) !important;
}

button:hover,
.btn:hover,
.btn-primary:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
a[href*="tel:"]:hover,
a[class*="btn"]:not(.btn-glass):hover,
.book-call-btn:hover,
.fab-btn:hover,
*[onclick]:hover,
form button:hover {
    background: linear-gradient(135deg, #FFC533, #FF9D00) !important;
    background-color: #FFC533 !important;
    background-image: linear-gradient(135deg, #FFC533, #FF9D00) !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 25px rgba(255, 183, 0, 0.4) !important;
}

/* CONTACT BUTTONS - SPECIAL GLASS STYLING ONLY (NOT IN NAVBAR) */
.btn-glass:not(nav .btn-glass),
a[href="contact.html"].btn-glass:not(nav a),
.btn-glass-mobile {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

/* NAVBAR CONTACT BUTTON - MAKE IT GOLD */
nav .btn-glass,
nav a[href="contact.html"],
#mainNav .btn-glass,
#mainNav a[href="contact.html"] {
    background: linear-gradient(135deg, #FFB700, #FFC533) !important;
    background-color: #FFB700 !important;
    color: #1a1a1a !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(255, 183, 0, 0.2) !important;
}

nav .btn-glass:hover,
nav a[href="contact.html"]:hover,
#mainNav .btn-glass:hover,
#mainNav a[href="contact.html"]:hover {
    background: linear-gradient(135deg, #FFC533, #FF9D00) !important;
    background-color: #FFC533 !important;
    color: #1a1a1a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 25px rgba(255, 183, 0, 0.4) !important;
}

.btn-glass:not(nav .btn-glass):hover,
a[href="contact.html"].btn-glass:not(nav a):hover,
.btn-glass-mobile:hover {
    background: rgba(255, 215, 0, 0.15) !important;
    border-color: #FFD700 !important;
    color: #FFD700 !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3) !important;
}

/* MOBILE MENU AND NAVIGATION BUTTONS - NO STYLING */
.mobile-menu-button,
.modal-close,
button[class*="close"],
button[class*="toggle"],
.nav-link,
.nav-link-mobile,
button[aria-label*="menu"],
button[aria-label*="navigation"] {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
    padding: 0.5rem !important;
}

/* CALL NOW BUTTON - CENTERED AND PROPERLY SIZED */
#heroCta,
a[href*="tel:"]:not(.btn-glass) {
    max-width: 200px !important;
    width: 200px !important;
    padding: 0.75rem 1.25rem !important;
    margin: 0 auto !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    justify-content: center !important;
}

/* SERVICES GET STARTED BUTTON */
.services .btn-glass,
section#services a[class*="btn"]:not([href="contact.html"]) {
    background: linear-gradient(135deg, #FFB700, #FFC533) !important;
    background-color: #FFB700 !important;
    color: #1a1a1a !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.services .btn-glass:hover,
section#services a[class*="btn"]:not([href="contact.html"]):hover {
    background: linear-gradient(135deg, #FFC533, #FF9D00) !important;
    background-color: #FFC533 !important;
    color: #1a1a1a !important;
}

/* TESTIMONIALS START SUCCESS STORY BUTTON */
.testimonials a[class*="btn"]:not([href="contact.html"]),
#testimonials a[class*="btn"]:not([href="contact.html"]) {
    background: linear-gradient(135deg, #FFB700, #FFC533) !important;
    background-color: #FFB700 !important;
    color: #1a1a1a !important;
    border: none !important;
}

.testimonials a[class*="btn"]:not([href="contact.html"]):hover,
#testimonials a[class*="btn"]:not([href="contact.html"]):hover {
    background: linear-gradient(135deg, #FFC533, #FF9D00) !important;
    background-color: #FFC533 !important;
    color: #1a1a1a !important;
}

/* NUCLEAR OPTION - OVERRIDE ANY REMAINING BLACK BUTTONS */
* button:not(.btn-glass):not(.mobile-menu-button):not(.modal-close):not([class*="nav"]):not([class*="close"]):not([class*="toggle"]),
* .btn:not(.btn-glass),
* .btn-primary,
* input[type="submit"],
* input[type="button"],
* a[onclick]:not(.btn-glass) {
    background: linear-gradient(135deg, #FFB700, #FFC533) !important;
    background-color: #FFB700 !important;
    color: #1a1a1a !important;
    border: none !important;
}

/* DISABLE ORB CURSOR FOLLOWING */
.orb {
    position: absolute !important;
    transform: none !important;
    transition: none !important;
}

.orb-1 {
    top: 10% !important;
    left: 10% !important;
    transform: none !important;
}

.orb-2 {
    bottom: 10% !important;
    right: 10% !important;
    transform: none !important;
}

/* REMOVE DUPLICATE ORBS */
.orb:nth-of-type(n+3) {
    display: none !important;
}

/* FIX CURSOR ISSUES */
body,
html,
* {
    cursor: default !important;
}

button,
a,
.btn,
.btn-primary,
.book-call-btn,
input[type="submit"],
input[type="button"],
.nav-link {
    cursor: pointer !important;
}

/* DISABLE CUSTOM CURSOR */
.custom-cursor {
    display: none !important;
    visibility: hidden !important;
}

/* REDUCE SHINE BRIGHTNESS ON SCROLL */
.glass-shine {
    animation: none !important;
}

/* TONE DOWN GLOW EFFECTS */
:root {
    --gold-glow: 0 0 5px rgba(255, 215, 0, 0.1) !important;
    --gold-strong-glow: 0 0 8px rgba(255, 215, 0, 0.15) !important;
}

/* FIX SCROLL BARS */
html, body {
    overflow-x: hidden !important;
}

.progress-bar,
#progress-bar,
.scroll-progress,
.page-progress,
div[class*="progress"][style*="position: fixed"] {
    display: none !important;
}

/* ENSURE CONTENT POSITIONING */
#constellation-canvas,
canvas[id*="constellation"] {
    z-index: 1 !important;
    position: fixed !important;
    pointer-events: none !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.hero-glass,
.glass,
.container,
nav,
main,
section,
article,
header,
footer {
    position: relative !important;
    z-index: 10 !important;
}

nav.nav-glass,
#mainNav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 50 !important;
    height: 80px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* FOOTER FIXES - ENSURE FULL BOTTOM COVERAGE */
footer,
.bg-brand-black {
    min-height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
}

body {
    display: flex !important;
    flex-direction: column !important;
}

main, .main-content {
    flex: 1 !important;
}

footer {
    margin-top: auto !important;
}

/* FIX CURSOR ISSUES */
body,
html,
* {
    cursor: default !important;
}

button,
a,
.btn,
.btn-primary,
.book-call-btn,
input[type="submit"],
input[type="button"],
.nav-link {
    cursor: pointer !important;
}

/* DISABLE CUSTOM CURSOR */
.custom-cursor {
    display: none !important;
    visibility: hidden !important;
}

/* REDUCE SHINE BRIGHTNESS ON SCROLL */
.glass-shine {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.03),
        transparent
    ) !important;
    background-size: 200% 100% !important;
    animation: glass-shine-subtle 4s infinite !important;
}

@keyframes glass-shine-subtle {
    0% {
        background-position: -100% 50%;
        opacity: 0.05;
    }
    50% {
        opacity: 0.02;
    }
    100% {
        background-position: 200% 50%;
        opacity: 0.05;
    }
}

/* DISABLE SUN/GLOW EFFECTS IN CORNERS ONLY */
.bg-shape,
.light-beam,
.floating-particles,
body::before,
body::after,
.glow-orb {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* RESTORE HERO SECTION GOLDEN SHINE IN MIDDLE */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 215, 0, 0.08) 0%,
        rgba(255, 215, 0, 0.03) 30%,
        transparent 60%
    ) !important;
    z-index: -1 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* TONE DOWN ALL REMAINING GLOW EFFECTS */
:root {
    --gold-glow: 0 0 1px rgba(255, 215, 0, 0.03) !important;
    --gold-strong-glow: 0 0 2px rgba(255, 215, 0, 0.05) !important;
}

/* Disable all glow animations */
@keyframes glow { 
    0%, 100% { box-shadow: none !important; }
}

@keyframes statShine {
    0%, 100% { left: -100%; opacity: 0; }
}

@keyframes glass-shine {
    0%, 100% { background-position: -100% 50%; opacity: 0; }
}
