.navbar,
.navbar-menu {
    position: fixed;
    top: 0;
}
.about-content,
.cars-section,
.nav-link,
.overlay {
    text-align: center;
}
.car-image,
.gallery-item {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.nav-link,
.social-icons a:hover {
    color: orange;
}
.navbar,
footer {
    background-color: #343a40;
}
.about-content p,
body {
    font-family: Montserrat, sans-serif;
}
*,
::after,
::before {
    box-sizing: border-box;
}
* {
    margin: 0;
}
body,
html {
    scroll-behavior: smooth;
    margin: 0;
    scroll-padding: 2rem;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    word-break: break-word;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    width: 100%;
    z-index: 10;
    height: 60px;
}
.navbar-brand img {
    height: 120px;
    width: auto;
}
.navbar-brand {
    display: flex;
    align-items: center;
}
.navbar-toggler {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border: none;
    background: 0 0;
    z-index: 11;
    padding: 5px;
    margin-left: auto;
    margin-right: 20px;
    transform: translateX(0);
}
.navbar-menu,
.overlay {
    flex-direction: column;
    display: flex;
}
.bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
}
.navbar-menu {
    opacity: 0;
    transition:
        opacity 250ms ease-in-out,
        transform 0.3s;
    pointer-events: none;
    list-style: none;
    margin: 0;
    padding: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}
.navbar-menu.active {
    opacity: 1;
    pointer-events: all;
}
.nav-link {
    padding: 1rem;
    text-decoration: none;
    margin: 0.5rem 0;
    font-size: 1.5rem;
}
.nav-link.active {
    border-bottom: 2px solid orange;
}
/*.nav-link:hover {
    color: orange;
    text-decoration: underline;
}*/
.navbar-toggler.active .bar:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggler.active .bar:nth-child(2) {
    opacity: 0;
}
.navbar-toggler.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
.car2-page .car-header,
.header {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.background-video,
.overlay {
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    top: 0;
}
.background-video {
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}
.overlay {
    background: rgba(0, 0, 0, 0);
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.about-section,
.parallax {
    position: relative;
}
.car1-page .car-details:before,
.car2-page .car-details:before,
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
@media only screen and (max-width: 768px) {
    .background-video {
        object-fit: cover;
    }
}
.overlay h1 {
    font-size: 3em;
    margin: 0;
}
.overlay p {
    font-size: 1.5em;
}
.parallax {
    background-image: url("obrazky/uvod-header.jpg");
    height: 500px;
}
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 0;
    position: absolute;
    top: 0;
    width: 100%;
    color: #fff;
    font-size: 1.2rem;
}
.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 4rem;
    color: #e76305;
}
.about-content p {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.644);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    padding: 1rem;
    margin-inline: 1rem;
    font-weight: 700;
}
.cars-section {
    padding: 4rem 2rem 0;
}
.car-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.hover-overlay,
.start-engine-button {
    color: #fff;
    display: flex;
    justify-content: center;
}
.car-card {
    background: #fff;
    margin: 1rem;
    padding: 0.5rem;
    transition: transform 0.3s;
    position: relative;
    width: calc(25% - 2rem);
}
.start-engine-button,
footer {
    padding: 1rem;
    text-align: center;
}
@media (max-width: 1024px) {
    .car-card {
        width: calc(33.333% - 2rem);
    }
}
.car-card:hover,
body.howto-page .service-item:hover,
body.services-page .service-item:hover {
    transform: translateY(-10px);
}
.car-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.gallery-item::after,
.hover-overlay {
    position: absolute;
    height: 100%;
    opacity: 0;
    width: 100%;
    left: 0;
    transition: opacity 0.3s;
}
.hover-overlay {
    top: -1rem;
    align-items: center;
}
.car-card:hover .hover-overlay,
.gallery-item:hover::after {
    opacity: 1;
}
.start-engine-button {
    background-color: red;
    text-decoration: none;
    border-radius: 50%;
    font-size: 1.2rem;
    width: 130px;
    aspect-ratio: 1/1;
    align-items: center;
    line-height: 1.1;
    transition:
        background-color 0.3s,
        transform 0.3s;
}
.start-engine-button:hover {
    background-color: #c00;
    transform: scale(1.1);
}
.photographer-section {
    padding: 4rem 2rem;
    text-align: center;
    color: #333;
    background: #fff;
}
.photographer-section h1,
.photographer-section p {
    color: #ff7a00;
    font-family: Poppins, sans-serif;
}
.photographer-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: 1s ease-out fadeInDown;
}
.contact-info p,
.form-group label {
    font-weight: 700;
}
.photographer-section p {
    font-family: Roboto, sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}
.btn-large,
.contact-info p {
    font-family: "Bebas Neue", cursive;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 350px));
    justify-content: center;
    padding: 20px;
    gap: 1rem;
}
.photographer-page {
    padding-top: 6rem;
}
body.photographer-page section {
    margin-inline: 16px;
}
body.photographer-page .photographer-gallery {
    padding-bottom: 8rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.gallery-item::after {
    content: "";
    top: 0;
    background: rgba(0, 0, 0, 0.5);
}
.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.contact-section {
    padding: 4rem 2rem 6rem;
    text-align: center;
    background: #f9f9f9;
}
.contact-container {
    display: flex;
    width: min(100%, 1200px);
    margin: 0 auto;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    flex-wrap: wrap;
}
.contact-form {
    flex: 1;
    max-width: 400px;
}
.contact-form h2 {
    text-align: left;
    margin-bottom: 1rem;
}
.contact-info {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    text-align: left;
}
.contact-info p {
    color: #e76305;
    padding-top: 1rem;
    font-size: 1.5rem;
}
.contact-info a {
    color: #e76305;
    text-decoration: underline;
}
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: 0;
    border-color: orange;
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
}
.form-group textarea {
    resize: vertical;
    height: 100px;
}
.form-button {
    background: orange;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 2rem;
}
.form-button:hover {
    background: #e59400;
}
.car1-page .car-header-image,
body.about-page .header img {
    object-fit: cover;
    background-image: url("obrazky/uvod-header-low-res.jpg");
}
.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 1rem;
}
.social-icons a {
    color: #333;
    font-size: 3rem;
    transition: color 0.3s;
}
footer {
    z-index: 99;
    color: #fff;
    bottom: 0;
    width: 100%;
}
.car1-page .car-header {
    position: relative;
    height: 80vh;
    overflow: hidden;
    background-color: #000;
}
.car1-page .car-header-image {
    width: 100%;
    height: 100%;
    object-position: 45% 55%;
}
.car1-page .car-details {
    padding: 2rem 2rem 0;
    text-align: center;
    background-color: #fff;
    color: #333;
    position: relative;
}
.car1-page .car-details:before,
.car2-page .car-details:before {
    content: "";
    background-image: url("obrazky/mustangwhite.png");
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}
.car1-page .car-description {
    padding: 2rem;
    margin: 0 auto 1rem;
    max-width: 800px;
    font-size: 2.5rem;
}
.car1-page .car-description p,
.car2-page .car-description p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}
.car1-page .specs-table,
.car2-page .specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}
.car1-page .specs-table td,
.car1-page .specs-table th,
.car2-page .specs-table td,
.car2-page .specs-table th {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}
.car1-page .specs-table th,
.car2-page .specs-table th {
    background-color: orange;
    color: #fff;
}
.car1-page .specs-table td,
.car2-page .specs-table td {
    background-color: #fff;
}
.car-table td {
    width: 60%;
}
.car1-page .kauceinfo {
    text-align: center;
    padding: 0.75rem 1.5rem;
}
.car2-page .car-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.car2-page .car-details {
    padding: 4rem 2rem 6rem;
    text-align: center;
    background-color: #fff;
    color: #333;
    position: relative;
    min-height: 100vh;
}
.car2-page .lightbox,
.lightbox {
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    height: 100%;
    left: 0;
}
.car2-page .car-description {
    padding: 2rem;
    margin: 0 auto;
    max-width: 800px;
}
.car2-page .gallery-section,
body.about-page .about-section {
    padding: 4rem 2rem 6rem;
    text-align: center;
}
.car2-page .car-description h2,
body.about-page .about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.car2-page .car-description .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: orange;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}
.car2-page .car-description .btn:hover {
    background-color: #e59400;
}
.gallery-section h2 {
    font-size: 3rem;
}
.car2-page .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.car2-page .gallery-item {
    margin: 0.5rem;
    width: calc(33.333% - 1rem);
    cursor: pointer;
    transition: transform 0.3s;
}
.car2-page .gallery-item:hover,
.gallery-item:hover {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll;
        background-size: cover;
        height: 300px;
    }
    .about-content {
        padding: 2rem 0 6rem;
        font-size: 1rem;
    }
    .about-content h2 {
        font-size: 2rem;
        padding-bottom: 1rem;
    }
    .about-content p {
        font-size: 1.2rem;
        padding: 1rem;
        margin-bottom: 2rem;
    }
    .index-about .about-content a.btn-large {
        font-size: 1.2rem;
        padding: 0.6rem 1.1rem;
    }
    .btn-large {
        font-size: 1.2rem;
        padding: 0.75rem 1.5rem;
    }
    .car-card {
        width: calc(65% - 2rem);
    }
    .start-engine-button {
        width: 100px;
        aspect-ratio: 1/1;
        font-size: 1rem;
        padding: 0.8rem;
    }
    .hover-overlay {
        display: none;
    }
    .photographer-section {
        padding: 3rem 1.5rem;
    }
    .photographer-section h1 {
        font-size: 2rem;
    }
    .photographer-section p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    .car2-page .gallery-item,
    .gallery-item {
        width: calc(50% - 1rem);
    }
    body.photographer-page .photographer-gallery {
        padding-bottom: 6rem;
    }
    .contact-container {
        flex-direction: column;
    }
    .contact-form,
    .contact-info {
        max-width: 100%;
    }
    .navbar-menu {
        transform: translateY(-100%);
    }
    .navbar-menu.active {
        transform: translateY(0);
    }
    .navbar-toggler {
        display: flex;
    }
    body.car1-page .car-header {
        height: 40vh;
    }
}
@media (max-width: 480px) {
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        margin-top: 1rem;
    }
    .car-card {
        width: calc(100% - 2rem);
    }
    .start-engine-button {
        font-size: 0.9rem;
        width: 80px;
        aspect-ratio: 1/1;
        padding: 0.6rem;
        line-height: 1.1;
    }
    .photographer-section {
        padding: 2rem 1rem;
    }
    .photographer-section h1 {
        font-size: 1.8rem;
    }
    .photographer-section p {
        font-size: 1rem;
        line-height: 1.4;
    }
    .car2-page .gallery-item,
    .gallery-item {
        width: calc(100% - 1rem);
    }
    body.photographer-page .photographer-gallery {
        padding-bottom: 4rem;
    }
}
.car2-page .lightbox {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.car2-page .lightbox-content,
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
}
.car2-page .close,
.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    transition: 0.3s;
}
.car2-page .next,
.car2-page .prev,
.next,
.prev {
    font-weight: 700;
    font-size: 20px;
    user-select: none;
}
.car2-page .close:focus,
.car2-page .close:hover,
.close:focus,
.close:hover {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.btn-large,
.next,
.prev {
    color: #fff;
    cursor: pointer;
}
.car2-page .next,
.car2-page .prev {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: #fff;
    transition: 0.3s;
    border-radius: 0 3px 3px 0;
}
.car2-page .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.car2-page .next:hover,
.car2-page .prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.gallery-section {
    padding: 4rem 2rem 10rem;
    text-align: center;
}
.gallery-item {
    width: 100%;
    margin: 0.5rem auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s;
}
.lightbox {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.next,
.prev {
    background-color: rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    top: 50%;
    width: 40px;
    aspect-ratio: 1;
    transition: 0.3s;
    border-radius: 50%;
    transform: translateY(-50%);
}
.btn-large,
body.howto-page .btn-large {
    font-size: 1.5rem;
    border: none;
    transition: background 0.3s;
}
.next:hover,
.prev:hover {
    background-color: rgba(255, 255, 255, 0.3);
}
.btn-large {
    padding: 1rem 2rem;
    background-color: #ffb347;
    border-radius: 4px;
}
.car-tab-button,
.howto-tab-button {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
.btn-large:hover,
body.howto-page .btn-large:hover,
body.services-page .btn-large:hover {
    background-color: orange;
}
body.about-page .about-section {
    color: #333;
}
body.about-page .about-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}
body.howto-page .header {
    position: relative;
    height: 100vh;
    background: url("obrazky/DSC00236.jpeg") center center/cover no-repeat;
    overflow: hidden;
}
body.howto-page .header h1 {
    font-size: 3em;
    color: #eb710e;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    text-align: center;
}
body.howto-page .howto-section,
body.services-page .services-section {
    padding: 6rem 2rem;
    text-align: center;
    color: #333;
    margin-bottom: 4rem;
}
body.howto-page .howto-section h2,
body.services-page .services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
body.howto-page .howto-section .step {
    margin-bottom: 2rem;
}
body.howto-page .howto-section .step h3,
body.services-page .service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
body.howto-page .howto-section .step p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
body.howto-page .btn-large {
    padding: 1rem 2rem;
    background-color: #ffb347;
    color: fff;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    margin-top: 2rem;
}
body.services-page .header {
    position: relative;
    height: 50vh;
    background: url("obrazky/DSC00221.jpeg") center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
body.services-page .header h1 {
    font-size: 3em;
    color: #fff;
    margin: 0;
}
body.services-page .services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
body.services-page .service-item {
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 4px 8px #e763053a;
    transition: transform 0.3s;
    width: calc(50% - 2rem);
    text-align: left;
}
body.services-page .service-item p {
    font-size: 1.2rem;
    line-height: 1.6;
}
body.services-page .btn-large {
    font-size: 1.5rem;
    padding: 1rem 2rem;
    background-color: #ffb347;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block;
    margin-top: 2rem;
}
#formResponse {
    margin-top: 1rem;
    font-size: 1.2rem;
    transition: opacity 0.3s;
    opacity: 1;
}
.car-tabs,
.howto-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.car-tab-button {
    background-color: #e57d1b9e;
    color: #fff;
    border: none;
    margin: 0 5px;
    border-radius: 5px;
}
.car-tab-button:hover {
    background-color: #8f4602f6;
}
.car-tab-button.active {
    background-color: #fbac36;
}
.car-tab-content {
    display: none;
    margin-top: 20px;
    margin-inline: 16px;
}
.car-tab-content.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 70%;
    margin: 0 auto;
}
.car-tab-content h2 {
    padding-top: 1rem;
    color: #333;
    text-align: center;
    font-size: 2rem;
}
.car-table {
    border-collapse: collapse;
    margin-top: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}
.additional-info {
    align-self: flex-start;
}
.car-table td,
.car-table th {
    border: 1px solid #ddd;
    padding: 12px 28px;
    text-align: left;
}
.car-table th {
    background-color: #ee7802;
    color: #fff;
}
.car-table tr:nth-child(2n) {
    background-color: #f2f2f2;
}
.car-table tr:hover {
    background-color: #ddd;
}
body.about-page .header {
    position: relative;
    height: 75vh;
    overflow: hidden;
    background-color: #000;
}
body.about-page .header img {
    width: 100%;
    height: 100%;
    object-position: 20% 70%;
    z-index: -1;
    opacity: 0.5;
}
body.about-page .header h1 {
    font-size: 4em;
    color: #e16f0b;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    margin: 0;
    z-index: 1;
}
body.about-page .about-page-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}
body.about-page .about-page-content h2 {
    font-size: 3rem;
    text-align: center;
}
body.about-page .about-page-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: justify;
    margin: 0;
}
.howto-tab-button {
    background-color: #e57d1bbb;
    color: #fff;
    border: none;
    margin: 0 5px;
    border-radius: 5px;
}
.howto-tab-button:hover {
    background-color: #d46c05;
}
.howto-tab-button.active {
    background-color: #ff8000;
}
.howto-tab-content {
    display: none;
    margin-top: 20px;
    text-align: center;
    font-size: 1.2rem;
    color: #333;
    background: #f9f9f9;
    padding: 20px;
}
.btn.rezervovat,
.vice-info {
    padding: 0.75rem 1.5rem;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    z-index: 1;
    transition:
        background-color 0.3s,
        transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    box-shadow: 0 4px 8px #e763053a;
    white-space: nowrap;
    animation: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards pop;
}
.howto-tab-content.active {
    display: block;
}
body.howto-page .services-section {
    padding: 2rem 1rem;
}
body.howto-page .services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
body.howto-page .service-item {
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 4px 8px #e763053a;
    transition: transform 0.3s;
    width: calc(33.33% - 1rem);
    text-align: left;
}
body.howto-page .service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #e76305;
}
body.howto-page .service-item p {
    font-size: 1rem;
    color: #333;
}
@media (max-width: 1024px) {
    body.howto-page .service-item {
        width: calc(50% - 1rem);
    }
}
@media (max-width: 768px) {
    body.about-page .about-page-content h2,
    body.howto-page .header h1,
    body.howto-page .howto-section h2,
    body.services-page .header h1,
    body.services-page .services-section h2 {
        font-size: 2rem;
    }
    body.howto-page .howto-section .step h3 {
        font-size: 1.5rem;
    }
    body.howto-page .howto-section .step p {
        font-size: 1rem;
    }
    body.howto-page .btn-large,
    body.services-page .btn-large {
        font-size: 1.2rem;
        padding: 0.75rem 1.5rem;
    }
    body.services-page .service-item {
        width: calc(100% - 2rem);
    }
    .car-tab-content.active {
        max-width: 98%;
    }
    body.about-page .about-page-content {
        max-width: 100%;
        padding: 2rem 2rem 4rem;
    }
    body.about-page .about-page-content p {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    body.about-page .header {
        height: 40vh;
    }
    body.howto-page .howto-tabs {
        flex-direction: column;
        gap: 10px;
    }
    body.howto-page .service-item {
        width: calc(100% - 1rem);
    }
    body.howto-page .services-section {
        padding: 1.5rem 1rem;
    }
}
body {
    margin: 0;
    padding: 0;
    color: #333;
}
.info-text p,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #e76305;
    font-family: "Bebas Neue", cursive;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}
.about-section-wrapper {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 40%) 1fr;
    margin-bottom: 5rem;
    place-items: center;
}
.about-section-wrapper img {
    display: block;
    max-width: 88%;
    position: relative;
}
@media (min-width: 725px) {
    .about-section-wrapper img {
        object-fit: cover;
    }
}
@media (min-width: 1290px) {
    .about-section-wrapper img {
        height: calc(100% - 10rem);
    }
}
@media (max-width: 1290px) {
    .about-section-wrapper {
        grid-template-columns: unset;
        grid-auto-flow: row;
    }
}
.root h2:not(.heading-about) {
    font-size: 2rem;
}
@media (max-width: 480px) {
    body.howto-page .header h1,
    body.howto-page .howto-section h2,
    body.services-page .header h1,
    body.services-page .services-section h2 {
        font-size: 1.5rem;
    }
    body.howto-page .howto-section .step h3,
    body.howto-page .service-item h3 {
        font-size: 1.2rem;
    }
    body.howto-page .howto-section .step p,
    body.howto-page .service-item p {
        font-size: 0.9rem;
    }
    body.howto-page .btn-large,
    body.services-page .btn-large {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    body.services-page .service-item {
        width: calc(100% - 2rem);
    }
    .index-about .about-content {
        padding: 1.5rem 0 4rem;
    }
    .index-about .about-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    .index-about .about-content a.btn-large {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        margin-top: 0.5rem;
    }
    .navbar-brand img {
        height: 80px;
    }
    body.howto-page .header h1 {
        font-size: 2rem;
    }
    body.howto-page .howto-tabs button {
        font-size: 14px;
        padding: 8px 15px;
    }
    body.howto-page .service-item {
        padding: 0.8rem;
    }
    .root h2:not(.heading-about) {
        font-size: 1.8rem;
    }
}
.btn.rezervovat {
    display: flex;
    width: fit-content;
    background-color: orange;
    font-size: 1.2rem;
    position: fixed;
    bottom: 6rem;
    right: 3rem;
}
@keyframes pop {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.btn.rezervovat:hover {
    background-color: #e59400;
    transform: scale(1.1);
}
@media (max-width: 750px) {
    .btn.rezervovat {
        left: 49%;
        transform: translate(-50%);
        font-size: 1rem;
    }
    .btn.rezervovat:hover {
        transform: scale(1.1) translate(-50%);
    }
}
.btn.rezervovat::before,
.btn.vice-info::before {
    content: "";
    position: absolute;
    width: 80%;
    height: 100%;
    background-color: #fff;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    z-index: -1;
    left: 0;
    top: 0;
    animation: 3s infinite btn-glow;
}
@keyframes btn-glow {
    0% {
        transform: translate(-200px) scaleX(0.7);
        opacity: 0.7;
    }
    100%,
    40% {
        opacity: 0;
        transform: translate(200px) scaleX(1);
    }
}
.howto-page,
.services-page {
    background-color: #f9f9f9;
}
.photographer-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}
.photographer-info .text {
    flex: 1 1 60%;
    max-width: 600px;
    padding-right: 20px;
    text-align: justify;
    font-size: 1.2rem;
}
.photographer-info .image {
    flex: 1 1 35%;
    max-width: 400px;
}
.photographer-info img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 2rem;
}
.photographer-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}
.specs-table {
    font-size: 1rem;
}
.info-text {
    height: 20rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
}
.info-text p {
    font-size: 5rem;
    max-width: 90rem;
    margin-left: 18.5rem;
}
@media (max-width: 1110px) {
    .start-engine-button {
        font-size: 1rem;
        width: 100px;
        height: 100px;
    }
}
@media (max-width: 790px) {
    .info-text p {
        font-size: 3rem;
        margin-left: 1.5rem;
    }
    .info-text {
        height: 15rem;
        text-align: left;
    }
    .start-engine-button {
        font-size: 0.8rem;
        width: 90px;
        height: 90px;
    }
    .car-container {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 468px) {
    .info-text p {
        font-size: 2.2rem;
        margin-left: 1.5rem;
    }
    .info-text {
        height: 15rem;
        text-align: left;
    }
}
@media (min-width: 792px) {
    .btn.vice-info {
        display: none;
    }
}
.vice-info {
    display: flex;
    margin-top: 0.5rem;
    margin-bottom: 5rem;
    background-color: orange;
    font-size: 1.2rem;
    justify-content: center;
}
.individual-text {
    font-weight: 900;
    color: #e76305;
}
