/* CSS Variables */
:root {
    --color-primary: #d62828;
    --color-primary-dark: #9b1818;
    --color-secondary: #fcbf49;
    --color-accent: #f77f00;
    --color-dark: #1a1a1a;
    --color-text: #2c3e50;
    --color-text-light: #7f8c8d;
    --color-bg-light: #f8f9fa;
    --color-white: #ffffff;
    --color-success: #27ae60;
    --color-warning: #f39c12;

    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;

    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);

    --container-max: 1140px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

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

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

ul {
    list-style: none;
}

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

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

.section-label {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

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

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

.btn--secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn--secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn--large {
    padding: 16px 48px;
    font-size: 1.125rem;
}

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

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

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-primary);
}

.nav__menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 25px;
}

.nav__link--cta:hover {
    background: var(--color-primary-dark);
}

.nav__link--cta::after {
    display: none;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(214, 40, 40, 0.85) 0%, rgba(26, 26, 26, 0.7) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

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

.stars {
    display: flex;
    gap: 4px;
}

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

.star--half {
    position: relative;
    overflow: hidden;
}

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

.hero__rating-text {
    font-size: 1rem;
}

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

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    animation: bounce 2s infinite;
    z-index: 2;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--color-white);
}

.about__text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about__text p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--color-text-light);
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.feature__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.feature__text {
    color: var(--color-text-light);
}

/* Menu Section */
.menu {
    padding: 6rem 0;
    background: var(--color-bg-light);
}

.menu__intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.menu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu-item {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.menu-item__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.menu-item__name {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    color: var(--color-dark);
    flex: 1;
}

.menu-item__price {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.25rem;
    white-space: nowrap;
    margin-left: 1rem;
}

.menu-item__description {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

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

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge--spicy {
    background: #ffe5e5;
    color: var(--color-primary);
}

.badge--gf {
    background: #e8f5e9;
    color: var(--color-success);
}

.menu__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
}

.info-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.info-card p {
    color: var(--color-text-light);
}

/* Reviews Section */
.reviews {
    padding: 6rem 0;
    background: var(--color-white);
}

.reviews__stats {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: 12px;
}

.reviews__overall {
    text-align: center;
}

.reviews__score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.stars--large .star {
    font-size: 2rem;
}

.reviews__count {
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

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

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

.rating-bar__label {
    min-width: 40px;
    font-weight: 600;
    color: var(--color-text);
}

.rating-bar__bg {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar__fill {
    height: 100%;
    background: var(--color-secondary);
    transition: width 1s ease;
}

.rating-bar__count {
    min-width: 30px;
    text-align: right;
    color: var(--color-text-light);
}

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

.review-card {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.review-card__date {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

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

.review-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.review-badge {
    background: var(--color-white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.review-card__ratings {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Opening Hours Section */
.hours {
    padding: 6rem 0;
    background: var(--color-dark);
    color: var(--color-white);
}

.hours .section-label {
    color: var(--color-secondary);
}

.hours .section-title {
    color: var(--color-white);
}

.hours__grid {
    max-width: 600px;
    margin: 0 auto;
}

.hours__day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hours__label {
    font-weight: 600;
}

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

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

.hours__note {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(252, 191, 73, 0.1);
    border-radius: 8px;
    color: var(--color-secondary);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--color-bg-light);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.contact__item {
    display: flex;
    gap: 1.5rem;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact__icon {
    font-size: 2rem;
}

.contact__details h3 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.contact__details p {
    color: var(--color-text-light);
}

.contact__details a {
    color: var(--color-primary);
    font-weight: 600;
}

.contact__details a:hover {
    text-decoration: underline;
}

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

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    text-align: center;
}

.cta__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta__text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.footer__text {
    color: var(--color-text-light);
    line-height: 1.8;
}

.footer__links h4,
.footer__contact h4 {
    margin-bottom: 1rem;
    color: var(--color-white);
}

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

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

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

.footer__contact p {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.footer__contact a {
    color: var(--color-secondary);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 3rem;
    }

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

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

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

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

    .menu__grid,
    .reviews__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 24px;
    }

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