:root {
    --red: #C8102E;
    --gold: #d8b26e;
    --cream: #f7f3eb;
}

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
    background: #000;
    color: #fff;
}

/* HERO */

.hero {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    overflow: hidden;
}

/* SLIDESHOW */

.slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #111;
}

.slideshow span {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    animation: heroSlider 24s infinite;
    will-change: opacity, transform;
}

.slideshow span:nth-child(1) {
    background-image:
        linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .78)),
        url("./kumru.jpg");
    animation-delay: 0s;
}

.slideshow span:nth-child(2) {
    background-image:
        linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .78)),
        url("./tost.jpg");
    animation-delay: 6s;
}

.slideshow span:nth-child(3) {
    background-image:
        linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .78)),
        url("./hamburger.jpg");
    animation-delay: 12s;
}

.slideshow span:nth-child(4) {
    background-image:
        linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .78)),
        url("./restaurant.jpg");
    animation-delay: 18s;
}

@keyframes heroSlider {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    8% {
        opacity: 1;
    }

    30% {
        opacity: 1;
        transform: scale(1.08);
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* CONTENT */

.content {
    position: relative;
    z-index: 2;
    max-width: 950px;
    width: 100%;
    animation: fadeUp 1.3s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge {
    color: var(--gold);
    letter-spacing: 4px;
    font-size: .85rem;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* LOGO */

.logo-wrapper {
    position: relative;
    display: inline-block;
}

.logo-wrapper::before {
    content: "";
    position: absolute;
    inset: -90px;
    background: radial-gradient(
        circle,
        rgba(200, 16, 46, .55),
        transparent 70%
    );
    filter: blur(40px);
    animation: pulse 6s ease infinite;
}

.logo {
    width: clamp(280px, 45vw, 700px);
    height: auto;
    position: relative;
    z-index: 2;

    animation: logoFloat 6s ease-in-out infinite;

    filter:
        drop-shadow(0 0 14px rgba(200, 16, 46, .35))
        drop-shadow(0 0 30px rgba(200, 16, 46, .25));
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: .4;
    }

    50% {
        transform: scale(1.1);
        opacity: .8;
    }
}

@keyframes logoFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* MENU */

.menu-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.item {
    position: relative;
    overflow: hidden;

    height: 56px;
    padding: 0 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    text-decoration: none;

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);

    background: rgba(255, 255, 255, .08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        transform .4s ease,
        border-color .4s ease,
        background .4s ease,
        box-shadow .4s ease;
}

.item img {
    max-width: 210px;
    max-height: 28px;
    object-fit: contain;
    z-index: 2;
    transition: .4s;
}

.item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, .4),
        transparent
    );

    transform: skewX(-25deg);
    transition: left .9s ease;
}

.item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    box-shadow: 0 0 0 rgba(216, 178, 110, 0);
    transition: .4s;
}

.item:hover {
    transform: translateY(-4px);

    border-color: rgba(216, 178, 110, .8);

    background: rgba(255, 255, 255, .12);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .35),
        0 0 25px rgba(216, 178, 110, .20);
}

.item:hover::before {
    left: 150%;
}

.item:hover::after {
    box-shadow: 0 0 25px rgba(216, 178, 110, .25);
}

.item:hover img {
    transform: scale(1.08);
}

/* SOCIAL */

.social {
    margin-top: 40px;
}

.social a {
    display: inline-block;
    margin: 0 15px;

    color: #fff;
    text-decoration: none;

    transition: .3s;
}

.social a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

/* FOOTER */

.footer {
    margin-top: 25px;
    color: #b6b6b6;
    font-size: .9rem;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .hero {
        padding: 20px;
    }

    .logo {
        width: 85vw;
    }

    .menu-preview {
        grid-template-columns: 1fr;
    }

    .social a {
        margin: 10px;
    }
}
