/* style.css */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for consistent theming */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --text-white: #ffffff;
    
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition-fast: all 0.15s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    padding: 24px 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    min-height: 100vh;
}

.main-container {
    margin: 0 auto;
    padding: 0 0;
}

.main-row {
    margin-bottom: 32px;
}

/* Enhanced Card Styles */
.content-col {
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.content-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition-normal);
}

.content-col:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.content-col:hover::before {
    opacity: 1;
}

/* Background Variants */
.bg-dark {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    color: var(--text-white);
    border-color: #334155;
}

.bg-light {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    color: var(--text-primary);
}

.bg-white {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.bg-gray {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: inherit;
}

h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: inherit;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

/* Logo Styles */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    padding: 16px;
}

.logo {
    height: 48px;
    filter: drop-shadow(var(--shadow-sm));
    transition: var(--transition-normal);
}

.logo:hover {
    transform: scale(1.05);
}

/* Features Section */
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    text-align: center;
    padding: 20px 12px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    transition: var(--transition-normal);
    border: 1px solid var(--border-light);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
    transition: var(--transition-normal);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(245, 158, 11, 0.2));
}

.feature-text {
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    border-radius: var(--radius-xl);
    padding: 24px 20px;
    margin-top: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(245, 158, 11, 0.03));
    z-index: 1;
}

.stat-item {
    text-align: center;
    flex: 1;
    z-index: 2;
    position: relative;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

/* Vehicle Category Cards */
.vehicle-category {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.vehicle-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    transition: var(--transition-normal);
    z-index: 1;
}

.vehicle-category:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.vehicle-category:hover::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(0, 0, 0, 0.2));
}

.vehicle-category h2,
.vehicle-category .overlay h2 {
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: var(--transition-normal);
}

.vehicle-category:hover h2,
.vehicle-category:hover .overlay h2 {
    transform: scale(1.05);
}

/* Partner Cards */
.partner {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.partner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(245, 158, 11, 0.05));
    opacity: 0;
    transition: var(--transition-normal);
}

.partner:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.partner:hover::before {
    opacity: 1;
}

/* Utility Classes */
.d-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.nested-row {
    margin-bottom: 20px;
}

.nested-col {
    height: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 16px 8px;
    }
    
    .main-container {
        padding: 0 8px;
    }
    
    .content-col {
        padding: 24px 20px;
    }
    
    .hero-title {
        font-size: 1.875rem;
        margin-bottom: 24px;
    }
    
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 24px;
    }
    
    .feature-item {
        padding: 16px 8px;
    }
    
    .stats-container {
        padding: 20px 16px;
        margin-top: 24px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .vehicle-category {
        height: 140px;
        font-size: 1.1rem;
    }
    
    .partner {
        height: 160px;
    }
}

@media (min-width: 768px) {
    body {
        padding: 32px 16px;
    }
    
    h2 {
        font-size: 1.375rem;
    }
    
    .features-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    body {
        padding: 40px 24px;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .content-col {
        padding: 40px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.vehicle-category:focus,
.partner:focus,
.feature-item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Link styles */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}