/**
 * SHOWMASTERS - 2026 Cyber-Luxury & Laser Aesthetics Theme
 */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;600;700;800&display=swap');

:root {
    --brand-gold: #B5914F;
    --brand-gold-light: #d4af37;
    --brand-gold-bright: #ffd700;
    --brand-gold-glow: rgba(181, 145, 79, 0.35);
    --laser-cyan: #00f0ff;
    --laser-cyan-glow: rgba(0, 240, 255, 0.35);
    --bg-black: #050507;
    --bg-dark: #090a0f;
    --bg-card: rgba(14, 16, 23, 0.65);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(181, 145, 79, 0.3);
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    background-color: var(--bg-black);
    color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Typography */
.font-logo {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #B5914F 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-glow {
    box-shadow: 0 0 30px var(--brand-gold-glow);
}

.gold-glow-border {
    border-color: var(--border-gold) !important;
    box-shadow: 0 0 20px rgba(181, 145, 79, 0.2);
}

/* Interactive Laser Background Canvas */
#laserCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

/* Glassmorphic Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(181, 145, 79, 0.15);
}

/* Smooth Scroll Padding */
section, header {
    scroll-margin-top: 80px;
    position: relative;
    z-index: 10;
}

/* Nav Active Link indicator */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--brand-gold);
}

.nav-link:hover::after,
.nav-link.nav-active::after {
    width: 100%;
}

.nav-link.nav-active {
    color: var(--brand-gold) !important;
}

/* Inputs & Form Elements */
.input-dark {
    background: rgba(12, 14, 20, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 14px 16px;
    width: 100%;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.input-dark:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 3px rgba(181, 145, 79, 0.2);
    background: rgba(18, 20, 28, 0.95);
}

/* Animated Marquee for Partners */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 45s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* Phone Shake Animation */
@keyframes phone-shake {
    0%, 100% { transform: rotate(0); }
    10%, 30%, 50% { transform: rotate(-15deg); }
    20%, 40%, 60% { transform: rotate(15deg); }
    70% { transform: rotate(0); }
}

.shake-animation {
    animation: phone-shake 2.5s infinite ease-in-out;
    display: inline-block;
}

/* Pulse Glow Keyframe */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(37, 211, 102, 0.4), 0 0 30px rgba(37, 211, 102, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(37, 211, 102, 0.8), 0 0 50px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-pulse {
    animation: pulse-glow 2.5s infinite;
}

/* Interactive Quote Wizard Styles */
.wizard-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-option-card {
    background: rgba(20, 22, 32, 0.7);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 1.1rem 0.85rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s ease;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 640px) {
    .wizard-option-card {
        padding: 0.75rem 0.5rem;
        min-height: 84px;
        border-radius: 8px;
    }
}

.wizard-option-card:hover {
    border-color: var(--border-gold);
    background: rgba(30, 34, 48, 0.8);
    transform: translateY(-2px);
}

.wizard-option-card.selected {
    border-color: var(--brand-gold);
    background: linear-gradient(145deg, rgba(181, 145, 79, 0.2) 0%, rgba(181, 145, 79, 0.05) 100%);
    box-shadow: 0 0 20px rgba(181, 145, 79, 0.25);
}

.wizard-option-card.selected .wizard-option-icon {
    color: var(--brand-gold-bright);
    transform: scale(1.1);
}

.wizard-option-icon {
    transition: transform 0.25s ease;
}

/* Filter Buttons in Portfolio */
.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: #9ca3af;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: #000;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(181, 145, 79, 0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #050507;
}

::-webkit-scrollbar-thumb {
    background: #1f2230;
    border-radius: 4px;
    border: 1px solid var(--border-glass);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-gold);
}

/* Ensure Content is Always 100% Visible (No blank text on slow CDN) */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Fullscreen Solid Mobile Navigation Drawer */
#mobile-menu {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background-color: #070709 !important;
    background: radial-gradient(circle at 80% 20%, rgba(181, 145, 79, 0.12) 0%, transparent 60%), #070709 !important;
    z-index: 99999 !important;
}

#mobile-menu.active {
    display: flex !important;
}

.mobile-link {
    font-family: 'Anton', sans-serif !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

/* Testimonials Carousel Horizontal Slider Track */
#testimonialSlider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

#testimonialTrack {
    display: flex;
    width: 100%;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 4px;
}

.testimonial-dot {
    cursor: pointer;
    transition: all 0.35s ease;
}

/* Mobile Typography & High-Definition Legibility Optimizations */
@media (max-width: 768px) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }

    /* Prevent words breaking or stretching uncomfortably on small screens */
    p, span, a, h1, h2, h3, h4 {
        word-break: normal;
        overflow-wrap: break-word;
    }

    /* Enhanced contrast for paragraph and badge text */
    p {
        color: #e5e7eb;
        line-height: 1.65;
    }

    /* Optimize Hero Header Text on Small Screens */
    #acasa p {
        color: #f9fafb !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    }

    /* Crisp font logo rendering */
    .font-logo {
        letter-spacing: 0.05em !important;
    }

    /* Touch targets and mobile padding */
    .glass-card {
        padding: 1.25rem !important;
    }
}