/* Custom CSS for ViewBrilliant.com */

:root {
    --primary-color: #3498db;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fcfcfc;
    color: #333;
}

/* Typography Utilities */
.tracking-wider {
    letter-spacing: 0.05em;
}

.max-w-2xl {
    max-width: 42rem;
}

/* Animations & Transitions */
.transition-all {
    transition: var(--transition);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

/* Navbar */
.navbar-brand {
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Fix for Product Tabs (Nav Pills) */
.nav-pills .nav-link {
    color: var(--secondary-color);
}

.nav-pills .nav-link.active {
    color: #ffffff !important;
    background-color: var(--primary-color) !important;
}

.dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

/* Components */
.btn {
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* Footer */
footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--light-color) !important;
    padding-left: 5px;
}

footer .btn-outline-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* ============================================================
   Premium Design Enhancements
   ============================================================ */

/* Root Variables Overrides */
:root {
    --primary-color: #4f46e5; /* Modern Royal Indigo */
    --primary-light: rgba(79, 70, 229, 0.1);
    --secondary-color: #64748b;
    --dark-color: #0f172a; /* Slate 900 */
    --light-color: #f8fafc; /* Slate 50 */
    --accent-color: #f59e0b; /* Amber */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 100%);
}

/* Glassmorphism Classes */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.glass-card-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

/* Typography & Animations */
body {
    font-family: 'Inter', sans-serif;
    color: #334155; /* Slate 700 */
    overflow-x: hidden;
}

.font-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* Background Gradients */
.bg-gradient-premium {
    background: var(--gradient-primary);
}

.bg-gradient-dark {
    background: var(--gradient-dark);
}

/* Hero Section Custom Styles */
.hero-glass-container {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
}

.text-gradient-primary {
    background: linear-gradient(to right, #a5b4fc, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Category Marquee Custom Styles */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 10px 0;
}

.marquee-content {
    display: inline-flex;
    gap: 1.5rem;
    animation: marquee 25s linear infinite;
    width: max-content;
}

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

.marquee-card {
    width: 170px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.marquee-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(79, 70, 229, 0.2) !important;
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.08) !important;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Service Cards */
.service-card {
    border-radius: 1.25rem;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06) !important;
}

.service-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Product Cards */
.product-card-premium {
    border: none;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.product-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08) !important;
}

.product-image-container {
    overflow: hidden;
    position: relative;
}

.product-image-container img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-premium:hover .product-image-container img {
    transform: scale(1.08);
}

.product-badge-discount {
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
}

.product-quick-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.product-card-premium:hover .product-quick-actions {
    bottom: 15px;
    opacity: 1;
}

.btn-action-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.btn-action-circle:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1);
}

/* Milestones Section */
.milestone-container {
    border-right: 1px solid rgba(255,255,255,0.1);
}

.milestone-container:last-child {
    border-right: none;
}

@media (max-width: 768px) {
    .milestone-container {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .milestone-container:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

/* Testimonial Cards */
.testimonial-card-premium {
    border: none;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.testimonial-card-premium:hover {
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.05) !important;
    transform: translateY(-5px);
}

/* Mobile Sidebar Scrollbars & Animation Customizations */
.offcanvas {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.offcanvas-backdrop.show {
    opacity: 0.6 !important;
    backdrop-filter: blur(4px);
    background-color: var(--dark-color);
}

