/* ============================================
   FOREFRONT SOLUTIONS LLC — CUSTOM STYLES
   Premium Dark Luxury Theme
   Plum + Amber Color Palette
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --plum-950: #1a0a2e;
    --plum-925: #1f0d38;
    --plum-900: #2e1065;
    --gold-400: #fbbf24;
    --gold-500: #f59e0b;
    --gold-600: #d97706;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* --- Selection --- */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

/* --- Navbar --- */
#navbar {
    transition: background-color 0.4s var(--transition-smooth),
                box-shadow 0.4s var(--transition-smooth),
                backdrop-filter 0.4s var(--transition-smooth);
}

#navbar.scrolled {
    background: rgba(26, 10, 46, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* --- Floating Cards Animation --- */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: -2s;
}

.card-3 {
    animation-delay: -4s;
}

.card-4 {
    animation-delay: -1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-12px) rotate(0.5deg);
    }
    66% {
        transform: translateY(6px) rotate(-0.5deg);
    }
}

/* --- Service Cards --- */
.service-card {
    transform: translateY(0);
    transition: transform 0.5s var(--transition-smooth),
                box-shadow 0.5s var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.08);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-smooth),
                transform 0.8s var(--transition-smooth);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* --- Mobile Menu --- */
#mobileMenu {
    animation: slideDown 0.3s var(--transition-smooth);
}

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

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* --- Form Styles --- */
select option {
    background: #1a0a2e;
    color: #fff;
}

input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

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

::-webkit-scrollbar-track {
    background: #1a0a2e;
}

::-webkit-scrollbar-thumb {
    background: rgba(251, 191, 36, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(251, 191, 36, 0.5);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1023px) {
    .floating-card {
        display: none;
    }

    #hero {
        min-height: 100vh;
    }
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 70px;
    }

    .font-serif {
        line-height: 1.2;
    }
}

/* --- Print Styles --- */
@media print {
    #navbar,
    .floating-card,
    #contactForm {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }
}
