/* 
   TruckStudio Web Style Sheet
   Designed to match the WPF Dark Theme (Slate/Indigo/Violet)
*/

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

:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-input: #0c1220;
    --accent-blue: #3b82f6;
    --accent-violet: #8b5cf6;
    --border-color: #334155;
    --border-light: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --font-primary: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    overflow-x: hidden;
}

/* Custom Grid Background Overlay */
.bg-grid-overlay {
    background-image: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 80%),
                      linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-violet);
}

/* Premium Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Custom Navbar */
.navbar-custom {
    background-color: rgba(30, 41, 59, 0.8) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
}

.navbar-brand-custom {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand-icon {
    color: var(--accent-blue);
}

.nav-link-custom {
    color: var(--text-secondary) !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-link-custom:hover {
    color: var(--text-primary) !important;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-primary-custom:hover {
    background-color: #2563eb;
    color: white;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.btn-violet-custom {
    background-color: var(--accent-violet);
    color: white;
    border: none;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-violet-custom:hover {
    background-color: #7c3aed;
    color: white;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    position: relative;
}

.glow-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    top: 10%;
    left: 5%;
    z-index: -1;
}

/* Feature Cards */
.feature-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-violet);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-card:hover .feature-icon-wrapper {
    background-color: rgba(139, 92, 246, 0.1);
    color: var(--accent-violet);
}

/* Feature Showcase (Images) */
.showcase-row {
    margin-bottom: 80px;
    align-items: center;
}

.showcase-img-container {
    position: relative;
    border-radius: 12px;
    padding: 8px;
    background: linear-gradient(135deg, var(--border-light), var(--border-color));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.showcase-img-container:hover {
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.25);
}

.showcase-img {
    border-radius: 8px;
    width: 100%;
    display: block;
}

.badge-custom {
    background-color: rgba(139, 92, 246, 0.15);
    color: var(--accent-violet);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

/* Login Card styling */
.login-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
    max-width: 450px;
    width: 100%;
}

.form-control-custom {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
}

.form-control-custom:focus {
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

/* Lang button styles */
.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.lang-btn:hover, .lang-btn.active {
    border-color: var(--accent-blue);
    color: var(--text-primary);
    background-color: rgba(59, 130, 246, 0.1);
}

/* Footer */
footer {
    background-color: #0b0f19;
    border-top: 1px solid var(--border-light);
    padding: 40px 0;
    color: var(--text-secondary);
}
