/* CSS Variables */
:root {
    --primary-color: #c8302e;
    --secondary-color: #00a652;
    --accent-color: #d4a574;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --gray-light: #f8f8f8;
    --gray-medium: #e0e0e0;
    --gray-dark: #666666;
    --text-primary: #333333;
    --text-secondary: #666666;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --max-width: 1140px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-color);
    overflow-x: hidden;
}

/* Base Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Components */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section__subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--light-color);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.navbar__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.navbar__logo {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 0;
}

.navbar__tagline {
    color: var(--secondary-color);
    font-size: 0.875rem;
    font-style: italic;
}

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar__link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.navbar__link:hover::after,
.navbar__link.active::after {
    width: 100%;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.navbar__toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--dark-color);
    transition: var(--transition);
}

.navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar__toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 0;
    overflow: hidden;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__slide.active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    padding: 0 20px;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero__rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.rating__stars {
    display: flex;
    gap: 2px;
}

.star {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.star.filled {
    color: var(--accent-color);
}

.star.half {
    position: relative;
    color: var(--gray-medium);
}

.star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: var(--accent-color);
}

.rating__text {
    font-size: 1.1rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn--primary {
    background: var(--primary-color);
    color: var(--light-color);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    background: #b02826;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background: var(--light-color);
    color: var(--dark-color);
}

.btn--secondary:hover {
    background: var(--gray-light);
}

.btn__icon {
    font-size: 1.2rem;
}

/* About Section */
.about__content {
    display: grid;
    gap: 2rem;
}

.about__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gray-light);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid var(--gray-medium);
}

.about__location {
    text-align: center;
}

.about__location h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Features Section */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature__card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-medium);
}

.feature__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature__title {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.feature__description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Services Section */
.services__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service__group {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.service__group-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service__list {
    list-style: none;
}

.service__list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

/* Hours Section */
.hours__grid {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hours__day {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-medium);
}

.hours__day:last-child {
    border-bottom: none;
}

.hours__day.current {
    background: var(--primary-color);
    color: var(--light-color);
}

.hours__day-name {
    font-weight: 600;
}

.hours__time {
    color: var(--secondary-color);
}

.hours__day.current .hours__time {
    color: var(--light-color);
}

.hours__time.closed {
    color: var(--primary-color);
}

/* Gallery Section */
.gallery__categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.gallery__filter {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--gray-medium);
    background: var(--light-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.gallery__filter.active,
.gallery__filter:hover {
    background: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.gallery__item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery__item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery__item:hover img {
    transform: scale(1.1);
}

/* Reviews Section */
.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
}

.reviews__rating {
    text-align: center;
    border-right: 1px solid var(--gray-medium);
    padding-right: 2rem;
}

.reviews__score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.reviews__stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 0.5rem;
}

.reviews__count {
    color: var(--text-secondary);
}

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.distribution__row span:first-child {
    width: 30px;
    text-align: right;
    color: var(--text-secondary);
}

.distribution__bar {
    flex: 1;
    height: 8px;
    background: var(--gray-medium);
    border-radius: 4px;
    overflow: hidden;
}

.distribution__fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
}

.distribution__row span:last-child {
    width: 30px;
    text-align: left;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.reviews__carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review__card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.review__card:hover {
    box-shadow: var(--shadow-md);
}

.review__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review__stars {
    display: flex;
    gap: 2px;
    color: var(--accent-color);
}

.review__date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.review__text {
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.review__details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review__tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gray-light);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.reviews__tags {
    text-align: center;
}

.reviews__tags h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.tags__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--light-color);
    border: 1px solid var(--gray-medium);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Order Section */
.order__platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.order__platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: var(--light-color);
    border: 2px solid var(--gray-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

.order__platform:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.platform__logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.platform__logo.wolt {
    background: #00c2e8;
    color: white;
}

.platform__logo.pyszne {
    background: #ff8000;
    color: white;
}

.platform__logo.uber {
    background: #000000;
    color: #06c167;
}

.platform__logo.bolt {
    background: #34d186;
    color: white;
}

.platform__action {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Similar Section */
.similar__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.similar__card {
    padding: 1.5rem;
    background: var(--light-color);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.similar__card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.similar__name {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.similar__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.similar__count {
    font-size: 0.9rem;
}

/* Contact Section */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact__label {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact__link {
    color: var(--text-primary);
    font-weight: 500;
}

.contact__link:hover {
    color: var(--primary-color);
}

.contact__map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact__map iframe {
    border-radius: var(--border-radius);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__brand h3 {
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

.footer__brand p {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

.footer h4 {
    color: var(--light-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer__links ul {
    list-style: none;
}

.footer__links a {
    color: var(--gray-medium);
}

.footer__links a:hover {
    color: var(--light-color);
}

.footer__hours p,
.footer__delivery p {
    color: var(--gray-medium);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #b02826;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Media Queries */
@media (max-width: 1023px) {
    .navbar__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--light-color);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

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

    .reviews__rating {
        border-right: none;
        border-bottom: 1px solid var(--gray-medium);
        padding-right: 0;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .section {
        padding: 60px 0;
    }

    .hero {
        height: 80vh;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

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

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

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

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

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

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .rating__stars {
        font-size: 1.2rem;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}