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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 50px;
    background-color: #ffffff;
    color: rgb(5, 5, 5);
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;

    
   
   
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    z-index: 1000; 
}

.logo {
    display: flex;
    align-items: center; /* Zarovná obrázek vertikálně */
    height: 100%; /* Aby nepřetékalo */
}

.logo img {
    height: 100%; /* Přesně vyplní výšku headeru */
    width: 120px; /* Zachová poměr stran */
    object-fit: contain; /* Zabrání deformaci */
}

nav {
    position: relative;
}

ul.menu {
    list-style: none;
    display: flex;
    transition: transform 0.3s ease;
}

ul.menu li {
    margin: 0 25px;
}

ul.menu li a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
}


ul.menu li a:hover {
    color: #686767;
    text-decoration: underline;
    transform: translateY(-5px);
}


.burger-menu {
    display: none; /* Skryjeme burger menu na desktopu */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1010;
}

.burger-menu .line {
    width: 100%;
    height: 4px;
    background-color: black;
    transition: all 0.3s ease;
}

/* Burger menu - když je otevřené, změní se na křížek */
.burger-menu.open .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.open .line:nth-child(2) {
    opacity: 0;
}

.burger-menu.open .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


@media (max-width: 768px) {
    .burger-menu {
        display: flex; /* Zobrazí burger menu na mobilech a tabletech */
    }

    .menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%; /* Menu je skryté, mimo obrazovku */
        width: 70%;
        height: 100%;
        background-color: #ffffff;
        color: rgb(0, 0, 0);
        text-align: center;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 1000;
        padding-top: 60px; /* Vytvoříme prostor pro hlavičku */
    }
    
    .menu.active {
        display: block;
        right: 0; /* Menu se posune na pozici 0 (zobrazí se) */
    }
    
    /* Odkazy v menu */
    .menu li {
        margin: 15px 0;
    }
    
    .menu li a {
        font-size: 22px;
        color: white;
        text-decoration: none;
        padding: 10px 0;
        display: block;
    }
    
    .menu li a:hover {
        color: #ffffff;
        text-decoration: underline;
    }
}
.company {
    position: relative;
    width: 100%;
    height: 100vh; 
    background-image: url('IMG_7441ggggggggggggggggggggggggggggggggggg.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    display: flex;
    justify-content: center;
    align-items: center;
}


.company-content {
    text-align: center;
    color: rgb(0, 0, 0);
    padding: 20px;
    font-family: 'Arial', sans-serif;
    position: relative;
    z-index: 2;
}


.company h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); 
}


.company .ok {
    color: white;
}


.company .autolakovna {
    color: rgb(255, 255, 255);
}


.btn {
    display: inline-block;
    font-size: 18px;
    color: white; 
    background-color: rgb(0, 0, 0); 
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease; 
}


.btn:hover {
    background-color: rgb(44, 44, 44); 
    transform: translateY(-3px); 
}


@media (max-width: 768px) {
    .company h2 {
        font-size: 32px; 
    }
    
    .btn {
        font-size: 16px; 
        padding: 10px 20px;
    }
}

.services-body {
    background: linear-gradient(135deg, #000000, #4e4a4a);
    font-family: 'Abel', sans-serif;
    padding: 5rem 2rem;
    color: #ffffff;
    text-align: center;
    min-height: 100vh; /* 🟢 Výška celé obrazovky */
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.services-body hr {
    margin: 3rem;
    border: 0;
    border-top: 1px solid #fff;
}


.services h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: .06em;
    margin-bottom: 0;
    color: #ffffff;
}




.services p {
    margin: .5rem 0 2.5rem 0;
    font-size: 1.4rem;
    letter-spacing: .02em;
}

.services p a {
    color: #000000;
    text-decoration: none;
}


#gallery {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
}

.gallery-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
}

.gallery-item {
    flex: 0 0 calc(16.66% - 10px); /* 6 vedle sebe */
    max-width: calc(16.66% - 10px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 📱 Na telefonech: 1 fotka na řádek */
@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

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

img {
    width: 500px;
    height: 400px;
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f4f4f4, #e0e0e0);
    padding: 5rem 2rem;
    width: 100%;
    min-height: 100vh; /* 🟢 Zaber celou výšku obrazovky */
}

.about-content {
    display: flex;
    justify-content: space-between;
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    width: 45%;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}


.about-text {
    width: 45%;
    padding: 40px;
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}


@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-images {
        grid-template-columns: 1fr;
        width: 100%;
        margin-bottom: 30px;
    }

    .about-text {
        width: 100%;
        padding: 20px;
    }
}


.contact {
    background: #141414;
    padding: 150px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-content {
    width: 90%;
    max-width: 750px;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.contact-content:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.contact h2 {
    font-size: 34px;
    color: #222;
    margin-bottom: 15px;
    font-weight: bold;
}

.contact p {
    font-size: 17px;
    color: #666;
    margin-bottom: 30px;
}

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

.form-group label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    transition: 0.3s ease-in-out;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #555;
    background: #fff;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

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

.submit-btn {
    background: #222;
    color: white;
    font-size: 17px;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
    background: #444;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


@media (max-width: 768px) {
    .contact-content {
        width: 95%;
        padding: 40px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
    }

    .submit-btn {
        font-size: 16px;
        padding: 12px 28px;
    }
}



.footer {
    background: #ffffff; 
    color: rgb(0, 0, 0); 
    padding: 60px 0; 
    font-size: 16px; 
    text-align: center; 
    position: relative;
}


.footer-container {
    display: flex;
    justify-content: space-around; 
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center; /* Přidá zarovnání na střed */
    height: 100%;
    width: 100%; /* Přidá šířku, aby se správně centrovalo */
}

.footer-logo img {
    height: 100%; /* Přesně vyplní výšku footeru */
    width: 200px;; /* Zachová poměr stran */
    object-fit: contain;
    
}


.footer-info, .footer-location, .footer-socials {
    flex: 1;
    min-width: 250px;
    margin: 15px;
}


.footer-info h3, .footer-location h3, .footer-socials h3 {
    font-size: 22px;
    font-weight: bold; 
    margin-bottom: 15px;
    color: #000000; 
    text-transform: uppercase; 
}


.footer-socials a img {
    width: 40px;
    margin-right: 15px;
    transition: transform 0.3s ease-in-out, filter 0.3s ease;
}

.footer-socials a:hover img {
    transform: scale(1.2); 
    filter: brightness(1.3); 
}


.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    color: #bbb; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

.centertext {
  margin-left: 92px;
}


@media (max-width: 768px) {
    .footer-container {
        display: flex;
        justify-content: center; /* Zarovná všechny prvky na střed */
        flex-wrap: wrap;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .footer-logo img {
        max-width: 120px; 
    }

    .footer-info, .footer-location, .footer-socials {
        margin-bottom: 20px; 
    }

    .footer-info h3, .footer-location h3, .footer-socials h3 {
        font-size: 20px; 
    }

    .footer-bottom {
        font-size: 12px; 
    }
}