/**
 * Findparts Company Profile - Custom Styles
 * Modern, Premium, Professional Design
 */

/* ============================================
   CSS Variables & Base Styles
   ============================================ */

:root {
    --primary-color: #0B1F3A;
    --secondary-color: #F59E0B;
    --bg-white: #FFFFFF;
    --text-gray: #374151;
    --text-gray-light: #6B7280;
}

/* Font Families */
.font-heading {
    font-family: 'Poppins', sans-serif;
}

.font-body {
    font-family: 'Inter', sans-serif;
}

/* ============================================
   Navigation - Glassmorphism Effect
   ============================================ */

#navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(11, 31, 58, 0.08);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.brand-link {
    gap: 0.35rem;
    min-height: 78px;
}

.brand-main {
    gap: 0.35rem;
}

.brand-logo {
    width: 185px;
    max-width: 45%;
    height: auto;
    filter: none;
    image-rendering: -webkit-optimize-contrast;
}

.brand-name {
    font-size: 1.95rem;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #0b1f3a;
}

.brand-divider {
    width: 1px;
    height: 24px;
    background-color: rgba(100, 116, 139, 0.35);
}

.brand-subtitle {
    font-size: 0.72rem;
    color: #475569;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* ============================================
   Hero Section Animations
   ============================================ */

#home {
    position: relative;
    overflow: hidden;
}

/* Animated Background Shapes */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* ============================================
   Card Hover Effects
   ============================================ */

.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Portfolio Filter
   ============================================ */

.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: linear-gradient(135deg, #0B1F3A 0%, #1e3a8a 100%);
    color: white;
}

.portfolio-item {
    transition: all 0.3s ease;
    opacity: 1;
}

.portfolio-item.hidden {
    display: none;
}

/* ============================================
   Form Styling
   ============================================ */

input[type="text"],
input[type="email"],
textarea {
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.2);
}

/* ============================================
   Custom Scrollbar
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0B1F3A 0%, #F59E0B 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #F59E0B 0%, #0B1F3A 100%);
}

/* ============================================
   Mobile Responsive
   ============================================ */

@media (max-width: 768px) {
    #navbar {
        background: rgba(255, 255, 255, 0.95);
    }
    
    .font-heading {
        font-size: 2rem;
    }

    .brand-link {
        gap: 0.3rem;
        min-height: 70px;
    }

    .brand-main {
        gap: 0.3rem;
    }

    .brand-logo {
        width: 125px;
        height: auto;
    }

    .brand-name {
        font-size: 1.45rem;
    }
}
