/* ============================================
   Decisive Vision - Global Stylesheet
   ============================================ */

/* Tailwind Config - Custom Colors */
:root {
    --dv-blue: #0F172A;
    --dv-accent: #F59E0B;
    --dv-light: #1E293B;
    --dv-grey: #334155;
    --dv-green: #10B981;
    --dv-red: #EF4444;
}

/* Hero Backgrounds */
.hero-gradient {
    background-image: linear-gradient(rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1565008447742-97f6f38c985c?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
}

.about-hero-bg {
    background-image: linear-gradient(rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
}

.products-hero-bg {
    background-image: linear-gradient(rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
}

.services-hero-bg {
    background-image: linear-gradient(rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
}

/* Navigation Dropdown */
.nav-dropdown {
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.group:hover .nav-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Dropdown */
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.mobile-dropdown.open {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

.mobile-dropdown a {
    display: block;
    padding: 12px 20px 12px 50px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.mobile-dropdown a:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding-left: 60px;
}

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

.mobile-nav-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-dropdown.open ~ .mobile-nav-toggle i,
.mobile-nav-item:has(.mobile-dropdown.open) .mobile-nav-toggle i {
    transform: rotate(180deg);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

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

/* Active Navigation State */
.active-nav {
    border-bottom: 2px solid var(--dv-accent);
    color: white;
    font-weight: bold;
}

/* Text Effects */
.text-glow {
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* Product Cards */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-card:hover .card-img {
    transform: scale(1.1);
}

/* Service Cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #F59E0B;
}

/* Flow Diagrams */
.flow-diagram {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: bold;
    color: #94a3b8;
}

.flow-step {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Engagement Row Hover */
.engagement-row:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .nav-dropdown {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        display: none;
    }
    
    .mobile-dropdown.open .nav-dropdown {
        display: block;
    }
}

