/* ===========================
   VANTAGEWORKS ENGINEERING STYLES
   =========================== */

/* CSS Variables */
:root {
    --primary-color: #1a4d8f;
    --primary-dark: #0d3166;
    --accent-color: #e67e22;
    --text-dark: #2c3e50;
    --text-medium: #555;
    --text-light: #777;
    --border-color: #ddd;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    background: url('logo.png') no-repeat center;
    width: 200px;
    height: 59px;
    text-indent: -9999px; /* Hide text */
}

.logo:hover {
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent-color);
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #d35400;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 6rem 20px;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 4rem 20px;
    text-align: center;
}

.page-header h1 {
    color: white;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.ebike-header {
    background: linear-gradient(135deg, #2c5f8d 0%, #3498db 100%);
}

/* Sections */
section {
    padding: 5rem 20px;
}

.intro {
    background: var(--bg-light);
    text-align: center;
}

.intro h2 {
    color: var(--primary-color);
}

.disclaimer-inline {
    background: #fff3cd;
    padding: 1rem;
    border-left: 4px solid var(--warning-color);
    margin-top: 1.5rem;
    border-radius: 4px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Service Detail Page */
.service-detail {
    background: var(--bg-white);
}

.service-section {
    margin-bottom: 4rem;
}

.service-list {
    list-style: none;
    margin: 1.5rem 0;
}

.service-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.service-list li:last-child {
    border-bottom: none;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.note {
    background: var(--bg-light);
    padding: 1rem;
    border-left: 4px solid var(--primary-color);
    margin-top: 1.5rem;
    font-style: italic;
}

/* What You Receive */
.what-you-receive {
    background: var(--bg-light);
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.deliverable h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.additional-note {
    margin-top: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

/* Important Notes */
.important-notes {
    background: var(--bg-white);
}

.info-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.info-box.warning {
    background: #fff3cd;
    border-left: 4px solid var(--warning-color);
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box ul {
    margin-bottom: 0;
}

.disclaimer-text {
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2rem;
}

/* E-bike Testing Page */
.ebike-intro {
    background: var(--bg-light);
    text-align: center;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
}

.test-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.test-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.test-item h3 {
    color: var(--primary-color);
}

.what-you-receive-ebike {
    background: var(--bg-light);
}

.receive-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.receive-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
}

.receive-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.important-note {
    background: #fff3cd;
    padding: 1rem;
    border-left: 4px solid var(--warning-color);
    margin-top: 1rem;
}

.what-we-dont-do {
    background: var(--bg-white);
}

.dont-do-box {
    background: #ffe6e6;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--danger-color);
}

.dont-do-box h2 {
    color: var(--danger-color);
}

.emphasis {
    font-weight: 600;
    margin-top: 1rem;
}

/* Process Steps */
.process-steps {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

/* What to Bring */
.what-to-bring {
    background: var(--bg-light);
}

.bring-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.bring-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.bring-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

/* FAQ */
.faq-section {
    background: var(--bg-white);
}

.faq-list {
    max-width: 900px;
    margin: 2rem auto 0;
}

.faq-item {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* About Page */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-story h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-story h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.credentials {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.credentials h2 {
    color: var(--primary-color);
}

.credentials-list {
    list-style: none;
    margin: 1.5rem 0 0 0;
}

.credentials-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.credentials-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.approach-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.approach-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro h2 {
    color: var(--primary-color);
}

.contact-note {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto 3rem;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.required {
    color: var(--danger-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--danger-color);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.9rem;
    display: block;
    margin-top: 0.3rem;
}

.checkbox-group {
    margin-top: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-label span {
    font-weight: normal;
}

.form-actions {
    margin-top: 2rem;
    text-align: center;
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    display: none;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message {
    text-align: center;
    padding: 3rem;
    background: #d4edda;
    border-radius: 8px;
    border: 2px solid var(--success-color);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.success-message h3 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.contact-info-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.contact-info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-box ol {
    margin-left: 1.5rem;
}

.contact-info-box li {
    margin-bottom: 0.8rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 20px 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info p {
    margin-bottom: 0.3rem;
}

.footer-disclaimer {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid var(--warning-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 400px;
    }

    .nav-links li {
        padding: 0 20px;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
    }

    .nav-cta {
        margin: 0.5rem 0;
        display: inline-block;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }

    .hero {
        padding: 4rem 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    section {
        padding: 3rem 20px;
    }

    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-number {
        margin: 0 auto 1rem;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .services-grid,
    .test-items,
    .bring-list,
    .approach-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
    }
}
