/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* Colors - Casual Pizza Theme */
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --primary-light: #ff6b6b;
    --secondary: #f39c12;
    --secondary-dark: #d68910;

    --bg-dark: #1a1a1a;
    --bg-medium: #2c2c2c;
    --bg-light: #f8f9fa;
    --text-dark: #2c3e50;
    --text-medium: #555;
    --text-light: #fff;
    --border: #ddd;

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

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

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

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

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

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

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

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn--primary {
    background: var(--primary);
    color: var(--text-light);
}

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

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

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

.icon {
    width: 24px;
    height: 24px;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: var(--transition);
}

.navbar--scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

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

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

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition);
}

.navbar__menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.navbar__link {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

.navbar__link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar__link--cta {
    background: var(--primary);
    border-radius: 50px;
}

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

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

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

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

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

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

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease 0.4s both;
}

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

.star {
    font-size: 1.5rem;
}

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

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

.star--half::after {
    content: '★';
    position: absolute;
    left: 0;
    color: #ccc;
    clip-path: inset(0 50% 0 0);
}

.star--empty {
    color: #ccc;
}

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

.hero__buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero__info {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

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

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    cursor: pointer;
    animation: bounce 2s infinite;
}

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

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

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

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.about__text {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about__text p {
    margin-bottom: var(--spacing-sm);
}

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

.feature {
    background: white;
    padding: var(--spacing-md);
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.feature__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature__title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.feature__text {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--spacing-xl) 0;
    background: white;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-sm);
    stroke: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    stroke: var(--text-light);
}

.service-card__title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
}

.service-card__text {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

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

.gallery__item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

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

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

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__overlay svg {
    width: 48px;
    height: 48px;
    stroke: white;
}

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews {
    padding: var(--spacing-xl) 0;
    background: white;
}

.reviews__stats {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 10px;
}

.reviews__overall {
    text-align: center;
    padding: var(--spacing-md);
}

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

.reviews__count {
    color: var(--text-medium);
    margin-top: var(--spacing-xs);
}

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.review-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

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

.review-bar__track {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

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

.review-bar__count {
    min-width: 30px;
    text-align: right;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.reviews__slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.reviews__track {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews__track::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-width: 350px;
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

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

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

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

.review-badge {
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.reviews__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.reviews__nav:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.reviews__nav svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.reviews__nav--prev {
    left: 0;
}

.reviews__nav--next {
    right: 0;
}

.reviews__tags {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.reviews__tags-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    justify-content: center;
}

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

/* ===================================
   HOURS SECTION
   =================================== */
.hours {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.hours__grid {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.hours__day {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm);
    background: white;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
}

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

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

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--spacing-xl) 0;
    background: white;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact__item {
    display: flex;
    gap: var(--spacing-sm);
}

.contact__icon {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
    flex-shrink: 0;
}

.contact__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact__text {
    line-height: 1.8;
    color: var(--text-medium);
}

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

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

.contact__hint {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-top: 0.3rem;
}

.contact__map iframe {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.footer__text {
    opacity: 0.8;
    line-height: 1.8;
}

.footer__subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

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

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

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* ===================================
   LIGHTBOX
   =================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 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: 90vh;
    object-fit: contain;
}

.lightbox__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox__close:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox__close svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox__nav:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox__nav svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.lightbox__nav--prev {
    left: 2rem;
}

.lightbox__nav--next {
    right: 2rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1023px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        gap: var(--spacing-sm);
        transition: var(--transition);
        padding: var(--spacing-lg);
    }

    .navbar__menu--active {
        right: 0;
    }

    .navbar__link {
        font-size: 1.2rem;
    }

    /* Hero */
    .hero__buttons {
        flex-direction: column;
    }

    .hero__info {
        flex-direction: column;
        align-items: center;
    }

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

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

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

    /* Reviews */
    .reviews__slider {
        padding: 0 50px;
    }

    .review-card {
        min-width: 280px;
    }

    .reviews__nav {
        width: 35px;
        height: 35px;
    }

    /* Lightbox */
    .lightbox__nav {
        width: 40px;
        height: 40px;
    }

    .lightbox__nav--prev {
        left: 1rem;
    }

    .lightbox__nav--next {
        right: 1rem;
    }

    .lightbox__close {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero__title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
    }
}

/* ===================================
   ANIMATIONS & EFFECTS
   =================================== */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease forwards;
}

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

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal--active {
    opacity: 1;
    transform: translateY(0);
}
