/*ROOT VARIABLES*/

:root {
    /* Colors */
    --maincolor: #B88B4A;
    --pluscolor: #CEAF82;
    --pluscolor2: #523f2f;
    --hovercolor: #fff0cb;
    --buttoncolor: #715841;
    --text-color: #242331;
    --text-color2: #ffe6a7;

    /* Fonts */
    --main-font: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --style-font: 'Georgia', 'Times New Roman', Times, serif;
    --font-weight: 400;
    --font-weight-bold: 500;

    /* Fluid Typography */
    --fs-display: clamp(2rem, 1.2rem + 4vw, 4rem);
    --fs-h2: clamp(1.625rem, 1rem + 3.125vw, 3rem);
    --fs-h3: clamp(1.25rem, 0.9rem + 1.75vw, 2rem);
    --fs-h4: clamp(1rem, 0.85rem + 0.75vw, 1.5rem);
    --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --fs-small: clamp(0.875rem, 0.825rem + 0.25vw, 1rem);
    --fs-desc: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);

    /* Fluid Spacing */
    --space-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
    --space-sm: clamp(0.75rem, 0.5rem + 1.25vw, 1.25rem);
    --space-md: clamp(1.25rem, 0.75rem + 2.5vw, 2.5rem);
    --space-lg: clamp(2rem, 1rem + 5vw, 4rem);
    --space-xl: clamp(3rem, 1.5rem + 7.5vw, 6.25rem);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 10px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-card-hover: 0 15px 35px rgba(0, 0, 0, 0.2);

    /* Borders */
    --border-accent: 2px solid var(--pluscolor2);
    --border-gold: 3px solid var(--maincolor);

    /* Transitions */
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/*RESET*/

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: clip;
    background-color: var(--maincolor);
    font-weight: var(--font-weight);
    font-family: var(--main-font);
    color: var(--text-color);
    font-size: var(--fs-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease-out);
}

ul {
    list-style: none;
}

/*ACCESSIBILITY*/

/* Focus visible */
*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--text-color2);
    outline-offset: 4px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background-color: var(--pluscolor2);
    color: var(--text-color2);
    font-weight: 700;
    border-radius: 0 0 8px 8px;
    transition: top 0.3s var(--ease-out);
}

.skip-link:focus {
    top: 0;
}

/* Visually hidden*/
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .entrance,
    .slide-left,
    .slide-right,
    #hero h1,
    #hero p,
    #hero .hero-cta {
        opacity: 1 !important;
        transform: none !important;
    }
}

/*TYPOGRAPHY*/

h1,
h2,
h3,
h4,
h5,
.price {
    font-weight: var(--font-weight-bold);
    font-family: var(--style-font);
    text-wrap: balance;
}

h1 {
    font-size: var(--fs-display);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

h4,
.price {
    font-size: var(--fs-h4);
}

p {
    text-wrap: pretty;
}

hr {
    border: 1px solid var(--pluscolor);
    margin: 10px 0;
    width: 100%;
}

/*LAYOUT*/

header,
section,
footer {
    display: flex;
    justify-content: center;
    width: 100%;
}

section {
    padding: var(--space-lg) 20px;
}

.container,
#top-nav {
    max-width: 1500px;
    width: 100%;
}

.container {
    justify-content: center;
}

/*HEADER*/

header {
    padding: 5px 20px;
    background-color: var(--pluscolor);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    border-bottom: var(--border-accent);
    transition: height 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
    font-weight: bold;
    letter-spacing: 1px;
}

header.scrolled {
    height: 75px;
    box-shadow: var(--shadow-md);
    background-color: rgba(206, 175, 130, 0.95);
    backdrop-filter: blur(8px);
}

header.scrolled #logo {
    height: 60px;
}

#top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#logo-container {
    display: flex;
    align-items: center;
}

#logo {
    height: 70px;
    width: auto;
    transition: height 0.3s var(--ease-out);
}

nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: clamp(15px, 3vw, 40px);
}

/* Nav links */
.navlink {
    display: block;
    color: var(--text-color);
    transition: color 0.3s var(--ease-out);
    padding: 10px 5px;
    position: relative;
    font-weight: 500;
}

.navlink:hover {
    background-color: transparent;
}

.navlink::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 50%;
    background-color: var(--pluscolor2);
    transition: width 0.3s var(--ease-out);
    transform: translateX(-50%);
}

.navlink:hover::after,
.navlink.active-link::after {
    width: 100%;
}

.navlink.active-link {
    color: var(--pluscolor2);
}

/* HAMBURGER */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    cursor: pointer;
    padding: 10px;
    gap: 6px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    z-index: 1001;
    transition: transform 0.3s var(--ease-out);
}

.hamburger span {
    display: block;
    height: 3px;
    width: 28px;
    background-color: var(--pluscolor2);
    border-radius: 4px;
    transition: all 0.3s var(--ease-bounce);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/*HERO & BUTTONS*/

#first-section {
    padding: 0;
}

.hero-container {
    max-width: 100%;
    padding: 0;
}

#hero {
    clip-path: polygon(100% 0, 100% calc(100% - 4vw), 50% 100%, 0 calc(100% - 4vw), 0 0);
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url("photo/hero.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: clamp(500px, 92vh, 900px);
    color: var(--text-color2);
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    padding: 40px 20px 80px 20px;
}

#hero h1 {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

#hero p {
    max-width: 700px;
    font-size: var(--fs-desc);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.button {
    padding: 15px 30px;
    border-radius: 50px;
    width: 100%;
    max-width: 250px;
    display: inline-block;
    font-family: var(--main-font);
    font-weight: 600;
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}

#hero .btn-primary {
    background-color: var(--text-color2);
    color: var(--text-color);
    border: 2px solid var(--text-color2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#hero .btn-primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(255, 230, 167, 0.4);
}

#hero .btn-outline {
    background-color: transparent;
    color: var(--text-color2);
    border: 2px solid var(--text-color2);
    backdrop-filter: blur(4px);
}

#hero .btn-outline:hover {
    background-color: rgba(255, 230, 167, 0.1);
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/*ABOUT SECTION*/

.about-section {
    padding: var(--space-xl) 20px;
    background-color: var(--maincolor);
    position: relative;
    z-index: 1;
}

/* Nagłówek */
.about-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.about-header h2 {
    color: var(--pluscolor2);
    font-size: var(--fs-h2);
    font-weight: var(--font-weight);
    letter-spacing: 1px;
}

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    width: 100%;
}

@media (min-width: 650px) {
    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1080px) {
    .about-features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: clamp(20px, 2vw, 40px);
    }
}

.feature-card {
    background-color: var(--pluscolor);
    border-radius: 12px;
    padding: clamp(30px, 3vw, 40px) 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    translate: 0 0;
    transition: translate 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    height: 100%;
}

.feature-card:hover {
    translate: 0 -12px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon img {
    opacity: 1;
    filter: brightness(0.2) sepia(1) hue-rotate(330deg) saturate(0.5);
    width: clamp(35px, 4vw, 45px);
    height: auto;
    object-fit: contain;
    transform: scale(1);
    transition: transform 0.4s var(--ease-bounce);
}

.feature-card:hover .feature-icon img {
    transform: scale(1.15);
}

/*MENU SECTION (PREMIUM ELEGANCE)*/

#offer {
    background-color: var(--pluscolor2);
    padding: var(--space-xl) 20px;
    color: var(--text-color2);
}

.offer-header {
    margin-bottom: var(--space-lg);
}

.offer-header h2 {
    color: var(--maincolor);
    font-size: var(--fs-h2);
    margin-bottom: 10px;
}

.offer-header p {
    font-size: var(--fs-body);
    opacity: 0.8;
}

#menu-container {
    max-width: 1100px;
    margin: 0 auto;
}

/*Tabs*/
.menu-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
}

.menu-category.tab {
    flex: 1;
    min-width: 150px;
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--hovercolor);
    border: none;
    padding: 18px 10px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--style-font);
    font-size: var(--fs-body);
    font-weight: var(--font-weight-bold);
    transition: all 0.3s var(--ease-out);
}

.menu-category.tab img {
    filter: brightness(0) invert(0.9);
    transition: transform 0.3s ease;
}

.menu-category.tab:hover {
    background-color: rgba(255, 240, 203, 0.1);
}

.menu-category.tab.active {
    background-color: var(--hovercolor);
    color: var(--pluscolor2);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.menu-category.tab.active img {
    filter: brightness(0.2) sepia(1) hue-rotate(330deg) saturate(0.5);
    transform: scale(1.1);
}

.content-wrapper {
    background-color: var(--hovercolor);
    color: var(--text-color);
    border-radius: 0 0 16px 16px;
    padding: clamp(30px, 4vw, 50px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.menu-categories .tab:first-child:not(.active)~.content-wrapper {
    border-top-left-radius: 16px;
}

.menu-panel {
    display: none;
    opacity: 0;
    animation: slideUpFade 0.5s ease-out forwards;
}

.menu-panel.active {
    display: block;
}

.menu-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 850px) {
    .menu-grid-layout {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .menu-grid-layout.reverse-layout .menu-list {
        order: 2;
    }

    .menu-grid-layout.reverse-layout .menu-image-container {
        order: 1;
    }
}

.panel-title {
    font-size: var(--fs-h3);
    color: var(--pluscolor2);
    margin-bottom: 30px;
    text-align: left;
    border-bottom: 2px solid var(--maincolor);
    padding-bottom: 10px;
    display: inline-block;
}

.menu-item {
    margin-bottom: 25px;
}

.item-header {
    display: flex;
    align-items: baseline;
    margin-bottom: 5px;
}

.item-header h4 {
    font-family: var(--style-font);
    font-size: var(--fs-h4);
    color: var(--text-color);
    margin: 0;
    text-transform: capitalize;
}

.item-header .dots {
    flex-grow: 1;
    border-bottom: 2px dotted rgba(82, 63, 47, 0.3);
    margin: 0 15px;
    position: relative;
    top: -5px;
}

.item-header .price {
    font-family: var(--main-font);
    font-weight: 700;
    font-size: var(--fs-body);
    color: var(--maincolor);
    white-space: nowrap;
}

.menu-item .desc {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    line-height: 1.4;
    max-width: 85%;
}

.menu-image-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.menu-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    pointer-events: none;
}

.menu-image-container img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.menu-image-container:hover img {
    transform: scale(1.05);
}

/*REVIEWS SECTION*/

#reviews {
    padding: var(--space-xl) 20px;
    background-color: var(--maincolor);
}

.review-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.review-header h2 {
    color: var(--pluscolor2);
    font-size: var(--fs-h2);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
}

@media (min-width: 650px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1080px) {
    .reviews-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.review-card {
    background-color: var(--pluscolor);
    border-radius: 16px;
    padding: clamp(30px, 3vw, 40px) 25px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    translate: 0 0;
    transition: translate 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    height: 100%;
}

.review-card:hover {
    translate: 0 -12px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

.quote-mark {
    position: absolute;
    top: -10px;
    right: 15px;
    font-family: var(--style-font);
    font-size: 160px;
    line-height: 1;
    color: var(--pluscolor2);
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

/* Gwiazdki */
.review-card .stars {
    color: var(--hovercolor);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* Tekst opinii */
.review-text {
    font-style: italic;
    color: var(--text-color);
    font-size: var(--fs-desc);
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* Profil autora na dole */
.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(82, 63, 47, 0.15);
    padding-top: 20px;
    margin-top: auto;
}

.reviewer img {
    opacity: 1;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--text-color2);
    padding: 6px;
    border: 2px solid var(--pluscolor2);
}

.person-name {
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--pluscolor2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/*GALLERY*/

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.img1 {
    grid-row: span 2 / span 2;
}

.img2 {
    grid-column-start: 1;
    grid-row-start: 3;
}

.img3 {
    grid-row: span 3 / span 3;
    grid-column-start: 2;
    grid-row-start: 1;
}

.img4 {
    grid-column-start: 3;
    grid-row-start: 1;
}

.img5 {
    grid-row: span 2 / span 2;
    grid-column-start: 3;
    grid-row-start: 2;
}

.img6 {
    grid-row: span 3 / span 3;
    grid-column-start: 4;
    grid-row-start: 1;
}

.grid-gallery>div {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    translate: 0 0;
}

.gallery-inner h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--pluscolor2);
}

.grid-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.6s var(--ease-out);
}

.grid-gallery>div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
    z-index: 1;
    pointer-events: none;
}

.grid-gallery>div:hover img {
    transform: scale(1.04);
}

.grid-gallery>div:hover::before {
    opacity: 1;
}

/*CONTACT SECTION*/

#contact {
    padding: var(--space-xl) 20px;
    background-color: var(--pluscolor2);
    color: var(--text-color2);
}

.contact-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.contact-header h2 {
    color: var(--maincolor);
    margin-bottom: 10px;
}

.contact-header p {
    font-size: var(--fs-body);
    color: rgba(255, 230, 167, 0.8);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 850px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    min-height: 350px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    filter: sepia(30%) contrast(0.9) saturate(0.8);
}

.form-container {
    background-color: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 230, 167, 0.08);
    padding: clamp(30px, 4vw, 40px);
    border-radius: 12px;
    position: relative;
}

.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-family: var(--style-font);
    font-size: 0.95rem;
    color: var(--maincolor);
    font-weight: var(--font-weight-bold);
    letter-spacing: 1px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 230, 167, 0.15);
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--text-color2);
    font-size: 1rem;
    font-family: var(--main-font);
    transition: all 0.3s var(--ease-out);
    resize: none;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(255, 230, 167, 0.4);
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--maincolor);
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(184, 139, 74, 0.15);
}

.btn-submit {
    display: block;
    width: 100% !important;
    max-width: 70%;
    margin: 0 auto;
    background-color: var(--pluscolor);
    color: var(--pluscolor2);
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s var(--ease-out);
}

.btn-submit:hover {
    background-color: var(--text-color2);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.privacy-note {
    font-size: 0.8rem;
    color: rgba(255, 230, 167, 0.5);
    text-align: center;
    margin-top: 15px;
}

/* Success Message State */
.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: 100%;
    justify-content: center;
}

.success-message:not([hidden]) {
    display: flex;
}

.success-icon {
    color: var(--maincolor);
}

/*FOOTER SECTION (Premium Architecture)*/

footer {
    border-top: var(--maincolor) solid 2px;
}

#footer {
    background-color: var(--pluscolor2);
    color: var(--text-color2);
    padding: clamp(50px, 6vw, 80px) 20px 30px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 230, 167, 0.1);
    align-items: start;
}

@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
    }

    .brand-col {
        grid-column: 1 / -1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .brand-col p {
        max-width: 500px;
    }
}

@media (min-width: 980px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 30px;
    }

    .brand-col {
        grid-column: auto;
        text-align: left;
        align-items: flex-start;
    }

    .brand-col p {
        max-width: 280px;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.brand-col a {
    display: inline-block;
    transition: opacity 0.3s var(--ease-out);
}

.brand-col a:hover {
    opacity: 0.8;
}

.brand-col p {
    line-height: 1.6;
    color: rgba(255, 230, 167, 0.7);
}

.footer-col h4 {
    color: var(--pluscolor);
    font-size: 1.15rem;
    font-family: var(--style-font);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.footer-col address,
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-style: normal;
    color: rgba(255, 230, 167, 0.7);
}

.footer-col ul li span {
    color: var(--text-color2);
    display: inline-block;
    min-width: 85px;
}

.footer-col a {
    color: inherit;
    transition: color 0.3s var(--ease-out);
}

.footer-col a:hover {
    color: var(--maincolor);
}

/*Social Ikony*/
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-color2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 230, 167, 0.2);
    border-radius: 50%;
    transition: all 0.3s var(--ease-out);
}

.social-links a:hover {
    background-color: var(--maincolor);
    border-color: var(--maincolor);
    color: var(--pluscolor2);
    transform: translateY(-4px);
    box-shadow: 0 4px 15px rgba(184, 139, 74, 0.2);
}

/*Prawa Autorskie*/
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.85rem;
    color: rgba(255, 230, 167, 0.5);
}

.signature-link {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease, opacity 0.3s ease;
}

.signature-link:hover {
    opacity: 0.8;
    border-bottom-color: currentColor;
}


@media (min-width: 850px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    color: rgba(255, 230, 167, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    font-weight: 600;
}

.footer-nav a:hover {
    color: var(--maincolor);
}

.creator-badge a {
    color: var(--maincolor);
    font-weight: 700;
    position: relative;
}

.creator-badge a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--maincolor);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.creator-badge a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/*ANIMATIONS — KEYFRAMES*/

@keyframes Entrance {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes SlideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes SlideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.entrance,
.slide-left,
.slide-right,
#hero h1,
#hero p,
#hero .hero-cta {
    opacity: 0;
}

#hero h1 {
    animation: Entrance 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.1s;
}

#hero p {
    animation: Entrance 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.3s;
}

#hero .hero-cta {
    animation: Entrance 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.5s;
}

.entrance.visible {
    animation: Entrance 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.slide-left.visible {
    animation: SlideLeft 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.slide-right.visible {
    animation: SlideRight 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-02 {
    animation-delay: 0.15s !important;
}

.delay-04 {
    animation-delay: 0.3s !important;
}

.delay-06 {
    animation-delay: 0.45s !important;
}

.delay-08 {
    animation-delay: 0.6s !important;
}

/*AUTOFILL FIX*/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px var(--hovercolor) inset;
    -webkit-text-fill-color: var(--text-color);
    transition: background-color 5000s ease-in-out 0s;
}

/*MEDIA QUERIES*/

@media (max-width: 1080px) {

    .menu-grid-layout,
    .menu-grid-layout.reverse-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .menu-grid-layout.reverse-layout .menu-list {
        order: unset;
    }

    .menu-grid-layout.reverse-layout .menu-image-container {
        order: unset;
    }

    .menu-image-container {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
        aspect-ratio: 16 / 9;
    }

    .menu-image-container img {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 800px) {
    header {
        height: 65px;
    }

    header.scrolled {
        height: 60px;
    }

    #logo {
        height: 50px;
    }

    .hamburger {
        display: flex;
        z-index: 10001;
        position: relative;
    }

    .hamburger.active span {
        background-color: var(--maincolor);
    }

    header nav ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(82, 63, 47, 0.97);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 10000;
    }

    header nav ul.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navlink {
        font-family: var(--style-font);
        font-size: 2.2rem;
        color: var(--text-color2);
        padding: 10px 20px;
        letter-spacing: 2px;
    }

    .navlink::after {
        display: none;
    }

    .navlink.active-link {
        color: var(--text-color2);
    }

    .navlink:active {
        color: var(--maincolor);
    }

    /* BEZPIECZNE ANIMACJE NA TELEFONY */
    .slide-left.visible,
    .slide-right.visible {
        animation: Entrance 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .menu-categories {
        gap: 10px;
        margin-bottom: 25px;
    }

    .menu-category.tab {
        flex: 1 1 calc(50% - 10px);
        min-width: unset;
        border-radius: 12px !important;
    }

    .menu-category.tab.active {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
    }

    .content-wrapper {
        border-radius: 16px !important;
    }
}

@media (max-width: 500px) {
    .menu-categories {
        gap: 8px;
    }

    .menu-category.tab {
        flex: 1 1 calc(50% - 8px);
        padding: 12px 5px;
        flex-direction: column;
        gap: 5px;
        font-size: 0.9rem;
    }

    .content-wrapper {
        padding: 25px 15px;
    }

    .footer-grid {
        gap: 30px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/*GALLERY*/
@media (max-width: 820px) {
    .grid-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 15px;
    }

    .img1 {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .img2 {
        grid-column: 1;
        grid-row: 3 / span 1;
    }

    .img3 {
        grid-column: 2;
        grid-row: 1 / span 3;
    }

    .img4 {
        grid-column: 2;
        grid-row: 4 / span 1;
    }

    .img5 {
        grid-column: 2;
        grid-row: 5 / span 2;
    }

    .img6 {
        grid-column: 1;
        grid-row: 4 / span 3;
    }
}

@media (max-width: 400px) {
    .grid-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 10px;
    }

    .grid-gallery>div {
        grid-column: auto !important;
        grid-row: auto !important;
        aspect-ratio: 1 / 1;
    }
}