/* Custom Styles for AutoMech Finder */

/* Custom Colors */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --success-color: #10b981;
}

/* Body and General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.hero-section h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 2rem auto;
}

.search-container .form-control {
    border-radius: 50px 0 0 50px;
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
}

.search-container .btn {
    border-radius: 0 50px 50px 0;
    padding: 15px 30px;
    font-weight: 600;
    border: none;
}

/* How It Works */
.how-it-works {
    background-color: var(--light-color);
    margin: 3rem 0;
}

.how-it-works .card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    height: 100%;
}

.how-it-works .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.how-it-works .card h4 {
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Benefits Section */
.benefits-section {
    margin: 3rem 0;
}

.benefits-section .badge {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.benefits-section h5 {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    margin-top: 3rem;
    padding: 2rem 0;
}

footer h5, footer h6 {
    margin-bottom: 1rem;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h2 {
        font-size: 1.75rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .search-container .form-control {
        border-radius: 50px;
        margin-bottom: 10px;
    }
    
    .search-container .btn {
        border-radius: 50px;
        width: 100%;
    }
}

/* PWA Features */
.pwa-badge {
    background: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 10px;
}

/* Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Card Hover Effect */
.card:hover {
    transform: translateY(-3px);
    transition: all 0.3s ease;
}
