/* EVRoadTax.com - Professional Car Site Styles */

:root {
    --primary-blue: #1a56db;
    --primary-dark: #1e3a5f;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-gray: #e5e7eb;
    --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);
}

/* Base Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Professional Header */
.site-header {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #0f2744 100%);
    border-bottom: 3px solid var(--accent-green);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.logo-text .highlight {
    color: var(--accent-green);
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 0.25rem;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-decoration: none;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.main-nav a.active {
    background: var(--accent-green);
    color: #fff;
}

/* Top Bar */
.top-bar {
    background: #0a1929;
    padding: 0.5rem 0;
    font-size: 0.8rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f2744 50%, #1a365d 100%);
    color: #fff;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

/* Calculator Card */
.calculator-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gray);
    overflow: hidden;
}

.calculator-header {
    background: linear-gradient(90deg, var(--primary-blue) 0%, #2563eb 100%);
    color: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.calculator-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.calculator-body {
    padding: 1.5rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-select:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
}

/* Result Card */
.result-card {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid var(--accent-green);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.result-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.result-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-green);
    line-height: 1.1;
}

.result-period {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.result-vehicle {
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

/* Info Cards */
.info-card {
    background: var(--bg-white);
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    padding: 1.25rem;
    transition: box-shadow 0.2s;
}

.info-card:hover {
    box-shadow: var(--shadow-md);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2563eb 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-card p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0;
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-gray);
    padding: 1rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Vehicle Card */
.vehicle-card {
    background: var(--bg-white);
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
}

.vehicle-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.vehicle-card-header {
    background: #f8fafc;
    padding: 1rem;
    border-bottom: 1px solid var(--border-gray);
}

.vehicle-card-body {
    padding: 1rem;
}

.vehicle-brand {
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vehicle-model {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
}

.vehicle-specs {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.vehicle-spec {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.vehicle-tax {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
    padding: 1rem 0;
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--border-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .trust-badges {
        display: none;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-gray { color: var(--text-gray); }
.text-green { color: var(--accent-green); }
.text-blue { color: var(--primary-blue); }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
