/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* Colors - Casual Pizza Restaurant Theme */
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ff5252;
    --secondary-color: #ffa726;
    --secondary-dark: #f57c00;
    --secondary-light: #ffb74d;

    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;

    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;

    --border-color: #e0e0e0;
    --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);

    /* Typography */
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --container-max: 1140px;
    --section-padding: 80px 0;
    --section-padding-mobile: 60px 0;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

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

.section {
    padding: var(--section-padding);
}

.section--gray {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Stars Rating */
.stars {
    display: inline-flex;
    gap: 4px;
}

.star {
    color: #ffa726;
    font-size: 20px;
}

.stars--large .star {
    font-size: 28px;
}

.star--full {
    color: #ffa726;
}

.star--partial {
    background: linear-gradient(90deg, #ffa726 70%, #e0e0e0 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-normal);
    text-align: center;
}

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

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

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

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

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-size: 0.875rem;
    border-radius: 20px;
    font-weight: 500;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

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

.navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.navbar__logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar__link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

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

.navbar__link--cta {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: 6px;
}

.navbar__link--cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

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

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 70px;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.85) 0%, rgba(183, 28, 28, 0.9) 100%);
    z-index: -1;
}

.hero__content {
    text-align: center;
    color: var(--text-white);
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 300;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.hero__rating-text {
    font-size: 1.125rem;
    font-weight: 500;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero__info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero__info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.hero__icon {
    width: 20px;
    height: 20px;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.hero__scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.hero__scroll-link svg {
    width: 24px;
    height: 24px;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about__description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.feature-card__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.feature-card__icon svg {
    width: 100%;
    height: 100%;
}

.feature-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

/* ===================================
   AMENITIES SECTION
   =================================== */
.amenities__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.amenity-card {
    background-color: var(--bg-white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.amenity-card__icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.amenity-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.amenity-card__text {
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.gallery__filter {
    padding: 10px 24px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery__item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.gallery__item.hidden {
    display: none;
}

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

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

.gallery__item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(211, 47, 47, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-button {
    width: 50px;
    height: 50px;
    background-color: var(--text-white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery__item-button svg {
    width: 24px;
    height: 24px;
}

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.reviews__summary-score {
    text-align: center;
}

.reviews__summary-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.reviews__summary-text {
    color: var(--text-light);
    margin-top: 10px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.rating-bar__label {
    min-width: 45px;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

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

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

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

.reviews__slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

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

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

.review-card__text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
}

.review-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.review-card__detail {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9375rem;
}

.review-card__detail-label {
    color: var(--text-light);
}

.review-card__detail-value {
    font-weight: 600;
    color: var(--text-dark);
}

.review-card__context {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.review-card__platform {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.875rem;
}

.review-card__platform svg {
    width: 20px;
    height: 20px;
}

.reviews__controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.reviews__control {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.reviews__control:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.reviews__control svg {
    width: 24px;
    height: 24px;
}

/* ===================================
   HOURS SECTION
   =================================== */
.hours__table {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hours__row {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
}

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

.hours__row--closed {
    background-color: var(--bg-light);
}

.hours__day {
    font-weight: 600;
    color: var(--text-dark);
}

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

.hours__row--closed .hours__time {
    color: var(--primary-color);
    font-weight: 600;
}

.hours__update {
    text-align: center;
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact__info-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact__info-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact__info-title svg {
    width: 24px;
    height: 24px;
}

.contact__info-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact__info-text--closed {
    color: var(--primary-color);
    font-weight: 600;
}

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

.contact__phone {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.25rem;
}

.contact__phone:hover {
    text-decoration: underline;
}

.contact__info-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.contact__info-link:hover {
    text-decoration: underline;
}

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

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0 30px;
}

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

.footer__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer__text {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__list li,
.footer__list a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer__list a:hover {
    color: var(--text-white);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
}

.footer__credits {
    margin-top: 5px;
}

/* ===================================
   LIGHTBOX
   =================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.lightbox__close {
    top: 20px;
    right: 20px;
}

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

.lightbox__close svg,
.lightbox__prev svg,
.lightbox__next svg {
    width: 24px;
    height: 24px;
}

/* ===================================
   FLOATING CTA
   =================================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--text-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.floating-cta:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.floating-cta svg {
    width: 28px;
    height: 28px;
}

.floating-cta span {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 2px;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(211, 47, 47, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

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

    .hero__title {
        font-size: 3rem;
    }

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

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

/* Mobile */
@media (max-width: 767px) {
    .section {
        padding: var(--section-padding-mobile);
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Navigation Mobile */
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-md);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__item {
        width: 100%;
        text-align: center;
    }

    .navbar__link {
        display: block;
        padding: 15px;
    }

    .navbar__link--cta {
        margin-top: 20px;
    }

    /* Hero Mobile */
    .hero {
        min-height: 100vh;
    }

    .hero__background {
        background-attachment: scroll;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
    }

    .hero__buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero__info {
        flex-direction: column;
        gap: 20px;
    }

    /* About Mobile */
    .about__features {
        grid-template-columns: 1fr;
    }

    /* Amenities Mobile */
    .amenities__grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    /* Gallery Mobile */
    .gallery__filters {
        gap: 10px;
    }

    .gallery__filter {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

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

    /* Reviews Mobile */
    .reviews__summary {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
    }

    .reviews__summary-number {
        font-size: 3rem;
    }

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

    /* Hours Mobile */
    .hours__row {
        padding: 15px 20px;
    }

    /* Footer Mobile */
    .footer__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Floating CTA Mobile */
    .floating-cta {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .floating-cta svg {
        width: 24px;
        height: 24px;
    }

    /* Lightbox Mobile */
    .lightbox__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .lightbox__prev,
    .lightbox__next {
        width: 40px;
        height: 40px;
    }

    .lightbox__prev {
        left: 10px;
    }

    .lightbox__next {
        right: 10px;
    }
}