/* ========================================================
   1. MASTER FONTS & GLOBAL RESET
   ======================================================== */
@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@300;400;700;800&family=Noto+Sans+JP:wght@300;400;700;800&display=swap');

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

html,
body {
    overflow-x: clip !important;
    width: 100% !important;
    position: relative;
    scroll-behavior: smooth;
    background-color: #ffffff;
}

body {
    overflow: visible !important;
    margin-left: 160px;
    width: calc(100% - 160px) !important;
    font-family: 'Kumbh Sans', 'Noto Sans JP', sans-serif !important;
    font-weight: 400;
    color: #000000;
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

.inner-1920 {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto !important;
    padding: 0 5%;
}

/* ========================================================
   2. PERMANENT SIDEBAR
   ======================================================== */
.fixed-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 160px;
    height: 100vh;
    background-color: #ffffff;
    border-right: 1px solid #eeeeee;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.sidebar-logo {
    text-decoration: none !important;
    display: block;
    font-family: 'Kumbh Sans', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    color: #eb5a0f;
    line-height: 1;
    text-align: center;
    width: 100%;
    margin-bottom: 50px;
    transition: transform 0.3s ease;
}

.sidebar-logo:hover {
    transform: scale(1.1);
}

.sidebar-links {
    list-style: none;
    width: 100%;
    padding-left: 35px !important;
}

.sidebar-links li {
    margin-bottom: 25px;
    text-align: left;
}

.sidebar-links a {
    position: relative;
    padding-left: 15px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.sidebar-links a span {
    font-size: 12px;
    font-weight: 400;
    color: #767676;
    margin-top: 2px;
}

.sidebar-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 0;
    background-color: #eb5a0f;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-links a:hover {
    color: #eb5a0f !important;
}

.sidebar-links a:hover::before {
    height: 100%;
}

.sidebar-booking-btn {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px !important;
    background-color: transparent !important;
    border: 1.5px solid #eb5a0f !important;
    color: #eb5a0f !important;
    border-radius: 50px !important;
    padding: 12px 5px !important;
    text-decoration: none;
    font-weight: 900 !important;
    font-size: 0.85rem !important;
    line-height: 1.0 !important;
    margin: auto auto 25px auto !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1;
    transition: transform 0.4s ease, color 0.3s ease;
}

.sidebar-booking-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #eb5a0f;
    z-index: -1;
    transition: width 0.4s ease;
}

.sidebar-booking-btn span {
    display: block;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    margin-top: 3px !important;
}

.sidebar-booking-btn:hover {
    color: #000 !important;
    transform: translateY(-4px);
}

.sidebar-booking-btn:hover::before {
    width: 100%;
}

.sidebar-booking-btn:hover span {
    color: #000 !important;
}

.sidebar-footer {
    display: flex !important;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding-bottom: 10px;
}

.side-social {
    font-size: 1.4rem;
    color: #767676;
    transition: 0.3s;
}

.side-social:hover {
    color: #eb5a0f;
}

/* ========================================================
   📖 3. NEWS DETAIL BOX EDITORIAL LAYOUT
   ======================================================== */
.detail-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    padding: 60px 50px;
    box-shadow: none;
}

.detail-header {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 25px;
    margin-bottom: 40px;
    text-align: left;
}

.detail-badge {
    display: inline-block;
    background: #eb5a0f;
    color: #ffffff;
    padding: 4px 12px;
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 11px;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* 💡 完美修復：英文大標題強制啟用全站對齊雙字體，英文字母即刻恢復乾淨幾何線條！ */
.detail-title {
    font-family: 'Kumbh Sans', 'Noto Sans JP', sans-serif !important;
    font-size: 2.2rem;
    /* 標題大小 */
    font-weight: 800;
    /* 強制極粗體，Kumbh Sans 粗體非常現代化 */
    color: #000000;
    line-height: 1.3;
    /* 縮窄行距（由 1.4 改為 1.3），英文長標題折行時會更像雜誌排版 */
    letter-spacing: -0.02em;
    /* 微調字距（由 0.05em 改為 -0.02em），英文大字標題緊湊啲會更有高級感 */
    margin-bottom: 15px;
    word-break: break-word;
    /* 防止手機版英文字太長突出去 */
}

.detail-date {
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 0.95rem;
    color: #888888;
    letter-spacing: 0.05em;
}

/* microCMS 文章內容富文本注入樣式 */
.news-rich-body {
    font-family: 'Kumbh Sans', 'Noto Sans JP', sans-serif;
    font-size: 1.05rem;
    line-height: 2.1;
    color: #333333;
    letter-spacing: 0.03em;
}

.news-rich-body p {
    margin-bottom: 25px;
    white-space: pre-wrap;
}

.news-rich-body img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 40px auto;
    border-radius: 4px;
}

.news-rich-body h2,
.news-rich-body h3 {
    font-family: 'Noto Sans JP', sans-serif;
    border-left: 4px solid #eb5a0f;
    /* 標題左側橘色裝飾邊條 */
    padding-left: 15px;
    margin: 50px 0 20px 0;
    color: #000000;
    font-weight: 800;
    font-size: 1.4rem;
}

/* ========================================================
   🦶 4. FOOTER
   ======================================================== */
.modern-footer-section {
    background-color: #000;
    padding: 100px 0;
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.giant-logo {
    font-size: clamp(4rem, 8vw, 10rem);
    font-weight: 900;
    line-height: 0.85;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #eb5a0f;
}

.footer-upper-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.tagline {
    font-family: 'Covered By Your Grace', cursive !important;
    /* 強制執行手寫藝術字 */
    font-size: 3rem;
    color: #eb5a0f;
    transform: rotate(-2deg);
}

.footer-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #eb5a0f;
    background-color: transparent;
    color: #eb5a0f !important;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #eb5a0f;
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-book-btn:hover {
    color: #000000 !important;
}

.footer-book-btn:hover::before {
    width: 100%;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr 1fr;
    gap: 40px;
    border-top: 1px solid rgba(235, 90, 15, 0.2);
    padding-top: 40px;
}

.footer-col h4 {
    color: #eb5a0f;
    margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
    color: #eb5a0f;
    display: block;
    text-decoration: none;
    margin-bottom: 6px;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(235, 90, 15, 0.2);
    margin-top: 80px;
    padding-top: 20px;
    color: #eb5a0f;
}

/* ========================================================
   📱 5. MOBILE RESPONSIVE
   ======================================================== */
@media screen and (max-width: 1024px) {
    body {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .mobile-menu-btn {
        display: grid !important;
        place-items: center;
        position: fixed;
        top: 25px;
        left: 20px;
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        background: #eb5a0f !important;
        z-index: 20000 !important;
    }

    .btn-bar {
        width: 22px !important;
        height: 2px !important;
        background: #FFF;
        transition: 0.3s;
        grid-area: 1/1;
    }

    .btn-bar:nth-child(1) {
        transform: translateY(-7px);
    }

    .btn-bar:nth-child(3) {
        transform: translateY(7px);
    }

    .nav-trigger:checked~.mobile-menu-btn .btn-bar:nth-child(1) {
        transform: rotate(45deg);
    }

    .nav-trigger:checked~.mobile-menu-btn .btn-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-trigger:checked~.mobile-menu-btn .btn-bar:nth-child(3) {
        transform: rotate(-45deg);
    }

    .fixed-sidebar {
        transform: translateX(-100%);
        width: 250px;
    }

    .nav-trigger:checked~.fixed-sidebar {
        transform: translateX(0);
    }
}

@media screen and (max-width: 768px) {
    .detail-container {
        padding: 40px 20px !important;
        border: none !important;
    }

    .detail-title {
        font-size: 1.8rem !important;
    }

    /* 🎯 FIX: Match homepage padding grid exactly */
    .modern-footer-section {
        padding: 100px 0 !important;
    }

    .footer-layout {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 30px !important;
    }

    .footer-upper-right {
        align-items: flex-start !important;
    }

    .footer-main-grid {
        grid-template-columns: 1fr !important;
        text-align: left !important;
        gap: 30px !important;
    }

    .giant-logo {
        font-size: 4.5rem !important;
        align-items: flex-start !important;
    }
}

/* ========================================================
   7. MOBILE RESPONSIVE FIXES
   ======================================================== */
/* --- TABLET & MOBILE BASE (Below 900px) --- */
@media (max-width: 900px) {
    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .footer-layout {
        flex-direction: column;
        gap: 40px;
    }

    .footer-upper-right {
        align-items: flex-start;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- SMARTPHONE TWEAKS (Below 768px) --- */
@media (max-width: 768px) {
    .access-info-grid {
        grid-template-columns: 1fr;
    }

    .map-container-centered {
        height: 300px;
    }
}


/* ========================================================
   🔘 THE MATTE TRENDY PILL BUTTON (CLEANED & OPTIMIZED)
   ======================================================== */
.footer-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* 1. The Pill Shape */
    border: 2px solid #eb5a0f;
    background-color: transparent;
    color: #eb5a0f !important;

    padding: 12px 35px;
    border-radius: 50px;

    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;

    /* Smooth color fade */
    transition: all 0.3s ease;
    position: relative;
}

/* 2. THE HOVER: Simple, flat color flip */
.footer-book-btn:hover {
    background-color: #eb5a0f;
    color: #000000 !important;
    box-shadow: none !important;
}

/* 3. THE ARROW: Subtle forward hop */
.footer-book-btn .arrow {
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.footer-book-btn:hover .arrow {
    transform: translateX(5px);
}

/* --- BUTTON MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .footer-book-btn {
        padding: 14px 30px;
        font-size: 0.8rem;
    }
}


/* ========================================================
   🎯 PERFECT LEFT-ALIGNED VERTICAL STACK FOR MOBILE FOOTER
   ======================================================== */
@media (max-width: 768px) {

    .footer-bottom-bar {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 12px !important;

        border-top: 1px solid rgba(235, 90, 15, 0.2) !important;
        margin-top: 50px !important;
        padding-top: 25px !important;

        padding-bottom: 40px !important;
        width: 100% !important;
    }

    .footer-bottom-bar p:last-child {
        order: 1 !important;
        font-size: 13px !important;
        color: #eb5a0f !important;
        opacity: 0.9;
        margin: 0 !important;
        text-align: left !important;
        width: auto !important;
    }

    .footer-bottom-bar p:first-child {
        order: 2 !important;
        margin: 0 !important;
        text-align: left !important;
        width: auto !important;
    }

    .footer-bottom-bar p:first-child a {
        display: inline-block !important;
        font-size: 12px !important;
        color: #eb5a0f !important;
        text-decoration: none !important;
        opacity: 0.6;
        letter-spacing: 0.05em !important;
        transition: opacity 0.3s ease;
    }
}

/* ========================================================
   🏮 FLOATING FULL-WIDTH BOOK NOW BAR STYLING
   ======================================================== */
.fixed-book-now-bar {
    /* 🛑 DESKTOP: Completely hidden */
    display: none !important;
}

/* ========================================================
   📱 MOBILE & TABLET LAYER RESPONSIVE MATRIX
   ======================================================== */
@media screen and (max-width: 1024px) {
    .fixed-book-now-bar {
        /* 🌟 MOBILE/TABLET: Revealed as a full-width block */
        display: flex !important;

        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 60px !important;
        /* Elegant native bar height */
        background-color: #eb5a0f;
        /* Signature Orange */
        color: #ffffff !important;
        text-decoration: none !important;
        align-items: center;
        justify-content: center;
        gap: 12px;
        font-family: 'Kumbh Sans', 'Noto Sans JP', sans-serif;
        font-weight: 800;
        font-size: 14px;
        letter-spacing: 0.08em;
        z-index: 10006 !important;
        /* Kept very high */
        padding-bottom: env(safe-area-inset-bottom);

        /* 🌟 THE CHOSEN FIX: Removed box-shadow, added a crisp white top line */
        box-shadow: none !important;
        border-top: 1.5px solid #ffffff !important;
    }

    .fixed-book-now-bar .bar-jp {
        font-size: 13px;
        font-weight: 700;
    }

    .fixed-book-now-bar .bar-divider {
        opacity: 0.6;
        font-weight: 300;
    }

    .fixed-book-now-bar .bar-en {
        font-size: 12px;
    }

    .fixed-book-now-bar i {
        font-size: 14px;
    }

    /* Smooth click reaction for touch devices */
    .fixed-book-now-bar:active {
        background-color: #d44e0a;
    }
}