/* =============================================
   CSS Variables & Reset
   ============================================= */

:root {
    /* Colors */
    --primary-color: #d4af37;
    --primary-dark: #b8941f;
    --primary-light: #f5deb3;
    --secondary-color: #8b4513;
    --accent-color: #ff6b35;

    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-light: #757575;
    --text-white: #ffffff;

    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-dark: #1a1a1a;
    --bg-overlay: rgba(0, 0, 0, 0.6);

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

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

    /* Spacing */
    --section-padding: 5rem 0;
    --container-width: 1140px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* =============================================
   Utilities
   ============================================= */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

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

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

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

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

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

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

/* =============================================
   Header & Navigation
   ============================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: var(--bg-dark);
    box-shadow: var(--shadow-md);
}

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

.nav__logo {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: var(--text-white);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

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

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

.nav__button {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-primary);
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.nav__button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

/* =============================================
   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: -1;
}

.hero__slider {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: kenburns 20s ease infinite;
}

@keyframes kenburns {
    0%, 100% { transform: scale(1); }
    50% { 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(139,69,19,0.5) 100%);
}

.hero__container {
    position: relative;
    z-index: 1;
}

.hero__content {
    text-align: center;
    color: var(--text-white);
}

.hero__title {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

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

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

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

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

.star.half {
    color: var(--primary-color);
    opacity: 0.5;
}

.rating-text {
    font-size: 1rem;
    opacity: 0.9;
}

.hero__badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.badge {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInUp 1s ease 1s both;
}

.scroll-down {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-white);
    border-radius: 50px;
    position: relative;
}

.scroll-down span {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--text-white);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

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

/* =============================================
   About Section
   ============================================= */

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.about__highlights {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

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

.highlight__icon {
    font-size: 2rem;
}

.highlight__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

.location-card {
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

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

.location-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.location-card__address {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.location-card__district {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.location-card__note {
    font-size: 0.875rem;
    opacity: 0.7;
    font-style: italic;
}

/* =============================================
   Features Section
   ============================================= */

.features {
    background: var(--bg-secondary);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

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

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

.feature-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

/* =============================================
   Gallery Section
   ============================================= */

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

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

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

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

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

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

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

/* =============================================
   Reviews Section
   ============================================= */

.reviews {
    background: var(--bg-secondary);
}

.reviews__summary {
    margin-bottom: 3rem;
}

.rating-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.rating-summary__score {
    text-align: center;
}

.score-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.rating-summary__text {
    color: var(--text-light);
    margin-top: 0.5rem;
}

.rating-summary__distribution {
    display: grid;
    gap: 0.75rem;
}

.rating-bar {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 1rem;
    align-items: center;
}

.rating-bar__label {
    font-weight: 600;
    color: var(--text-secondary);
}

.rating-bar__track {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar__fill {
    height: 100%;
    background: var(--primary-color);
    transition: width var(--transition-slow);
}

.rating-bar__count {
    text-align: right;
    color: var(--text-light);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

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

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

.review-card__text {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.review-card__context {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.context-tag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.review-card__images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

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

.review-card__image:hover {
    transform: scale(1.05);
}

/* =============================================
   Hours Section
   ============================================= */

.hours__content {
    max-width: 900px;
    margin: 0 auto;
}

.hours__table {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.hours__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.hours__row--special {
    background: var(--bg-secondary);
    margin: 1rem -2rem -2rem;
    padding: 1rem 2rem;
    border-radius: 0 0 16px 16px;
    border-bottom: none;
}

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

.hours__time {
    color: var(--text-secondary);
}

.hours__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
}

.status-indicator.open {
    background: #4caf50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

.hours__busyness {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.hours__busyness-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hours__busyness-text {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.busyness-chart {
    display: grid;
    gap: 0.5rem;
}

.busyness-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    align-items: center;
}

.busyness-day {
    font-weight: 600;
    color: var(--text-secondary);
}

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

.busyness-bar {
    height: 30px;
    background: var(--border-color);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.busyness-bar:hover {
    transform: scaleY(1.1);
}

.busyness-bar.level-1 { background: #e8f5e9; }
.busyness-bar.level-2 { background: #c8e6c9; }
.busyness-bar.level-3 { background: #a5d6a7; }
.busyness-bar.level-4 { background: #81c784; }
.busyness-bar.level-5 { background: #66bb6a; }
.busyness-bar.level-6 { background: #4caf50; }
.busyness-bar.level-7 { background: #43a047; }
.busyness-bar.level-8 { background: #388e3c; }
.busyness-bar.level-9 { background: #ffa726; }
.busyness-bar.level-10 { background: #ff6b35; }

/* =============================================
   Order Section
   ============================================= */

.order {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-white);
}

.order .section-subtitle {
    color: var(--text-white);
    opacity: 0.9;
}

.order .section-title {
    color: var(--text-white);
}

.order__content {
    max-width: 600px;
    margin: 0 auto;
}

.order__card {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.order__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order__icon svg {
    width: 40px;
    height: 40px;
    color: var(--secondary-color);
}

.order__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.order__text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* =============================================
   Contact Section
   ============================================= */

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.contact__card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    transition: all var(--transition-normal);
}

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

.contact__card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact__card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact__card-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.contact__card-detail {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.contact__card-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.contact__card-link:hover {
    color: var(--primary-dark);
}

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

/* =============================================
   Footer
   ============================================= */

.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 3rem 0 1.5rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer__subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer__links {
    display: grid;
    gap: 0.5rem;
}

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

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

.footer__bottom {
    padding-top: 2rem;
    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;
}

/* =============================================
   Scroll to Top Button
   ============================================= */

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-primary);
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* =============================================
   Responsive Design
   ============================================= */

@media (max-width: 1024px) {
    :root {
        --section-padding: 4rem 0;
    }

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

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

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

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

    .rating-summary {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .busyness-row {
        grid-template-columns: 80px 1fr;
    }

    .busyness-bars {
        gap: 1px;
    }

    .busyness-bar {
        height: 25px;
    }
}

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

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

    .btn {
        width: 100%;
    }

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