/* Electric Hunting Bike - Main Stylesheet */

:root {
    --primary-color: #2d5016;
    --secondary-color: #6b8e23;
    --accent-color: #8b4513;
    --text-color: #333;
    --light-bg: #f5f5f0;
    --white: #ffffff;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    font-size: 18px;
}

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

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.tagline {
    font-size: 14px;
    color: #c5d5a8;
    margin-top: 5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #c5d5a8;
}

/* Main Content */
main {
    padding: 40px 0;
    min-height: 60vh;
}

h1 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 15px;
}

h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 20px;
}

.intro {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid var(--secondary-color);
}

/* Spec Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.spec-table th,
.spec-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.spec-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.spec-table tr:hover {
    background-color: var(--light-bg);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    overflow-x: auto;
    display: block;
}

.comparison-table table {
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--light-bg);
}

/* Pros and Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.pros, .cons {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pros {
    border-top: 4px solid #4caf50;
}

.cons {
    border-top: 4px solid #f44336;
}

.pros h3, .cons h3 {
    margin-top: 0;
}

.pros ul, .cons ul {
    list-style: none;
    padding-left: 0;
}

.pros li, .cons li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.pros li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.cons li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #f44336;
    font-weight: bold;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    text-align: center;
}

.cta-box h3 {
    color: var(--white);
    margin-top: 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: transform 0.3s, background-color 0.3s;
}

.cta-button:hover {
    background-color: #a0522d;
    transform: translateY(-2px);
}

/* Bike Grid */
.bike-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.bike-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.bike-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.bike-card-content {
    padding: 25px;
}

.bike-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.bike-card .price {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: 700;
    margin: 15px 0;
}

.bike-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.bike-card li {
    padding: 5px 0;
    font-size: 16px;
}

.read-more {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
}

.read-more:hover {
    text-decoration: underline;
}

/* Verdict Box */
.verdict-box {
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 25px;
    margin: 40px 0;
    border-radius: 4px;
}

.verdict-box h3 {
    margin-top: 0;
    color: #f57c00;
}

/* Rating */
.rating {
    font-size: 20px;
    color: #ffc107;
    margin: 15px 0;
}

/* Footer */
footer {
    background-color: #2a2a2a;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        justify-content: center;
        margin-top: 15px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }

    .bike-grid {
        grid-template-columns: 1fr;
    }
}
