@charset "UTF-8";

/* 框架 */
html {
    text-size-adjust: initial;
}

body {
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
    height: 100%;
    width: 100%;
    background-color: var(--bg-light) !important;
    font-family: var(--font-body) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading) !important;
    color: var(--text-dark);
}

h3 {
    font-weight: 700 !important;
}

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

/* header */
.bgs {
    height: 80px;
    background-color: var(--brand-red);
    box-shadow: var(--shadow-md);
    margin-bottom: 0;
    z-index: 2000;
    position: fixed;
    top: 0;
    width: 100%;
    transition: all 0.3s ease;
}

.logo-container {
    position: absolute;
    left: 5%;
    top: 0;
    width: 200px;
    height: 80px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.logo {
    width: 100%;
    height: 70%;
    background: url(../img/logo.webp) left center no-repeat;
    background-size: contain;
    transition: all .3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo:hover {
    transform: scale(1.05);
}

/* 確保內容不被 header 遮擋 */
.body-content {
    padding-top: 100px;
    min-height: calc(100vh - 300px);
}

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

.had {
    display: flex;
    justify-content: flex-end;
    /* Align right */
    align-items: center;
    height: 100%;
    padding-right: 5%;
    width: 100%;
    position: relative;
}

.bk-red {
    background-color: var(--primary) !important;
}

.navcs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
}

.navcs li {
    padding: 0 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.navcs li:last-child {
    border-right: none;
}

.navcs a {
    color: #ffffff;
    /* User requested white text */
    transition: 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.navcs a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s;
}

.navcs a:hover {
    color: #ffd700;
}

.navcs a:hover::after {
    width: 100%;
    background-color: #ffd700;
}

.HeadTitle {
    color: var(--text-light);
    text-align: center;
    margin-top: 5vh;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--font-heading);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 響應式標題尺寸 */
@media (max-width: 768px) {
    .HeadTitle {
        font-size: 2.5rem;
    }

    .navcs {
        display: none;
        /* Hide desktop menu on mobile */
    }

    .mobile-menu-btn {
        display: block !important;
    }
}

.HeadTitle::after {
    content: '-今天營業到午夜';
    display: block;
    width: 100%;
    font-size: 1.2rem;
    margin-top: 10px;
    font-weight: 400;
    letter-spacing: 2px;
}

.bavcs {
    margin-bottom: 0;
    font-size: 1.75rem;
    font-family: 'Dancing Script', cursive;
}

/* Context */
.title {
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.Aboutcontext {
    margin: 40px auto;
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.8;
    background-color: var(--bg-white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.context {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 2rem;
    color: var(--text-dark);
}

/* Shared by about/join/shopping static pages */
.about-content {
    margin: 2rem 0;
}

.about-image img {
    width: 100%;
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* NEWS */
#NEWS tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#NEWS td {
    padding: 15px;
    vertical-align: middle;
}

.jc {
    background: var(--primary);
    color: #fff;
    width: auto;
    padding: 5px 20px;
    height: auto;
    font-size: 1rem;
    text-align: center;
    border-radius: 50px;
    opacity: 1;
    box-shadow: var(--shadow-sm);
}

.menuButtonOutSide {
    position: relative;
    border-radius: var(--radius-md) !important;
    padding: 30px;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

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

/* Store */
.containerStore {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

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

.more-bt {
    min-width: 160px;
    font-size: 1.1rem;
    color: white;
    background-color: var(--primary);
    border-radius: 25px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: none;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(231, 111, 81, 0.2);
}

.more-bt:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(231, 111, 81, 0.3);
}

/* Footer */
footer {
    margin-top: 60px;
    color: white;
    background: var(--text-dark);
    text-align: center;
    padding: 60px 0 40px;
}

footer p,
.footerInfo {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.GoTop {
    border: none;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    position: fixed;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.GoTop:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

/* Utility */
.displayInline {
    display: inline-flex;
    align-items: center;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin: 5px;
}

.reserved {
    padding: 15px 0;
    background-color: #1d353f;
    /* Slightly darker than text-dark */
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}