/* ===========================================
   CSS Variables
   =========================================== */
:root {
    --primary-color: #d4272e;
    --primary-dark: #a81f25;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-white: #fff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --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: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1140px;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    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);
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

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

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

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

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

/* ===========================================
   Navigation
   =========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.navbar--scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

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

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.navbar__logo-icon {
    font-size: 2rem;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
}

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

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

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

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

.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__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.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(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

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

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

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

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.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: #ffd700;
}

.star--filled {
    color: #ffd700;
}

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

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

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

/* ===========================================
   Buttons
   =========================================== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    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);
}

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

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

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

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

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

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

.about__item-text {
    color: var(--text-light);
    line-height: 1.7;
}

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

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

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

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

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

.gallery__item.hidden {
    display: none;
}

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

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

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

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

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

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

.reviews__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    padding: 40px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.reviews__score {
    text-align: center;
}

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

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

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

.reviews__bar-container {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 10px;
    align-items: center;
}

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

.reviews__bar {
    height: 8px;
    background-color: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.reviews__bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: width 1s ease;
}

.reviews__bar-count {
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.review-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    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: 15px;
}

.review-card__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

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

.review-card__rating-badge {
    padding: 5px 12px;
    background-color: var(--bg-light);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}

.review-card__images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.review-card__image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.review-card__image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.review-card__source {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* ===========================================
   Opening Hours Section
   =========================================== */
.hours__content {
    max-width: 600px;
    margin: 0 auto;
}

.hours__list {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

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

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

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

.hours__item--special {
    background-color: rgba(212, 39, 46, 0.05);
}

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

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

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

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

.contact__item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.contact__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact__details {
    flex: 1;
}

.contact__label {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact__text {
    color: var(--text-light);
    line-height: 1.7;
}

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

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

.contact__cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

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

.contact__map iframe {
    display: block;
    width: 100%;
}

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

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

.footer__title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

.footer__links {
    display: flex;
    gap: 40px;
}

.footer__heading {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--text-white);
    padding-left: 5px;
}

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

.footer__copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===========================================
   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;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

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

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

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

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

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

.lightbox__prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ===========================================
   Utilities
   =========================================== */
.hidden {
    display: none !important;
}

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

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

.slide-up {
    animation: slideUp 0.6s ease;
}

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

/* ===========================================
   Responsive Design
   =========================================== */
@media (max-width: 1023px) {
    .section {
        padding: 60px 0;
    }

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

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

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

@media (max-width: 767px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .navbar__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

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

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

    .hours__item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .contact__cta {
        flex-direction: column;
    }

    .footer__links {
        flex-direction: column;
        gap: 30px;
    }

    .lightbox__close,
    .lightbox__prev,
    .lightbox__next {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
}

@media (max-width: 479px) {
    .hero {
        min-height: 500px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .section {
        padding: 40px 0;
    }

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