/* Template 36 - Bamboo Zen / Asian Minimalist */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:wght@400;500;600&family=Zen+Kaku+Gothic+New:wght@300;400;500;700&display=swap');

:root {
    --bamboo: #7D9B76;
    --jade: #00A86B;
    --stone: #8B8B83;
    --ink: #2C2C2C;
    --rice-paper: #FAF8F5;
    --tea: #C8B88A;
    --charcoal: #363636;
    --mist: #E8E8E0;
    --red-seal: #B33B3B;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.8;
    color: var(--ink);
    background: var(--rice-paper);
    font-weight: 400;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header - Japanese Minimal */
.site-header {
    background: var(--rice-paper);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--mist);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-family: 'Noto Serif Display', serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    letter-spacing: 0.1em;
}

.site-logo a::after {
    content: '印';
    position: absolute;
    top: -5px;
    right: -25px;
    font-size: 0.7rem;
    color: var(--red-seal);
    opacity: 0.8;
}

.site-logo a:hover {
    color: var(--bamboo);
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.site-nav a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--bamboo);
    transition: width 0.4s ease;
}

.site-nav a:hover {
    color: var(--bamboo);
}

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

/* Hero Section */
.section.head {
    padding: 8rem 0 6rem;
    position: relative;
    background: var(--rice-paper);
}

.section.head::before {
    content: '竹';
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15rem;
    color: var(--mist);
    font-family: 'Noto Serif Display', serif;
    opacity: 0.4;
    pointer-events: none;
}

.section.head h1 {
    font-family: 'Noto Serif Display', serif;
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 2rem;
    line-height: 1.3;
    max-width: 700px;
    position: relative;
}

.section.head h1::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--bamboo), var(--jade));
}

.section.head p {
    font-size: 1.1rem;
    color: var(--charcoal);
    max-width: 550px;
    opacity: 0.85;
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section header {
    margin-bottom: 4rem;
}

.section header h2 {
    font-family: 'Noto Serif Display', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section header h2::before {
    content: '◉';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bamboo);
    font-size: 0.75rem;
}

.section header p {
    font-size: 1.05rem;
    color: var(--charcoal);
    opacity: 0.8;
    max-width: 500px;
}

/* Footer - Zen Garden Style */
.footer {
    background: var(--charcoal);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bamboo), var(--jade), var(--tea), var(--bamboo));
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-about {
    flex: 1;
    max-width: 400px;
}

.footer-tagline {
    color: var(--mist);
    line-height: 1.9;
    opacity: 0.9;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--mist);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--bamboo);
    padding-left: 0.5rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(232, 232, 224, 0.15);
}

.copyright,
.copyright a {
    color: var(--stone);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

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

.fade-in {
    opacity: 0;
    animation: gentleReveal 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.4s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }

/* Breathing animation for decorative elements */
@keyframes breathe {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.6; }
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
    font-family: 'Noto Serif Display', serif;
    font-size: 1.5rem;
    color: var(--ink);
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: left;
}
