/* 阿卡尼亞號互動地圖字體與樣式設定 */

/* 字體定義 */

@font-face {
    font-family: 'CormorantGaramond';
    src: url('../font/CormorantGaramond-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSerifTC';
    src: url('../font/NotoSerifTC-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: 'NotoSerifTC';
    src: url('../font/NotoSerifTC-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* 字體設定 */
body {
    font-family: 'CormorantGaramond', 'NotoSerifTC', serif;
    font-weight: 400;
}
/* 標題樣式 */
.ship-title {
    font-family: 'NotoSerifTC', serif;
    font-size: var(--font-size-3xl);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 1px;
}

.ship-subtitle {
    font-family: 'CormorantGaramond', 'NotoSerifTC', serif;
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    font-weight: var(--font-weight-normal);
    font-style: normal;
    letter-spacing: 0.5px;
}

.floor-title {
    font-family: 'NotoSerifTC', serif;
    font-size: var(--font-size-2xl);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.floor-description {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 1rem;
}

/* 標題樣式統一 */
.nav-title,
.quick-access-title,
.legend-title {
    font-family: 'NotoSerifTC', serif;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
}


/* 房間詳情樣式 */
.room-detail h3 {
    font-family: 'NotoSerifTC', serif;
    color: var(--text-primary);
    margin-bottom: 10px;
    margin-left: 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.room-detail p {
    font-family: 'NotoSerifTC', serif;
    color: var(--text-secondary);
    margin-bottom: 15px;
    margin-left: 0;
    line-height: 1.6;
    font-weight: 400;
}

.room-detail strong {
    font-family: 'NotoSerifTC', serif;
    color: var(--text-primary);
    font-weight: 600;
}

/* 區塊間距 */
.quick-access {
    margin-bottom: 0;
}


.connections {
    margin-top: 25px;
}

/* 特殊樣式 */
.room-detail p:last-child {
    margin-bottom: 0;
}

/* 響應式字體 */
@media (max-width: 768px) {
    .ship-title {
        font-size: 1.8rem;
    }
    
    .ship-subtitle {
        font-size: 1rem;
    }
    
    .floor-title {
        font-size: 1.5rem;
    }
    
    .nav-title {
        font-size: 1rem;
    }
    
}

@media (max-width: 480px) {
    .ship-title {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }
    
    .ship-subtitle {
        font-size: 0.9rem;
    }
    
    .floor-title {
        font-size: 1.3rem;
        letter-spacing: 0.5px;
    }
    
    .room-detail h3 {
        font-size: 1.1rem;
    }
    
    .nav-button,
    .quick-link,
    .connection {
        font-size: 0.8rem;
    }
}

/* 文字選擇樣式 */
::selection {
    background: var(--border-primary);
    color: var(--text-primary);
}

::-moz-selection {
    background: var(--border-primary);
    color: var(--text-primary);
}


/* 焦點樣式 */
.nav-button:focus,
.quick-link:focus,
.connection:focus,
.room:focus {
    outline: none;
}

/* 打印樣式 */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .sidebar {
        display: none;
    }
    
    .main-container {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .room {
        border: 2px solid black !important;
        background: white !important;
        color: black !important;
    }
    
    .ship-title,
    .floor-title,
    .nav-title,
    .legend-title {
        color: black !important;
    }
}