/* ============================================
   Pattern 17: Art Deco Gold — MAISON
   ホテル・宝石 / 幾何学 / ラグジュアリー
   ============================================ */

/* ── Scroll Animation System ── */
.anim {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim.anim-up {
    transform: translateY(50px);
}

.anim.anim-left {
    transform: translateX(-60px);
}

.anim.anim-right {
    transform: translateX(60px);
}

.anim.anim-scale {
    transform: scale(0.9);
}

.anim.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.anim-delay-1 {
    transition-delay: 0.2s !important;
}

.anim-delay-2 {
    transition-delay: 0.4s !important;
}

.anim-delay-3 {
    transition-delay: 0.6s !important;
}

.anim-hero-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim-hero-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

:root {
    --c-black: #0A0A0A;
    --c-dark: #1A1A1A;
    --c-gold: #C9A96E;
    --c-gold-light: #E8D5A8;
    --c-cream: #FAF5ED;
    --c-white: #fff;
    --c-muted: #999;
    --f-display: "Cormorant Garamond", serif;
    --f-body: "Noto Sans JP", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--f-body);
    color: var(--c-cream);
    background: var(--c-black);
    line-height: 2;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--f-display);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--c-gold);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--c-muted);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--c-gold);
}

/* ── Hero ── */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.7));
}

.deco-frame {
    position: absolute;
    inset: 30px;
    z-index: 1;
    border: 1px solid rgba(201, 169, 110, 0.3);
    pointer-events: none;
}

.deco-frame::before,
.deco-frame::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--c-gold);
    border-style: solid;
}

.deco-frame::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}

.deco-frame::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
}

.hero-label {
    font-size: 0.9rem;
    letter-spacing: 0.5em;
    color: var(--c-gold);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--f-display);
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--c-white);
}

.hero-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 35px;
}

.btn-deco {
    display: inline-block;
    padding: 16px 45px;
    border: 1px solid var(--c-gold);
    color: var(--c-gold);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s;
}

.btn-deco:hover {
    background: var(--c-gold);
    color: var(--c-black);
}

/* ── Sections ── */
.section {
    padding: 90px 0;
}

.section--dark {
    background: var(--c-dark);
}

.section-title {
    font-family: var(--f-display);
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 45px;
    color: var(--c-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-text .section-title {
    align-items: flex-start;
}

.sub-ja {
    font-family: var(--f-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--c-gold-light);
    letter-spacing: 0.15em;
    margin-top: 10px;
    display: block;
}

.section-title--light {
    color: var(--c-cream);
    text-align: center;
}

/* ── About Split ── */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.gold-accent {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--c-gold);
    z-index: -1;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--c-muted);
    margin-bottom: 15px;
}

/* ── Photo Band ── */
.photo-band {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.band-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.band-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.3);
}

.band-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.band-quote {
    font-family: var(--f-display);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--c-cream);
    line-height: 1.8;
}

.band-cite {
    font-size: 0.85rem;
    color: var(--c-gold);
    margin-top: 15px;
    letter-spacing: 0.2em;
}

/* ── Room Cards ── */
.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.room-card {
    background: var(--c-black);
    overflow: hidden;
    border: 1px solid rgba(201, 169, 110, 0.15);
    transition: all 0.4s;
}

.room-card:hover {
    border-color: var(--c-gold);
    transform: translateY(-5px);
}

.room-img {
    height: 250px;
    overflow: hidden;
}

.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.room-card:hover .room-img img {
    transform: scale(1.05);
}

.room-body {
    padding: 25px;
}

.room-body h3 {
    font-family: var(--f-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--c-cream);
    letter-spacing: 0.05em;
}

.room-body p {
    font-size: 0.8rem;
    color: var(--c-muted);
    margin-bottom: 12px;
}

.room-price {
    font-size: 1rem;
    color: var(--c-gold);
    font-weight: 500;
}

/* ── Gallery Grid ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item--tall {
    grid-row: span 2;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

/* ── FAQ ── */
.faq-list {
    display: flex;
    flex-direction: column;
    background: var(--c-dark);
    border: 1px solid rgba(201, 169, 110, 0.3);
    padding: 20px 40px;
}

.faq-item {
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--c-cream);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-q:hover {
    color: var(--c-gold);
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--c-gold);
    transition: transform 0.3s;
}

.faq-icon::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

details[open] .faq-icon::after {
    transform: rotate(90deg) scaleY(0);
}

.faq-a {
    padding: 0 0 25px 0;
    color: var(--c-muted);
    font-size: 0.85rem;
    line-height: 1.8;
}

/* ── Footer ── */
.footer {
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.footer p {
    font-size: 0.7rem;
    color: var(--c-muted);
    margin-top: 15px;
    letter-spacing: 0.1em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .about-split {
        grid-template-columns: 1fr;
    }

    .room-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-item--tall {
        grid-row: span 1;
    }

    .gallery-item--wide {
        grid-column: span 1;
    }

    .deco-frame {
        inset: 10px;
    }

    .nav {
        display: none;
    }
}