        /* --- 基础设定 (Base) --- */
        :root {
            --bg-color: #F4F1E8;      /* 利休白茶 - 纸张色 */
            --text-color: #282828;    /* 铁黑 - 墨色 */
            --accent-color: #A68E5F;  /* 青金 - 点缀 */
            --dark-bg: #111111;       /* 暗室 - 摄影背景 */
            --light-text: #EAEAEA;    /* 浅灰 - 暗色背景上的文字 */
        }

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

        body {
            font-family: 'Zen Old Mincho', serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 2;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        a { text-decoration: none; color: inherit; transition: 0.4s ease; }
        ul { list-style: none; }
        img { width: 100%; height: auto; display: block; }

        /* --- 导航栏 (Header) --- */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            transition: background 0.5s ease, padding 0.5s ease, box-shadow 0.5s ease;
            /* Default state (transparent bg over dark hero): White text */
            color: #fff; 
        }

        /* Scrolled State: Light bg, Dark text */
        header.scrolled {
            background: rgba(244, 241, 232, 0.95);
            padding: 15px 50px;
            box-shadow: 0 2px 20px rgba(0,0,0,0.05);
            color: var(--text-color); /* Switch back to dark text */
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            color: inherit; /* Inherit from header */
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo a {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: inherit;
        }

        .logo-img {
            height: 40px;
            width: auto;
            filter: invert(1); /* White logo on dark hero */
            transition: filter 0.5s ease;
        }

        header.scrolled .logo-img {
            filter: invert(0); /* Black logo on light background */
        }


        nav ul {
            display: flex;
            gap: 40px;
        }

        nav a {
            font-size: 0.95rem;
            letter-spacing: 0.15em;
            position: relative;
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0%;
            height: 1px;
            background: #fff; /* White underline on dark hero */
            transition: width 0.3s;
        }

        header.scrolled nav a::after {
             background: var(--accent-color); /* Gold underline on scrolled white header */
        }


        nav a:hover::after { width: 100%; }

        /* --- 首屏 (Hero Section) --- */
        .hero {
            height: 100vh;
            width: 100%;
            position: relative;
            overflow: hidden;
            /* remove flex from hero as items are absolute */
            /* display: flex; align-items: center; justify-content: center; */
        }

        /* Carousel Styles */
        .hero-carousel {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            /* Gallery Background: Dark elegant grey */
            background-color: #1a1a1a; 
        }

        .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex; 
            justify-content: center; /* Center items horizontally */
            align-items: center;     /* Center items vertically */
            gap: 20px;               /* Space between images */
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
            pointer-events: none; 
            padding: 0 5%;           /* Padding from screen edges */
        }

        .carousel-slide.active {
            opacity: 1;
            pointer-events: auto;
            z-index: 2;
        }
        
        /* 3 Images Gallery Layout */
        .slide-image-wrapper {
            flex: 0 1 auto;          /* Don't stretch width, let it be natural */
            height: 65%;             /* Fixed height relative to viewport */
            width: auto;             /* Auto width based on image ratio */
            overflow: visible;       /* Changed from hidden to visible to show full image */
            position: relative;
            background-color: transparent; 
            box-shadow: 0 15px 40px rgba(0,0,0,0.5); /* Nice shadow for depth */
            display: flex;           /* Added flex container */
            align-items: center;     /* Center vertically */
            justify-content: center; /* Center horizontally */
            /* transition: transform 0.5s ease; */
        }

        /* Hover effect for gallery feel */
        /* .slide-image-wrapper:hover {
            transform: scale(1.02);
            z-index: 10;
        } */

        .slide-img {
            max-width: 100%;    /* Use max-width instead of auto */
            max-height: 100%;   /* Use max-height to ensure fit */
            width: auto;        /* Auto width to maintain ratio */
            height: auto;       /* Auto height to maintain ratio */
            object-fit: contain; 
            object-position: center; /* Ensure centered positioning */
            display: block;
        }

        .slide-img.left, .slide-img.right, .slide-img {
            transform-origin: center center;
            object-position: center;
        }

        /* Slide hint text for sample indicators */
        .slide-hint {
            position: absolute;
            bottom: 80px;
            right: 40px;
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.4);
            letter-spacing: 0.1em;
            z-index: 5;
            pointer-events: none;
            font-weight: 400;
        }

        @keyframes slowPan {
           /* Disable pan for gallery mode to keep it clean, or very subtle */
            from { transform: scale(1.0); }
            to { transform: scale(1.03); }
        }

        /* Overlay Mask to darken images slightly for text readability */
        .hero-overlay-mask {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to right, rgba(0,0,0,0.3), rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3));
            z-index: 3;
            pointer-events: none;
        }

        /* Indicators */
        .carousel-indicators {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            display: flex;
            gap: 15px;
        }

        .indicator {
            width: 50px;
            height: 3px;
            background: rgba(255,255,255,0.3);
            border: none;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .indicator.active {
            background: var(--accent-color);
        }

        .hero-content {
            position: absolute;
            z-index: 5;
            width: 80%;
            height: 70%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: flex;
            justify-content: flex-end; /* Text align right */
            align-items: center;
            pointer-events: none; /* Allow clicks to pass to underlying elements if needed, though indicators are above */
        }

        /* 竖排文字设计 (Keep existing) */
        .vertical-text {
            writing-mode: vertical-rl;
            text-orientation: upright;
            color: #fff;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
        }

        .hero-title {
            font-size: 3.5rem;
            letter-spacing: 0.5em;
            margin-left: 40px;
            border-left: 1px solid rgba(255,255,255,0.3);
            padding-left: 20px;
        }

        .hero-subtitle {
            font-size: 1.2rem;
            letter-spacing: 0.3em;
            opacity: 0.9;
            margin-top: 100px; /* 竖排模式下是向下偏移 */
        }

        /* --- 通用板块设置 --- */
        section {
            padding: 120px 10%;
        }

        .section-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .section-title {
            font-size: 2rem;
            letter-spacing: 0.2em;
            margin-bottom: 20px;
            display: inline-block;
            border-bottom: 1px solid var(--accent-color);
            padding-bottom: 10px;
        }

        .section-desc {
            font-size: 0.9rem;
            color: #666;
            letter-spacing: 0.1em;
        }

        /* --- 区块操作按钮 --- */
        .section-action {
            text-align: center;
            margin-top: 60px;
        }

        .btn-secondary {
            display: inline-block;
            padding: 15px 40px;
            font-size: 0.9rem;
            letter-spacing: 0.15em;
            border: 1px solid var(--text-color);
            transition: all 0.4s ease;
            color: var(--text-color);
        }

        .btn-secondary:hover {
            background-color: var(--text-color);
            color: var(--bg-color);
        }

        .btn-inline {
            display: inline-block;
            font-size: 0.8rem;
            border: 1px solid #555;
            padding: 10px 20px;
            margin-top: 20px;
            transition: all 0.4s ease;
            color: var(--light-text);
        }

        .btn-inline:hover {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
            color: var(--dark-bg);
        }

        /* --- 1. 收藏之美 (Collection) --- */
        .collection-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 60px;
        }

        .collection-item {
            cursor: pointer;
        }

        .collection-img-wrap {
            overflow: hidden;
            margin-bottom: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

        .collection-img-wrap img {
            transition: transform 0.6s ease;
            /* 灰度滤镜，悬停变彩，增加历史感 */
            filter: grayscale(20%); 
        }

        .collection-item:hover .collection-img-wrap img {
            transform: scale(1.05);
            filter: grayscale(0%);
        }

        .item-info h3 {
            font-size: 1.1rem;
            font-weight: 500;
            margin-bottom: 5px;
        }

        .item-info p {
            font-size: 0.8rem;
            color: #888;
            font-family: sans-serif; /* 信息类文字用无衬线体更易读 */
        }

        /* --- 2. 摄影之美 (Photography) - 黑色背景 --- */
        .section-photography {
            background-color: var(--dark-bg);
            color: var(--light-text);
        }

        .section-photography .section-title {
            border-color: #555;
        }

        .photo-split {
            display: flex;
            align-items: center;
            gap: 5%;
        }

        .photo-left, .photo-right {
            flex: 1;
        }

        .photo-text {
            margin-bottom: 40px;
        }

        .photo-text h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .photo-text p {
            color: #aaa;
            font-size: 0.95rem;
        }

        .studio-img {
            border: 1px solid #333;
            opacity: 0.8;
            transition: opacity 0.5s;
        }
        
        .studio-img:hover { opacity: 1; }

        /* --- 3. 书籍之美 (Publishing) --- */
        .book-showcase {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 80px;
        }

        .book-cover {
            width: 350px;
            box-shadow: 20px 20px 60px rgba(0,0,0,0.2);
            transform: rotateY(-10deg); /* 3D效果 */
            transition: transform 0.5s ease;
        }

        .book-cover:hover {
            transform: rotateY(0deg) scale(1.02);
        }

        .book-info {
            max-width: 400px;
        }

        .book-title {
            font-size: 1.8rem;
            margin-bottom: 15px;
            border-left: 3px solid var(--accent-color);
            padding-left: 15px;
        }

        .book-details {
            margin-top: 30px;
            font-size: 0.9rem;
            border-top: 1px solid #ddd;
            padding-top: 20px;
        }

        /* --- 页脚 (Footer/Company Profile) --- */
        footer {
            background-color: #ECE8DD;
            padding: 80px 10% 40px;
            border-top: 1px solid #E0DCD0;
        }

        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin-bottom: 60px;
        }

.company-profile h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.footer-brand-watermark {
    opacity: 0.3;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 3rem;
    font-weight: 700;
    user-select: none;
    color: var(--text-color);
}

.info-table {
            border-collapse: collapse;
            width: 100%;
            max-width: 600px;
        }

        .info-table th, .info-table td {
            text-align: left;
            padding: 12px 0;
            border-bottom: 1px solid #D6D2C4;
            font-size: 0.9rem;
        }

        .info-table th {
            width: 120px;
            font-weight: 500;
            color: #666;
        }

        .copyright {
            text-align: center;
            font-size: 0.75rem;
            color: #999;
            margin-top: 40px;
            font-family: sans-serif;
        }

        /* --- 响应式 (Mobile) --- */
        @media (max-width: 768px) {
            /* 导航栏 */
            header { 
                padding: 15px 20px; 
            }
            
            header.scrolled {
                padding: 12px 20px;
            }
            
            .logo { 
                font-size: 1.4rem; 
            }
            
            /* 移动端汉堡菜单 */
            nav ul { 
                display: none; /* 移动端暂隐菜单，实际开发需加汉堡菜单 */
            }
            
            /* 首屏 Hero */
            .hero-content {
                width: 90%;
                height: 80%;
                justify-content: center;
            }
            
            .hero-title { 
                font-size: 2.5rem;
                letter-spacing: 0.3em;
                margin-left: 0;
                border-left: none;
                padding-left: 0;
            }
            
            .hero-subtitle {
                font-size: 1rem;
                margin-top: 50px;
            }
            
            /* 通用板块 */
            section {
                padding: 80px 5%;
            }
            
            .section-header {
                margin-bottom: 50px;
            }
            
            .section-title {
                font-size: 1.6rem;
                letter-spacing: 0.15em;
            }
            
            /* 收藏品网格 */
            .collection-grid {
                grid-template-columns: 1fr;
                gap: 50px;
            }
            
            /* 摄影展示 */
            .photo-split {
                flex-direction: column;
                gap: 40px;
            }
            
            .photo-text h3 {
                font-size: 1.5rem;
            }
            
            /* 书籍展示 */
            .book-showcase {
                flex-direction: column;
                gap: 40px;
            }
            
            .book-cover { 
                width: 80%; 
                max-width: 300px;
                transform: none; 
            }
            
            .book-info {
                max-width: 100%;
            }
            
            .book-title {
                font-size: 1.5rem;
            }
            
            /* 页脚 */
            footer {
                padding: 60px 5% 30px;
            }
            
            .footer-content {
                flex-direction: column;
                gap: 40px;
            }
            
            .info-table { 
                max-width: 100%; 
            }
            
            .info-table th {
                width: 100px;
                font-size: 0.85rem;
            }
            
            .info-table td {
                font-size: 0.85rem;
            }
            
    /* 垂直文字优化 */
    .footer-brand-watermark {
        writing-mode: horizontal-tb;
        font-size: 2rem;
        text-align: center;
        width: 100%; /* Ensure it centers correctly in the flex column */
        margin-top: 20px;
    }
        }

        /* Mobile Styles */
        @media (max-width: 768px) {
             /* ... existing header styles ... */
            
            .carousel-slide {
                flex-direction: column;
                padding: 80px 20px; /* More padding top for header */
                gap: 15px;
            }
            
            .slide-image-wrapper {
                width: 100%;       /* Full width on mobile */
                height: 30%;       /* Split height equally */
                box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            }
            
            .slide-img {
                width: 100%;
                height: 100%;
                object-fit: cover; /* Back to cover for mobile strips to avoid tiny images */
                object-position: center 20%; /* Focus top-center */
            }
        }
        
        /* 超小屏幕优化 (Small Mobile) */
        @media (max-width: 480px) {
            .logo {
                font-size: 1.2rem;
            }
            
            .hero-title {
                font-size: 2rem;
                letter-spacing: 0.2em;
            }
            
            .hero-subtitle {
                font-size: 0.9rem;
            }
            
            section {
                padding: 60px 5%;
            }
            
            .section-title {
                font-size: 1.4rem;
            }
            
            .photo-text h3 {
                font-size: 1.3rem;
            }
            
            .book-cover {
                width: 100%;
            }
            
            .book-title {
                font-size: 1.3rem;
            }
            
            .info-table th,
            .info-table td {
                padding: 10px 0;
                font-size: 0.8rem;
            }
        }

        /* --- Image Caption Hint --- */
        .img-caption-hint {
            font-size: 0.8rem;
            text-align: center;
            margin-top: 15px;
            color: #888;
            letter-spacing: 0.1em;
            font-family: sans-serif;
        }

        .section-photography .img-caption-hint {
            color: #aaa;
        }

        /* --- Collection Modal --- */
        .modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            position: relative;
            margin: 2% auto;
            width: 90%;
            max-width: 1400px;
            height: 90vh;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from { 
                transform: translateY(30px);
                opacity: 0;
            }
            to { 
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-close {
            position: absolute;
            right: 20px;
            top: 10px;
            font-size: 40px;
            font-weight: 300;
            color: #fff;
            cursor: pointer;
            z-index: 10001;
            transition: color 0.3s;
            line-height: 1;
        }

        .modal-close:hover {
            color: #ccc;
        }

        .modal-body {
            display: flex;
            gap: 40px;
            height: 100%;
            padding: 20px;
        }

        .modal-gallery {
            flex: 1.2;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .main-image {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #000;
            border-radius: 8px;
            overflow: hidden;
        }

        .main-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .thumbnail-list {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .thumbnail {
            width: 100px;
            height: 100px;
            cursor: pointer;
            border: 2px solid transparent;
            border-radius: 4px;
            overflow: hidden;
            transition: all 0.3s;
            opacity: 0.6;
        }

        .thumbnail:hover {
            opacity: 1;
            border-color: #fff;
        }

        .thumbnail.active {
            opacity: 1;
            border-color: #d4a574;
        }

        .thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .modal-info {
            flex: 1;
            overflow-y: auto;
            padding-right: 20px;
            color: #fff;
        }

        .modal-info::-webkit-scrollbar {
            width: 8px;
        }

        .modal-info::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
        }

        .modal-info::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.3);
            border-radius: 4px;
        }

        .modal-info::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.5);
        }

        .modal-info h2 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            border-bottom: 2px solid #d4a574;
            padding-bottom: 15px;
            font-weight: 500;
            letter-spacing: 0.05em;
        }

        .modal-specs {
            background: rgba(255, 255, 255, 0.05);
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 30px;
            font-size: 0.95rem;
            line-height: 1.8;
        }

        .modal-specs p {
            margin: 8px 0;
        }

        .modal-description {
            font-size: 0.95rem;
            line-height: 2;
            text-align: justify;
        }

        .modal-description p {
            margin-bottom: 20px;
        }

        .modal-description h1,
        .modal-description h2,
        .modal-description h3 {
            margin-top: 30px;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .modal-description .content-image {
            margin: 30px 0;
            text-align: center;
        }

        .modal-description .content-image img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .collection-item {
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .collection-item:hover {
            transform: translateY(-5px);
        }

        /* --- Mobile Responsive --- */
        @media (max-width: 768px) {
            .modal-content {
                width: 95%;
                height: 95vh;
                margin: 2.5vh auto;
            }

            .modal-body {
                flex-direction: column;
                gap: 20px;
                padding: 10px;
            }

            .modal-gallery {
                flex: none;
                height: 50vh;
            }

            .modal-info {
                flex: none;
                height: auto;
                max-height: 40vh;
                padding-right: 10px;
            }

            .modal-close {
                right: 10px;
                top: 5px;
                font-size: 30px;
            }

            .thumbnail {
                width: 70px;
                height: 70px;
            }

            .modal-info h2 {
                font-size: 1.3rem;
            }

            .modal-specs,
            .modal-description {
                font-size: 0.85rem;
            }
        }

        /* --- Subpage Styles --- */
        body.subpage header {
            background: rgba(244, 241, 232, 0.95);
            padding: 15px 50px;
            box-shadow: 0 2px 20px rgba(0,0,0,0.05);
            color: var(--text-color);
        }

        body.subpage header .logo {
             color: var(--text-color);
        }

        body.subpage header .logo-img {
            filter: invert(0); /* Black logo on light subpage header */
        }

        body.subpage nav a::after {
            background: var(--accent-color);
        }

        @media (max-width: 768px) {
            body.subpage header {
                padding: 12px 20px;
            }
        }

        .page-header {
            padding: 120px 20px 60px;
            text-align: center;
            background-color: #f9f9f9;
            margin-bottom: 40px;
        }

        .page-header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            letter-spacing: 0.1em;
            font-weight: 500;
        }

        .page-header p {
            font-family: 'Times New Roman', serif;
            color: #666;
            font-style: italic;
            font-size: 1.1rem;
        }

.collection-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px 30px; 
    max-width: 1400px; 
    margin: 0 auto 80px;
    padding: 0 40px;
}

/* --- Filter Bar --- */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #ccc;
    padding: 8px 20px;
    font-family: 'Zen Old Mincho', serif;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 20px; /* Rounded pill shape */
}

.filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.filter-btn.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

/* --- Gallery Card --- */
.gallery-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    /* Performance fix for Safari/Chrome flickering */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.gallery-img-container {
    position: relative;
    width: 100%;
    padding-bottom: 125%; 
    overflow: hidden;
    background-color: #e6e6e6; /* Slightly darker placeholder */
    margin-bottom: 15px;
    /* Performance fix: Create new stacking context */
    transform: translateZ(0); 
}

.gallery-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 默认填满容器 */
    transition: opacity 0.4s ease, transform 0.6s ease;
    /* Performance fix: Use hardware acceleration */
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* 指定完整显示的图片 */
.gallery-img-container.full-display img {
    object-fit: contain;
}

/* Hover Image Logic - SIMPLIFIED */
.gallery-img-main {
    z-index: 1;
    opacity: 1;
}

/* Subtle zoom effect only on main image */
.gallery-card:hover .gallery-img-main {
    transform: scale(1.03) translateZ(0); 
}

/* Status Badge Removed */

.gallery-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gallery-meta {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-color);
    margin-bottom: 4px;
}

.gallery-action {
    font-size: 0.75rem;
    color: var(--text-color);
    border-bottom: 1px solid transparent;
    align-self: flex-start;
    margin-top: 8px;
    transition: border-color 0.3s;
}

.gallery-card:hover .gallery-action {
    border-bottom-color: var(--text-color);
}

@media (max-width: 768px) {
    .collection-grid-full {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 30px 15px;
        padding: 0 15px;
    }
    
    .gallery-title {
        font-size: 0.9rem;
    }
    
    .status-badge {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
}

/* --- Contact Form Styles --- */
.contact-section {
    padding: 60px 5% 120px;
    background-color: var(--bg-color);
}

/* --- Load More Button Container --- */
.load-more-container {
    text-align: center;
    margin: 60px auto 80px;
    padding: 0 20px;
}

.load-more-btn {
    min-width: 250px;
    position: relative;
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-loading {
    display: inline-block;
}

@media (max-width: 768px) {
    .load-more-container {
        margin: 40px auto 60px;
    }
    
    .load-more-btn {
        min-width: 200px;
        font-size: 0.85rem;
        padding: 12px 30px;
    }
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
    line-height: 2;
    color: var(--text-color);
}

.required-note {
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-top: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-color);
}

.required {
    color: #c00;
    font-size: 0.8em;
    margin-left: 5px;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 1px solid #D6D2C4;
    background-color: #fff;
    font-family: 'Zen Old Mincho', serif;
    font-size: 1rem;
    color: var(--text-color);
    transition: border-color 0.3s, box-shadow 0.3s;
    border-radius: 2px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(166, 142, 95, 0.1);
}

.form-action {
    margin-top: 40px;
    text-align: center;
}

.form-action button {
    cursor: pointer;
    background-color: transparent;
    font-family: 'Zen Old Mincho', serif;
    min-width: 200px;
}

.form-action button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile responsive for form */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 5% 80px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* --- 図書出版 (Publishing Page) --- */

/* Hero Section Adjustments for Publishing */
.publishing-page .hero-title {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.2em;
}

.publishing-intro {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--bg-color);
}

.publishing-intro .intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 2.2;
}

/* Books Section - Neat Grid Layout */
.books-section {
    padding: 80px 5%;
    background-color: var(--bg-color);
}

.books-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    align-items: start;
}

/* Book Card */
.book-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    transform: translateY(-8px);
}

/* Book Cover Wrapper */
.book-cover-wrapper {
    position: relative;
    width: 100%;
    padding-top: 120%; /* Aspect ratio for vertical books */
    background: #f8f8f8;
    overflow: hidden;
    cursor: pointer;
}

.book-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.book-cover-wrapper:hover .book-cover-img {
    transform: scale(1.05);
}

/* Book Card Info */
.book-card-info {
    padding: 30px;
    text-align: center;
}

.book-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
    letter-spacing: 0.05em;
}

.book-card-subtitle {
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.book-card-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

/* View Detail Button */
.btn-view-detail {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--text-color);
    color: var(--bg-color);
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    font-family: 'Zen Old Mincho', serif;
}

.btn-view-detail:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Simple Image Modal */
.simple-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.modal-content-simple {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content-simple img {
    max-width: 100%;
    max-height: 90vh;
    border: 5px solid #fff;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    object-fit: contain;
}

.modal-close-simple {
    position: absolute;
    top: -40px;
    right: 0;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.modal-close-simple:hover,
.modal-close-simple:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive Adjustments for Publishing Page */
@media (max-width: 1024px) {
    .books-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .book-card:last-child {
        grid-column: 1 / -1;
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .books-section {
        padding: 60px 20px;
    }
    
    .books-grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .book-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }
    
    .book-card-info {
        padding: 25px 20px;
    }
    
    .book-card-title {
        font-size: 1.3rem;
    }
}
