/* CSS Variables */
:root {
    --primary-color: #d4a574;
    --secondary-color: #1a1a1a;
    --accent-color: #ff6b6b;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #fafafa;
    --bg-section: #ffffff;
    --border-color: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

ul {
    list-style: none;
}

/* Layout Components */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.section__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

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

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav__logo {
    display: flex;
    align-items: center;
}

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

.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.nav__toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-white);
    margin: 3px 0;
    transition: var(--transition);
}

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

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

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

.nav__menu {
    display: flex;
    gap: 32px;
}

.nav__link {
    color: var(--text-white);
    font-size: 0.975rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero__slide.active {
    opacity: 1;
}

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

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.7) 0%, rgba(26, 26, 26, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 32px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 165, 116, 0.2);
    border: 1px solid var(--primary-color);
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.hero__btn--primary {
    background: var(--primary-color);
    color: var(--secondary-color);
}

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

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

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

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

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about__description {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about__details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.about__detail {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.about__detail:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.about__detail-icon {
    font-size: 1.5rem;
}

.about__detail h4 {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.about__detail p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.about__hours {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--border-radius);
}

.about__hours h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.about__hours-list {
    margin-bottom: 24px;
}

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

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

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

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

.about__status {
    padding: 12px 20px;
    background: #4caf50;
    color: var(--text-white);
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
}

.about__status.closed {
    background: #f44336;
}

/* Features Section */
.features {
    background: var(--bg-light);
}

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

.features__card {
    background: var(--bg-section);
    padding: 32px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

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

.features__icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

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

.features__text {
    color: var(--text-light);
    line-height: 1.6;
}

.features__specialties {
    text-align: center;
}

.features__subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.features__tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.features__tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
}

.features__tag:hover {
    background: #c49560;
    transform: scale(1.05);
}

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

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    height: 250px;
}

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

.gallery__item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

.gallery__info {
    text-align: center;
    color: var(--text-light);
}

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

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--bg-section);
    border-radius: var(--border-radius);
}

.reviews__rating {
    text-align: center;
}

.reviews__score {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.reviews__stars {
    display: flex;
    justify-content: center;
    margin: 16px 0;
    font-size: 1.5rem;
}

.star {
    color: #ddd;
    position: relative;
}

.star.filled {
    color: #ffc107;
}

.star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #ffc107;
}

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

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

.reviews__bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews__bar-label {
    min-width: 40px;
    font-size: 0.875rem;
    color: var(--text-light);
}

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

.reviews__bar-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: var(--transition);
}

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

.reviews__carousel {
    position: relative;
    overflow: hidden;
    margin: 0 60px;
}

.reviews__track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.reviews__card {
    min-width: 100%;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .reviews__card {
        min-width: 50%;
    }
}

@media (min-width: 1024px) {
    .reviews__card {
        min-width: 33.333%;
    }
}

.reviews__card > div {
    background: var(--bg-section);
    padding: 24px;
    border-radius: var(--border-radius);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.reviews__card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.reviews__card-stars {
    color: #ffc107;
}

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

.reviews__card-text {
    flex: 1;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

.reviews__card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.reviews__card-badge {
    padding: 4px 8px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.reviews__controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.reviews__control {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-section);
    border-radius: 50%;
    transition: var(--transition);
}

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

.reviews__control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Delivery Section */
.delivery {
    background: var(--bg-section);
}

.delivery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.delivery__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
}

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

.delivery__logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    margin-bottom: 24px;
    font-weight: 700;
}

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

.delivery__text {
    color: var(--text-light);
    margin-bottom: 24px;
}

.delivery__btn {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.delivery__card:hover .delivery__btn {
    transform: translateX(4px);
}

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

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

.contact__info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.contact__item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact__item p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.contact__link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.contact__link:hover {
    transform: translateX(4px);
}

.contact__phone {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

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

.contact__services,
.contact__features {
    list-style: none;
}

.contact__services li,
.contact__features li {
    padding: 8px 0;
    color: var(--text-dark);
}

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

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

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

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.footer__subtitle {
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: var(--text-white);
}

.footer__text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.footer__payment {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.footer__payment-title {
    color: rgba(255, 255, 255, 0.7);
}

.footer__payment-method {
    padding: 4px 8px;
    background: rgba(212, 165, 116, 0.2);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-size: 0.875rem;
}

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

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

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

.footer__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer__tag {
    padding: 4px 12px;
    background: rgba(212, 165, 116, 0.2);
    border: 1px solid var(--primary-color);
    border-radius: 16px;
    font-size: 0.875rem;
}

.footer__address {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.footer__phone {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.footer__phone:hover {
    transform: translateX(4px);
}

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

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

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

.lightbox.active {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-white);
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    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;
    transition: var(--transition);
}

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

.lightbox__prev:hover,
.lightbox__next:hover {
    background: var(--primary-color);
}

.lightbox__container {
    max-width: 90%;
    max-height: 90%;
}

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

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

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

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

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

.slide-in {
    animation: slideIn 0.5s ease-in-out;
}

/* Media Queries */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .section__title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__link {
        color: var(--text-white);
        font-size: 1.125rem;
        padding: 16px 0;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__badges {
        gap: 8px;
    }

    .hero__badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

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

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

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

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

    .reviews__carousel {
        margin: 0;
    }

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

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

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

    .section {
        padding: 60px 0;
    }

    .section__header {
        margin-bottom: 40px;
    }
}

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

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__btn {
        width: 100%;
        justify-content: center;
    }

    .section__title {
        font-size: 1.75rem;
    }

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

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

/* Print Styles */
@media print {
    .navbar,
    .hero__actions,
    .gallery,
    .reviews__controls,
    .delivery,
    .lightbox {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
    }

    a {
        text-decoration: underline;
    }

    .section {
        page-break-inside: avoid;
    }
}