body {
    background: #141414;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding-top: 20px;
}

button {
    background: #d4b87c;
    width: 90%;
    height: 40px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: black;
}

h1, h2 {
    margin: 20px 0;
}

p {
    margin: 10px 0;
}

a {
    text-decoration: none;
    color: white;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery {
    margin-top: 40px;
}

.gallery-image {
    width: 90%;
    max-width: 680px;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-image:not(:first-child) {
    display: none;
}

.lightbox {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
    visibility: visible;
    opacity: 1;
}

.lightbox.open .lightbox-content {
    animation: zoomIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    transform: translateX(0); /* Ensure hardware acceleration */
    transition: transform 0.3s ease-out;
}



@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

@keyframes slide-in-from-right {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-from-left {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.image-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
}

.prev-button,
.next-button {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.prev-button {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.next-button {
    right: 0;
    border-radius: 0 3px 3px 0;
}

.prev-button:hover,
.next-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.footer {
    margin: 0;
    padding: 40px 0;
    background-color: #161616;
    box-sizing: border-box;
    width: 100%;
    margin-top: 40px;
}

.footer .social {
    text-align: center;
    padding-bottom: 25px;
    font-size: 24px;
    text-decoration: none;
}

.footer .social a {
    border: 1px solid #ccc;
    border-radius: 30%;
    width: 40px;
    height: 40px;
    line-height: 38px;
    display: inline-block;
    text-align: center;
    margin: 0 6px;
    opacity: 0.75;
}

.footer .social a:hover {
    opacity: 1.0;
}

.footer .social .fa-instagram {
    color: #D62976;
}

.footer .copyright {
    margin-top: 5px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
}

#animation-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

#truck {
    width: 100px;
    height: 100px;
    animation: drive 3s forwards;
}

@keyframes drive {
    0% {
        transform: translateX(-100vw);
    }
    100% {
        transform: translateX(100vw);
    }
}