/* Moto assistance – objednávkový formulář
   Samostatný stylopis sladěný s hlavním webem.
   Servisní úkony: jednoduché řádky bez karet a stínů. */

/* Základ webu */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

html { font-size: 100%; }

body {
    background: #f7f7f7;
    color: #333;
    line-height: 1.5;
}

a {
    color: #A62B0C;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover { color: #000; }

/* Horní lišta – stejně jako na hlavním webu */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 25rem;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img { max-height: 89px; }

.right-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact { margin-bottom: 1.3rem; }

.contact a {
    color: #A62B0C;
    font-size: 1.3rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5rem;
}

.nav-links a {
    color: #333;
    font-size: 1.3rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.nav-links a:hover { color: #A62B0C; }

.burger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Obsah */
.order-container {
    max-width: 900px;
    margin: 1rem auto;
    padding: 1rem;
    line-height: 1.7;
}

.order-container h1 {
    margin-bottom: 1rem;
    color: #A62B0C;
    font-size: 1.8rem;
    line-height: 1.3;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.order-container p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.intro { margin-bottom: 1.5rem; }

/* Formulářové sekce – stejný vzhled jako .sekce */
.form-section {
    margin: 30px 0;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.form-section h2 {
    margin-bottom: 1rem;
    color: #A62B0C;
    font-size: 1.5rem;
    line-height: 1.35;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Údaje zákazníka a motocyklu */
.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    min-width: 0;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 16px;
}

textarea {
    min-height: 120px;
    line-height: 1.6;
    resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #A62B0C;
    outline-offset: 2px;
}

.custom-request { margin-top: 25px; }

/* Kalkulačka – PŮVODNÍ vzhled servisních položek */
.service-list {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.service-section-title {
    margin: 30px 0 0;
    padding: 12px 10px 8px;
    border-bottom: 2px solid #A62B0C;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: none;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin: 0;
    padding: 18px 10px;
    border: 0;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.15s;
}

.service-item:hover { background: #f7f7f7; }

.service-item input[type="checkbox"] {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #A62B0C;
    cursor: pointer;
}

.service-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.service-name {
    color: #333;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.3;
}

.service-text {
    margin-top: 3px;
    color: #777;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.3;
}

/* Rozbalovací seznam servisních úkonů */

.service-accordion {
    margin-top: 25px;
}

.service-accordion summary {
    position: relative;
    padding: 12px 40px 12px 10px;
    border-bottom: 2px solid #A62B0C;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    list-style: none;
}

.service-accordion summary::-webkit-details-marker {
    display: none;
}

.service-accordion summary:hover {
    background: #f7f7f7;
}

/* Symbol rozbalení */
.service-accordion summary::after {
    content: "+";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #A62B0C;
}

/* Symbol zavření */
.service-accordion[open] summary::after {
    content: "−";
}

.service-accordion summary:focus-visible {
    outline: 2px solid #A62B0C;
    outline-offset: 2px;
}


/* Orientační cena */
.total-section {
    margin: 30px 0;
    padding: 30px;
    border-radius: 12px;
    background: #222;
    color: #fff;
}

.total-section h2 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.5rem;
}

.price-comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.price-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
}

.price-label {
    color: #ddd;
    font-size: 1rem;
}

.price-box strong,
#offSeasonPrice,
#seasonPrice,
#totalPrice {
    color: #fff;
    font-size: 1.7rem;
    line-height: 1.2;
}

.total-section p {
    margin: 20px 0 0;
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Souhlas, ochrana proti spamu a odeslání */
.agreement {
    margin: 25px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.agreement label { cursor: pointer; }

.agreement input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-right: 8px;
    vertical-align: middle;
    accent-color: #A62B0C;
}

.cf-turnstile { margin: 20px 0; }

.submit-button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border: 0;
    border-radius: 30px;
    background: #A62B0C;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover { background: #7A240F; }

.submit-button:focus-visible {
    outline: 2px solid #A62B0C;
    outline-offset: 3px;
}


/* Potvrzení objednávky */

.potvrzeni-stranka {
    margin: 40px auto;
}

.potvrzeni-karta {
    text-align: center;
    padding: 50px 30px;
}

.potvrzeni-ikona {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #33CC66;
    color: white;
    font-size: 36px;
}

.potvrzeni-karta h1 {
    color: #A62B0C;
    text-shadow: none;
    margin-bottom: 20px;
}

.potvrzeni-karta .sekce-tlacitka {
    margin: 30px 0 0;
}

/* Tlačítka mezi sekcemi */

.sekce-tlacitka {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 35px 0;
}

/* Tlačítko Zavolat na světlém pozadí */
.sekce-tlacitka .zavolat {
    background: transparent;
    color: #A62B0C;
    border: 2px solid #A62B0C;
}

.sekce-tlacitka .zavolat:hover {
    background: #A62B0C;
    color: white;
}

.sekce-tlacitka .uvod-btn.objednat {
    background: #A62B0C;
    color: white;
}

.sekce-tlacitka .uvod-btn.objednat:hover {
    background: white;
    color: #A62B0C;
}

/* Kulatá tlačítka */
.potvrzeni-karta .uvod-btn {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 30px;
    font-weight: bold;
    line-height: 1.5;
    transition: 0.2s;
}

/* Přejetí myší - Objednat */
.potvrzeni-karta .sekce-tlacitka .uvod-btn.objednat:hover {
    background: #7A240F;
    color: white;
}

/* Ikona při neúspěšném odeslání */
.potvrzeni-ikona.potvrzeni-chyba {
    background: #F8EEEB;
    color: #A62B0C;
}

@media (max-width: 600px) {
    .potvrzeni-karta {
        padding: 35px 20px;
    }
}



/* Responzivita */
@media (max-width: 1700px) {
    .top-bar { padding: 1rem 15rem; }
}

@media (max-width: 1365px) {
    .top-bar { padding: 1rem 2rem; }
}

@media (max-width: 900px) {
    html { font-size: 85%; }

    .top-bar { padding: 1rem; }
    .logo img { max-height: 70px; }
    .right-section { align-items: center; line-height: 1; }
    .contact a { font-size: 1.5rem; }

/* burger */
 .burger {
    display: block;
    position: relative;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -250px; /* skryt� menu */
    width: 250px;
    height: 100%;
    background-color: #333;
    flex-direction: column;
    padding-bottom: 30px;
    transition: right 0.3s ease;
    z-index: 1000;
	row-gap: 30px;
	
  }

  .nav-links a {
    color: white;
    font-size: 1.7rem;
    text-decoration: none;
    border-bottom: 1px solid #444;
  }


   



  .nav-links.open {
    right: 0; /* vysunut� menu */
  }
  
    .form-row { flex-direction: column; gap: 0; }
}

@media (max-width: 600px) {
    .form-section,
    .total-section { margin: 20px 0; padding: 20px; }

    .service-item { padding: 16px 8px; gap: 12px; }
    .price-comparison { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .top-bar { padding: 0.5rem 1rem; }
    .nav-links a { font-size: 1.5rem; }
    .contact a { font-size: 1.2rem; }
    .order-container { padding: 0.75rem; }
}
