/* -----------------------------------------
    Shunsai Miyabi - Style Sheet
-------------------------------------------- */
:root {
    --bg-color: #080d09; /* Deep, dark forest green-black */
    --card-bg: rgba(12, 22, 14, 0.75);
    --border-color: rgba(212, 175, 55, 0.15); /* Gold outline */
    --accent-gold: #c5a880; /* Muted gold / bronze */
    --accent-red: #9e2a2b; /* Deep lacquer red */
    --text-main: #e8e6e3;
    --text-muted: #9c9a96;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Zen Old Mincho', serif;
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #050805;
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 3px;
}

/* Custom Utilities */
.text-gold {
    color: var(--accent-gold);
}

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

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

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

/* Vertical writing styling */
.vertical-writing {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.4em;
}

/* Panel styling */
.miyabi-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.miyabi-panel:hover {
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

/* Hero Section overlay */
.hero-bg {
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8, 13, 9, 0.3) 0%, rgba(8, 13, 9, 0.7) 65%, rgba(8, 13, 9, 1) 100%);
    pointer-events: none;
}

/* Traditional Japanese Washi Pattern Decoration or lines */
.washi-line {
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    height: 1px;
    width: 100%;
    opacity: 0.3;
}

/* Input Fields for Reservation */
.res-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: #e8e6e3 !important;
    padding: 12px 16px !important;
    font-family: 'Zen Old Mincho', serif;
    outline: none;
    transition: all 0.3s ease;
}

.res-input:focus {
    border-color: var(--accent-gold) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

/* Hover link underline */
.hover-miyabi-link {
    position: relative;
    transition: color 0.3s ease;
}

.hover-miyabi-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.hover-miyabi-link:hover {
    color: var(--accent-gold);
}

.hover-miyabi-link:hover::after {
    width: 100%;
}

/* Animations */
@keyframes scrollDown {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    60% { transform: translate(-50%, 15px); opacity: 0; }
    100% { opacity: 0; }
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .vertical-writing {
        writing-mode: horizontal-tb;
        letter-spacing: 0.1em;
    }
}
