/* Custom material symbols settings */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

body {
    background-color: #000000;
    color: #e5e2e1;
    font-family: 'Manrope', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 110px;
}

.editorial-text {
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.05em;
}

/* Base styles for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Decorative Separator */
.section-separator {
    width: 40px;
    height: 1px;
    background-color: #d4af37;
    margin: 20px auto;
    opacity: 0.6;
}

/* Hero Floating Card */
.hero-card {
    background: linear-gradient(135deg, rgba(17, 14, 8, 0.96), rgba(34, 26, 14, 0.92));
    color: #f3e9c9;
    padding: 32px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    display: flex;
    gap: 30px;
    max-width: 900px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    align-items: stretch;
    backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
    .hero-card {
        flex-direction: column;
        padding: 20px;
    }
}

.hero-card-media {
    width: 320px;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.22);
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.12), rgba(0, 0, 0, 0.55));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: contain;
    object-position: center;
    display: block;
    image-rendering: auto;
}

@media (max-width: 768px) {
    .hero-card-media {
        width: 100%;
    }

    .hero-card-img {
        width: 100%;
        height: 200px;
        min-height: 200px;
    }
}

.hero-card-content {
    min-width: 0;
}

.hero-card-body {
    color: rgba(243, 233, 201, 0.78);
}

.hero-card-label {
    color: rgba(212, 175, 55, 0.68);
}

.hero-card-value {
    color: #f6e7b0;
}

/* Navigation Links */
.nav-link {
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.6;
}

/* Access Table Styles */
.access-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.access-label {
    width: 120px;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: rgba(212, 175, 55, 0.7);
    text-transform: uppercase;
    flex-shrink: 0;
}

.access-value {
    flex: 1;
    font-size: 14px;
}

/* Map */
.map-frame { width: 100%; height: 280px; border: 0; display: block; }
@media (max-width: 768px) {
    .map-frame { height: 250px; }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.floating-phone-btn {
    position: fixed;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 60;
    width: min(calc(100% - 32px), 420px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    background: linear-gradient(135deg, #d4af37, #f0d77a);
    color: #120e07;
    border: 1px solid rgba(255, 245, 200, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.floating-phone-btn:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.48);
    filter: brightness(1.03);
}

.floating-phone-btn-label {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
}

.floating-phone-btn-number {
    font-size: 20px;
    letter-spacing: 0.08em;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* Mobile gallery carousel */
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.16em;
}

.gallery-pagination-current {
    color: #d4af37;
    font-size: 20px;
}

.gallery-pagination-separator,
.gallery-pagination-total {
    font-size: 15px;
}

@media (max-width: 640px) {
    body {
        padding-bottom: 96px;
    }

    .floating-phone-btn {
        width: calc(100% - 24px);
        padding: 14px 18px;
        gap: 12px;
    }

    .floating-phone-btn-label {
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .floating-phone-btn-number {
        font-size: 18px;
    }

    .gallery-carousel {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 8px;
    }

    .gallery-carousel::-webkit-scrollbar {
        display: none;
    }

    .gallery-slide {
        flex: 0 0 100%;
        scroll-snap-align: center;
    }
}

/* Concept slideshow */
.slideshow-img { transition: opacity 1.2s ease-in-out; }
