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

:root {
    --primary-color: #000000;
    --secondary-color: #000000;
    --accent-color: #000000;
    --gold-color: #FFFFFF;
    --yellow-color: #FFFFFF;
    --red-color: #000000;
    --white-color: #FFFFFF;
    --black-color: #000000;
    --text-light: #FFFFFF;
    --text-dark: #000000;
    --bg-light: #FFFFFF;
    --bg-dark: #000000;
    --gray-light: #F5F5F5;
    --gray-medium: #808080;
    --gray-dark: #333333;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--gray-medium);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(220, 20, 60, 0.3) 100%),
                url('IMAGES/Chinesca.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    color: var(--white-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 1.1rem;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: transparent;
    border-color: var(--black-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

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

.btn-secondary:hover {
    background: var(--white-color);
    color: var(--black-color);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--black-color);
}

.about-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--black-color);
    line-height: 1.8;
}

/* Menu Section */
.menu {
    padding: 80px 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.menu h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    opacity: 0.9;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    font-weight: 500;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--white-color);
    color: var(--black-color);
    transform: translateY(-2px);
}

.menu-content {
    min-height: 400px;
}

.menu-category {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-category.active {
    display: grid;
}

.menu-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--white-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.menu-item-header h3 {
    color: var(--white-color);
    font-size: 1.3rem;
}

.price {
    color: var(--white-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.menu-item p {
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.6;
}

.call-to-order {
    text-align: center;
    margin-top: 3rem;
}

/* Reservations Section */
.reservations {
    padding: 80px 0;
    background: var(--bg-light);
}

.reservations h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--black-color);
}

.reservation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.reservation-info {
    background: var(--black-color);
    color: var(--white-color);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.reservation-info h3 {
    color: var(--white-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.phone-link {
    display: inline-block;
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    margin: 1rem 0;
    transition: color 0.3s;
}

.phone-link:hover {
    color: var(--gray-medium);
}

.hours {
    margin-top: 2rem;
}

.hours h3 {
    margin-bottom: 1rem;
}

.hours ul {
    list-style: none;
}

.hours li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Seating Chart - Complete Redesign */
.seating-chart-container {
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--white-color);
}

.chart-top-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.chart-main-title {
    color: var(--white-color);
    font-size: 1.1rem;
    margin: 0;
    text-align: center;
    font-weight: bold;
}

.wc-top-left,
.wc-top-right {
    color: var(--white-color);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.chart-main-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.chart-left-side {
    flex: 1;
}

.chart-left-side {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.chart-right-side {
    flex-shrink: 0;
}


/* VIP Container */
.vip-container {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-start;
    margin-bottom: 0.8rem;
    margin-left: 10rem;
}

.vip-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.vip-label {
    color: var(--white-color);
    font-size: 0.7rem;
    font-weight: bold;
}

.vip-seat {
    width: 32px;
    height: 32px;
    background: var(--white-color);
    color: var(--black-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1.5px solid var(--black-color);
    border-radius: 2px;
}


/* Main Seating */
.main-seating {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.legend-box {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
    color: var(--white-color);
    font-size: 0.75rem;
}

.legend-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white-color);
    border: 1.5px solid var(--black-color);
}

/* Seat Rows */
.seat-row-top {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-left: calc(3 * (32px + 0.4rem));
}

.seat-spacer-small {
    width: 20px;
    height: 32px;
    display: inline-block;
}

.seat-row-main {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-start;
    margin-left: calc(3 * (32px + 0.4rem));
}

.seat-row-middle {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-start;
}

.seat-row-bottom {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-start;
}

.seat-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white-color);
    color: var(--black-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 1.5px solid var(--black-color);
    transition: transform 0.2s;
}

.seat-circle:hover {
    transform: scale(1.1);
}

/* Stage Front Container */
.stage-front-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.stage-front-left,
.stage-front-right {
    display: flex;
    gap: 0.4rem;
}

.seat-square {
    width: 32px;
    height: 32px;
    background: var(--white-color);
    color: var(--black-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 1.5px solid var(--black-color);
    border-radius: 2px;
    transition: transform 0.2s;
}

.seat-square:hover {
    transform: scale(1.1);
}

/* Reserved Table Styling */
.vip-seat.reserved,
.seat-circle.reserved,
.seat-square.reserved {
    background: var(--white-color);
    color: #DC143C;
    border-color: #DC143C;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1px;
    min-height: 32px;
}

.reserved-x {
    font-size: 0.9rem;
    font-weight: bold;
    color: #DC143C;
    line-height: 0.9;
    display: block;
}

.reserved-time {
    font-size: 0.45rem;
    color: #DC143C;
    font-weight: normal;
    line-height: 0.9;
    display: block;
    margin-top: -1px;
}

/* Stage */
.stage-box {
    width: 50%;
    height: 25px;
    background: var(--black-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.75rem;
    border: 2px solid var(--white-color);
    border-radius: 4px;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    margin-left: auto;
    margin-right: auto;
}

/* Right Side */
.chart-right-side {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.dj-box {
    width: 70px;
    height: 50px;
    background: var(--black-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    border: 2px solid var(--white-color);
    border-radius: 4px;
}

.extra-seats {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 8rem;
}

.chart-bottom-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.wc-bottom-right {
    color: var(--white-color);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

/* Reservation Form */
.reservation-form {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.reservation-form .btn-primary {
    width: 100%;
    display: block;
    text-align: center;
}

.reservation-form h3 {
    color: var(--black-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-note {
    color: var(--gray-dark);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--black-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--black-color);
}

.form-group textarea {
    resize: vertical;
}

.cancel-link-container {
    text-align: center;
    margin-top: 1rem;
}

.cancel-link {
    font-size: 0.9rem;
    text-decoration: underline;
    color: var(--black-color);
    display: inline-block;
    transition: color 0.3s;
}

.cancel-link:hover {
    color: var(--gray-dark);
}

/* Cancellation Section */
.cancellation {
    padding: 80px 0;
    background: var(--bg-light);
}

.cancellation h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--black-color);
}

.cancellation .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--gray-dark);
}

.cancellation-form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.cancellation-form h3 {
    color: var(--black-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.cancellation-step {
    width: 100%;
}

.confirmation-question {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--black-color);
}

.table-number-display {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: var(--black-color);
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.button-group .btn {
    flex: 1;
    max-width: 200px;
}

.thank-you-message {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.thank-you-message h2 {
    color: var(--black-color);
    font-size: 2rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--black-color);
    color: var(--white-color);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--white-color);
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 3px solid var(--white-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--white-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    margin-bottom: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-link {
    color: var(--white-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--gray-medium);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

.footer a {
    color: var(--white-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--black-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .hero-buttons .btn {
        width: 90%;
        max-width: 300px;
    }

    .reservation-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .menu-tabs {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .menu-category {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .about h2,
    .menu h2,
    .reservations h2,
    .contact h2 {
        font-size: 2rem;
    }

    .menu-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }
}

/* Auth Modal */
.auth-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.auth-modal-content {
    background-color: var(--white-color);
    margin: 5% auto;
    padding: 2rem;
    border: 2px solid var(--black-color);
    width: 90%;
    max-width: 400px;
    position: relative;
    border-radius: 8px;
}

.auth-close {
    color: var(--black-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.auth-close:hover {
    color: var(--gray-medium);
}

.auth-form h2 {
    margin-bottom: 0.5rem;
    color: var(--black-color);
}

.auth-form p {
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

.auth-form-intro {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.auth-switch {
    margin-top: 1rem;
    text-align: center;
}

.auth-switch a {
    color: var(--black-color);
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    margin: 1rem 0;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.auth-google-label {
    text-align: center;
    margin: 0 0 0.5rem 0;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.google-signin-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    min-height: 44px;
}

.google-signin-container iframe {
    margin: 0 auto;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    color: #3c4043;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #dadce0;
}

.btn-google:active {
    background: #e8eaed;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-google-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-google-icon svg {
    display: block;
}

.login-required {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.login-required a {
    color: var(--black-color);
    text-decoration: underline;
    font-weight: bold;
}

/* Login page (login.html) */
.login-page-section {
    padding: 120px 0 80px;
    min-height: 60vh;
}

.container-narrow {
    max-width: 420px;
    margin: 0 auto;
}

.login-page-title {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--black-color);
}

.login-page-subtitle {
    text-align: center;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.auth-form-page {
    background: var(--white-color);
    border: 2px solid var(--black-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.auth-form-page h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--black-color);
}

.btn-block {
    width: 100%;
    margin-top: 0.5rem;
}

.login-page-back {
    text-align: center;
    margin-top: 1rem;
}

.login-page-back a {
    color: var(--gray-dark);
    text-decoration: underline;
}

.login-page-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

.login-page-message-show {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Profile Section */
.profile-section {
    padding: 100px 0 80px;
    background: var(--bg-light);
}

.profile-user-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--black-color);
    margin-bottom: 1.5rem;
    padding: 0;
}

.profile-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile-user .profile-user-name {
    margin-bottom: 0.25rem;
}

.profile-user-email {
    color: #666;
    margin: 0;
}

.profile-user-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-icon img.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info {
    background: var(--black-color);
    color: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.profile-info h3 {
    margin-bottom: 1rem;
    color: var(--white-color);
}

.profile-info p {
    margin: 0.5rem 0;
}

.reservations-list {
    margin-top: 2rem;
}

.reservations-list h3 {
    margin-bottom: 1.5rem;
    color: var(--black-color);
}

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

.reservation-card {
    background: var(--white-color);
    border: 2px solid var(--black-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reservation-card h4 {
    color: var(--black-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.reservation-card p {
    margin: 0.5rem 0;
    color: var(--gray-dark);
}

/* Profile page – simple card: order #, table, name, people */
.profile-card-simple {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-card-order {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--black-color);
    letter-spacing: 0.05em;
}

.profile-card-table {
    font-size: 1.1rem;
    color: var(--gray-dark);
}

.profile-card-name {
    font-size: 1rem;
    color: var(--black-color);
}

.profile-card-guests {
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.profile-logout-wrap {
    margin-top: 2rem;
    text-align: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-icon {
    color: var(--white-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.profile-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.profile-icon.active {
    background: rgba(255, 255, 255, 0.3);
}

/* Header "Sign out" button (only visible when signed in) */
.nav-signout {
    display: none;
    padding: 6px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
}

.is-signed-in .nav-signout {
    display: inline-block;
}

.nav-signout:disabled {
    opacity: 0.6;
    cursor: default;
}

/* Pages without a profile icon: keep the header layout unchanged while signed out */
.nav-right-auth {
    display: contents;
}

.is-signed-in .nav-right-auth {
    display: flex;
}

/* Profile page Sign out button sits on a white background */
.profile-logout-wrap .btn-secondary {
    color: var(--black-color);
    border-color: var(--black-color);
    cursor: pointer;
    font-family: inherit;
}

.profile-logout-wrap .btn-secondary:hover {
    background: var(--black-color);
    color: var(--white-color);
}

/* Small phones: keep logo, Sign out, profile icon and menu on one row */
@media (max-width: 480px) {
    .nav-signout {
        padding: 4px 9px;
        font-size: 0.8rem;
    }

    .is-signed-in .nav-right {
        gap: 0.6rem;
    }

    .is-signed-in .navbar .logo h1 {
        font-size: 1.2rem;
        white-space: nowrap;
    }
}

/* Reservation form notices (2 tables per account, sign-in required) */
.reservation-limit-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.reservation-limit-message a {
    color: inherit;
    font-weight: bold;
    text-decoration: underline;
}

/* Phone/address links inside regular text: look exactly like the surrounding text */
.inline-contact-link {
    color: inherit;
    text-decoration: none;
}

.inline-contact-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Chinese bar theme – Bar Chinesca Mxli
   Deep Chinese red, near-black and gold; lanterns, hui-wen / lattice patterns
   and cloud trims are inline SVG (no extra image requests).
   ========================================================================== */
:root {
    --cn-red: #b0121b;
    --cn-red-dark: #8b0000;
    --cn-red-deep: #5c0609;
    --cn-black: #0d0a0a;
    --cn-ink: #1c1414;
    --cn-gold: #d4a017;
    --cn-gold-light: #f2c14e;
    --cn-paper: #fbf3e4;
    --cn-paper-dark: #f3e4c8;
    --cn-font-display: 'Noto Serif SC', 'Songti SC', 'SimSun', Georgia, serif;
    --cn-font-brush: 'Ma Shan Zheng', 'Noto Serif SC', serif;
    --cn-lantern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 150'%3E %3Cdefs%3E%3CradialGradient id='g' cx='50%25' cy='45%25' r='60%25'%3E%3Cstop offset='0' stop-color='%23ff5a3c'/%3E%3Cstop offset='.55' stop-color='%23c8161d'/%3E%3Cstop offset='1' stop-color='%237a0a0f'/%3E%3C/radialGradient%3E%3C/defs%3E %3Cline x1='32' y1='0' x2='32' y2='26' stroke='%23d4a017' stroke-width='2'/%3E %3Crect x='20' y='24' width='24' height='9' rx='2' fill='%23d4a017'/%3E %3Cellipse cx='32' cy='64' rx='29' ry='33' fill='url(%23g)'/%3E %3Cpath d='M32 31v66M19 34c-9 18-9 42 0 60M45 34c9 18 9 42 0 60M9 50c-3 9-3 19 0 28M55 50c3 9 3 19 0 28' stroke='%238b0000' stroke-width='1.6' fill='none' opacity='.8'/%3E %3Crect x='20' y='95' width='24' height='9' rx='2' fill='%23d4a017'/%3E %3Cline x1='32' y1='104' x2='32' y2='112' stroke='%23d4a017' stroke-width='2'/%3E %3Cpath d='M27 112h10l3 34h-16z' fill='%23f2c14e'/%3E %3Cpath d='M29 114v30M32 114v31M35 114v30' stroke='%23b8860b' stroke-width='.8'/%3E %3C/svg%3E");
    --cn-meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E %3Cpath d='M4 4h36v36H12V12h20v20h-12v-8h4' fill='none' stroke='%238b0000' stroke-width='1.4' opacity='.05'/%3E %3C/svg%3E");
    --cn-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='14' viewBox='0 0 32 14'%3E %3Crect width='32' height='14' fill='%238b0000'/%3E %3Cpath d='M0 11h6V3h12v6h-6V6' fill='none' stroke='%23d4a017' stroke-width='1.3'/%3E %3Cpath d='M16 11h6V3h12' fill='none' stroke='%23d4a017' stroke-width='1.3'/%3E %3Cpath d='M0 .7h32M0 13.3h32' stroke='%23f2c14e' stroke-width='1.2'/%3E %3C/svg%3E");
    --cn-lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E %3Cg fill='none' stroke='%23d4a017' stroke-width='1' opacity='.09'%3E %3Crect x='5' y='5' width='50' height='50'/%3E%3Crect x='15' y='15' width='30' height='30'/%3E %3Cpath d='M5 30h10M45 30h10M30 5v10M30 45v10M15 15L5 5M45 15l10-10M15 45L5 55M45 45l10 10'/%3E %3C/g%3E%3C/svg%3E");
    --cn-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E %3Cg fill='none' stroke='%23d4a017' stroke-width='2.2' stroke-linecap='round'%3E %3Cpath d='M4 34h40c6 0 10-4 10-9s-4-9-9-9c-4 0-7 3-7 7 0 3 2 5 5 5'/%3E %3Cpath d='M22 34c-6 0-10-4-10-9s4-9 9-9c1-6 6-10 12-10 7 0 12 5 12 12'/%3E %3Cpath d='M21 16c4 0 7 3 7 7 0 3-2 5-5 5'/%3E %3C/g%3E%3C/svg%3E");
}

body {
    color: var(--cn-ink);
    background: var(--cn-black);
}

h1, h2, h3, h4,
.btn,
.chart-main-title,
.stage-box,
.dj-box,
.profile-card-order,
.table-number-display {
    font-family: var(--cn-font-display);
}

.btn,
button,
input,
select,
textarea {
    font-family: inherit;
}

.btn {
    font-family: var(--cn-font-display);
    letter-spacing: 0.02em;
    cursor: pointer;
}

/* ---------- Navbar ---------- */
.navbar,
.navbar.scrolled {
    background: linear-gradient(180deg, #140c0c 0%, var(--cn-black) 100%);
    border-bottom: 2px solid var(--cn-red);
    box-shadow: 0 1px 0 var(--cn-gold), 0 6px 18px rgba(0, 0, 0, 0.55);
}

.navbar.scrolled {
    background: rgba(13, 10, 10, 0.98);
}

.logo h1 {
    color: var(--cn-gold-light);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

/* Red "酒吧" (bar) seal next to the name */
.logo h1::after {
    content: '酒吧';
    font-family: var(--cn-font-brush);
    font-weight: normal;
    font-size: 1.05rem;
    line-height: 1;
    color: var(--cn-gold-light);
    background: var(--cn-red);
    border: 1px solid var(--cn-gold);
    border-radius: 3px;
    padding: 4px 5px 3px;
    box-shadow: inset 0 0 0 2px var(--cn-red), inset 0 0 0 3px rgba(242, 193, 78, 0.55);
}

.nav-menu a {
    color: #f6eadb;
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--cn-gold);
    transform: scaleX(0);
    transition: transform 0.25s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--cn-gold-light);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.hamburger span {
    background: var(--cn-gold-light);
}

.profile-icon {
    color: var(--cn-gold-light);
    background: rgba(176, 18, 27, 0.35);
    border: 1px solid rgba(212, 160, 23, 0.6);
}

.profile-icon:hover {
    background: var(--cn-red);
}

.profile-icon.active {
    background: var(--cn-red);
}

/* ---------- Buttons ---------- */
.btn-primary {
    background: linear-gradient(180deg, #c8161d 0%, var(--cn-red) 55%, var(--cn-red-dark) 100%);
    color: #fff8e7;
    border: 2px solid var(--cn-gold);
    box-shadow: inset 0 0 0 1px rgba(255, 220, 150, 0.35), 0 4px 12px rgba(139, 0, 0, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(180deg, var(--cn-red) 0%, var(--cn-red-dark) 100%);
    border-color: var(--cn-gold-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgba(255, 220, 150, 0.45), 0 6px 18px rgba(212, 160, 23, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--cn-gold-light);
    border: 2px solid var(--cn-gold);
}

.btn-secondary:hover {
    background: var(--cn-gold);
    color: var(--cn-black);
    border-color: var(--cn-gold);
}

/* ---------- Hero (home page) ---------- */
.hero {
    height: auto;
    min-height: 78vh;
    margin-top: 70px;
    padding: 4.5rem 0 5rem;
    background:
        linear-gradient(180deg, rgba(13, 10, 10, 0.55) 0%, rgba(13, 10, 10, 0.25) 45%, rgba(13, 10, 10, 0.9) 100%),
        radial-gradient(ellipse at center, rgba(176, 18, 27, 0.15) 0%, rgba(13, 10, 10, 0.55) 75%),
        url('IMAGES/Chinesca.webp') center 38% / cover no-repeat;
    overflow: hidden;
    border-bottom: 14px solid transparent;
    border-image: var(--cn-band) 0 0 14 0 / 0 0 14px 0 repeat;
}

.hero-overlay {
    background: none;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    top: -6px;
    width: 64px;
    height: 150px;
    background: var(--cn-lantern) center top / contain no-repeat;
    transform-origin: 50% 0;
    animation: cn-lantern-swing 4.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 18px rgba(255, 90, 60, 0.45));
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    left: 7%;
}

.hero::after {
    right: 7%;
    animation-delay: -2.2s;
    height: 120px;
    width: 52px;
}

.hero-content {
    z-index: 2;
    padding: 0 20px;
}

.hero-logo {
    display: block;
    width: min(460px, 78vw);
    height: auto;
    margin: 0 auto 1.25rem;
    filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 30px rgba(176, 18, 27, 0.45));
}

.hero-subtitle {
    font-family: var(--cn-font-display);
    font-style: normal;
    font-size: 1.15rem;
    color: #f6eadb;
    letter-spacing: 0.04em;
    margin-bottom: 1.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '';
    display: inline-block;
    width: 38px;
    height: 1px;
    background: var(--cn-gold);
    vertical-align: middle;
    margin: 0 0.8rem;
}

.hero-buttons .btn-secondary {
    background: rgba(13, 10, 10, 0.55);
}

.hero-buttons .btn-secondary:hover {
    background: var(--cn-gold);
}

@keyframes cn-lantern-swing {
    from { transform: rotate(-4deg); }
    to { transform: rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero::after,
    .login-page-section::before,
    .login-page-section::after,
    .profile-section::before,
    .profile-section::after,
    .cancellation::before,
    .cancellation::after {
        animation: none;
    }
}

/* ---------- Section headings: gold rule with a red 福 diamond ---------- */
.reservations h2,
.contact h2,
.cancellation h2,
.login-page-title,
.profile-section h2 {
    font-family: var(--cn-font-display);
    font-weight: 900;
    letter-spacing: 0.02em;
    position: relative;
    text-align: center;
    padding-bottom: 2.1rem;
    background:
        linear-gradient(90deg, transparent, var(--cn-gold)) calc(50% - 68px) calc(100% - 13px) / 96px 1.5px no-repeat,
        linear-gradient(90deg, var(--cn-gold), transparent) calc(50% + 68px) calc(100% - 13px) / 96px 1.5px no-repeat;
}

.reservations h2::before,
.contact h2::before,
.cancellation h2::before,
.login-page-title::before,
.profile-section h2::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    background: var(--cn-red);
    border: 1px solid var(--cn-gold);
    transform: rotate(45deg);
}

.reservations h2::after,
.contact h2::after,
.cancellation h2::after,
.login-page-title::after,
.profile-section h2::after {
    content: '福';
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 24px;
    margin-left: -12px;
    font-family: var(--cn-font-brush);
    font-weight: normal;
    font-size: 17px;
    line-height: 24px;
    text-align: center;
    color: var(--cn-gold-light);
}

/* ---------- Paper sections (reservations, login, profile, cancel) ---------- */
.reservations,
.login-page-section,
.profile-section,
.cancellation {
    background-color: var(--cn-paper);
    background-image: var(--cn-meander), linear-gradient(180deg, var(--cn-paper) 0%, var(--cn-paper-dark) 100%);
    background-size: 44px 44px, 100% 100%;
    position: relative;
}

.reservations h2,
.cancellation h2,
.login-page-title,
.profile-section h2 {
    color: var(--cn-red-dark);
}

/* Readable subtitle under "Make a Reservation" (was white on white) */
.reservations .section-subtitle,
.cancellation .section-subtitle,
.login-page-subtitle {
    color: #4a3a33;
    opacity: 1;
}

.reservations .section-subtitle .inline-contact-link {
    color: var(--cn-red);
    font-weight: bold;
}

/* Lanterns on the inner pages */
.login-page-section::before,
.login-page-section::after,
.profile-section::before,
.profile-section::after,
.cancellation::before,
.cancellation::after {
    content: '';
    position: absolute;
    top: 64px;
    width: 52px;
    height: 122px;
    background: var(--cn-lantern) center top / contain no-repeat;
    transform-origin: 50% 0;
    animation: cn-lantern-swing 4.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 6px 10px rgba(139, 0, 0, 0.25));
    pointer-events: none;
}

.login-page-section::before,
.profile-section::before,
.cancellation::before {
    left: 6%;
}

.login-page-section::after,
.profile-section::after,
.cancellation::after {
    right: 6%;
    animation-delay: -2.2s;
}

.cancellation {
    padding-top: 120px;
}

/* ---------- Reservation box (dark lacquer card with gold trim) ---------- */
.reservation-info {
    background:
        var(--cn-lattice),
        radial-gradient(ellipse at top, #2a0a0b 0%, var(--cn-black) 70%);
    color: #f6eadb;
    border: 1px solid var(--cn-gold);
    border-radius: 6px;
    box-shadow: inset 0 0 0 5px var(--cn-black), inset 0 0 0 6px rgba(212, 160, 23, 0.55), 0 10px 28px rgba(92, 6, 9, 0.35);
}

.reservation-info h3 {
    color: var(--cn-gold-light);
}

.phone-link {
    color: var(--cn-gold-light);
}

.phone-link:hover {
    color: #fff;
}

.hours li {
    border-bottom-color: rgba(212, 160, 23, 0.25);
}

/* Seating chart */
.seating-chart-container {
    background: rgba(92, 6, 9, 0.35);
    border: 1px solid var(--cn-gold);
    border-radius: 6px;
    box-shadow: inset 0 0 0 3px rgba(13, 10, 10, 0.6), inset 0 0 0 4px rgba(212, 160, 23, 0.35);
}

.chart-main-title {
    color: var(--cn-gold-light);
    letter-spacing: 0.06em;
}

.wc-top-left,
.wc-top-right,
.wc-bottom-right {
    color: var(--cn-gold-light);
    background: rgba(212, 160, 23, 0.12);
    border: 1px solid rgba(212, 160, 23, 0.35);
}

.vip-label {
    color: var(--cn-gold-light);
}

.vip-seat {
    background: linear-gradient(180deg, var(--cn-gold-light), var(--cn-gold));
    color: var(--cn-black);
    border: 1.5px solid #7a5a00;
}

.seat-circle,
.seat-square {
    background: var(--cn-paper);
    color: var(--cn-ink);
    border: 1.5px solid var(--cn-gold);
}

.vip-seat.reserved,
.seat-circle.reserved,
.seat-square.reserved {
    background: var(--cn-red);
    color: #fff;
    border-color: var(--cn-gold-light);
}

.reserved-x,
.reserved-time {
    color: #fff;
}

.stage-box,
.dj-box {
    background: linear-gradient(180deg, var(--cn-red), var(--cn-red-dark));
    color: var(--cn-gold-light);
    border: 1.5px solid var(--cn-gold);
    letter-spacing: 0.08em;
}

/* ---------- Forms / cards with gold trim ---------- */
.reservation-form,
.cancellation-form,
.auth-form-page,
.thank-you-message,
.auth-modal-content {
    background: #fffdf8;
    border: 1px solid rgba(212, 160, 23, 0.8);
    border-top: 4px solid var(--cn-red);
    border-radius: 6px;
    box-shadow: inset 0 0 0 4px #fffdf8, inset 0 0 0 5px rgba(212, 160, 23, 0.35), 0 10px 28px rgba(92, 6, 9, 0.14);
    position: relative;
}

/* Cloud (xiangyun) ornaments in the top corners of the cards */
.reservation-form::before,
.reservation-form::after,
.cancellation-form::before,
.cancellation-form::after,
.auth-form-page::before,
.auth-form-page::after {
    content: '';
    position: absolute;
    top: 10px;
    width: 42px;
    height: 28px;
    background: var(--cn-cloud) center / contain no-repeat;
    opacity: 0.75;
    pointer-events: none;
}

.reservation-form::before,
.cancellation-form::before,
.auth-form-page::before {
    left: 12px;
}

.reservation-form::after,
.cancellation-form::after,
.auth-form-page::after {
    right: 12px;
    transform: scaleX(-1);
}

.reservation-form h3,
.cancellation-form h3,
.auth-form-page h3,
.auth-form h2,
.thank-you-message h2 {
    color: var(--cn-red-dark);
}

.form-note {
    color: #6b5a50;
}

.form-group label,
.confirmation-question,
.table-number-display {
    color: var(--cn-ink);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #fffaf0;
    border: 1.5px solid #e2cfa6;
    color: var(--cn-ink);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--cn-red);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.25);
}

.table-number-display {
    background: var(--cn-paper);
    border: 1px solid rgba(212, 160, 23, 0.6);
}

.cancel-link,
.auth-switch a,
.login-page-back a,
.login-required a {
    color: var(--cn-red);
}

.cancel-link:hover,
.auth-switch a:hover,
.login-page-back a:hover {
    color: var(--cn-red-dark);
}

.auth-close {
    color: var(--cn-red-dark);
}

.auth-divider {
    color: #8a6d3b;
}

.reservation-limit-message {
    background: #fdecea;
    color: var(--cn-red-dark);
    border: 1px solid rgba(176, 18, 27, 0.45);
}

/* ---------- Profile ---------- */
.profile-user-name {
    color: var(--cn-red-dark);
    font-family: var(--cn-font-display);
}

.profile-user-photo {
    border: 2px solid var(--cn-gold);
}

.reservation-card {
    background: #fffdf8;
    border: 1px solid rgba(212, 160, 23, 0.8);
    border-top: 4px solid var(--cn-red);
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(92, 6, 9, 0.12);
}

.profile-card-order {
    color: var(--cn-red-dark);
}

.profile-logout-wrap .btn-secondary {
    color: var(--cn-red);
    border-color: var(--cn-red);
    background: transparent;
}

.profile-logout-wrap .btn-secondary:hover {
    background: var(--cn-red);
    color: #fff8e7;
    border-color: var(--cn-gold);
}

/* ---------- Contact (dark, lattice) ---------- */
.contact {
    background:
        var(--cn-lattice),
        radial-gradient(ellipse at 50% 0%, rgba(176, 18, 27, 0.4) 0%, rgba(13, 10, 10, 0) 60%),
        var(--cn-black);
    background-size: 60px 60px, 100% 100%, auto;
    color: #f6eadb;
    border-top: 14px solid transparent;
    border-image: var(--cn-band) 14 0 0 0 / 14px 0 0 0 repeat;
}

.contact h2 {
    color: var(--cn-gold-light);
}

.contact-card {
    background: linear-gradient(180deg, rgba(176, 18, 27, 0.22) 0%, rgba(13, 10, 10, 0.6) 100%);
    border: 1px solid rgba(212, 160, 23, 0.55);
    border-top: 3px solid var(--cn-gold);
    border-radius: 6px;
    position: relative;
}

.contact-card:hover {
    box-shadow: 0 10px 25px rgba(212, 160, 23, 0.22);
}

.contact-card h3 {
    color: var(--cn-gold-light);
}

.contact-link {
    color: var(--cn-gold-light);
}

.contact-link:hover {
    color: #fff;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--cn-black);
    color: #e9dccb;
    border-top: 14px solid transparent;
    border-image: var(--cn-band) 14 0 0 0 / 14px 0 0 0 repeat;
}

.footer a {
    color: var(--cn-gold-light);
}

/* Contact section already has the band on top; the footer right after it gets a thin gold rule */
.contact + .footer {
    border-top: 1px solid rgba(212, 160, 23, 0.4);
    border-image: none;
}

/* ---------- Phones ---------- */
@media (max-width: 768px) {
    .nav-menu {
        background: var(--cn-black);
        border-bottom: 2px solid var(--cn-red);
        box-shadow: none; /* the closed menu sits off-screen; its shadow must not bleed in */
    }

    .nav-menu.active {
        box-shadow: 0 1px 0 var(--cn-gold), 0 10px 27px rgba(0, 0, 0, 0.5);
    }

    .chart-main-title {
        font-size: 0.9rem;
    }

    /* Keep the page 100% wide: grid columns may shrink below the seating chart's width */
    .reservation-content > * {
        min-width: 0;
    }

    .reservation-info,
    .reservation-form {
        padding: 1.75rem 1.25rem;
    }

    /* The seating chart keeps its real size and scrolls sideways inside its box */
    .seating-chart-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 1rem 0.75rem;
    }

    .chart-main-content {
        width: max-content;
    }

    .hero {
        min-height: 64vh;
        padding: 3.5rem 0 4rem;
    }

    .hero::before {
        left: 3%;
        width: 44px;
        height: 104px;
    }

    .hero::after {
        right: 3%;
        width: 38px;
        height: 88px;
    }
}

@media (max-width: 600px) {
    .login-page-section::before,
    .login-page-section::after,
    .profile-section::before,
    .profile-section::after,
    .cancellation::before,
    .cancellation::after {
        display: none;
    }

    .logo h1::after {
        display: none;
    }

    .hero-subtitle::before,
    .hero-subtitle::after {
        display: none;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .hero {
        min-height: 0;
        padding: 2.75rem 0 3rem;
    }

    .hero-buttons .btn {
        padding: 12px 24px;
    }
}

/* Small phones: the display font is wider than Georgia, keep the logo on one line */
@media (max-width: 480px) {
    .navbar .logo h1 {
        font-size: 1.15rem;
        white-space: nowrap;
    }

    .is-signed-in .navbar .logo h1 {
        font-size: 1rem;
    }

    .reservations h2,
    .contact h2,
    .cancellation h2,
    .profile-section h2 {
        font-size: 1.9rem;
    }

    .login-page-title {
        font-size: 1.5rem;
    }
}
