* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-shadow: 2px 2px 4px #000;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
    font-family: Arial, sans-serif;
    background-color: #000;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 1000;
}

footer {
    position: relative;
    background-color: #00000079;
    width: 100%;
    height: 2rem;
    color: white;
}

h2 {
    font-size: 3rem;
}

p {
    font-size: large;
}

.logo-placeholder {
    width: 60x;
    height: 60px;
    border-radius: 50%;
}

.logo-placeholder img {
    width: 60px;
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.phone-btn {
    background-color: yellow;
    color: black;
    padding: 0.5rem 0.5rem;
    border-radius: 5px;
    font-weight: bold;
}

section {
    /* wymiary i położenie */
    min-height: 70vh;
    width: 100%;
    align-content: center;
    max-width: 1200px;
    margin: 2rem auto;
    /* odstęp od góry i dołu + wyśrodkowanie */
    padding: 2rem;
    position: relative;

    /* wygląd „kafla” */
    background-clip: padding-box;
    /* żeby cień i obrys nie nachodziły na zawartość */
    border-radius: 50px;
    /* zaokrąglone krawędzie */
    box-shadow:
        0 0px 5px #ffbb006e,
        /* główny cień */
        0 0 15px rgba(252, 252, 252, 0.2);
    /* lekka rozproszona poświata */

    /* animacja przewijania */
    opacity: 0.5;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

section:hover {
    transform: translateY(-5px);
}

section div {
    margin: auto;
}


.segment.visible {
    opacity: 1;
    transform: translateY(0);
}

.segment {
    width: 95%;
    padding: 2rem;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    max-width: 100%;
    background-color: #1e272e;
    background: url('./assets/background.jpg') center/cover no-repeat;
    background-size: cover;
    resize: both;
    overflow: scroll;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 0;
    margin: none;
    box-shadow: none;
    border-radius: 0px;
    margin-top: 0px;
    opacity: 1 !important;
    transform: none !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Ciemna nakładka */
    z-index: 1;
    margin: none;
    box-shadow: none;
}

.hero>* {
    position: relative;
    z-index: 2;
    /* Aby tekst był ponad nakładką */
}

.main h1 {
    font-size: 4rem;
    color: white;
    text-shadow: 4px 4px 6px #000;
}

.main h2 {
    font-size: 3rem;
    text-shadow: 4px 4px 6px #000;
    margin-top: 2rem;
}

#main {
    border: none;
    box-shadow: none;
    height: 90vh;
}

#main-phone-btn {
    width: 90%;
    height: 15%;
    border-radius: 25px;
    font-size: xx-large;
    text-wrap: wrap;
    max-width: 500px;
    margin-top: 2rem;
}

#open {
    text-align: left;
}

.about {
    background-color: rgba(168, 101, 35, 0.8);
    flex-direction: row;
    margin-top: 2%;
    display: flex;
    flex-wrap: wrap;
}

.about-left,
.about-right {
    flex: 1;
    padding: 1rem;
    width: 50%;
}

.about-left {
    background-color: rgba(255, 255, 255, 0.2);
    height: 100%;
}

.about-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    font-size: large;
}

.about img {
    width: 100%;
    height: auto;
}

@media (max-width: 500px) {
    .about {
        flex-direction: column-reverse;
    }

    .about-left,
    .about-right {
        padding: 5%;
        width: 90%;
    }

    .segment {
        padding: 5%;
    }
}


.socials {
    background-color: rgba(255, 193, 122, 0.8);
}

.contact {
    background-color: rgba(236, 199, 110, 0.8);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.about-content,
.socials-content,
.contact-content {
    max-width: 800px;
}

.reference {
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 10px;
    font-weight: bold;
    font-size: xx-large;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reference:hover {
    box-shadow: 0px 0px 15px black;
}

.socials a {
    text-decoration: dashed;
}



.map-container {
    margin-top: 2rem;
    max-width: 100%;
    height: 300px;
    border: none;
}

.bouncy-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

#bouncer {
    padding: 2rem;
}

.bouncy-image {
    width: 200px;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.bouncy-image.animate {
    animation: bounce 0.4s ease;
}

@keyframes bounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.2);
    }

    60% {
        transform: scale(0.9);
    }

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

/* MENU */
section.menu {
    min-height: 100px;
    margin: 5%;
    width: 100%;
    margin: auto;
    margin-top: 3rem;
}

#menu-main a {
    text-decoration: underline;
    color: orange;
}

table.menu {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    background-color: #ac8d07b6;
    word-wrap: break-word;
}

table.menu tr {
    border: 3px solid #ccc;
}

table.menu th {
    background-color: #facc00b6;
    font-size: 1em;
}

table.menu th,
table.menu td {
    border: 1px solid #ccc;
    padding: 8px;
    word-wrap: break-word;
    white-space: normal;
}

.number {
    text-align: center;
    background-color: #f2f2f28c;
    font-weight: bold;
}

.name {
    font-size: 0.8em;
    font-weight: bold;
}

.ingredients {
    color: #ffffff;
    font-size: 0.7em;
    font-weight: bold;
}

.price-cell {
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 1em;
}

#arrow {
    font-size: xx-large;
    position: fixed;
    color: black;
    top: 80%;
    left: 0;
    background-color: rgba(255, 255, 0, 0.664);
    padding: 15px;
    border-radius: 60px;
    z-index: 2;
}

#menu-main h1 {
    font-size: 4rem;
}