/* -------------------------------------------------------------
 * ALL-IN Branding Package LP Stylesheet
 * Custom Vanilla CSS for Luxury Lodging Facilities branding.
 * ------------------------------------------------------------- */

/* Custom CSS Variables */
:root {
    --bg-color: #0c0b0a;
    --bg-darker: #050504;
    --bg-card: rgba(18, 16, 15, 0.5);
    --bg-card-hover: rgba(26, 23, 21, 0.7);

    --color-accent: #c5a059;
    /* Muted Luxury Bronze Gold */
    --color-accent-hover: #d7b572;
    --color-accent-rgb: 197, 160, 89;
    --color-text-primary: #f7f6f2;
    /* Soft Warm Ivory */
    --color-text-secondary: #a39c92;
    /* Sophisticated Warm Gray */
    --color-border: rgba(197, 160, 89, 0.12);
    --color-border-focus: rgba(197, 160, 89, 0.35);

    --font-title-en: 'Cormorant Garamond', 'Cinzel', serif;
    --font-title-jp: 'Shippori Mincho', 'Noto Serif JP', serif;
    --font-body: 'Inter', 'Noto Sans JP', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-blur: blur(20px);
}

/* Reset Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.8;
    background-color: transparent;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* Helper Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.text-gold {
    color: var(--color-accent);
}

/* Section Base */
section {
    padding: 100px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Sections covering the fixed background video */
.about {
    position: relative;
    z-index: 1;
    background-color: transparent;
}

.features,
.rooms,
.faq,
.access,
.reservation,
.package-pitch {
    background-color: var(--bg-color);
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 60px;
}

.section-header .subtitle {
    font-family: var(--font-title-en);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-header .title {
    font-family: var(--font-title-jp);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.section-header .header-line {
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 20px auto 0;
}

.section-intro {
    max-width: 600px;
    margin: 20px auto 0;
    color: var(--color-text-secondary);
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #12100f;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(209, 168, 79, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: #12100f;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 70px;
}

.header-container {
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-title-en);
    font-weight: 400;
    font-size: 1.45rem;
    letter-spacing: 0.18em;
    color: var(--color-text-primary);
    line-height: 1.1;
    text-transform: uppercase;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.55rem;
    letter-spacing: 0.35em;
    color: var(--color-accent);
    font-weight: 500;
    margin-top: 2px;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-darker);
    border-left: 1px solid var(--color-border);
    padding: 100px 40px;
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

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

.nav-menu ul {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.nav-menu a {
    font-family: var(--font-title-en);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--color-text-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mobile-menu-toggle {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 7px;
    padding: 8px;
    z-index: 1100;
}

.mobile-menu-toggle .bar {
    width: 24px;
    height: 1px;
    background-color: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* Language Switcher Logic & Switch UI */
[lang="en"] .lang-ja {
    display: none !important;
}

[lang="ja"] .lang-en {
    display: none !important;
}

.lang-toggle-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px;
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    user-select: none;
    height: 32px;
    width: 78px;
}

.lang-toggle-btn {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 0.7rem;
    font-weight: 700;
    width: 37px;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-smooth);
    text-align: center;
    line-height: 28px;
    padding: 0;
}

.lang-toggle-btn.active {
    color: #0c0b0a;
}

.lang-toggle-track {
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    pointer-events: none;
    border-radius: 30px;
    overflow: hidden;
}

.lang-toggle-thumb {
    width: 37px;
    height: 100%;
    background-color: var(--color-accent);
    border-radius: 30px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: absolute;
    left: 0;
    top: 0;
}

/* Toggle Thumb position control via js attribute */
html[lang="en"] .lang-toggle-thumb {
    transform: translateX(37px);
}

/* Hero Section with Looping Background Video */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.hero-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(12, 11, 10, 0.2) 0%,
            rgba(12, 11, 10, 0.5) 60%,
            rgba(12, 11, 10, 1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    margin-top: 60px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-title-en);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    border: 1px solid var(--color-border);
    padding: 6px 20px;
    border-radius: 2px;
    margin-bottom: 24px;
    background-color: rgba(12, 11, 10, 0.45);
    backdrop-filter: blur(4px);
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-title-jp);
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Bilingual Specific Layout: Japanese vertical text styling for Hero */
html[lang="ja"] .hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
    margin: 0 auto;
    height: auto;
}

html[lang="ja"] .hero-title {
    font-family: var(--font-title-jp);
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.35em;
    margin: 0;
}

/* English styling for Hero (Horizontal, large, elegant spacing) */
html[lang="en"] .hero-title {
    font-family: var(--font-title-en);
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin: 0;
}

/* Hero Animations on load */
.animate-fade-in {
    opacity: 0;
    animation: fade-in 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-in-up 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in {
    100% {
        opacity: 1;
    }
}

@keyframes fade-in-up {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-indicator span {
    font-family: var(--font-title-en);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--color-text-secondary);
}

.scroll-indicator .mouse {
    width: 20px;
    height: 32px;
    border: 2px solid var(--color-text-secondary);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator .wheel {
    width: 2px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.6s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        top: 6px;
    }

    50% {
        opacity: 0.3;
        top: 16px;
    }

    100% {
        opacity: 0;
        top: 16px;
    }
}

/* Concept Section Layout */
.concept-content {
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(197, 160, 89, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--color-text-primary);
    padding: 60px 48px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.concept-content.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.concept-content.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.concept-tagline {
    font-family: var(--font-title-jp);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 24px;
    line-height: 1.6;
    letter-spacing: 0.1em;
}

.concept-description {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 2.2;
    text-align: center;
    letter-spacing: 0.06em;
}

/* Features Grid Layout (Alternating side-by-side) */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-top: 80px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px dashed rgba(197, 160, 89, 0.15);
}

.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-img-wrapper {
    flex: 1.1;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(197, 160, 89, 0.15);
    padding: 10px;
    background-color: var(--bg-darker);
}

.feature-img-wrapper img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), filter 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(0.2) contrast(1.02);
}

.feature-img-wrapper:hover img {
    transform: scale(1.05);
    filter: grayscale(0) contrast(1.05);
}

.feature-info {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
}

.feature-num {
    font-family: var(--font-title-en);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
    letter-spacing: 0.05em;
}

.feature-title {
    font-family: var(--font-title-jp);
    font-size: 1.85rem;
    font-weight: 500;
    color: var(--color-text-primary);
    line-height: 1.4;
    position: relative;
    padding-bottom: 12px;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.feature-item:hover .feature-title::after {
    width: 120px;
}

.feature-text {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.9;
    letter-spacing: 0.03em;
}

/* Rooms & Facilities Layout */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 80px;
}

.room-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.room-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.5);
}

.room-img {
    height: 340px;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-card:hover .room-img img {
    transform: scale(1.06);
}

.room-details {
    padding: 40px;
}

.room-name {
    font-family: var(--font-title-jp);
    font-size: 1.45rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--color-text-primary);
    letter-spacing: 0.05em;
}

.room-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
    letter-spacing: 0.03em;
}

.room-amenities {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.room-amenities li {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    letter-spacing: 0.03em;
}

.room-amenities li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 1px;
    background-color: var(--color-accent);
    margin-right: 12px;
}

/* FAQ Accordion */
.faq-accordion-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.faq-item {
    background: transparent;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:first-child {
    border-top: 1px solid var(--color-border);
}

.faq-item:hover {
    border-color: var(--color-accent);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 28px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-title-jp);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    transition: var(--transition-fast);
    letter-spacing: 0.05em;
}

.faq-question:hover,
.faq-item.is-open .faq-question {
    color: var(--color-accent);
}

.faq-icon {
    width: 18px;
    height: 18px;
    fill: var(--color-text-secondary);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.faq-item.is-open .faq-icon,
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    fill: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 16px;
}

.faq-answer p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.9;
    padding-bottom: 28px;
    letter-spacing: 0.03em;
}

/* Access Section (Dark Google Map Theme) */
.access-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-top: 80px;
}

.map-container {
    height: 440px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(1) invert(0.95) contrast(1.15) brightness(0.9);
    /* Premium minimal dark map */
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
}

.access-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px dashed rgba(197, 160, 89, 0.12);
    padding-bottom: 24px;
}

.access-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.access-sub-title {
    font-family: var(--font-title-en);
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    font-weight: 400;
    text-transform: uppercase;
}

.address-text,
.route-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Reservation & Dynamic Booking Calendar */
.booking-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    background: var(--bg-darker);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    padding: 50px;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.55);
    margin-top: 80px;
}

/* Calendar Column */
.calendar-column {
    display: flex;
    flex-direction: column;
}

.calendar-header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cal-nav-btn {
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    width: 38px;
    height: 38px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.cal-nav-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(197, 160, 89, 0.08);
}

.calendar-month-title {
    font-family: var(--font-title-en);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.calendar-legend {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.05em;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-icon {
    font-weight: bold;
    font-size: 0.95rem;
}

.legend-icon.status-ok {
    color: var(--color-accent);
}

.legend-icon.status-ng {
    color: rgba(255, 255, 255, 0.2);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.weekday.sun {
    color: #d66060;
}

.weekday.sat {
    color: #5a9cd6;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 8px;
    column-gap: 4px;
    text-align: center;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.cal-day .day-num {
    font-family: var(--font-title-en);
    font-size: 1rem;
    font-weight: 400;
}

.cal-day .day-status {
    font-size: 0.6rem;
    margin-top: 2px;
}

/* Day states styling */
.cal-day.empty {
    cursor: default;
    pointer-events: none;
}

.cal-day.available {
    color: var(--color-text-primary);
    border-bottom: 1px solid rgba(197, 160, 89, 0.05);
}

.cal-day.available .day-status {
    color: var(--color-accent);
}

.cal-day.available:hover {
    background: rgba(197, 160, 89, 0.08);
    border-color: var(--color-accent);
}

.cal-day.booked {
    color: rgba(255, 255, 255, 0.15);
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.01);
}

.cal-day.booked .day-status {
    color: rgba(255, 255, 255, 0.08);
}

.cal-day.past {
    color: rgba(255, 255, 255, 0.08);
    cursor: not-allowed;
    pointer-events: none;
}

.cal-day.past .day-status {
    display: none;
}

.cal-day.selected {
    background-color: var(--color-accent) !important;
    color: #0c0b0a !important;
    font-weight: bold;
}

.cal-day.selected .day-status {
    color: #0c0b0a !important;
}

/* Reservation Form */
.form-column {
    display: flex;
    flex-direction: column;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.form-group label .required {
    font-size: 0.7rem;
    color: #e56b6b;
    background-color: rgba(229, 107, 107, 0.1);
    padding: 1px 5px;
    border-radius: 2px;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--color-border);
    padding: 14px 18px;
    border-radius: 2px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
}

.form-group input[readonly] {
    background-color: rgba(255, 255, 255, 0.01);
    border-style: dashed;
    cursor: default;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.error-msg {
    font-size: 0.75rem;
    color: #e56b6b;
    display: none;
    margin-top: 2px;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #e56b6b;
}

.form-group.has-error .error-msg {
    display: block;
}

/* Submission success panel */
.booking-success {
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(209, 168, 79, 0.1);
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--color-accent);
}

.booking-success h3 {
    font-family: var(--font-title-jp);
    font-size: 1.6rem;
    font-weight: 700;
}

.booking-success p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Simulated Sheets Log View */
.simulated-sheet-box {
    width: 100%;
    background: #0d0b0a;
    border: 1px solid #2b2623;
    border-radius: 6px;
    overflow: hidden;
    margin: 20px 0;
    text-align: left;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.sheet-title-bar {
    background: #1e1a18;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #2b2623;
}

.sheet-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.sheet-title-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
}

.sheet-table-wrapper {
    overflow-x: auto;
    max-height: 180px;
}

.sheet-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.7rem;
    font-family: var(--font-body);
}

.sheet-table th,
.sheet-table td {
    padding: 8px 12px;
    border: 1px solid #2b2623;
    text-align: left;
    white-space: nowrap;
}

.sheet-table th {
    background-color: #1a1614;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.sheet-table td {
    color: var(--color-text-primary);
}

.sheet-table tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Package Pitch Banner (Creator CTA) */
.package-pitch {
    background: linear-gradient(135deg, #0e0d0c 0%, #050504 100%);
    border-top: 1px solid rgba(197, 160, 89, 0.15);
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.pitch-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(18, 16, 15, 0.5);
    border: 1px solid var(--color-border);
    backdrop-filter: var(--glass-blur);
    padding: 60px;
    border-radius: 2px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
}

.pitch-badge {
    display: inline-block;
    font-family: var(--font-title-en);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: #0c0b0a;
    background-color: var(--color-accent);
    padding: 4px 14px;
    border-radius: 2px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.pitch-title {
    font-family: var(--font-title-jp);
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.pitch-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto 30px;
}

.pitch-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    max-width: 550px;
    margin: 0 auto 40px;
}

.pitch-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.point-icon {
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pitch-point p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.pitch-point strong {
    color: var(--color-text-primary);
}

.pitch-action {
    display: flex;
    justify-content: center;
}

/* Footer layout */
.main-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 60px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    font-family: var(--font-title-en);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text-primary);
    display: block;
    margin-bottom: 8px;
}

.footer-info p {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.footer-links {
    text-align: right;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
}

/* Scroll Animation Helper classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1), transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.active.stagger-1 {
    transition-delay: 0.15s;
}

.reveal.active.stagger-2 {
    transition-delay: 0.3s;
}

.reveal.active.stagger-3 {
    transition-delay: 0.45s;
}

/* -------------------------------------------------------------
 * Responsive Design (Media Queries)
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

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

    html[lang="ja"] .hero-content {
        writing-mode: horizontal-tb;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto;
        margin-top: 60px;
        gap: 0;
    }

    html[lang="ja"] .hero-title {
        font-size: 2.2rem;
        margin-bottom: 24px;
        line-height: 1.4;
    }

    html[lang="ja"] .hero-desc {
        writing-mode: horizontal-tb;
        max-height: none;
        margin: 0 auto 40px;
        line-height: 1.8;
    }

    html[lang="ja"] .hero-btns {
        flex-direction: row;
        justify-content: center;
    }

    html[lang="ja"] .hero-badge {
        align-self: center;
        margin-bottom: 24px;
    }

    html[lang="ja"] .concept-content {
        writing-mode: horizontal-tb;
        display: block;
        height: auto;
        padding: 40px;
    }

    html[lang="ja"] .concept-text-block {
        display: block;
    }

    html[lang="ja"] .concept-tagline {
        font-size: 1.5rem;
        margin-bottom: 20px;
        line-height: 1.5;
        margin-left: 0;
    }

    html[lang="ja"] .concept-description {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .features-grid {
        gap: 60px;
    }

    .feature-item,
    .feature-item.reverse {
        flex-direction: column;
        gap: 32px;
    }

    .feature-img-wrapper {
        width: 100%;
    }

    .feature-img-wrapper img {
        height: 320px;
    }

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

    .access-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-container {
        height: 350px;
    }

    .booking-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header .title {
        font-size: 1.8rem;
    }

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

    .hero-desc {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
        padding: 0 16px;
    }

    /* Header & Mobile Navigation */


    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .btn-header {
        display: none;
        /* Hide top CTA on smaller viewports */
    }

    .pitch-container {
        padding: 40px 20px;
    }

    .pitch-title {
        font-size: 1.4rem;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        text-align: center;
    }

    /* Problems & Features */
    .problem-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .problem-card:last-child {
        grid-column: auto;
    }

    .solution-box {
        padding: 36px 24px;
        margin-top: 48px;
    }

    .solution-title {
        font-size: 1.4rem;
    }

    /* Services Pillar */
    .service-row,
    .service-row.reverse {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 70px;
    }

    .service-title-jp {
        font-size: 1.6rem;
    }

    /* Contact Form Layout */
    .contact-box {
        padding: 36px 20px;
    }

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

/* Floating Booking & Language Toggle Side actions */
.floating-side-actions {
    position: fixed;
    bottom: 130px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.btn-side-booking {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background-color: rgba(18, 20, 20, 0.85);
    color: var(--color-text-primary);
    width: 44px;
    height: 180px;
    font-family: var(--font-title-en);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    transition: var(--transition-fast);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    border: none;
}

.btn-side-booking:hover {
    background-color: rgba(28, 30, 30, 0.95);
    color: var(--color-accent);
}

.floating-side-actions .lang-toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(18, 20, 20, 0.85);
    padding: 16px 0;
    border-radius: 4px;
    width: 44px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    gap: 8px;
    border: none;
}

.floating-side-actions .lang-toggle-btn {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-family: var(--font-title-en);
    font-size: 0.8rem;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    padding: 2px 0;
    opacity: 0.5;
}

.floating-side-actions .lang-toggle-btn.active {
    color: var(--color-text-primary);
    opacity: 1;
    font-weight: 700;
}

.floating-side-actions .lang-toggle-btn:hover {
    color: var(--color-text-primary);
    opacity: 0.85;
}

.floating-side-actions .lang-divider {
    width: 10px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.25);
    display: block;
    margin: 4px 0;
}

/* Make sure mobile views handle floating layout cleanly */
@media (max-width: 768px) {
    .floating-side-actions {
        bottom: 20px;
        right: 20px;
        gap: 6px;
    }

    .btn-side-booking {
        width: 38px;
        height: 140px;
        font-size: 0.7rem;
    }

    .floating-side-actions .lang-toggle-container {
        width: 38px;
        padding: 12px 0;
    }

    .floating-side-actions .lang-toggle-btn {
        font-size: 0.75rem;
    }
}