* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}



body {

    font-family: system-ui, sans-serif;

    line-height: 1.5;

    color: #222;

    background: #f3f3f3;

}



/* HEADER */

.site-header {

    width: 100%;

    background: linear-gradient(to right, #212626, #272621);

    overflow: hidden;

    position: relative;

    display: flex;

    justify-content: center;

}



.header-logo {

    display: block;

    width: 100%;

    height: auto;

    min-width: 750px;

    max-height: 300px;

    object-fit: contain;

    object-position: center;

}



/* HERO */

header.hero {

    position: relative;

    text-align: center;

    padding: 80px 20px 60px;

    color: white;

    overflow: hidden;

    height: 60vh;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-direction: column;

}

header.hero h1 {

    font-size: clamp(1.5rem, 5vw, 2.4rem);

    margin-bottom: 10px;

    position: relative;

    z-index: 2;

    color: #ee6d0f;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);

}

header.hero p {

    font-size: clamp(1rem, 3.5vw, 1.2rem);

    position: relative;

    z-index: 2;

    color: #fff;

    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);

}



.hero-bg {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    z-index: 1;

    background-size: cover;

    background-position: center;

    filter: brightness(0.7) blur(1px);

    background-color: #ddd;

    transition: background-image 1s ease-in-out;

}



@media (max-width: 600px) {

    .hero-bg {

        filter: brightness(0.7) blur(0.4px);

    }

}



.hero-contact {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

    position: relative;

    z-index: 2;

}



.hero-contact h3 {

    color: white;

    font-size: clamp(1rem, 2vw, 1.5rem);

    font-weight: 600;

    margin-top: 10px;

    text-align: center;

}



.call-btn {

    position: relative;

    display: inline-block;

    margin-top: 30px;

    font-size: clamp(0.9rem, 4vw, 1.1rem);

    padding: clamp(10px, 3vw, 14px) clamp(20px, 6vw, 28px);

    background: #ee6d0f;

    color: white;

    font-weight: 600;

    border-radius: 50px;

    text-decoration: none;

    box-shadow: 0 0 15px rgba(238, 109, 15, 0.6);

    z-index: 2;

    animation: pulse 1.8s infinite;

    transition: background 0.3s ease;

}



.call-btn:hover {

    background: #ff7f1f;

    box-shadow: 0 0 20px rgba(255, 127, 31, 0.7);

}



.hero-contact .auto-btn {

    background: #297af3; /* kék */

    box-shadow: 0 0 15px rgba(41, 122, 243, 0.6);

    animation: pulse-blue 1.8s infinite;

    margin: 5px;

}



/* Pulzáló animáció */

@keyframes pulse {

    0% {

        transform: scale(1);

        box-shadow: 0 0 10px rgba(238, 109, 15, 0.5);

    }

    50% {

        transform: scale(1.05);

        box-shadow: 0 0 25px rgba(238, 109, 15, 0.8);

    }

    100% {

        transform: scale(1);

        box-shadow: 0 0 10px rgba(238, 109, 15, 0.5);

    }

}



@keyframes pulse-blue {

    0% {

        transform: scale(1);

        box-shadow: 0 0 10px rgba(41, 122, 243, 0.5);

    }

    50% {

        transform: scale(1.05);

        box-shadow: 0 0 25px rgba(41, 122, 243, 0.8);

    }

    100% {

        transform: scale(1);

        box-shadow: 0 0 10px rgba(41, 122, 243, 0.5);

    }

}



.phone-icon {

    width: 20px;

    height: 20px;

    vertical-align: middle;

    margin-right: 8px;

}



/* INTRO TEXT */

section.intro {

    background: #f9f9f9;

    padding: 40px 20px;

    padding-bottom: 20px;

    color: #222;

    text-align: center;

}



section.intro p {

    max-width: 800px;

    margin: 0 auto 20px auto;

    font-size: 1.1rem;

    line-height: 1.6;

}



section.intro strong {

    color: #ee6d0f;

}



section.intro .highlight-service {

    background: #004475;

    color: white;

    padding: 10px;

    border-radius: 12px;

    text-align: center;

    margin: 5px auto;

    margin-bottom: 20px;

    max-width: 600px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

    overflow: hidden;

    transform: scale(1);

    transition: transform 0.8s ease-out;

    will-change: transform;

    transform-origin: center center;

}



/* Háttér lakat zárt állapotban */

section.intro .highlight-service::before {

    content: "";

    position: absolute;

    inset: 0;

    background: url("images/lock-closed.svg") no-repeat center;

    background-size: 120px 120px;

    opacity: 0.15;

    z-index: 0;

    transition: all 1.5s ease;

    will-change: transform;

}



/* Tartalom fölötte */

section.intro .highlight-service h3,

section.intro .highlight-service p {

    position: relative;

    z-index: 1;

}



/* Amikor a doboz láthatóvá válik */

section.intro .highlight-service.animate {

    transform: scale(1.05);

    transition: transform 1s ease;

}



/* és a lakat kinyílik */

section.intro .highlight-service.animate::before {

    background: url("images/lock-open.svg") no-repeat center;

    background-size: 120px 120px;

    opacity: 0.15;

    transform: rotate(8deg);

}



/* GALLERY */

section.gallery {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 12px;

    padding: 30px 20px;

    max-width: 1000px;

    margin: 0 auto;

    background: #f3f3f3;

    border-top: 2px solid #004475;

}

section.gallery img {

    width: 100%;

    height: 200px;

    object-fit: cover;

    border-radius: 8px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);

    cursor: pointer;

}



section.gallery video {

    width: 100%;

    height: 200px;

    object-fit: cover;

    border-radius: 8px;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

    cursor: pointer;

}



@media (max-width: 600px) {

    section.gallery {

        display: flex;

        overflow-x: auto;

        gap: 10px;

        padding: 10px;

        scroll-snap-type: x mandatory;

    }



    section.gallery img {

        flex: 0 0 80%;

        height: 180px;

        object-fit: cover;

        border-radius: 8px;

        scroll-snap-align: center;

    }



    section.gallery::-webkit-scrollbar {

        display: none;

    }



    section.gallery video {

        flex: 0 0 80%;

        height: 180px;

        object-fit: cover;

        border-radius: 8px;

        scroll-snap-align: center;

    }

}



/* LIGHTBOX */

.lightbox {

    display: none;

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(0, 0, 0, 0.9);

    align-items: center;

    justify-content: center;

    z-index: 2000;

    flex-direction: column;

}

.lightbox img {

    max-width: 90%;

    max-height: 80vh;

    border-radius: 8px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);

}

.lightbox button {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(255, 255, 255, 0.2);

    border: none;

    color: white;

    font-size: 2rem;

    padding: 8px 14px;

    border-radius: 6px;

    cursor: pointer;

}

.lightbox button:hover {

    background: rgba(255, 255, 255, 0.4);

}

.lightbox .prev {

    left: 20px;

}

.lightbox .next {

    right: 20px;

}

.lightbox .close {

    top: 20px;

    right: 20px;

    transform: none;

    font-size: 1.8rem;

}



/* SERVICES */

section.services {

    position: relative;

    background: #f3f3f3;

    padding: 40px 20px;

    text-align: center;

    color: #222;

    overflow: hidden;

}

section.services h2 {

    margin-bottom: 20px;

    padding: 20px 20px;

    font-size: 1.6rem;

    color: #ee6d0f;

    text-align: center;

    font-size: clamp(1.8rem, 4vw, 2.5rem);

    white-space: nowrap;

    position: relative;

    display: inline-block;

    z-index: 2;

    background: #f3f3f3;

}

section.services ul {

    list-style: none;

    max-width: 600px;

    margin: 0 auto;

    padding: 0;

}

section.services li {

    background: #fff;

    margin: 10px 0;

    padding: 12px 16px;

    border-radius: 8px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);

    border-left: 4px solid #ee6d0f;

    opacity: 0;

    transform: translateX(-50px);

    transition: all 0.6s ease-out;

}

section.services li.show {

    opacity: 1;

    transform: translateX(0);

}



.services::before {

    content: "";

    position: absolute;

    top: 15%;

    left: 50%;

    width: 110vw;

    height: 5rem;

    background: url("images/tire-tracks.svg") no-repeat center;

    background-size: contain;

    transform: translate(-50%, -50%);

    z-index: 0;

    pointer-events: none;

}



@media (min-width: 768px) {

    .services::before {

        top: 16%;

        width: 90vw;

    }

}



/* PROMO */



section.promo {

    background: linear-gradient(rgba(0, 68, 117, 0.95), rgba(0, 68, 117, 0.95)),

        url("images/automento.webp") center/contain no-repeat;

    color: white;

    text-align: center;

    padding: 50px 20px;

}



section.promo h2 {

    font-size: 2rem;

    margin-bottom: 15px;

    color: #ff7a00;

}



section.promo p {

    font-size: 1.2rem;

    margin-bottom: 25px;

    max-width: 700px;

    margin-left: auto;

    margin-right: auto;

}



.promo-btn {

    display: inline-block;

    padding: 14px 28px;

    background: #ee6d0f;

    color: white;

    font-weight: 600;

    font-size: 1rem;

    border-radius: 50px;

    text-decoration: none;

    box-shadow: 0 0 15px rgba(238, 109, 15, 0.6);

    transition: all 0.3s ease;

    animation: pulse 1.8s infinite;

}



.promo-btn:hover {

    background: #ff7f1f;

    box-shadow: 0 0 20px rgba(255, 127, 31, 0.7);

}



/* CONTACT AND FOOTER */

section.contact-bottom {

    text-align: center;

    padding: 20px;

    background: #f3f3f3;

    color: black;

    border-top: 2px solid #ee6d0f;

}

section.contact-bottom h2 {

    margin-bottom: 10px;

    color: #ee6d0f;

}



/* SOCAIL MEDIA BUTTON */



.social-fb {

    position: fixed;

    right: 15px;

    bottom: 15px;

    width: 50px;

    height: 50px;

    z-index: 1500;

    transition: transform 0.3s ease, box-shadow 0.3s ease;

    border-radius: 50%;

}



.social-fb img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}



.social-fb:hover {

    transform: scale(1.1);

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);

}



footer {

    text-align: center;

    padding: 15px;

    background: #f3f3f3;

    color: black;

    font-size: 0.9rem;

    border-top: 1px solid gray;

    margin-top: 20px;

}



/* COOKIE BANNER */



.cookie-banner {

    position: fixed;

    bottom: 0;

    left: 0;

    width: 100%;

    background: #1f1f1f;

    color: #fff;

    padding: 16px 20px;

    display: none;

    flex-direction: column; /* <<< egymás alá kerül */

    justify-content: center;

    align-items: center;

    text-align: center;

    font-size: 15px;

    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);

    z-index: 9999;

    gap: 10px; /* térköz a szöveg és gomb között */

}



.cookie-banner p {

    margin: 0;

    max-width: 700px;

    text-align: center;

}



.cookie-banner button {

    background: #1abc9c;

    border: none;

    padding: 10px 18px;

    color: white;

    font-weight: bold;

    border-radius: 6px;

    cursor: pointer;

    transition: 0.2s ease;

    font-size: 15px;

}



.cookie-banner button:hover {

    background: #17a589;

}

