@charset "utf-8";
/* CSS Document */

@font-face {
  font-family: 'NotoSerifTC';
  src: url("/fonts/NotoSerifTC-Bold.otf") format("opentype"); }

@font-face {
  font-family: 'Noto Sans TC';
  src: url("/fonts/NotoSansTC/NotoSansTC-Regular.ttf") format("opentype"); }


:root[data-bs-theme="dark"] {
            --bs-body-bg: #0a0a0a;
            --bs-body-color: #e0e6ed;
            --astronomy-primary: #4a90e2;
            --astronomy-accent: #f5ec3b;
            --astronomy-purple: #6b46c1;
            --bs-navbar-color: rgba(255, 255, 255, 1);
            --navbar-height: 76px;
        }
        
        body {
            font-family: 'Noto Sans TC', sans-serif;
            background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
            min-height: 100vh;
            position: relative;
        }
        
        /* 全網頁背景動畫 */
        body::before {
            content: '';
            position: fixed;
            top: -10%;
            left: -10%;
            width: 120%;
            height: 120%;
            background: url('image/bg.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            animation: backgroundZoom 20s ease-in-out infinite alternate;
            z-index: -1;
            opacity: 1;
        }
        
        img{max-width:100%}
        
        .serif-font {
            font-family: 'Noto Serif TC', serif;
        }
        
        /* 導航列 */
        .navbar {
            backdrop-filter: blur(10px);
            background: rgba(10, 10, 10, 0.95) !important;
            transition: all 0.3s ease;
            z-index: 1050;
        }
        
        .navbar.scrolled {
            background: rgba(10, 10, 10, 0.98) !important;
            box-shadow: 0 2px 20px rgba(74, 144, 226, 0.2);
        }
        
        .navbar-brand {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--astronomy-accent) !important;
        }
        
        .navbar-brand img {
            height: 40px;
            width: auto;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
        }
        
        .nav-link {
            font-weight: 500;
            transition: color 0.3s ease;
            color: #fff !important;
        }
        
        .nav-link:hover, .nav-link.active {
            color: var(--astronomy-primary) !important;
        }
        
        /* 手機版選單展開時的樣式 */
        .navbar-collapse {
            background: rgba(10, 10, 10, 0.95);
            border-radius: 10px;
            margin-top: 10px;
        }
        
        .navbar-nav .nav-link {
            color: #fff !important;
        }
        
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link:focus {
            color: var(--astronomy-primary) !important;
        }
        
/*
        .navbar-toggler {
            border: 1px solid rgba(74, 144, 226, 0.3);
        }
        
        .navbar-toggler:focus {
            box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 0.25);
        }
*/
        
        .navbar-toggler-icon {
            background-image: url("image/menu.svg");
        }
        
        /* Hero Section */
        .hero-section {
            height: calc(100vh - var(--navbar-height));
            margin-top: var(--navbar-height);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        
        @keyframes backgroundZoom {
            0% {
                transform: scale(1) rotate(0deg);
            }
            100% {
                transform: scale(1.05) rotate(0.5deg);
            }
        }
        
        .hero-content {
            text-align: center;
            z-index: 2;
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
        }
        
        .hero-vertical-title {
           position: absolute;
            top: 0;
            right: 20px;
            width: auto;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            z-index: 3;
            pointer-events: none;
        }
        
        .hero-vertical-img {
            width: auto;
            height: 70vh;
            max-height: 450px;
            filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.8));
        }
        
        /* 滾動視差效果 */
        @media (min-width: 768px) {
            body::before {
                background-attachment: fixed;
            }
        }
        
        /* 源起 Section */
        .origin-section {
            padding: 80px 0;
            position: relative;
        }
        
        .origin-content {
            background: rgba(74, 144, 226, 0.5);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(74, 144, 226, 0.2);
            border-radius: 20px;
            padding: 3rem;
            margin-bottom: 3rem;
        }
        
        .origin-text {
            line-height: 1.8;
            font-size: 1.1rem;
            margin-bottom: 2rem;
        }
        
        /* 作品展示 Section */
        .gallery-section {
            padding: 80px 20px;
            min-height: 100vh;
        }
        
        /* Bootstrap Carousel 自訂樣式 */
        .astronomy-carousel {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            height: 80vh;
            min-height: 600px;
        }
        
        .carousel-item {
            height: 80vh;
            min-height: 600px;
            background: rgba(26, 26, 46, 0.8);
        }
        
        .slide-content {
            display: flex;
            height: 100%;
            width: 100%;
        }
        
        .slide-image {
            flex: 0 0 70%;
            height: 100%;
            position: relative;
            overflow: hidden;
        }
        
        .slide-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            background: #000;
            cursor: pointer;
        }
        
        .slide-info {
            flex: 0 0 30%;
            padding: 2rem;
            overflow-y: auto;
            background: rgba(0, 0, 0, 0.3);
            display: flex;
            flex-direction: column;
        }
        
        .slide-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--astronomy-accent);
            margin-bottom: 1rem;
        }
        
        .slide-photographer {
            color: var(--astronomy-primary);
            font-weight: 500;
            margin-bottom: 1.5rem;
        }
        
        .slide-description {
            line-height: 1.8;
            margin-bottom: 2rem;
            font-size: 0.95rem;
            flex-grow: 1;
        }
        
        /* 摺疊面板樣式 */
        .tech-collapse {
            margin-top: 1rem;
        }
        
        .tech-toggle {
            background: rgba(74, 144, 226, 0.1);
            border: 1px solid rgba(74, 144, 226, 0.3);
            color: var(--astronomy-primary);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            width: 100%;
            text-align: left;
            transition: all 0.3s ease;
        }
        
        .tech-toggle:hover {
            background: rgba(74, 144, 226, 0.2);
            color: var(--astronomy-accent);
        }
        
        .tech-toggle:focus {
            box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 0.25);
        }
        
        .tech-content {
            background: rgba(74, 144, 226, 0.05);
            border: 1px solid rgba(74, 144, 226, 0.2);
            border-top: none;
            border-radius: 0 0 8px 8px;
            padding: 1rem;
            font-size: 0.85rem;
            line-height: 1.6;
        }
        
        /* Bootstrap Carousel 控制項自訂 */
        .carousel-control-prev,
        .carousel-control-next {
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .carousel-control-prev {
            left: 20px;
        }
        
        .carousel-control-next {
            right: 20px;
        }
        
        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            width: 20px;
            height: 20px;
        }
        
        /* 桌面版指示器樣式 */
        .desktop-indicators {
            gap: 8px;
        }
        
        .desktop-indicator {
            background-color: rgba(224, 230, 237, 0.5);
            border: none;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin: 0 4px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .desktop-indicator.active {
            background-color: var(--astronomy-accent);
        }
        
        .desktop-indicator:hover {
            background-color: rgba(224, 230, 237, 0.8);
        }
        
        /* 響應式設計 */
        @media (max-width: 991.98px) {
            .slide-content {
                flex-direction: column;
            }
            
            .slide-image {
                flex: 0 0 400px;
                height: 400px;
            }
            
            .slide-image img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                object-position: center;
                background: #000;
            }
            
            .slide-info {
                flex: 1;
                padding: 1.5rem;
                max-height: none;
                overflow-y: auto;
            }
            
            .slide-description {
                margin-bottom: 1rem;
            }
            
            .hero-vertical-img {
                height: 55vh;
                max-height: 400px;
            }
            
            /* 手機版調整輪播高度 */
            .astronomy-carousel {
                height: auto;
                min-height: 70vh;
            }
            
            .carousel-item {
                height: auto;
                min-height: 70vh;
            }
        }
        
        @media (max-width: 575.98px) {
            .slide-image {
                flex: 0 0 300px;
                height: 300px;
            }
            
            .slide-info {
                flex: 1;
                padding: 1rem;
                overflow-y: auto;
            }
            
            .slide-title {
                font-size: 1.2rem;
            }
            
            .slide-description {
                font-size: 0.9rem;
                margin-bottom: 1rem;
            }
            
            .origin-content {
                padding: 2rem;
                margin: 0 1rem 2rem 1rem;
            }
            
            .hero-vertical-img {
                height: 45vh;
                max-height: 300px;
            }
            
            /* 小螢幕進一步調整 */
            .astronomy-carousel {
                height: auto;
                min-height: 60vh;
            }
            
            .carousel-item {
                height: auto;
                min-height: 60vh;
            }
        }
        
        /* 全屏模態框 */
        .modal-fullscreen .modal-body {
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .modal-fullscreen img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        /* 滾動指示器 */
        .scroll-indicator {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: rgba(74, 144, 226, 0.2);
            z-index: 9999;
        }
        
        .scroll-progress {
            height: 100%;
            background: linear-gradient(90deg, var(--astronomy-primary), var(--astronomy-accent));
            width: 0%;
            transition: width 0.1s ease;
        }
        
        .footer-section{padding:8em 0;font-size:14px}