﻿body {
    margin: 0;
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    color: white;
    background: url("images/1.png") center/cover no-repeat fixed;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    perspective: 800px;
}

    #preloader img {
        width: 200px;
        max-width: 60%;
        transform-style: preserve-3d;
        animation: handRotate 2.5s ease-in-out infinite;
    }

@keyframes handRotate {
    0% {
        transform: rotateY(0deg) rotateX(10deg);
    }

    50% {
        transform: rotateY(180deg) rotateX(-10deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

.site-container {
    width: 85%;
    margin: 0 auto;
    background: rgba(90, 70, 60, 0.9);
    min-height: 100vh;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    padding: 20px;
}

.overlay {
    background: rgba(90, 70, 60, 1);
    min-height: 100vh;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    background-color: #333;
}



.menu a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

    .menu a:hover {
        background-color: #ddd;
        color: black;
    }

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

button {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 40px;
}

.burger span {
    width: 25px;
    height: 3px;
    background-color: white;
}

.contact-image-deliver img {
    width: 100%;
    max-width: 900px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

td {
    white-space: nowrap;
    overflow: hidden;
}

.BrandLogo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    width: 100%;
    text-align: center;
}

@media screen and (max-width: 917px) {
    .menu {
        display: none;
    }

    .burger {
        display: flex;
    }

    .BrandLogo {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 0;
        height: 180px !important;
    }

        .BrandLogo img {
            max-width: 250px;
            width: 100%;
            display: block;
        }

    .footer-column:last-child {
        order: 3;
        width: 100%;
        text-align: right;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-item {
        flex-direction: column;
    }

    .contact-image-deliver img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 10px;
    }

    .delivery-card {
        width: 100% !important;
        min-height: 100px;
    }

    .nav.responsive {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu button,
    .menu a {
        width: 80%;
        text-align: center;
        margin: 5px 0;
    }

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


    .nav.responsive .burger {
        position: absolute;
        right: 20px;
        top: 20px;
    }


    .schedule {
        width: 100%;
    }

        .schedule h3 {
            margin-bottom: 10px;
            text-align: center !important;
        }
}

.slider {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
}

    .slide img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

.description {
    padding: 20px;
    text-align: center;
    font-size: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.6s ease;
    background: rgba(17, 10, 0, 0.6);
}

    .gallery img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        border-radius: 8px;
        transition: opacity 0.4s ease;
    }

.fade-out {
    opacity: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    color: rgba(245, 235, 220, 1);
    font-size: 24px;
    font-weight: bold;
    max-width: 85%;
    white-space: nowrap;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 15px;
    flex-shrink: 0;
}

.logo-name {
    width: 270px;
    height: 40px;
    object-fit: contain;
    border-radius: 15px;
    flex-shrink: 0;
}

.logo i {
    font-style: italic;
    white-space: nowrap;
}

@media screen and (min-width: 1500px) {

    .footer-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: stretch;
        gap: 20px;
    }

    .schedule {
        flex: 0 0 200px;
        margin-left: auto;
        text-align: right;
        max-width: 300px;
        padding-right: 100px;
    }

    .contact-item {
        font-size: 18px !important;
    }

    .contact-image img {
        min-width: 370px !important;
        height: 270px !important;
        object-fit: cover;
        border-radius: 10px;
    }

    .contact-map iframe {
        width: 370px !important;
        height: 270px !important;
        border: none;
        border-radius: 10px;
    }
}


@media screen and (max-width: 917px) {
    .gallery {
        grid-template-columns: 1fr 1fr !important;
    }

        .gallery img {
            width: 100%;
            height: 180px;
        }

    .description {
        font-size: 16px;
    }

    .footer-column:last-child {
        text-align: center;
    }

    .contact-item {
        width: 90%;
        margin: 10px auto;
        padding: 10px;
    }

    .logo-name {
        width: 170px;
    }

    .contact-item {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-map {
        width: 100%;
        min-width: 0;
    }

        .contact-map iframe {
            width: 100% !important;
            min-width: 0 !important;
            height: 200px;
            display: block;
        }

    .contact-image {
        width: 100%;
    }

        .contact-image img {
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
            height: 200px;
        }

    .logo {
        max-width: 85%;
        font-size: 18px;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

        .logo i {
            white-space: normal;
            overflow: visible;
            text-overflow: clip;
            word-wrap: break-word;
            line-height: 1.1;
        }

    .slider {
        height: 140px;
        overflow: hidden;
    }

    .slides {
        width: 100%;
    }

    .slide {
        min-width: 100%;
    }

        .slide img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            object-position: center;
        }
}

.gallery.fade-out {
    opacity: 0;
}

.menu button {
    background: none;
    border: none;
    color: white;
    padding: 14px 16px;
    font-size: 17px;
    cursor: pointer;
}

    .menu button:hover {
        background-color: #ddd;
        color: black;
    }



.footer {
    background: rgba(17, 10, 0, 0.9);
    color: white;
    padding: 30px 20px;
}


.mainContact {
    padding: 20px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 12px;
}

.contact-image img {
    min-width: 250px;
    max-width: 300px;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.contact-map iframe {
    min-width: 250px;
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 10px;
}

@media (min-width: 918px) and (max-width: 1499px) {

    .footer-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: stretch;
        gap: 20px;
    }

    .contact-image img {
        min-width: 250px;
        max-width: 300px;
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
    }

    .contact-map iframe {
        min-width: 250px;
        max-width: 300px;
        width: 100%;
        height: 200px;
        border: none;
        border-radius: 10px;
    }

    .contact-item {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 15px;
    }

    .contact-image,
    .contact-map,
    .schedule,
    .contact-info {
        min-width: 0;
    }

    .contact-image {
        order: 1;
        flex: 1 1 30%;
    }

    .contact-map {
        order: 2;
        flex: 1 1 30%;
    }

    .schedule {
        order: 3;
        flex: 1 1 30%;
    }

    .contact-info {
        order: 4;
        flex: 1 1 100%;
        margin-top: 10px;
    }
}


.delivery-section {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-align: center;
}

.delivery-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.delivery-img {
    width: 100px !important;
    height: 50px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: brightness(1.1);
}

.delivery-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-decoration: none;
    color: white;
    width: 140px;
    min-height: 110px;
    text-align: center;
    transition: transform 0.3s ease;
}

    .delivery-card span {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .delivery-card:hover {
        background: rgba(212, 175, 55, 0.3);
        transform: translateY(-5px);
    }

    .delivery-card img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

.contactBar {
    text-align: center;
}

    .contactBar h2,
    .contactBar h3 {
        margin: 5px 0;
    }

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 12px;
    align-items: flex-start;
}

.schedule {
    text-align: right;
}

    .schedule h3 {
        margin-bottom: 10px;
        text-align: center;
    }

    .schedule table {
        width: 100%;
        border-collapse: collapse;
    }

    .schedule td {
        padding: 4px 6px;
    }

        .schedule td:first-child {
            text-align: left;
        }

        .schedule td:last-child {
            text-align: right;
        }

.footer-copyright {
    background-color: #000;
    text-align: center;
    padding: 15px 10px;
}

    .footer-copyright p {
        margin: 0;
        color: #fff;
        font-size: 14px;
        letter-spacing: 1px;
    }

.footer-column {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

    .footer-column:last-child {
        text-align: right;
    }

        .footer-column:last-child ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-column:last-child li {
            margin: 5px 0;
        }

    .footer-column h3 {
        margin-bottom: 10px;
    }

    .footer-column p,
    .footer-column ul li {
        margin: 6px 0;
        line-height: 1.6;
    }

    .footer-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .footer-column ul li a {
            color: white;
            text-decoration: none;
        }

            .footer-column ul li a:hover {
                text-decoration: underline;
            }

        .footer-column ul li img {
            width: 20px;
            height: 20px;
            object-fit: contain;
            margin-left: 8px;
            vertical-align: middle;
        }
