/* CSS Reset and Variables */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --background-color: #f8f9fa;
    --text-color: #333;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --success-color: #27ae60;
    --white: #ffffff;
    --black: #000000;
    --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 20px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 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;
}

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

.section {
    padding: 4rem 0;
}

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

.section__title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    position: relative;
}

.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-light);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

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

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

.btn--secondary:hover {
    background: #1a252f;
    transform: translateY(-2px);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

.navbar__container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.navbar__logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

.navbar__link:hover {
    color: var(--primary-color);
    background: rgba(231, 76, 60, 0.1);
}

.navbar__link--cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
}

.navbar__link--cta:hover {
    background: #c0392b;
    color: var(--white);
}

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

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

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

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

.hero__background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.8), rgba(44, 62, 80, 0.8));
}

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

.hero__title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.hero__info {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

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

.about__info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

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

.feature {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.feature__icon {
    font-size: 2rem;
    line-height: 1;
}

.feature__content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature__content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Services Section */
.services {
    background: var(--white);
}

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

.service-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

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

.service-card__title {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

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

.services__features {
    background: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
}

.services__features h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

.feature-tag {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Gallery Section */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

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

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

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

.gallery__item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
    opacity: 0;
    transition: var(--transition);
}

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

/* Reviews Section */
.reviews {
    background: var(--white);
}

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
}

.reviews__rating {
    text-align: center;
    padding: 1rem;
}

.reviews__score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.reviews__stars {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin: 0.5rem 0;
}

.reviews__count {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.distribution__row {
    display: grid;
    grid-template-columns: 60px 1fr 40px;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.distribution__bar {
    height: 20px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.distribution__fill {
    height: 100%;
    background: var(--accent-color);
    transition: width 1s ease-out;
}

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

.review-card {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

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

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

.review-card__rating {
    color: var(--accent-color);
}

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

.review-card__text {
    color: var(--text-color);
    line-height: 1.5;
    font-size: 0.95rem;
}

.review-card__details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Hours Section */
.hours__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.hours__schedule {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.hours__list {
    list-style: none;
}

.hours__item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.hours__item:hover {
    background: var(--background-color);
}

.hours__item.current {
    background: rgba(231, 76, 60, 0.1);
    border-left: 3px solid var(--primary-color);
}

.hours__popular {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.popular-times {
    margin: 1.5rem 0;
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
}

.popular-times__bar {
    flex: 1;
    background: var(--border-color);
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
    position: relative;
}

.popular-times__bar:hover {
    background: var(--primary-color);
}

.popular-times__bar::after {
    content: attr(data-hour);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--text-light);
}

.popular-times__legend {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 2rem;
}

/* Contact Section */
.contact {
    background: var(--white);
}

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

.contact__info {
    display: grid;
    gap: 1.5rem;
}

.contact__item {
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
}

.contact__item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

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

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

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

.similar__card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

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

.similar__card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.similar__rating {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    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(--white);
    margin-bottom: 0.5rem;
}

.footer__brand p {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer__contact p,
.footer__hours p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

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

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

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

.lightbox.active {
    display: flex;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease-out;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox__close:hover {
    transform: scale(1.2);
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 3rem;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

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

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

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

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .section__title {
        font-size: 2rem;
    }

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

    .services__grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

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

@media (max-width: 480px) {
    .hero__cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

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