.logo {
    animation: pulse 60s infinite, fadeIn 2s ease-in-out forwards;
    max-width: 220px;
    margin-top: 20px;
    margin-bottom: 20px;
    opacity: 0;
}

.modal-content.bg-dark {
    background-color: #000 !important;
    /* Fekete háttér */
}

.modal-content .btn-close-white {
    filter: invert(1);
    /* Fehér színű bezárás gomb */
}

.modal-content.text-white {
    color: #fff !important;
    /* Fehér szöveg */
}

@keyframes pulse {
    70% {
        transform: scale(1);
    }

    90% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

html,
body {
    height: 100%;
    background: url('/pic/2.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* Módosítás: A tartalom kitölti a teljes magasságot */
    justify-content: flex-start;
    /* Módosítás: A tartalom a tetején kezdődik */
    width: 100%;
    overflow-x: hidden;
    /* Eltávolítja a vízszintes görgetősávot, ha szükséges */
}

.main-content {
    flex-grow: 1;
    /* Módosítás: A fő tartalom kitölti a rendelkezésre álló területet */
    margin: 0;
    /* Módosítás: Csökkentett érték a megfelelő elrendezés érdekében */
    width: 100%;
    padding: 20px 0;
    /* Módosítás: Néhány belső margót adunk hozzá */
}

.btn-sm,
.btn-primary {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(255, 0, 0, 0.66));
    border: 1px solid black;
    border-radius: 5px;
    color: white;
}

.btn-sm:hover,
.btn-primary:hover {
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.8), rgba(0, 0, 0, 0.66));
    border: 2px solid black;
}

.btn-info {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(255, 0, 0, 0.66));
    border: 1px solid black;
    border-radius: 5px;
    color: white;
    width: 100%;
    /* Egyenlő szélesség minden gombnak */
    text-transform: uppercase;
    /* Nagybetűs írás */
    font-weight: bold;
    /* Félkövér stílus */
    padding: 10px;
    /* Extra tér a gombok körül */
    margin: 10px 0;
    /* Kicsi tér a gombok között */
}


.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    /* Fix header magasság */
}


.navbar {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(255, 0, 0, 0.66));
    min-height: 100px;
    border-radius: 0;
    box-shadow: 0px -4px 8px rgba(245, 244, 244, 0.534), 0px 4px 8px rgba(245, 244, 244, 0.534);
    backdrop-filter: blur(10px);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1001;
    font-family: 'Times New Roman', Times, serif;
}

.navbar .navbar-brand {
    color: white !important;
    font-size: 1.5em;
    margin: 0 auto;
}

.navbar .nav-link {
    background-color: black;
    color: white !important;
    margin: 5px;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(245, 244, 244, 0.534);
    transition: all 0.3s ease;
    font-size: 1.2em;
}

.navbar .nav-link:hover {
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.navbar .navbar-toggler {
    border: none;
}

.navbar-nav {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    font-size: 13px;
}

@media (max-width: 768px) {
    .navbar {
        min-height: 70px;
        border-bottom-right-radius: 80px;
        border-bottom-left-radius: 80px;
    }

    .navbar .navbar-brand {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .offcanvas {
        width: 50% !important;
        height: 100vh;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
        border-top-left-radius: 360px;
        border-bottom-left-radius: 360px;
        background: linear-gradient(45deg, rgba(0, 0, 0, 0.904), rgba(255, 0, 0, 0.594)), url('/pic/m4.png') no-repeat center center;
        background-size: cover;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        box-sizing: border-box;
    }

    .offcanvas .offcanvas-header {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
        display: flex;
        justify-content: flex-end;
        padding: 1rem;
        box-sizing: border-box;
    }

    .offcanvas .offcanvas-header .btn-close {
        font-size: 1.5rem;
        fill: white;
    }

    .offcanvas .offcanvas-body {
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-grow: 1;
        width: 100%;
    }

    .offcanvas .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .offcanvas .navbar-nav .nav-item {
        margin-bottom: 1rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .offcanvas .navbar-nav .nav-link {
        font-size: 14px;
        text-align: center;
        background-color: black !important;
        color: white !important;
        border-radius: 10px !important;
        box-shadow: 0 4px 8px rgba(245, 244, 244, 0.534) !important;
        transition: transform 0.3s !important;
        width: 100% !important;
        min-width: 160px !important;
        padding: 17px 15px !important;
    }
}

.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}

.login-box {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(255, 0, 0, 0.66));
    box-shadow: 0 4px 8px rgba(245, 244, 244, 0.534);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    min-height: 500px;
    /* Alapértelmezett magasság */
    min-width: 500px;
    /* Alapértelmezett szélesség */
    color: #fff;
    z-index: 1;
    position: relative;
    overflow: hidden;

    /* Tartalom középre helyezése függőlegesen egymás alatt */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.755), black, rgba(255, 0, 0, 0.725), black);
    background-size: 400%;
    z-index: -1;
    animation: borderAnimation 23s linear infinite;
}

.login-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: #000;
    z-index: -2;
}

/* Mobil nézetben a régi stílus */
@media only screen and (max-width: 768px) {
    .login-box {
        min-height: 200px;
        min-width: auto;
        padding: 1.5rem;

        /* Mobilon is középre helyezés függőlegesen */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}



.contact-link {
    font-family: 'Times New Roman', Times, serif;
    color: #ffffff;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}


@keyframes borderAnimation {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 20px;
    z-index: 2;
}

.arrow-down {
    width: 60px;
    height: 60px;
    border-right: 5px solid black;
    border-bottom: 5px solid black;
    transform: rotate(45deg);
    /* Irány beállítása, hogy lefele mutasson */
    margin: -5px;
    animation: bounce 1s infinite alternate, colorChange 2s infinite;

}

.arrow-down:nth-child(2) {
    margin-top: -15px;
}

@keyframes bounce {
    to {
        transform: translateY(10px) rotate(45deg);
    }
}

@keyframes colorChange {

    0%,
    100% {
        border-color: white;

    }

    50% {
        border-color: red;
    }
}

.reference-photos {
    width: 100vw;
    min-height: 1000px;
    box-sizing: border-box;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.835), rgba(255, 0, 0, 0.66)), url('/pic/2.png') no-repeat center center fixed;
    background-size: cover;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0px -4px 8px rgba(245, 244, 244, 0.534), 0px 4px 8px rgba(245, 244, 244, 0.534);
    border: solid 3px black;
    color: white;
    text-align: center;
}

.section-title {
    font-size: 2em;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .reference-photos {
        min-height: 600px;
    }
}

.carousel-item {
    max-width: 1000px;
    width: 100%;
    height: 600px;
    /* Fix height */
    perspective: 1000px;
    transition: none;
    /* Disable transition */
    opacity: 0;
    filter: brightness(0%);
    animation: darkToLight 1s forwards;

}

.carousel-item.active {
    opacity: 1;
    filter: brightness(100%);
    border-radius: 10px;

}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    border-radius: 12px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    /* Ensure image fills the container */
    object-fit: cover;
    /* Ensure the image covers the container without stretching */
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.hidden-button {
    display: none;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
        border-radius: 10px;
        /* Csökkentett magasság mobilra */
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        /* Csökkentett méret mobilra */
        height: 40px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 15px;
        /* Csökkentett ikon méret mobilra */
        height: 15px;
    }
}

.services-container {
    width: 100%;
    min-height: 1100px;
    background: url('/pic/7.png') no-repeat center center;
    background-size: cover;
    padding: 50px 0;
    box-shadow: 0px -4px 8px rgba(245, 244, 244, 0.534), 0px 4px 8px rgba(245, 244, 244, 0.534);
    color: white;
    text-align: center;
}

.section-title {
    font-size: 2em;
    margin-bottom: 20px;
}

.services {
    width: 80%;
}

.service {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
}

.service h4 {
    margin: 0;
}

.service .d-flex {
    justify-content: space-between;
    align-items: center;
}

.service .description {
    margin-top: 10px;
    text-align: center;
    color: white;
}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.column {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: white;
    text-align: center;
}

.column .name {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.column img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.column .description {
    font-size: 1em;
    text-align: center;
}

@media (max-width: 768px) {
    .services-container {
        width: 100vw;
        min-height: 800px;
        background: url('/pic/m2.png') no-repeat center center;
        background-size: cover;
        padding: 50px 0;
    }

    .services {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 90%;
        margin-bottom: 20px;
    }

    .service .d-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .service span {
        display: block;
        width: 100%;
        text-align: left;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

    .column {
        width: 65%;
    }
}

/* Utókezelés szekció - Hasonló a vélemények szekcióhoz */
.aftercare-section {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.835), rgba(255, 0, 0, 0.66)), url('/pic/2.png') no-repeat center center fixed;
    background-size: cover;
    padding: 30px 20px;
    width: 100vw;
    box-shadow: 0px -4px 8px rgba(245, 244, 244, 0.534), 0px 4px 8px rgba(245, 244, 244, 0.534);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    font-family: 'Times New Roman', Times, serif;


}

.aftercare-container {
    margin: 20px 0;
}

.aftercare-toggle {
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.8), rgba(0, 0, 0, 0.66));
    border: none;
    color: #fff;
    font-size: 1.2em;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aftercare-toggle:hover {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(255, 0, 0, 0.66));
}

.aftercare-content {
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.aftercare-section.mt-5 {
    margin-top: 0 !important;
}

/* Mobilnézet stílusok */
@media (max-width: 768px) {
    .aftercare-section {

        padding: 20px 15px;
    }

    .aftercare-toggle {
        font-size: 1em;
        padding: 10px 20px;
    }

    .aftercare-content {
        padding: 15px;
    }
}


/* Vélemények szekció stílusok */
.reviews-section {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.835), rgba(255, 0, 0, 0.66)), url('/pic/2.png') no-repeat center center fixed;
    background-size: cover;
    padding: 50px 20px;
    width: 100vw;
    box-shadow: 0px -4px 8px rgba(245, 244, 244, 0.534), 0px 4px 8px rgba(245, 244, 244, 0.534);
    min-height: 1000px;
    position: relative;
    overflow: hidden;
}

.reviews-section .section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    color: #fff;
}

.reviews-carousel {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.review-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    margin: 10px auto;
    max-width: 60%;
    display: none !important;
    /* Kezdetben rejtett minden vélemény */
}

.review-item.active {
    display: block !important;
    /* Csak az aktív vélemény jelenik meg */
}

.review-text {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 10px;
}

.review-author {
    text-align: right;
    font-size: 1em;
    color: #888;
}

/* Új review-img osztály a képekhez */
.review-img {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
    /* Kép középre igazítása és alatta margin */
}

/* Előző és Következő gombok stílusai */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    cursor: pointer;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

/* Mobilnézet stílusok */
@media (max-width: 768px) {
    .reviews-section {
        padding: 30px 15px;
        min-height: 600px;
    }

    .reviews-section .section-title {
        font-size: 1.5em;
    }

    .review-item {
        max-width: 90%;
    }

    .review-text {
        font-size: 1em;
    }

    .review-author {
        font-size: 0.9em;
    }
}

.review-item .btn {
    display: block;
    margin: 20px auto 0 auto;
    /* Gomb középre igazítása és felső margin hozzáadása */
}

.review-author-name {
    font-weight: bold;
    text-align: center;
    /* Név középre igazítása */
    margin-bottom: 10px;
    /* Kis távolság a szövegtől */
    color: #000;
    /* Fekete színű szöveg */
    font-size: 1.2em;
    /* Nagyobb betűméret a jobb láthatóság érdekében */
    display: block;
    /* Biztosítja, hogy a név látható legyen */
}



.footer-container {
    font-family: 'Times New Roman', Times, serif;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.8), rgba(0, 0, 0, 0.66));
    color: #ffffff;
    padding: 20px 0;
    margin-top: auto;
    /* Módosítás: A footer mindig a lap alján helyezkedik el */
}

.footer-content {
    width: 80%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-item {
    margin: 10px;
    text-align: center;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.social-icons a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 24px;
    text-decoration: none;
}

.social-icons a:hover {
    color: red;
}

.footer-container a {
    color: #ffffff;
    text-decoration: none;
}

.footer-container a:hover {
    text-decoration: underline;
}

.offcanvas .navbar-nav .nav-link:hover {
    transform: translateY(-5px) !important;
}



.works-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 100px;
}

.work-item {
    flex-basis: calc(33.333% - 20px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    margin-bottom: 20px;
}

.work-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .work-item {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .work-item img {
        max-width: 100%;
        height: auto;
    }
}

form {
    font-family: "Times New Roman", Times, serif;
}