:root {
    --main-accent: #F34A48;
    --dark-accent: #0F0F0F;
    --light-accent: #F5F0F0;
    --nav-height: 95px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
}

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

ul, li {
    list-style: none;
}

.container {
    width: min(90%, 1800px); 
    margin-inline: auto;
}

.red {
    color: var(--main-accent);
}

.dark {
    color: var(--dark-accent);
}

.light {
    color: var(--light-accent);
}

section {
    scroll-margin-top: var(--nav-height);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Buttons */

.btn {
    padding: 25px;
    border: 1px solid var(--light-accent);
    border-radius: 50px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
    background: var(--light-accent);
    color: var(--main-accent);
    box-shadow: 0 6px 20px rgba(245, 240, 240, 0.3);
}

.btn:hover {
    background: none;
    color: var(--light-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 15, 15, 0.2);
}

.btn:active {
    transform: translateY(0) scale(0.97);
    box-shadow: none;
}

.linkBtn {
    display: flex;
    align-items: end;
    text-decoration: none;
    color: var(--dark-accent);
    font-size: 2rem;
    line-height: 0.75;
    height: fit-content;
    z-index: 10;
    text-wrap: nowrap;
}

.linkBtn::after {
    content: "";
    width: 1rem;
    height: 1rem;
    margin-left: 5px;
    background: var(--dark-accent);
    -webkit-mask: url('public/svg/arrow.svg') no-repeat center / contain;
    mask: url('public/svg/arrow.svg') no-repeat center / contain;
}

.linkBtn.red {
    color: var(--main-accent);
}

.linkBtn.red::after {
    background: var(--main-accent);
}

.linkBtn.light {
    color: var(--light-accent);
}

.linkBtn.light::after {
    background: var(--light-accent);
}

.menuBtn.linkBtn::after {
    transform: rotate(135deg);
}

.section-header {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 500;
    text-align: left;
    line-height: 0.75;
    margin-bottom: 50px;
}

/* Navbar */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--light-accent);
    font-size: 1rem;
    z-index: 1000;
    background: var(--main-accent);
    font-weight: 600;
    border-bottom: 1px solid var(--light-accent);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.logo:hover {
    transform: scale(1.08);
}

.nav-links-centered {
  list-style: none;
  display: flex;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link a {
    position: relative;
    transition: opacity 0.3s ease;
}

.nav-link a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--light-accent);
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link a:hover::after,
.nav-link.active a::after {
    width: 100%;
    left: 0;
}

.hamburger {
    display: none;
}

.hamburger .bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--light-accent);
    margin: 8px 0;
    transition: 0.4s;
}

/* Header */

.hero {
    width: 100%;
    height: 100svh;
    background: var(--main-accent);
    position: relative;
    padding-top: var(--nav-height);
    color: var(--light-accent);
    border-bottom: 1px solid var(--light-accent);
}

.header-wrapper {
    position: relative;
    height: calc(100svh - var(--nav-height));
    min-height: 400px;
    z-index: 1;
}

.header-title {
    font-size: 8rem;
    font-weight: 500;
    text-align: left;
    line-height: 0.75;
}

.header-subtitle {
    position: relative;
    font-size: 3rem;
    font-weight: 300;
    margin-left: 1.5%;
    margin-right: 1%;
}

.header-text-top, .header-text-bottom {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.header-text-top {
    position: absolute;
    top: 5%;
    z-index: 1;
}

.header-text-bottom {
    position: absolute;
    bottom: 5%;
    text-align: right;
}

.plate-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.plate-centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    max-width: 120%;
    max-height: 120%;
    height: auto;
    object-fit: contain;
    overflow: hidden;
    display: flex;
    opacity: 0;
    pointer-events: none;
}

.plate-centered.active {
    opacity: 1;
    pointer-events: auto;
}

.plate-centered.active.initial-entrance {
    opacity: 0;
}

.plate-centered.slide-in-left {
    animation: plateSlideInLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.plate-centered.active.slide-out-right {
    animation: plateSlideOutRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

/* About */

.about {
    background: var(--light-accent);
    color: var(--dark-accent);
    padding: 50px 0;
}

.about .section-header {
    color: var(--dark-accent);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-lead-card {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--main-accent);
    border-radius: 20px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    color: var(--light-accent);
}

.about-lead-card .linkBtn {
    color: var(--light-accent);
    align-self: flex-start;
}

.about-lead-card .linkBtn::after {
    background: var(--light-accent);
}

.about-lead {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-lead strong {
    font-weight: 700;
}

.about-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.about-card:hover {
    background: #fff;
    border-color: rgba(243, 74, 72, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(243, 74, 72, 0.1);
}

.about-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(243, 74, 72, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-accent);
    flex-shrink: 0;
}

.about-card-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.about-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.about-card-text strong {
    color: var(--dark-accent);
}

.about-content a {
    color: var(--main-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Menu */

.menu {
    padding: 50px 0;
    background: var(--light-accent);
}

.menu-header-wrapper {
    display: flex;
    justify-content: space-between;
}

.menu-tabs {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    min-width: 768px;
    width: 65%;
    margin-inline: auto;
    text-align: center;
}

.menu-tab {
    font-size: 1rem;
    padding: 25px;
    cursor: pointer;
    border-radius: 50px;
    border: 1px solid var(--dark-accent);
    text-wrap: nowrap;
    flex: 1 1 0;
    background: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.menu-tab:hover:not(.active) {
    background: var(--dark-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(15, 15, 15, 0.15);
}

.menu-tab:active {
    transform: translateY(0) scale(0.97);
}

.menu-tab.active {
    background: var(--main-accent);
    color: #fff;
    border: 1px solid var(--main-accent);
    box-shadow: 0 4px 15px rgba(243, 74, 72, 0.3);
}

.menu-items-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.menu-item-hidden {
    display: none;
    content-visibility: auto;
}

.menu-item.visible:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(243, 74, 72, 0.1);
    border-color: rgba(243, 74, 72, 0.3);
}

.menu-item-left {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.menu-item-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.menu-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-item.visible:hover .menu-item-img {
    transform: scale(1.06);
}

.menu-item-text-wrapper {
    padding: 20px 22px 12px;
}

.menu-item-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-accent);
    margin-bottom: 4px;
}

.menu-item-desc {
    font-size: 0.88rem;
    color: #888;
    line-height: 1.4;
}

.menu-item-price {
    padding: 0 22px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--main-accent);
    margin-top: auto;
}

.menu-item-unit {
    font-size: 0.8rem;
    font-weight: 500;
    color: #aaa;
}

/* Allergen notice */

.menu-allergen-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 32px;
    padding: 16px 20px;
    background: #FFF5F3;
    border: 1px solid rgba(243, 74, 72, 0.15);
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #666;
}

.menu-allergen-notice svg {
    flex-shrink: 0;
    color: var(--main-accent);
    margin-top: 2px;
}

.menu-allergen-notice strong {
    color: var(--dark-accent);
}

/* Reviews Section */

.reviews-container {
    padding: 50px 0;
    background: var(--light-accent);
    position: relative;
    overflow: hidden;
}

.reviews-container::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -15%;
    width: 55%;
    height: 180%;
    background: radial-gradient(ellipse, rgba(243, 74, 72, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.reviews-container::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -15%;
    width: 55%;
    height: 180%;
    background: radial-gradient(ellipse, rgba(243, 74, 72, 0.04) 0%, transparent 65%);
    pointer-events: none;
}

.reviews-container .section-header {
    color: var(--dark-accent);
}

.review-quote-icon {
    width: 36px;
    height: 36px;
    color: var(--main-accent);
    flex-shrink: 0;
    opacity: 0.8;
}

.review {
    padding: 32px 28px;
    border-radius: 16px;
    display: flex !important;
    flex-direction: column;
    text-align: left;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    gap: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    margin: 10px 0;
    height: calc(100% - 20px);
}

.review:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(243, 74, 72, 0.1);
    background: #fff;
    border-color: rgba(243, 74, 72, 0.3);
}

.reviews-slider .swiper-wrapper {
    align-items: stretch !important;
}

.swiper-slide {
    height: auto !important;
    position: relative;
}

.review-text {
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-accent), #e03533);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.review-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-author {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-accent);
}

.review-stars {
    color: #f5b731;
    font-size: 14px;
    letter-spacing: 2px;
}

.swiper-pagination {
    position: static !important;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    gap: 6px;
}

.swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease-in-out;
    width: 8px !important;
    height: 8px !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--main-accent) !important;
    width: 24px !important;
    height: 8px !important;
    border-radius: 4px !important;
}

.reviews-source-note {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 28px;
}

.review-google-link {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.review-google-link:hover {
    background: rgba(66, 133, 244, 0.1);
    transform: scale(1.1);
}

.review-google-link svg {
    flex-shrink: 0;
}

/* Locations Section */

.locations {
    padding: 50px 0;
    background-color: var(--light-accent);
}

.locations-wrapper {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.locations-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.location-card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.location-card.visible:hover {
    border-color: rgba(243, 74, 72, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(243, 74, 72, 0.1);
}

.location-card-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.location-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--main-accent);
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -1px;
}

.location-header-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.location-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-accent);
}

/* Location open/closed badge */

.location-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.location-status-badge.open {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.location-status-badge.closed {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.location-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #666;
    flex-wrap: wrap;
}

.location-hours svg {
    color: var(--main-accent);
    flex-shrink: 0;
}

.location-hours-divider {
    color: #ccc;
}

.location-phone {
    font-size: 0.88rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.location-phone a {
    color: var(--dark-accent);
    font-weight: 600;
}

.location-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.btn-small {
    padding: 10px 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--main-accent);
    color: #fff;
    border: 1px solid var(--main-accent);
    transition: all 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-small svg {
    flex-shrink: 0;
}

.btn-small.outline {
    background: transparent;
    color: var(--dark-accent);
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.btn-small:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 18px rgba(243, 74, 72, 0.35);
}

.btn-small:active {
    transform: translateY(0) scale(0.97);
    box-shadow: none;
}

.btn-small.outline:hover {
    background: var(--dark-accent);
    color: #fff;
    border-color: var(--dark-accent);
    box-shadow: 0 6px 18px rgba(15, 15, 15, 0.2);
}

.btn-small.outline:active {
    background: var(--dark-accent);
    color: #fff;
    transform: translateY(0) scale(0.97);
    box-shadow: none;
}

.delivery-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.delivery-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.partner-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.partner-badge:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.partner-badge:active {
    transform: translateY(0) scale(0.95);
    box-shadow: none;
}

.partner-badge  img {
    width: 48px;
    height: 48px;
}

.delivery-row .icon {
    color: var(--main-accent);
    font-size: 1.1em;
}

.map-container {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-popup {
    font-family: Montserrat, sans-serif;
    min-width: 300px;
}

.leaflet-popup-content p {
    margin: 0 !important;
}

.leaflet-top {
    z-index: 999 !important;
}

.leaflet-bottom {
    z-index: 999 !important;
}

.map-popup-header {
    font-size: 15px;
    font-weight: 700;
    color: var(--main-accent);
    border-bottom: 2px solid var(--main-accent);
    padding-bottom: 10px;
}

.map-popup-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.map-popup-phone {
    font-size: 15px;
    font-weight: 600;
    color: var(--main-accent);
    margin: 0;
}

.map-popup-hours {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.map-popup-hours strong {
    color: var(--dark-accent);
    font-size: 15px;
    display: block;
    margin-bottom: 5px;
}

.map-popup-hours span {
    display: block;
    margin: 2px 0;
    font-size: 14px;
}

.map-popup-buttons {
    display: flex;
    gap: 8px;
}

.map-popup-btn {
    flex: 1;
    padding: 10px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid;
    cursor: pointer;
    display: block;
}

.map-popup-btn.primary {
    background: var(--main-accent);
    color: #fff;
    border-color: var(--main-accent);
}

.map-popup-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 74, 72, 0.4);
}

.map-popup-btn.primary:active {
    transform: translateY(0) scale(0.97);
    box-shadow: none;
}

.map-popup-btn.outline {
    background: transparent;
    color: var(--dark-accent);
    border-color: var(--dark-accent);
}

.map-popup-btn.outline:hover {
    background: var(--dark-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 15, 15, 0.2);
}

.map-popup-btn.outline:active {
    transform: translateY(0) scale(0.97);
    box-shadow: none;
}

/* Back to top button */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--main-accent);
    color: var(--light-accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(243, 74, 72, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #e03533;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 74, 72, 0.4);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
}

/* Modal zdjęć menu */

.image-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 12px;
    background: rgba(15, 15, 15, 0.85);
    z-index: 1500;
    padding: 20px;
}

.image-modal.open {
    display: flex;
}

.image-modal-img {
    width: min(90vw, 900px);
    max-height: 75vh;
    border-radius: 15px;
    object-fit: contain;
}

.image-modal-caption {
    color: var(--light-accent);
    font-weight: 600;
}

.image-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--light-accent);
    background: transparent;
    color: var(--light-accent);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.image-modal-close:hover {
    background: rgba(245, 240, 240, 0.15);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(245, 240, 240, 0.2);
}

.image-modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

@media (max-width: 1024px) {
    .locations-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .map-container {
        height: 400px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .location-card {
        flex-direction: column;
        align-items: stretch;
    }

    .location-card-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }

    .location-number {
        font-size: 1.6rem;
    }

    .location-actions {
        width: 100%;
        flex-direction: row;
    }
    
    .btn-small {
        flex-grow: 1;
    }

    .location-hours {
        display: grid;
        grid-template-columns: 16px 1fr;
        align-items: center;
        gap: 0 6px;
    }

    .location-hours svg {
        grid-row: 1 / -1;
        align-self: center;
    }

    .location-hours p,
    .location-hours .location-hours-divider {
        grid-column: 2;
    }

    .location-hours-divider {
        display: none;
    }
}

/* Footer */

footer {
    padding: 50px 0;
    background: var(--dark-accent);
    color: var(--light-accent);
    justify-content: space-between;
    align-items: center;
}

footer .order-link {
    color: var(--light-accent);
}

footer a {
    color: var(--light-accent);
}

.footer-header-wrapper {
    display: flex;
    justify-content: space-between;
    line-height: 0.8;
    margin-bottom: 50px;
}

.footer-btns {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.footer-btns .linkBtn {
    margin-bottom: 10px;
}

.footer-header {
    font-size: 5rem;
    font-weight: 500;
    white-space: nowrap;
}

.footer-locations {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-contact-info {
    min-width: 400px;
    flex-grow: 1;
}

.contact-info-item:first-child {
    border-top: 1px solid var(--light-accent);
}

.contact-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--light-accent);
    padding: 25px 0;
}

.footer-info-title {
    font-size: 1.5rem;
}

.policy {
    margin-top: 30px;
    font-size: 14px;
    color: gray;
    display: flex;
    justify-content: space-between;
}

.policy a {
    color: gray;
}

@media (max-width: 1280px) {
    .plate-centered {
        transform: translate(-50%, -50%) scale(0.6);
    }

    .footer-header {
        font-size: 4rem;
    }

    .footer-btns .linkBtn {
        font-size: 1.5rem;
    }
}

@media (max-width: 1024px) {
    /* Menu */

    .menu-tabs {
        min-width: unset;
        width: 100%;
    }

    .menu-items-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    /* Footer */
    
    .footer-header {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    /* Hero */

    .header-title {
        font-size: 5rem;
    }

    .header-subtitle {
        font-size: 2rem;
        margin-left: 0;
    }

    .linkBtn {
        font-size: 1.6rem;
    }

    .nav-elements {
        position: fixed;
        display: flex;
        right: 0;
        top: calc( var(--nav-height) + 1px );
        flex-direction: column;
        background: var(--main-accent);
        width: 100%;
        height: calc(100vh - var(--nav-height) - 1px);
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        will-change: transform;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        z-index: 1000;
    }

    .nav-elements.active {
        transform: translateX(0);
    }

    .nav-links-centered {
        position: static;
        transform: none;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-link a {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
        background: none;
        border: none;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .plate-centered {
        transform: translate(-50%, -50%) scale(0.9);
    }

    /* About */

    .about-content {
        font-size: 1rem;
    }

    .about-lead {
        font-size: 1.05rem;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-lead-card {
        grid-column: span 2;
        grid-row: span 1;
    }

    /* Menu */

    .menu-tabs {
        justify-content: left;
    }

    .menu-tab {
        flex-grow: 1;
    }

    .menu-items-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .menu-item-name {
        font-size: 1.05rem;
    }

    .menu-item-price {
        font-size: 1rem;
    }

    /* Footer */

    footer {
        padding: 25px 0;
    }

    .footer-header-wrapper {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .footer-header {
        font-size: 2rem;
    }

    .footer-btns {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }

    .footer-btns .linkBtn {
        font-size: 1rem;
    }

    .footer-contact-info {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 512px) {
    /* Hero */

    .header-title {
        font-size: 4rem;
    }

    .header-subtitle {
        font-size: 2rem;
    }

    .linkBtn {
        font-size: 1.5rem;
    }

    /* About */

    .about-content {
        gap: 14px;
        font-size: 0.95rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-lead-card {
        grid-column: span 1;
        padding: 28px 24px;
    }

    .about-lead {
        font-size: 1rem;
    }

    /* Menu */

    .menu-items-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .menu-item-name {
        font-size: 0.95rem;
    }

    .menu-item-text-wrapper {
        padding: 14px 16px 8px;
    }

    .menu-item-price {
        padding: 0 16px 14px;
        font-size: 0.95rem;
    }

    .menu-item-desc {
        font-size: 0.8rem;
    }

    /* Footer */

    .footer-contact-info .right {
        text-wrap: nowrap;
    }

    .footer-info-title {
        font-size: 1.2rem;
    }

    .policy {
        flex-direction: column-reverse;
        gap: 10px;
    }
}

@media (max-width: 420px) {
    /* Hero */

    .header-title {
        font-size: 3rem;
    }

    .header-subtitle {
        font-size: 1.5rem;
    }

    .linkBtn {
        font-size: 1rem;
    }

    .plate-centered {
        transform: translate(-50%, -50%) scale(0.9);
    }

    /* Menu */

    .menu-items-container {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATIONS ===== */

/* --- Keyframes --- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.7);
    }
}

@keyframes floatPlate {
    0% {
        transform: translate(-50%, -50%) scale(0.7) rotate(0deg);
    }
    25% {
        transform: translate(-50%, calc(-50% - 6px)) scale(0.7) rotate(2deg);
    }
    50% {
        transform: translate(-50%, calc(-50% - 12px)) scale(0.7) rotate(0deg);
    }
    75% {
        transform: translate(-50%, calc(-50% - 6px)) scale(0.7) rotate(-2deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(0.7) rotate(0deg);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Plate slider keyframes --- */

@keyframes plateSlideInLeft {
    0% {
        opacity: 0;
        transform: translate(calc(-50% - 120%), -50%) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.7);
    }
}

@keyframes plateSlideOutRight {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.7);
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + 120%), -50%) scale(0.5);
    }
}

/* --- Hero entrance animations --- */

.header-text-top {
    opacity: 0;
    animation: fadeInDown 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.header-text-bottom {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.plate-centered.active.initial-entrance {
    animation: scaleIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards,
               floatPlate 4s ease-in-out 1.6s infinite;
}

.plate-centered.active:not(.initial-entrance):not(.slide-in-left) {
    animation: floatPlate 4s ease-in-out infinite;
}

/* --- Scroll reveal system --- */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-left {
    transform: translateX(-60px);
}

.reveal.reveal-right {
    transform: translateX(60px);
}

.reveal.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Staggered menu items --- */

.menu-item {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

.menu-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-item.delay-done {
    transition-delay: 0s !important;
    will-change: auto;
}

/* --- Location cards stagger --- */

.location-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.location-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer items stagger --- */

.footer-contact-info {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-contact-info.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Button hover effects --- */

.linkBtn {
    transition: transform 0.3s ease, gap 0.3s ease;
}

.linkBtn::after {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.linkBtn:hover {
    transform: translateX(4px);
}

.linkBtn:hover::after {
    transform: translateX(3px);
}

.menuBtn.linkBtn:hover::after {
    transform: rotate(135deg) translateX(3px);
}

.linkBtn:active {
    transform: translateX(2px) scale(0.97);
}

/* --- Menu tab switch animation --- */

.menu-items-container.switching {
    opacity: 0;
}

/* --- Respect reduced motion --- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .menu-item,
    .location-card,
    .footer-contact-info {
        opacity: 1;
        transform: none;
    }

    .plate-centered.active {
        opacity: 1;
    }

    .header-text-top,
    .header-text-bottom {
        opacity: 1;
    }
}

/* Float plate scale adjustments per breakpoint */

@media (max-width: 1280px) {
    @keyframes scaleIn {
        from {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.3);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%) scale(0.6);
        }
    }

    @keyframes floatPlate {
        0% {
            transform: translate(-50%, -50%) scale(0.6) rotate(0deg);
        }
        25% {
            transform: translate(-50%, calc(-50% - 5px)) scale(0.6) rotate(2deg);
        }
        50% {
            transform: translate(-50%, calc(-50% - 10px)) scale(0.6) rotate(0deg);
        }
        75% {
            transform: translate(-50%, calc(-50% - 5px)) scale(0.6) rotate(-2deg);
        }
        100% {
            transform: translate(-50%, -50%) scale(0.6) rotate(0deg);
        }
    }

    @keyframes plateSlideInLeft {
        0% {
            opacity: 0;
            transform: translate(calc(-50% - 120%), -50%) scale(0.4);
        }
        100% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(0.6);
        }
    }

    @keyframes plateSlideOutRight {
        0% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(0.6);
        }
        100% {
            opacity: 0;
            transform: translate(calc(-50% + 120%), -50%) scale(0.4);
        }
    }
}

@media (max-width: 768px) {
    @keyframes scaleIn {
        from {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.4);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%) scale(0.9);
        }
    }

    @keyframes floatPlate {
        0% {
            transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
        }
        25% {
            transform: translate(-50%, calc(-50% - 4px)) scale(0.9) rotate(1.5deg);
        }
        50% {
            transform: translate(-50%, calc(-50% - 8px)) scale(0.9) rotate(0deg);
        }
        75% {
            transform: translate(-50%, calc(-50% - 4px)) scale(0.9) rotate(-1.5deg);
        }
        100% {
            transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
        }
    }

    @keyframes plateSlideInLeft {
        0% {
            opacity: 0;
            transform: translate(calc(-50% - 120%), -50%) scale(0.65);
        }
        100% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(0.9);
        }
    }

    @keyframes plateSlideOutRight {
        0% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(0.9);
        }
        100% {
            opacity: 0;
            transform: translate(calc(-50% + 120%), -50%) scale(0.65);
        }
    }
}

/* ===== Cookie Consent Banner ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--dark-accent);
    color: var(--light-accent);
    padding: 0;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    pointer-events: none;
}

.cookie-consent.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-consent-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    min-width: 280px;
}

.cookie-consent-content a {
    color: var(--main-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent-content a:hover {
    opacity: 0.8;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-btn:hover {
    opacity: 0.9;
    transform: scale(1.03);
}

.cookie-btn-accept {
    background: var(--main-accent);
    color: #fff;
}

.cookie-btn-reject {
    background: transparent;
    color: var(--light-accent);
    border: 1px solid rgba(245, 240, 240, 0.3);
}

.cookie-btn-reject:hover {
    border-color: rgba(245, 240, 240, 0.6);
}

@media (max-width: 600px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        padding: 18px 16px;
        gap: 16px;
    }

    .cookie-consent-content p {
        min-width: unset;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
}