/* Global Styles */
:root {
    --primary-color: #5d3fd3;
    --primary-dark: #4b32a8;
    --secondary-color: #333333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333333;
    --border-color: #dddddd;
    --border-radius: 4px;
    --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

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

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    color: white;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    position: relative;
}

nav ul li a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./img/1.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

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

/* About Section */
.about {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.about p {
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Catalog Section */
.catalog {
    padding: 60px 0;
    background-color: white;
}

.catalog h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.bestseller-heading {
    margin-top: 60px;
}

.bike-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.bike-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

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

.bike-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.bike-card h3 {
    padding: 15px 15px 5px;
    font-size: 1.2rem;
}

.bike-card p {
    padding: 0 15px 15px;
    font-size: 0.95rem;
}

/* Benefits Section */
.benefits {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.benefits h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Reviews Section */
.reviews {
    padding: 60px 0;
    background-color: white;
}

.reviews h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.review {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.reviewer {
    margin-top: 15px;
    font-style: italic;
    text-align: right;
    font-weight: 600;
}

/* Loyalty Program */
.loyalty-program {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.loyalty-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.loyalty-text {
    flex: 1;
}

.loyalty-image {
    flex: 1;
}

.loyalty-program h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.loyalty-program p {
    margin-bottom: 15px;
}

/* Contact Form */
.contact-form {
    padding: 60px 0;
    background-color: white;
}

.form-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.form-container {
    flex: 1;
}

.form-image {
    flex: 1;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-form p {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Legal Content */
.legal-content {
    padding: 60px 0;
}

.legal-content h1 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.legal-content p, .legal-content ul {
    margin-bottom: 15px;
}

.legal-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* Thank You Page */
.thank-you {
    padding: 100px 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.thank-you p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.thank-you .btn-primary {
    margin-top: 30px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-address p {
    margin-bottom: 5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: white;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    color: white;
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cookie-content p {
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-cookie-accept, .btn-cookie-decline {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

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

.btn-cookie-accept:hover {
    background-color: var(--primary-dark);
}

.btn-cookie-decline {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.btn-cookie-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 991px) {
    .loyalty-content, .form-content {
        flex-direction: column;
    }

    .loyalty-image, .form-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

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

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

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

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo, .footer-address, .footer-links, .social-icons {
        margin-bottom: 20px;
    }

    .social-icons {
        justify-content: center;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
}