/* Reset
/* ---------------------------------------------------------- */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

body {
    line-height: 1;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

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

html {
    box-sizing: border-box;
    font-family: sans-serif;

    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

b,
strong {
    font-weight: bold;
}

i,
em,
dfn {
    font-style: italic;
}

h1 {
    margin: 0.67em 0;
    font-size: 2em;
}

small {
    font-size: 80%;
}

sub,
sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

mark {
    background-color: #fdffb6;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

kbd {
    padding: 3px 5px;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    background: #f6f8fa;
    border: 1px solid rgba(124, 139, 154, 0.25);
    border-radius: 6px;
    box-shadow: inset 0 -1px 0 rgba(124, 139, 154, 0.25);
}

@media (max-width: 600px) {
    kbd {
        font-size: 1.3rem;
    }
}

button,
input,
optgroup,
select,
textarea {
    margin: 0;
    /* 3 */
    color: inherit;
    /* 1 */
    font: inherit;
    /* 2 */
}

button {
    overflow: visible;
    border: none;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
/* 1 */
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    /* 3 */

    -webkit-appearance: button;
    /* 2 */
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    padding: 0;
    border: 0;
}

input {
    line-height: normal;
}

input:focus {
    outline: none;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    box-sizing: content-box;
    /* 2 */

    -webkit-appearance: textfield;
    /* 1 */
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

legend {
    padding: 0;
    /* 2 */
    border: 0;
    /* 1 */
}

textarea {
    overflow: auto;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

td,
th {
    padding: 0;
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    font-size: 62.5%;

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    color: var(--color-darkgrey);
    font-family: var(--gh-font-body, var(--font-sans));
    font-size: 1.6rem;
    line-height: 1.6em;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    background: #fff;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: "liga" on;
}

::selection {
    text-shadow: none;
    background: #daf2fd;
}

hr {
    position: relative;
    display: block;
    width: 100%;
    margin: 2.5em 0 3.5em;
    padding: 0;
    height: 1px;
    border: 0;
    border-top: 1px solid #f0f0f0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

textarea {
    resize: vertical;
}

::not(.gh-content) p,
::not(.gh-content) ul,
::not(.gh-content) ol,
::not(.gh-content) dl,
::not(.gh-content) blockquote {
    margin: 0 0 1.5em 0;
}

ol,
ul {
    padding-left: 1.3em;
    padding-right: 1.5em;
}

ol ol,
ul ul,
ul ol,
ol ul {
    margin: 0.5em 0;
}

ul,
ol {
    max-width: 100%;
}

li {
    padding-left: 0.3em;
    line-height: 1.6em;
}

li+li {
    margin-top: 0.5em;
}

dt {
    float: left;
    margin: 0 20px 0 0;
    width: 120px;
    color: #daf2fd;
    font-weight: 500;
    text-align: right;
}

dd {
    margin: 0 0 5px 0;
    text-align: left;
}

blockquote {
    margin: 1.5em 0;
    padding: 0 1.6em 0 1.6em;
    border-left: #daf2fd;
}

blockquote small {
    display: inline-block;
    margin: 0.8em 0 0.8em 1.5em;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Quotation marks */
blockquote small:before {
    content: "\2014 \00A0";
}

blockquote cite {
    font-weight: bold;
}

blockquote cite a {
    font-weight: normal;
}

a {
    color: #15171A;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    line-height: 1.15;
    font-family: var(--gh-font-heading, var(--font-sans));
    font-weight: 600;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.01em;
}

h1 {
    margin: 0 0 0.5em 0;
    font-size: 4.8rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.8rem;
    }
}

h2 {
    margin: 1.5em 0 0.5em 0;
    font-size: 2.8rem;
    font-weight: 700;
}

@media (max-width: 600px) {
    h2 {
        font-size: 2.3rem;
    }
}

h3 {
    margin: 1.5em 0 0.5em 0;
    font-size: 2.4rem;
    font-weight: 600;
}

@media (max-width: 600px) {
    h3 {
        font-size: 1.7rem;
    }
}

h4 {
    margin: 1.5em 0 0.5em 0;
    font-size: 2rem;
}

@media (max-width: 600px) {
    h4 {
        font-size: 1.7rem;
    }
}

h5 {
    margin: 1.5em 0 0.5em 0;
    font-size: 2rem;
}

h6 {
    margin: 1.5em 0 0.5em 0;
    font-size: 1.8rem;
}

/* ==========================================================================
   GLOBAL HEADER & TOP BAR STYLES
   MOVED FROM HOME.CSS TO APPLY GLOBALLY
   ========================================================================== */

/* Top Bar - 全局顯示 */
.gh-top-bar {
    background: var(--spa-black) !important;
    color: var(--spa-white) !important;
    padding: 8px 0 !important;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative !important;
    z-index: 10000 !important;
    display: block !important;
    line-height: 1.4;
}

.gh-top-bar-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.gh-top-bar-item:first-child {
    margin-right: auto;
}

.gh-top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-icon {
    flex-shrink: 0;
    opacity: 0.9;
}

.gh-top-bar-item span {
    white-space: nowrap;
}

/* 響應式 - 移動端 */
@media (max-width: 991px) {
    .gh-top-bar {
        padding: 10px 0;
        font-size: 1.1rem;
    }

    .gh-top-bar-inner {
        gap: 20px;
        justify-content: center;
    }

    .gh-top-bar-item:first-child {
        margin-right: 0;
    }

    .gh-top-bar-item span {
        white-space: normal;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .gh-top-bar-inner {
        flex-direction: column;
        gap: 10px;
    }

    .gh-top-bar-item {
        font-size: 1.1rem;
    }
}

/* Header Adjustments */
.gh-head {
    background: var(--spa-white) !important;
    color: var(--spa-black) !important;
    height: auto !important;
    min-height: 100px !important;
    border-bottom: 5px solid var(--spa-beige);
    padding-top: 15px;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: 9999 !important;
}

.gh-head-inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    height: 100%;
    gap: 20px;
}

.gh-head-brand {
    display: flex !important;
    align-items: center;
    grid-column: 1;
    min-width: 150px;
    z-index: 10001 !important;
    position: relative !important;
    pointer-events: auto !important;
    gap: 15px;
    /* Add gap between elements */
}

.gh-burger {
    order: -1;
    /* Move burger to the left */
}

.gh-head-logo {
    font-weight: 800 !important;
    font-size: 2.5rem !important;
    letter-spacing: -0.02em !important;
    color: var(--spa-black) !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    pointer-events: auto !important;
}

/* 如果 Logo 是圖片，且原本是白色的，這裡強制反轉為黑色 */
.gh-head-logo img {
    max-height: 45px !important;
    width: auto !important;
    min-width: 50px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10002 !important;
}

.gh-head-menu {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    grid-column: 2;
}

.gh-head-actions {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    grid-column: 3;
}

.gh-head-menu .nav {
    display: flex !important;
    gap: 30px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gh-head-menu .nav li {
    margin: 0 !important;
    padding: 0 !important;
}

.gh-head-menu .nav a {
    font-weight: 600 !important;
    font-size: 1.4rem !important;
    text-transform: uppercase !important;
    color: var(--spa-black) !important;
    letter-spacing: 0.05em;
}

.gh-head-button {
    background: var(--spa-black) !important;
    color: var(--spa-white) !important;
    border-radius: 30px !important;
    padding: 12px 30px !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-block !important;
    line-height: 1.2;
    margin-left: 20px;
}

/* ==========================================================================
   RESPONSIVE HEADER & FOOTER OVERRIDES
   ========================================================================== */

@media (max-width: 991px) {

    /* Header Layout - Mobile */
    .gh-head-inner {
        grid-template-columns: 1fr auto !important;
    }

    .gh-head-brand {
        grid-column: 1 !important;
        width: 100% !important;
        justify-content: space-between !important;
    }

    .gh-head-menu {
        display: none !important;
    }

    .gh-head-actions {
        display: none !important;
        /* Hide booking button on mobile */
    }

    .gh-burger {
        display: block !important;
        margin-left: 0 !important;
        margin-right: 15px !important;
        position: relative !important;
        z-index: 10002 !important;
        visibility: visible !important;
        opacity: 1 !important;
        order: -1 !important;
        /* Ensure it's on the left */
    }

    /* Ensure burger icon lines are visible */
    .gh-burger::before,
    .gh-burger::after {
        background-color: var(--spa-black) !important;
    }

    /* Footer Layout - Mobile */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 20px;
    }

    .footer-social {
        align-items: center;
    }
}

/* Mobile Menu Sidebar - Default Closed State */
@media (max-width: 991px) {
    .gh-head-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        /* Changed from right to left */
        bottom: 0 !important;
        right: auto !important;
        /* Changed from auto to right */
        width: 300px !important;
        max-width: 80vw !important;
        transform: translateX(-100%) !important;
        /* Changed from 100% to -100% */
        /* Hidden off-screen to the left */
        transition: transform 0.3s ease-in-out !important;
        z-index: 10000 !important;
    }
}

/* Mobile Menu Sidebar */
.gh-head-open .gh-head-menu {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    /* Changed from right to left */
    bottom: 0 !important;
    right: auto !important;
    /* Changed from auto to right */
    /* Sidebar from left */
    width: 300px !important;
    max-width: 80vw !important;
    background: #ffffff !important;
    /* Ensure solid background */
    padding: 100px 20px 60px !important;
    /* Proper padding for header space */
    z-index: 2147483640 !important;
    /* Max z-index to overlay everything */
    overflow-y: auto !important;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3) !important;
    transform: translateX(0) !important;
    transition: transform 0.3s ease-in-out !important;
}

/* Ensure burger is above the sidebar */
.gh-head-open .gh-burger {
    z-index: 2147483647 !important;
    /* Max z-index + 7 */
}

/* Sidebar backdrop overlay */
.gh-head-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Menu items in sidebar */
.gh-head-open .gh-head-menu .nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 25px !important;
    width: 100% !important;
}

.gh-head-open .gh-head-menu .nav a {
    font-size: 1.8rem !important;
    padding: 10px 0 !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}


/* Close button styling (hamburger transforms to X) */
.gh-head-open .gh-burger {
    position: fixed !important;
    top: 30px !important;
    left: 20px !important;
    /* Changed from right to left */
    z-index: 10001 !important;
}

/* Add booking button to sidebar */
.gh-head-open .gh-head-actions {
    display: block !important;
    position: fixed !important;
    bottom: 40px !important;
    left: 30px !important;
    /* Changed from right to left */
    width: 240px !important;
    z-index: 10001 !important;
}

.gh-head-open .gh-head-button {
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
}

/* Mobile Submenu Styles - Reverted to simple links */
@media (max-width: 991px) {

    /* Hide submenus and mega-menus on mobile completely */
    .gh-head-open .submenu,
    .gh-head-open .mega-menu {
        display: none !important;
    }

    /* Ensure parent links function as normal links */
    .gh-head-open .has-submenu>a,
    .gh-head-open .has-mega-menu>a {
        pointer-events: auto !important;
    }

    /* Remove arrow indicators */
    .gh-head-open .has-submenu>a::after,
    .gh-head-open .has-mega-menu>a::after {
        content: none !important;
    }
}