/* Загальні стилі */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Меню */
.navbar {
    background-color: #ffffff;
    border-bottom: 2px solid #003366;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 120px;
}

/* Логотип */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #003366;
    text-decoration: none;
}

/* Меню список */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: #003366;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a:focus {
    color: #0066cc;
    outline: none;
}

/* Кнопка меню для мобільних */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #003366;
    border-radius: 2px;
}

.hero {
    position: relative;
    background: url('../img/hero.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    text-align: center;
    padding: 0 20px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 51, 102, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
}

/* About */
.about {
    padding: 60px 20px;
    background-color: #f7fbff;
    color: #003366;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about-photo {
    flex: 0 0 40%;
    max-width: 40%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

.about-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-photo img:hover {
    transform: scale(1.05);
}

.about-text {
    flex: 1 1 55%;
    max-width: 55%;
}

.about-text h2,
.about-text h3,
.about-text p {
    margin-bottom: 1rem;
    word-wrap: break-word;
}

.about-subtitle {
    font-style: italic;
    color: #004080;
}

/* Services */
.services {
    padding: 60px 20px;
    background-color: #ffffff;
    color: #003366;
}

.services h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-align: center;
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.services-intro h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0066cc;
}

.services-intro p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.services-subtitle {
    font-style: italic;
    color: #004080;
}

.services-list {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-card {
    background-color: #f0f8ff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.1);
    max-width: 350px;
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.3);
}

.service-photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-text {
    padding: 20px;
    color: #003366;
}

.service-text h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-text p {
    font-size: 1rem;
    line-height: 1.4;
}

/* Адаптивність */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 200px;
        height: calc(100vh - 60px);
        background-color: #ffffff;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .about-container {
        flex-direction: column;
        gap: 25px;
    }

    .about-photo,
    .about-text {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .services-list {
        flex-direction: column;
        gap: 25px;
    }
}

.why-us {
    position: relative;
    background: url('../img/cta.png') center center/cover no-repeat;
    color: white;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px;
    overflow: hidden;
    z-index: 0;
}

.why-us-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 51, 102, 0.7);
    z-index: 1;
}

.why-us-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.why-us h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.why-us p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
    .why-us {
        padding: 50px 15px;
        min-height: auto;
    }

    .why-us h2 {
        font-size: 2rem;
    }

    .why-us p {
        font-size: 1rem;
    }
}

.bike-models {
    padding: 60px 20px;
    background-color: #f7fbff;
    color: #003366;
}

.bike-models h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.models-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.model-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.1);
    max-width: 320px;
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.model-card:hover {
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.3);
}

.model-photo {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.model-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.model-text {
    padding: 20px;
    color: #003366;
}

.model-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.model-text p {
    font-size: 1rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .models-list {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .model-card {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

.testimonials {
    padding: 60px 20px;
    background-color: #f7fbff;
    color: #003366;
}

.testimonials h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.testimonials-subtitle {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-style: italic;
    color: #004080;
    font-size: 1.1rem;
    text-align: center;
}

.testimonial-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
    max-width: 720px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.1);
    padding: 25px 20px;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card h3 {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #0066cc;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.5;
    font-style: normal;
    color: #003366;
}

@media (max-width: 768px) {
    .testimonial-list {
        display: block;
        max-width: 100%;
    }

    .testimonial-card {
        margin-bottom: 25px;
    }
}

.footer {
    background-color: #003366;
    color: #ffffff;
    padding: 20px 0;
    font-size: 0.9rem;
    text-align: center;
}

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

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    padding: 0;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover,
.footer-links li a:focus {
    color: #66b2ff;
    outline: none;
}

.footer-copy {
    margin: 0;
    color: #a3c1ff;
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

.privacy-policy {
    background-color: #f9f9f9;
    padding: 40px 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.privacy-policy h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.privacy-policy h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #34495e;
    border-left: 5px solid #63e6d8;
    padding-left: 12px;
}

.privacy-policy p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.privacy-policy a {
    color: #0077cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-policy a:hover,
.privacy-policy a:focus {
    color: #005fa3;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .privacy-policy {
        padding: 25px 15px;
    }

    .privacy-policy h1 {
        font-size: 2rem;
    }

    .privacy-policy h2 {
        font-size: 1.25rem;
    }
}

.terms-of-service {
    background-color: #f9f9f9;
    padding: 40px 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 60px auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.terms-of-service h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.terms-of-service h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #34495e;
    border-left: 5px solid #63e6d8;
    padding-left: 12px;
}

.terms-of-service p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.terms-of-service a {
    color: #0077cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-of-service a:hover,
.terms-of-service a:focus {
    color: #005fa3;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .terms-of-service {
        padding: 25px 15px;
    }

    .terms-of-service h1 {
        font-size: 2rem;
    }

    .terms-of-service h2 {
        font-size: 1.25rem;
    }
}

.cookie-policy {
    background-color: #f9f9f9;
    padding: 40px 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 60px auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.cookie-policy h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.cookie-policy h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #34495e;
    border-left: 5px solid #63e6d8;
    padding-left: 12px;
}

.cookie-policy p,
.cookie-policy ul {
    font-size: 1rem;
    margin-bottom: 15px;
}

.cookie-policy ul {
    padding-left: 20px;
}

.cookie-policy ul li {
    margin-bottom: 8px;
}

.cookie-policy a {
    color: #0077cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-policy a:hover,
.cookie-policy a:focus {
    color: #005fa3;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .cookie-policy {
        padding: 25px 15px;
    }

    .cookie-policy h1 {
        font-size: 2rem;
    }

    .cookie-policy h2 {
        font-size: 1.25rem;
    }
}

.contact {
    padding: 60px 20px;
    background-color: #f7fbff;
    color: #003366;
}

.contact h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

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

.contact-info-form {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-info {
    flex: 1 1 350px;
    max-width: 400px;
}

.contact-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0066cc;
}

.contact-info p,
.contact-info a {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #003366;
    text-decoration: none;
}

.contact-info a:hover,
.contact-info a:focus {
    color: #0066cc;
    outline: none;
}

.contact-form {
    flex: 1 1 350px;
    max-width: 450px;
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.15);
    display: flex;
    flex-direction: column;
}

.contact-form h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #003366;
    text-align: center;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #003366;
}

.contact-form input,
.contact-form textarea {
    padding: 10px 12px;
    margin-bottom: 20px;
    border: 1.5px solid #cbd6e5;
    border-radius: 6px;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s ease;
    color: #003366;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0066cc;
    outline: none;
}

.contact-form button {
    background-color: #003366;
    color: white;
    border: none;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover,
.contact-form button:focus {
    background-color: #005bbb;
    outline: none;
}

/* Адаптивність */
@media (max-width: 768px) {
    .contact-info-form {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info,
    .contact-form {
        max-width: 100%;
        flex: 1 1 100%;
    }
}.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #deefff;
  border: 2px solid #003366;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
  color: #2c3e50;
  z-index: 10000;
  max-width: 480px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-content p {
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cookie-settings {
  margin-top: 1rem;
}

.cookie-settings.hidden {
  display: none;
}

.cookie-settings h3 {
  margin-bottom: 0.8rem;
  color: #003366;
}

.cookie-settings label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.cookie-settings input[type="checkbox"] {
  margin-right: 0.5rem;
}

.cookie-settings-buttons {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.btn {
  padding: 0.4rem 0.9rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-accept {
  background-color: #003366;
  color: white;
}

.btn-settings {
  background-color: transparent;
  color: #003366;
  border: 2px solid #003366;
}

.btn-save {
  background-color: #003366;
  color: white;
}

.btn-cancel {
  background-color: #ccc;
  color: #333;
}
