/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header and navigation */
header {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #212529;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #4CAF50;
}

/* Hero section */
.hero {
    position: relative;
    height: 85vh;
    background-image: url('./imgs/1.png');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #388E3C;
}

/* Bikes section */
.bikes-section {
    padding: 5rem 5%;
    text-align: center;
    background-color: white;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #212529;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.bikes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.bike-card {
    flex: 0 0 calc(25% - 2rem);
    min-width: 250px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.bike-img {
    height: 200px;
    overflow: hidden;
}

.bike-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bike-card:hover .bike-img img {
    transform: scale(1.05);
}

.bike-info {
    padding: 1.5rem;
    text-align: left;
}

.bike-info h3 {
    margin-bottom: 0.5rem;
    color: #212529;
    font-size: 1.3rem;
    font-weight: 600;
}

.bike-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.view-all-btn {
    margin-top: 1rem;
}

/* Why choose section */
.why-section {
    padding: 5rem 5%;
    text-align: center;
    background-color: #f8f9fa;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    flex: 0 0 calc(25% - 2rem);
    min-width: 250px;
    text-align: center;
}

.feature-img {
    height: 150px;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 8px;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-icon {
    font-size: 3rem;
    margin: 1rem 0;
    color: #4CAF50;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #212529;
    font-weight: 600;
}

.feature-desc {
    color: #666;
    font-size: 0.95rem;
}

/* Testimonials section */
.testimonials-section {
    padding: 5rem 5%;
    text-align: center;
    background-color: white;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 2rem);
    min-width: 280px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
}

.testimonial-name {
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.2rem;
}

.testimonial-position {
    color: #666;
    font-size: 0.9rem;
}

/* Contact section */
.contact-section {
    padding: 5rem 5%;
    text-align: center;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    flex: 0 0 calc(40% - 1.5rem);
    text-align: left;
}

.contact-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #212529;
    font-weight: 600;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #555;
}

.contact-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
    color: #4CAF50;
}

.contact-form {
    flex: 0 0 calc(60% - 1.5rem);
}

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

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #4CAF50;
    outline: none;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.form-submit {
    text-align: right;
}

.submit-btn {
    padding: 0.8rem 2rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #388E3C;
}

/* Footer */
footer {
    background-color: #1e3a23;
    color: white;
    padding: 3rem 5% 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-desc {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-contact {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    display: block;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    color: white;
    font-size: 1.1rem;
}

.social-icon:hover {
    background-color: #4CAF50;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 0.8rem;
}

/* Responsive design */
@media (max-width: 992px) {
    .bikes-grid,
    .features-grid,
    .testimonials-grid,
    .footer-content {
        gap: 1.5rem;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info,
    .contact-form {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .bike-card,
    .feature-card,
    .testimonial-card {
        flex: 0 0 calc(50% - 1.5rem);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .bike-card,
    .feature-card,
    .testimonial-card {
        flex: 0 0 100%;
    }
    
    .bikes-grid,
    .features-grid,
    .testimonials-grid {
        gap: 2rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}