/* Global Styles */
:root {
    --primary-color: #2980b9;
    --primary-dark: #2373a6;
    --secondary-color: #34495e;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --text-color: #333333;
    --border-color: #dddddd;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px 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;
}

h1, h2, h3 {
    line-height: 1.3;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    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);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-color);
    padding: 12px 30px;
    border: 1px solid var(--text-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: white;
}

/* Header */
header {
    background: linear-gradient(to right, var(--primary-dark), 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;
    padding: 5px 0;
}

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

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.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: 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;
    height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

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

.hero p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

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

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about p {
    margin-bottom: 15px;
}

/* Catalog Section */
.catalog {
    padding: 60px 0;
    background-color: var(--light-color);
}

.catalog h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

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

.bike-card {
    background-color: white;
    border-radius: var(--border-radius);
    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;
    color: var(--secondary-color);
}

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

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

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

.guarantee-text {
    flex: 1;
}

.guarantee-image {
    flex: 1;
}

.guarantee h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.guarantee p {
    margin-bottom: 15px;
}

/* FAQ Section */
.faq {
    padding: 60px 0;
    background-color: var(--light-color);
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 20px;
}

.faq-item {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius);
}

.faq-item h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

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

.blog h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

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

.blog-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

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

.blog-card h3 {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.blog-card p {
    padding: 0 15px 15px;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    padding: 60px 0;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

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

.contact-form form {
    max-width: 500px;
    margin: 0 auto;
}

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

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
}

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

.legal-content h1 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

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

.legal-content h3 {
    font-size: 1.3rem;
    margin: 20px 0 10px;
}

.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(--secondary-color);
}

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

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

/* 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;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
}

.footer-links a {
    color: white;
    margin-left: 20px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.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: rgba(44, 62, 80, 0.95);
    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;
}

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

    .about-image, .guarantee-image {
        order: -1;
        margin-bottom: 30px;
    }

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

@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;
    }

    .bikes-grid, .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

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

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

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

    .footer-links a {
        margin: 5px 0;
    }

    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 400px;
    }

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

    h2 {
        font-size: 1.8rem !important;
    }

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