:root {
    --color-bg: #111111;
    /* Deep Black */
    --color-bg-alt: #1a1a1a;
    --color-text: #e0e0e0;
    /* Off-white */
    --color-primary: #d4af37;
    /* Metallic Gold */
    --color-secondary: #f4f4f4;
    /* Light text for contrast */
    --color-accent: #8b0000;
    /* Deep Red for subtle accents */
    --font-main: 'Shippori Mincho', serif;
    --header-height: 90px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 2;
    letter-spacing: 0.08em;
    -webkit-font-smoothing: antialiased;
    /* Subtle Japanese Pattern (Seigaiha-ish or just texture) using gradients */
    background-image:
        radial-gradient(circle at 50% 50%, #1a1a1a 1px, transparent 1px),
        linear-gradient(to right, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 20px 20px, 60px 100%;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.container--narrow {
    max-width: 800px;
}

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

.section {
    padding: 120px 0;
    position: relative;
}

.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--color-primary);
    opacity: 0.5;
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(17, 17, 17, 0.95);
    /* Dark background */
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(212, 175, 55, 0.2);
    /* Gold border bottom */
    transition: background-color 0.3s;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    height: 100%;
    /* Ensure full height usage */
}

.header__logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    height: 100%;
}

.header__logo img {
    height: 65px;
    /* Enlarged logo */
    width: auto;
    object-fit: contain;
}

.header__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    color: var(--color-secondary);
}

.header__title {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    font-family: var(--font-main);
}

.header__title .en {
    font-size: 0.9rem;
    margin-left: 5px;
    font-weight: 400;
}

.header__subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #666;
}

@media (max-width: 480px) {
    .header__logo img {
        height: 50px;
    }

    .header__title {
        font-size: 1rem;
    }

    .header__subtitle {
        font-size: 0.65rem;
    }
}

.header__nav {
    display: none;
}

@media (min-width: 769px) {
    .header__nav {
        display: block;
    }
}

.header__nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.header__nav-list li a {
    font-size: 0.9rem;
    color: var(--color-text);
    position: relative;
    letter-spacing: 0.1em;
}

.header__nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.4s ease;
}

.header__nav-list li a:hover::after {
    width: 100%;
}

.header__menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

@media (min-width: 769px) {
    .header__menu-btn {
        display: none;
    }
}

.header__menu-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-primary);
    /* Gold hamburger */
    transition: 0.3s;
}

.header__menu-btn span:nth-child(1) {
    top: 0;
}

.header__menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.header__menu-btn span:nth-child(3) {
    bottom: 0;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.8);
    transform: scale(1.1);
    animation: zoomOut 20s linear infinite alternate;
}

@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1.0);
    }
}

.hero__content {
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 0.2em;
}

.hero__title {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 2rem;
    }
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero__scroll::after {
    content: '';
    width: 1px;
    height: 60px;
    background-color: #fff;
    margin-top: 10px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Section Components */
.section__header {
    margin-bottom: 60px;
    text-align: center;
}

.section__header--vertical {
    writing-mode: vertical-rl;
    margin: 0 auto 60px;
    text-align: left;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Section Design Enhancements */
.section__subtitle {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 5px;
}

.section__header--vertical .section__subtitle {
    margin-bottom: 0;
    margin-left: 20px;
}

.section__title {
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--color-secondary);
    line-height: 1.6;
}

.section__desc {
    margin-bottom: 2rem;
    color: #cccccc;
    /* Lighter grey for visibility on dark */
    font-size: 1.05rem;
}

/* Concept */
.concept {
    background: radial-gradient(circle at center, #222 0%, #111 100%);
}

.concept__text {
    text-align: center;
    line-height: 2.4;
    font-size: 1.1rem;
}

.concept__text p {
    margin-bottom: 2rem;
}

/* Flex Row Layout (Onsen, Cuisine, Room) */
.section__row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.section--reverse .section__row {
    flex-direction: row-reverse;
}

/* Image Styling with Gold Frames */
.section__image {
    flex: 1;
    overflow: visible;
    /* Allow box-shadow/border to show */
    position: relative;
    padding: 10px;
    /* Space for the frame */
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Thin gold frame */
}

.section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    /* Slightly dim images to match dark mood */
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section__image:hover img {
    transform: scale(1.02);
    filter: brightness(1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.section__content {
    flex: 1;
}

.section__content .section__header {
    text-align: left;
    margin-bottom: 40px;
}

@media (max-width: 900px) {

    .section__row,
    .section--reverse .section__row {
        flex-direction: column;
        gap: 40px;
    }

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

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

/* Access */
.access {
    background-color: var(--color-bg-alt);
    border-top: 1px solid #333;
}

.access__map {
    width: 100%;
    height: 400px;
    background-color: #222;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    border: 1px solid #444;
}

.access__info p {
    margin-bottom: 10px;
}

.access__btn-wrapper {
    margin-top: 40px;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 18px 50px;
    background-color: transparent;
    color: var(--color-primary);
    font-size: 1rem;
    letter-spacing: 0.2em;
    border: 1px solid var(--color-primary);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: var(--color-primary);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Footer */
.footer {
    background-color: #050505;
    color: #888;
    padding: 80px 0 30px;
    border-top: 3px solid var(--color-primary);
}

.footer__logo {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.footer__logo img {
    height: 80px;
    /* Larger than header */
    width: auto;
    filter: brightness(0) invert(1);
    /* Make it white if the icon is dark */
    opacity: 0.9;
}

.footer__nav {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 600px) {
    .footer__nav {
        flex-direction: column;
        gap: 15px;
    }
}

.footer__nav a {
    font-size: 0.9rem;
}

.footer__copyright {
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Carousel */
.carousel {
    width: 100%;
    overflow: hidden;
    background-color: var(--color-bg);
    padding: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.carousel__track {
    display: flex;
    width: calc(300px * 8);
    /* item width * total items (4 real + 4 dup) */
    animation: scroll 40s linear infinite;
}

.carousel__item {
    width: 300px;
    height: 200px;
    padding: 0 5px;
    flex-shrink: 0;
}

.carousel__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.3s;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.carousel__item img:hover {
    filter: brightness(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 4));
    }

    /* Move by width of original set */
}

@media (max-width: 768px) {
    .carousel__item {
        width: 200px;
        height: 133px;
    }

    .carousel__track {
        width: calc(200px * 8);
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-200px * 4));
        }
    }
}