/* ========================================
   CSS Variables & Custom Properties
   ======================================== */
:root {
    --primary-color: #e53935;
    --primary-dark: #c62828;
    --primary-light: #ff6f60;
    --secondary-color: #ffc107;
    --secondary-dark: #ffa000;

    --text-dark: #212121;
    --text-medium: #424242;
    --text-light: #757575;
    --text-white: #ffffff;

    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.6);

    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

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

    --container-width: 1140px;
    --header-height: 70px;
}

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

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

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

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

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

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

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

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

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

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    font-size: 0.9rem;
}

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

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

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

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

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

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

.navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

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

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

.navbar__toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

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

.navbar__link {
    color: var(--text-medium);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

.navbar__link:hover,
.navbar__link.active {
    color: var(--primary-color);
}

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

/* ========================================
   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-container {
    width: 100%;
    height: 100%;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

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

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

.star {
    font-size: 1.5rem;
    color: #ccc;
}

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

.star.half {
    background: linear-gradient(90deg, var(--secondary-color) 50%, #ccc 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--bg-light);
    padding: 60px 0;
}

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

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

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

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

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

.feature__text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--bg-white);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about__text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about__text p {
    margin-bottom: 20px;
    color: var(--text-medium);
    line-height: 1.8;
}

.about__highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.highlight {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.highlight__icon {
    font-size: 2rem;
}

.highlight h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

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

.about__image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about__image:hover img {
    transform: scale(1.05);
}

/* ========================================
   Popular Items Section
   ======================================== */
.popular {
    background: var(--bg-light);
}

.popular__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tag {
    padding: 10px 25px;
    background: var(--bg-white);
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-medium);
    border: 2px solid var(--border-color);
    transition: all var(--transition-fast);
}

.tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

.popular__description p {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery {
    background: var(--bg-white);
}

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

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

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

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

.gallery__icon {
    font-size: 3rem;
    color: var(--text-white);
}

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

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

/* ========================================
   Reviews Section
   ======================================== */
.reviews {
    background: var(--bg-light);
}

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 50px;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.reviews__score {
    text-align: center;
    padding: 20px;
}

.reviews__score-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

.reviews__score-stars {
    margin-bottom: 10px;
}

.reviews__score-stars .star {
    font-size: 1.8rem;
}

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

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.distribution-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.distribution-label {
    min-width: 50px;
    font-weight: 500;
    color: var(--text-medium);
}

.distribution-track {
    flex: 1;
    height: 10px;
    background: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.distribution-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    transition: width var(--transition-slow);
}

.distribution-count {
    min-width: 40px;
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
}

.reviews__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.review {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

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

.review__stars {
    display: flex;
    gap: 3px;
}

.review__stars .star {
    font-size: 1.2rem;
}

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

.review__text {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 15px;
}

.review__details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.review__badge {
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-medium);
    border: 1px solid var(--border-color);
}

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

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

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

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

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.info-card__icon {
    font-size: 2rem;
}

.info-card__content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-card__content p,
.info-card__content a {
    color: var(--text-medium);
    line-height: 1.6;
}

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

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
    color: var(--text-dark);
}

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

.time {
    color: var(--text-medium);
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 50px 0 20px;
}

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

.footer__section h3,
.footer__section h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer__text {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer__links,
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a,
.footer__contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

/* ========================================
   Lightbox Modal
   ======================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    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: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--text-white);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10000;
}

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

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: var(--text-white);
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.lightbox__nav--prev {
    left: 30px;
}

.lightbox__nav--next {
    right: 30px;
}

.lightbox__counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
}

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

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --container-width: 960px;
    }

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

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

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

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

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 100px 30px 30px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
        gap: 20px;
    }

    .navbar__menu.active {
        right: 0;
    }

    .navbar__link {
        font-size: 1.1rem;
        width: 100%;
        padding: 10px 0;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

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

    .section {
        padding: 60px 0;
    }

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

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

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

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

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

    .lightbox__nav {
        width: 50px;
        height: 50px;
        font-size: 3rem;
    }

    .lightbox__nav--prev {
        left: 10px;
    }

    .lightbox__nav--next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

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

    .btn {
        padding: 10px 25px;
        font-size: 0.85rem;
    }

    .navbar__logo-text {
        font-size: 1.5rem;
    }

    .contact__map {
        height: 300px;
    }
}
