/* Wheelz - Dealership Management System Styles */


/*
    --primary-color: #2563eb;
    --secondary-color: #f59e0b;
    --accent-color: #06b6d4;
    --dark-bg: #0f172a;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
*/

:root {
    --primary-color: #ff6b35;
    --secondary-color: #1a1a2e;
    --primary-dark: #1d4ed8;
    --dark-bg: #0f1419;
    --accent-color: #16213e;
    --darker-bg: #020617;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}


/*
    taken from vb.net project
    :root {
    --light-bg: #f8f9fa;
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --text-light: #6c757d;
    --white: #ffffff;
}*/
        

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--dark-bg);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Text Gradient */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-custom {
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
}

/* Navigation */
#mainNav {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

#mainNav.scrolled {
    background: rgba(2, 6, 23, 0.98);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(37, 99, 235, 0.1);
}

.navbar-nav .nav-link.btn {
    border: 2px solid transparent;
    margin-left: 0.5rem;
}

.navbar-nav .nav-link.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-nav .nav-link.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-nav .nav-link.btn-primary {
    background: var(--gradient-primary);
    border-color: transparent;
}

.navbar-nav .nav-link.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    background: var(--darker-bg);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-buttons .btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.hero-buttons .btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 2;
}

.dashboard-mockup {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
}

.mockup-screen {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-heavy);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.mockup-screen:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.mockup-buttons {
    display: flex;
    gap: 0.5rem;
}

.mockup-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color);
}

.mockup-buttons span:first-child {
    background: #ef4444;
}

.mockup-buttons span:nth-child(2) {
    background: var(--secondary-color);
}

.mockup-buttons span:last-child {
    background: #22c55e;
}

.mockup-title {
    color: var(--text-light);
    font-weight: 600;
}

.mockup-content {
    display: flex;
    gap: 1rem;
    height: 200px;
}

.mockup-sidebar {
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.sidebar-item.active {
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary-color);
}

.sidebar-item i {
    width: 16px;
}

.mockup-main {
    flex: 1;
    display: flex;
    align-items: end;
    justify-content: center;
}

.chart-container {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 100px;
}

.chart-bar {
    width: 20px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: chartGrow 2s ease-out infinite alternate;
}

@keyframes chartGrow {
    0% { transform: scaleY(0.7); }
    100% { transform: scaleY(1); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Features Section */
.features-section {
    background: var(--dark-bg);
    position: relative;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h4 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Modules Section */
.modules-section {
    background: var(--darker-bg);
    position: relative;
}

.module-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.module-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--shadow-medium);
}

.module-icon {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.module-content h5 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.module-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* About Section */
.about-section {
    background: var(--dark-bg);
    position: relative;
}

.about-content {
    padding-right: 2rem;
}

.about-points {
    margin: 2rem 0;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.point-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 1rem;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem;
}

.floating-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    color: var(--dark-bg);
    min-width: 120px;
    backdrop-filter: blur(10px);
    animation: floatCard 3s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.floating-card h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.floating-card p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
}

.cta-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Footer */
.footer-section {
    background: var(--darker-bg);
    color: var(--text-muted);
}

.footer-brand h5 {
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links h6 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-copyright,
.footer-powered {
    margin: 0;
    font-size: 0.9rem;
}

.footer-powered a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-powered a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.modal-content {
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: var(--text-light);
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

.form-label {
    color: var(--text-light);
    font-weight: 500;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: var(--text-light);
    padding: 0.75rem;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
    color: var(--text-light);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-muted);
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dashboard-mockup {
        max-width: 100%;
    }
    
    .mockup-screen {
        transform: none;
    }
    
    .mockup-content {
        flex-direction: column;
        height: auto;
    }
    
    .mockup-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .module-card {
        flex-direction: column;
        text-align: center;
    }
    
    .module-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

#scrollToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button at the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    /*background-color: #007bff;*/ /* Set a background color */
    background: var(--gradient-primary);
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    opacity: 0.8; /* Slightly transparent */
    transition: opacity 0.3s; /* Smooth transition for opacity */
}

    #scrollToTopBtn:hover {
        opacity: 1; /* Full opacity on hover */
    }

